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

/* Base styles for the page content, ensuring contrast with shared body background */
.page-news-industry-updates {
    background-color: var(--background-color, #08160F); /* Fallback to custom dark green */
    color: var(--text-main, #F2FFF6); /* Main text color, light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure all links within the main content are readable */
.page-news-industry-updates a {
    color: var(--gold, #F2C14E); /* Using Gold for links for visibility */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates a:hover {
    color: var(--glow, #57E38D); /* Lighter green on hover */
    text-decoration: underline;
}

/* Section styling */
.page-news-industry-updates__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
    padding: 20px;
    box-sizing: border-box;
}

.page-news-industry-updates__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-news-industry-updates__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news-industry-updates__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
}

.page-news-industry-updates__introduction-section,
.page-news-industry-updates__updates-section,
.page-news-industry-updates__responsible-gaming-section,
.page-news-industry-updates__faq-section {
    background-color: var(--background-color, #08160F);
    padding: 60px 20px;
}

.page-news-industry-updates__promotions-section,
.page-news-industry-updates__cta-section {
    background: linear-gradient(180deg, #08160F 0%, #0A4B2C 100%);
    padding: 60px 20px;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-industry-updates__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

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

.page-news-industry-updates__card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-news-industry-updates__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news-industry-updates__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__card-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

/* Button styles */
.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.page-news-industry-updates__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-news-industry-updates__btn-secondary {
    background-color: transparent;
    color: var(--glow, #57E38D);
    border: 2px solid var(--glow, #57E38D);
}

.page-news-industry-updates__btn-secondary:hover {
    background-color: var(--glow, #57E38D);
    color: var(--deep-green, #0A4B2C);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-industry-updates__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* CTA Section specific styles */
.page-news-industry-updates__cta-section .page-news-industry-updates__flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: center;
}

.page-news-industry-updates__cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-news-industry-updates__cta-text-content {
    flex: 1;
    min-width: 300px;
}

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

.page-news-industry-updates__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    outline: none;
}

.page-news-industry-updates__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-news-industry-updates__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

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

.page-news-industry-updates__faq-item[open] .page-news-industry-updates__faq-toggle {
    transform: rotate(45deg);
}

.page-news-industry-updates__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary, #A7D9B8);
}

/* Custom color classes for text and background */
.page-news-industry-updates__dark-bg {
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__text-main {
    color: var(--text-main, #F2FFF6);
}

.page-news-industry-updates__text-secondary {
    color: var(--text-secondary, #A7D9B8);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news-industry-updates__hero-content {
        max-width: 768px;
    }
    .page-news-industry-updates__section-title {
        margin-bottom: 30px;
    }
    .page-news-industry-updates__card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-industry-updates__hero-section,
    .page-news-industry-updates__introduction-section,
    .page-news-industry-updates__updates-section,
    .page-news-industry-updates__promotions-section,
    .page-news-industry-updates__responsible-gaming-section,
    .page-news-industry-updates__cta-section,
    .page-news-industry-updates__faq-section {
        padding: 40px 15px;
    }

    .page-news-industry-updates__content-area,
    .page-news-industry-updates__card,
    .page-news-industry-updates__container,
    .page-news-industry-updates__hero-content,
    .page-news-industry-updates__cta-text-content,
    .page-news-industry-updates__cta-section .page-news-industry-updates__flex-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-industry-updates__btn-primary,
    .page-news-industry-updates__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
    }

    .page-news-industry-updates__hero-image {
        margin-bottom: 15px;
    }

    .page-news-industry-updates__main-title {
        font-size: 2rem;
    }

    .page-news-industry-updates__hero-description {
        font-size: 1rem;
    }

    .page-news-industry-updates__section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .page-news-industry-updates__card-image {
        height: 200px;
    }

    .page-news-industry-updates__card-title {
        font-size: 1.2rem;
    }

    .page-news-industry-updates__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-news-industry-updates__faq-answer {
        padding: 0 20px 15px;
    }

    .page-news-industry-updates__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure no filter properties are used for images */
.page-news-industry-updates img {
    filter: none !important;
}