/* style/news-gambling-industry-trends.css */

/* Base Styles for the page content */
.page-news-gambling-industry-trends {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body default is white */
}

/* Fixed header offset */
.page-news-gambling-industry-trends__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content sections */
.page-news-gambling-industry-trends__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section Styling */
.page-news-gambling-industry-trends__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
    background-color: #f8f8f8; /* Light background for hero */
    position: relative;
    overflow: hidden;
}

.page-news-gambling-industry-trends__hero-content {
    max-width: 800px;
    padding: 40px 20px;
    z-index: 1;
}

.page-news-gambling-industry-trends__hero-title {
    font-size: 3.2em;
    color: #017439; /* Primary color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news-gambling-industry-trends__hero-description {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: #333333;
}

.page-news-gambling-industry-trends__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height to prevent image from being too tall */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-gambling-industry-trends__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-news-gambling-industry-trends__content-section {
    padding: 60px 0;
}

.page-news-gambling-industry-trends__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news-gambling-industry-trends__section-title--white {
    color: #FFFFFF;
}

.page-news-gambling-industry-trends__sub-section-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news-gambling-industry-trends__sub-section-title--white {
    color: #FFFFFF;
}

.page-news-gambling-industry-trends__text-block {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333333;
}

.page-news-gambling-industry-trends__text-block--white {
    color: #FFFFFF;
}

/* Buttons */
.page-news-gambling-industry-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news-gambling-industry-trends__btn-primary,
.page-news-gambling-industry-trends__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    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; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text breaks within button */
}

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

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

.page-news-gambling-industry-trends__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary color */
    border: 2px solid #017439;
}

.page-news-gambling-industry-trends__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-news-gambling-industry-trends__btn-secondary--white-border {
    border-color: #FFFFFF;
    color: #FFFFFF;
    background-color: transparent;
}

.page-news-gambling-industry-trends__btn-secondary--white-border:hover {
    background-color: #FFFFFF;
    color: #017439;
}


/* Dark/Light Backgrounds */
.page-news-gambling-industry-trends__dark-bg {
    background-color: #017439; /* Primary color as dark background */
    color: #FFFFFF; /* White text for dark background */
}

.page-news-gambling-industry-trends__light-bg {
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Dark text for light background */
}

/* Video Section */
.page-news-gambling-industry-trends__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-news-gambling-industry-trends__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 20px;
    border-radius: 10px;
}

.page-news-gambling-industry-trends__video-wrapper .page-news-gambling-industry-trends__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-news-gambling-industry-trends__video-description {
    margin-top: 20px;
    font-size: 1.05em;
    color: #FFFFFF;
}

/* Image-Text Layout */
.page-news-gambling-industry-trends__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-news-gambling-industry-trends__image-text-layout--reverse {
    flex-direction: row-reverse;
}

.page-news-gambling-industry-trends__content-image {
    flex: 1;
    min-width: 400px; /* Minimum width for image in desktop layout */
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

.page-news-gambling-industry-trends__content-image--left {
    margin-right: 20px;
}

.page-news-gambling-industry-trends__content-image--right {
    margin-left: 20px;
}

.page-news-gambling-industry-trends__text-content {
    flex: 1;
    min-width: 400px; /* Minimum width for text in desktop layout */
    max-width: 50%;
}

.page-news-gambling-industry-trends__text-content--white {
    color: #FFFFFF;
}

/* Lists */
.page-news-gambling-industry-trends__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-news-gambling-industry-trends__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Conclusion Section */
.page-news-gambling-industry-trends__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* FAQ Section */
.page-news-gambling-industry-trends__faq-section {
    padding: 60px 0;
}

.page-news-gambling-industry-trends__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news-gambling-industry-trends__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-news-gambling-industry-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #FFFFFF;
    cursor: pointer;
    font-size: 1.1em;
    color: #017439; /* Primary color for question */
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-news-gambling-industry-trends__faq-question:hover {
    background-color: #f0f0f0;
}

.page-news-gambling-industry-trends__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-news-gambling-industry-trends__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px; /* Adjust padding when open */
}

.page-news-gambling-industry-trends__faq-answer p {
    margin-bottom: 10px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-gambling-industry-trends__hero-title {
        font-size: 2.8em;
    }

    .page-news-gambling-industry-trends__section-title {
        font-size: 2em;
    }

    .page-news-gambling-industry-trends__sub-section-title {
        font-size: 1.6em;
    }

    .page-news-gambling-industry-trends__image-text-layout {
        flex-direction: column;
    }

    .page-news-gambling-industry-trends__content-image,
    .page-news-gambling-industry-trends__text-content {
        max-width: 100%;
        min-width: unset; /* Remove min-width for mobile */
        margin: 0; /* Reset margins */
    }
    .page-news-gambling-industry-trends__content-image--left,
    .page-news-gambling-industry-trends__content-image--right {
        margin: 0 auto 20px auto; /* Center images */
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-news-gambling-industry-trends {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news-gambling-industry-trends__hero-section {
        padding-bottom: 40px;
    }

    .page-news-gambling-industry-trends__hero-title {
        font-size: 2.2em;
    }

    .page-news-gambling-industry-trends__hero-description {
        font-size: 1em;
    }

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

    .page-news-gambling-industry-trends__sub-section-title {
        font-size: 1.4em;
    }

    .page-news-gambling-industry-trends__content-section,
    .page-news-gambling-industry-trends__video-section,
    .page-news-gambling-industry-trends__faq-section,
    .page-news-gambling-industry-trends__conclusion-section {
        padding: 40px 0;
    }

    .page-news-gambling-industry-trends__container {
        padding: 0 15px; /* Add padding to container for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive adaptation (mandatory) */
    .page-news-gambling-industry-trends img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }
    
    /* Videos responsive adaptation (mandatory) */
    .page-news-gambling-industry-trends video,
    .page-news-gambling-industry-trends__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-gambling-industry-trends__video-section,
    .page-news-gambling-industry-trends__video-container,
    .page-news-gambling-industry-trends__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons responsive adaptation (mandatory) */
    .page-news-gambling-industry-trends__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news-gambling-industry-trends__btn-primary,
    .page-news-gambling-industry-trends__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-news-gambling-industry-trends__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-news-gambling-industry-trends__faq-answer {
        padding: 0 20px;
    }

    .page-news-gambling-industry-trends__faq-item.active .page-news-gambling-industry-trends__faq-answer {
        padding: 10px 20px 20px;
    }
}