.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for light on dark body */
    background-color: var(--color-deep-navy); /* From shared.css, assuming dark */
}

.page-news__section-padding {
    padding: 60px 0;
}

.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-navy);
}

.page-news__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* Allow image to define height */
    max-height: 810px; /* Max height for hero image */
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    display: block;
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    color: var(--color-text-main);
    max-width: 900px;
    margin: 0 auto;
}

.page-news__main-title {
    font-size: 4em; /* Adjust with clamp if needed, but for now, rely on responsiveness */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-news__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

.page-news__cta-buttons--center {
    justify-content: center;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-news__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

.page-news__btn-secondary {
    background: transparent;
    color: #1D5FD1;
    border: 2px solid #1D5FD1;
}

.page-news__btn-secondary:hover {
    background: #1D5FD1;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Section Titles */
.page-news__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E;
}

.page-news__section-subtitle {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #AFC4E8;
}

/* Latest Articles */
.page-news__latest-articles-section {
    background-color: #08162B;
}

.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card {
    background-color: #10233F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #244D84;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news__article-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news__article-content {
    padding: 25px;
}

.page-news__article-date {
    font-size: 0.9em;
    color: #AFC4E8;
    margin-bottom: 10px;
}

.page-news__article-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-news__article-title a {
    color: #F3F8FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: #F2C14E;
}

.page-news__article-excerpt {
    font-size: 1em;
    color: #AFC4E8;
    margin-bottom: 20px;
}

.page-news__read-more-link {
    color: #1D5FD1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #F2C14E;
}

.page-news__view-all-button-container {
    text-align: center;
}

/* Industry Insights */
.page-news__industry-insights-section {
    background-color: #08162B;
}

.page-news__dark-section {
    background-color: #113B7A; /* Use primary brand color for dark sections */
    color: #F3F8FF;
}

.page-news__dark-section .page-news__section-title {
    color: #F2C14E; /* Gold title on dark background */
}

.page-news__dark-section .page-news__section-subtitle {
    color: #AFC4E8;
}

.page-news__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-news__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-news__text-block {
    flex: 1;
    font-size: 1.1em;
    color: #AFC4E8;
}

.page-news__text-block p {
    margin-bottom: 15px;
    color: #AFC4E8;
}

.page-news__text-block .highlight {
    color: #F2C14E;
    font-weight: 600;
}

.page-news__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news__insight-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Promotions & Events */
.page-news__promotions-events-section {
    background-color: #08162B;
}

.page-news__promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__promo-card {
    background-color: #10233F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #244D84;
}

.page-news__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    display: block;
}

.page-news__promo-content {
    padding: 25px;
}

.page-news__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E;
}

.page-news__promo-description {
    font-size: 1em;
    color: #AFC4E8;
    margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-news__responsible-gambling-section {
    background-color: #113B7A;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #08162B;
}

.page-news__faq-list {
    margin-top: 40px;
}

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #244D84;
    overflow: hidden;
    background: #10233F;
}
details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #F3F8FF;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
    background: #113B7A; /* Slightly lighter brand color on hover */
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F3F8FF;
}
.page-news__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: #F2C14E;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
    padding: 0 25px 25px;
    background: #10233F; /* Same as card background */
    border-radius: 0 0 12px 12px;
    color: #AFC4E8;
}
.page-news__faq-answer p {
    color: #AFC4E8;
    margin-bottom: 10px;
}
.page-news__faq-answer .highlight {
    color: #F2C14E;
    font-weight: 600;
}

/* CTA Bottom Section */
.page-news__cta-bottom-section {
    background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
    text-align: center;
    padding: 80px 0;
}

.page-news__cta-bottom-content {
    max-width: 900px;
}

.page-news__cta-bottom-section .page-news__section-title {
    color: #ffffff;
}

.page-news__cta-bottom-section .page-news__section-subtitle {
    color: #f0f0f0;
}

/* General image and button responsiveness for mobile */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-news a[class*="button"],
.page-news a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__cta-buttons,
.page-news__button-group,
.page-news__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-news__section-padding {
        padding: 40px 0;
    }

    .page-news__main-title {
        font-size: 2.5em; /* Smaller H1 for mobile */
    }

    .page-news__intro-description {
        font-size: 1em;
    }

    /* Hero Section */
    .page-news__hero-section {
        padding-top: 10px; /* Ensure small top padding */
        padding-bottom: 40px;
    }
    
    .page-news__hero-image {
        object-fit: contain; /* Ensure image is fully visible */
        height: auto !important; /* Override fixed height if any */
        max-height: 400px;
    }

    /* CTA Buttons */
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-news__section-title {
        font-size: 2em;
    }

    .page-news__section-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    /* Latest Articles */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__article-image {
        height: 180px; /* Adjust height for mobile cards */
    }

    .page-news__article-content {
        padding: 20px;
    }

    .page-news__article-title {
        font-size: 1.2em;
    }

    /* Industry Insights */
    .page-news__content-wrapper,
    .page-news__content-wrapper--reverse {
        flex-direction: column;
        gap: 30px;
    }

    .page-news__text-block {
        font-size: 1em;
    }

    .page-news__insight-image {
        width: 100%;
    }

    /* Promotions & Events */
    .page-news__promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__promo-image {
        height: 200px; /* Adjust height for mobile promo images */
    }

    .page-news__promo-title {
        font-size: 1.3em;
    }

    /* FAQ Section */
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 1.1em; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }
    .page-news__faq-toggle { font-size: 1.8em; }

    /* CTA Bottom Section */
    .page-news__cta-bottom-section {
        padding: 60px 0;
    }
    
    .page-news__cta-bottom-content {
        padding: 0 15px; /* Add padding for mobile */
    }

    /* Universal image and button responsiveness for mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__cta-button,
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-news__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-news__cta-buttons {
        flex-direction: column; /* Ensure vertical stacking for buttons on mobile */
    }
}