/* style/news-gambling-industry-annual-review.css */

/* Base Styles for the page content */
.page-news-gambling-industry-annual-review {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Inherited from shared, but for clarity */
}

/* Hero Section */
.page-news-gambling-industry-annual-review__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #017439; /* Primary color background for hero */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-news-gambling-industry-annual-review__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-news-gambling-industry-annual-review__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for emphasis */
    line-height: 1.2;
}

.page-news-gambling-industry-annual-review__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-news-gambling-industry-annual-review__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-news-gambling-industry-annual-review__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* General Section Styling */
.page-news-gambling-industry-annual-review__section {
    padding: 60px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for content sections */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-gambling-industry-annual-review__section:nth-child(even) {
    background-color: #222222; /* Alternate background for readability */
}

.page-news-gambling-industry-annual-review__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-news-gambling-industry-annual-review__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary color for section titles */
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.page-news-gambling-industry-annual-review__sub-title {
    font-size: 1.8em;
    color: #FFFF00; /* Accent color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news-gambling-industry-annual-review__content-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0; /* Light grey for body text on dark background */
}

.page-news-gambling-industry-annual-review__content-block strong {
    color: #FFFF00; /* Highlight important keywords like tài xỉu */
}

/* Image Styling */
.page-news-gambling-industry-annual-review__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Buttons */
.page-news-gambling-industry-annual-review__btn-primary,
.page-news-gambling-industry-annual-review__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-news-gambling-industry-annual-review__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-news-gambling-industry-annual-review__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-news-gambling-industry-annual-review__btn-secondary {
    background-color: transparent;
    color: #017439; /* Primary color for text */
    border: 2px solid #017439;
}

.page-news-gambling-industry-annual-review__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-news-gambling-industry-annual-review__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-news-gambling-industry-annual-review__faq-section {
    background-color: #1a1a1a;
}

.page-news-gambling-industry-annual-review__faq-list {
    margin-top: 30px;
}

.page-news-gambling-industry-annual-review__faq-item {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #f0f0f0;
}

.page-news-gambling-industry-annual-review__faq-item summary {
    list-style: none; /* Hide default marker for details tag */
}

.page-news-gambling-industry-annual-review__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-news-gambling-industry-annual-review__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #2a2a2a;
    color: #FFFF00; /* Accent color for FAQ questions */
    transition: background-color 0.3s ease;
}

.page-news-gambling-industry-annual-review__faq-question:hover {
    background-color: #333333;
}

.page-news-gambling-industry-annual-review__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #017439; /* Primary color for toggle icon */
}

.page-news-gambling-industry-annual-review__faq-item[open] .page-news-gambling-industry-annual-review__faq-toggle {
    content: "−";
}

.page-news-gambling-industry-annual-review__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.5;
}

/* CTA Section */
.page-news-gambling-industry-annual-review__cta-section {
    background-color: #017439; /* Primary color for CTA background */
    text-align: center;
    padding: 80px 20px;
}

.page-news-gambling-industry-annual-review__cta-section .page-news-gambling-industry-annual-review__container {
    background-color: transparent; /* No extra background for container */
}

.page-news-gambling-industry-annual-review__cta-section .page-news-gambling-industry-annual-review__section-title {
    color: #ffffff; /* White title on primary background */
    margin-bottom: 20px;
}

.page-news-gambling-industry-annual-review__cta-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-gambling-industry-annual-review__main-title {
        font-size: 2.8em;
    }
    .page-news-gambling-industry-annual-review__section-title {
        font-size: 2em;
    }
    .page-news-gambling-industry-annual-review__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-news-gambling-industry-annual-review__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-news-gambling-industry-annual-review__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-news-gambling-industry-annual-review__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-news-gambling-industry-annual-review__section {
        padding: 40px 15px;
    }

    .page-news-gambling-industry-annual-review__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-news-gambling-industry-annual-review__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-news-gambling-industry-annual-review__content-block p {
        font-size: 1em;
    }

    .page-news-gambling-industry-annual-review__btn-primary,
    .page-news-gambling-industry-annual-review__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        margin-right: 0;
        margin-bottom: 15px;
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news-gambling-industry-annual-review__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-news-gambling-industry-annual-review__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Ensure all content containers are responsive */
    .page-news-gambling-industry-annual-review__section,
    .page-news-gambling-industry-annual-review__container,
    .page-news-gambling-industry-annual-review__hero-content,
    .page-news-gambling-industry-annual-review__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-news-gambling-industry-annual-review__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-news-gambling-industry-annual-review__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-news-gambling-industry-annual-review__main-title {
        font-size: 1.8em;
    }
    .page-news-gambling-industry-annual-review__section-title {
        font-size: 1.5em;
    }
    .page-news-gambling-industry-annual-review__sub-title {
        font-size: 1.2em;
    }
    .page-news-gambling-industry-annual-review__cta-description {
        font-size: 1.1em;
    }
}