/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    text-align: center;
}

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.page-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(17, 39, 27, 0.7); /* Card BG with opacity */
    border-radius: 10px;
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-news__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.page-news__section-title--light {
    color: #F2FFF6;
}

.page-news__section-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-news__section-description--light {
    color: #A7D9B8;
}

.page-news__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #08160F;
}

.page-news__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 60px 20px;
    color: #F2FFF6;
}

.page-news__content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-news__article-grid, .page-news__update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card, .page-news__update-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__article-card:hover, .page-news__update-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-news__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__card-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #2AD16F;
}

.page-news__card-meta {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #2AD16F;
}

.page-news__insight-list, .page-news__responsible-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-news__insight-item, .page-news__responsible-item {
    background-color: #11271B; /* Card BG */
    border-left: 5px solid #2AD16F; /* Button gradient start color */
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news__insight-item strong, .page-news__responsible-item strong {
    color: #F2FFF6; /* Text Main */
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.page-news__insight-item, .page-news__responsible-item {
    color: #A7D9B8; /* Text Secondary */
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button gradient start color */
    border: 2px solid #2E7A4E; /* Border */
}

.page-news__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    border-color: #2AD16F;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-news__btn-secondary--light {
    color: #F2FFF6;
    border-color: #2E7A4E;
}

.page-news__btn-secondary--light:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    border-color: #2AD16F;
}

.page-news__view-all {
    text-align: center;
    margin-top: 40px;
}

.page-news__cta-bottom {
    padding: 80px 20px;
}

.page-news__faq-section {
    padding: 60px 20px;
    background-color: #08160F;
}

.page-news__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-news__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-news__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    font-weight: 600;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-news__faq-item summary:hover {
    background-color: #1E3A2A; /* Divider */
}

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #57E38D; /* Glow */
    margin-left: 10px;
}

.page-news__faq-answer {
    padding: 15px 25px 20px;
    background-color: #08160F; /* Background */
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-news__faq-answer p {
    margin-bottom: 0;
}

.page-news__faq-answer a {
    color: #57E38D;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 4vw, 3em);
    }
    .page-news__section-title {
        font-size: clamp(1.6em, 3vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news__hero-section,
    .page-news__content-area,
    .page-news__dark-section,
    .page-news__faq-section,
    .page-news__cta-bottom {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__hero-content {
        padding: 10px;
        margin: 0 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-news__hero-description {
        font-size: 1em;
    }

    .page-news__article-grid, .page-news__update-grid {
        grid-template-columns: 1fr;
    }

    .page-news__card-image {
        height: 180px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-news__video-section {
        padding-top: 10px !important;
    }

    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__latest-articles,
    .page-news__industry-insights,
    .page-news__platform-updates,
    .page-news__responsible-gaming,
    .page-news__faq-section,
    .page-news__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-news__faq-answer {
        padding: 10px 20px 15px;
    }
}