/* style/news-industry-updates.css */

/* Base styles for the page content */
.page-news-industry-updates {
    color: #ffffff; /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body var(--dark-bg) */
}

.page-news-industry-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-news-industry-updates__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.1));
    min-height: 500px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-news-industry-updates__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-news-industry-updates__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-news-industry-updates__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-news-industry-updates__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-industry-updates__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

/* General Section Styles */
.page-news-industry-updates__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-industry-updates__section:last-of-type {
    border-bottom: none;
}

.page-news-industry-updates__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-news-industry-updates__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #DC143C;
    border-radius: 2px;
}

.page-news-industry-updates__sub-title {
    font-size: 1.8em;
    color: #DC143C;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news-industry-updates p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-news-industry-updates ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-news-industry-updates li {
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-news-industry-updates a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates a:hover {
    color: #DC143C;
    text-decoration: underline;
}

.page-news-industry-updates .highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Call to Action Buttons */
.page-news-industry-updates__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-news-industry-updates__btn-primary {
    background-color: #FFD700;
    color: #000000; /* Dark text for gold button */
    border: 2px solid #FFD700;
}

.page-news-industry-updates__btn-primary:hover {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-news-industry-updates__btn-secondary {
    background-color: transparent;
    color: #DC143C;
    border: 2px solid #DC143C;
}

.page-news-industry-updates__btn-secondary:hover {
    background-color: #DC143C;
    color: #ffffff;
}

.page-news-industry-updates__cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* For mobile responsiveness */
}

/* Content Grid for sections with image and text */
.page-news-industry-updates__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-news-industry-updates__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-news-industry-updates__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

/* Card Grid for betting types */
.page-news-industry-updates__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-industry-updates__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-news-industry-updates__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news-industry-updates__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card look */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size enforcement */
    min-height: 200px; /* Min size enforcement */
}

.page-news-industry-updates__card-title {
    font-size: 1.5em;
    padding: 20px;
    margin: 0;
    color: #FFD700;
}

.page-news-industry-updates__card-title a.page-news-industry-updates__card-link {
    color: #FFD700; /* Ensure link text is gold */
    text-decoration: none;
}

.page-news-industry-updates__card-title a.page-news-industry-updates__card-link:hover {
    color: #DC143C; /* Red on hover */
    text-decoration: underline;
}

.page-news-industry-updates__card p {
    padding: 0 20px 20px;
    color: #e0e0e0;
}

/* FAQ Section */
.page-news-industry-updates__faq-list {
    margin-top: 30px;
}

.page-news-industry-updates__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: rgba(255, 215, 0, 0.05);
    transition: background-color 0.3s ease;
}

.page-news-industry-updates__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

.page-news-industry-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #DC143C;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-toggle {
    transform: rotate(45deg);
    color: #FFD700;
}

.page-news-industry-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.02);
    color: #e0e0e0;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-news-industry-updates__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-news-industry-updates__hero-title {
        font-size: 2.8em;
    }
    .page-news-industry-updates__hero-description {
        font-size: 1.1em;
    }
    .page-news-industry-updates__section-title {
        font-size: 2em;
    }
    .page-news-industry-updates__sub-title {
        font-size: 1.6em;
    }
    .page-news-industry-updates__content-grid {
        grid-template-columns: 1fr;
    }
    .page-news-industry-updates__content-grid--reverse {
        grid-template-columns: 1fr;
    }
    .page-news-industry-updates__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top for fixed header */
    }
    .page-news-industry-updates__hero-title {
        font-size: 2.2em;
    }
    .page-news-industry-updates__hero-description {
        font-size: 1em;
    }
    .page-news-industry-updates__section {
        padding: 40px 0;
    }
    .page-news-industry-updates__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news-industry-updates__sub-title {
        font-size: 1.4em;
    }
    .page-news-industry-updates p,
    .page-news-industry-updates li {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-news-industry-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }

    /* All image containers and general content containers */
    .page-news-industry-updates__image-wrapper,
    .page-news-industry-updates__container,
    .page-news-industry-updates__section,
    .page-news-industry-updates__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure specific image dimensions within cards are handled responsively */
    .page-news-industry-updates__card-image {
        height: auto !important; /* Allow height to adjust */
        min-height: 200px !important; /* Maintain minimum height */
    }

    /* Buttons responsiveness */
    .page-news-industry-updates__cta-button,
    .page-news-industry-updates__btn-primary,
    .page-news-industry-updates__btn-secondary,
    .page-news-industry-updates a[class*="button"],
    .page-news-industry-updates a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }

    .page-news-industry-updates__cta-buttons {
        flex-direction: column !important; /* Stack buttons */
        gap: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* FAQ responsiveness */
    .page-news-industry-updates__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-news-industry-updates__faq-answer {
        padding: 0 15px;
    }
    .page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
        padding: 15px !important;
    }
}

/* Color Contrast Enforcement - Example (already handled by default text/bg colors) */
/* .page-news-industry-updates__dark-bg { color: #ffffff; background: #1a1a1a; } */
/* .page-news-industry-updates__light-bg { color: #333333; background: #ffffff; } */

/* No CSS filters allowed for images */
.page-news-industry-updates__image,
.page-news-industry-updates__hero-image,
.page-news-industry-updates__card-image {
    filter: none; /* Ensure no color-changing filters */
}

/* Specific content area images (not header/footer) min-width/height enforcement */
/* This rule applies to any img within the main content area, regardless of class name */
.page-news-industry-updates__section img,
.page-news-industry-updates__card img {
    min-width: 200px;
    min-height: 200px;
}
@media (max-width: 768px) {
    .page-news-industry-updates__section img,
    .page-news-industry-updates__card img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}