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

/* Custom Colors */
:root {
    --s666-main-color: #11A84E;
    --s666-accent-color: #22C768;
    --s666-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --s666-card-bg: #11271B;
    --s666-background: #08160F;
    --s666-text-main: #F2FFF6;
    --s666-text-secondary: #A7D9B8;
    --s666-border-color: #2E7A4E;
    --s666-glow-color: #57E38D;
    --s666-gold-color: #F2C14E;
    --s666-divider-color: #1E3A2A;
    --s666-deep-green: #0A4B2C;
}

/* Base Styles for the page content */
.page-news-industry-updates {
    background-color: var(--s666-background);
    color: var(--s666-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-news-industry-updates__section-title {
    font-size: 2.5em;
    color: var(--s666-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news-industry-updates__section-description {
    font-size: 1.1em;
    color: var(--s666-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary,
.page-news-industry-updates__read-more-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-industry-updates__btn-primary {
    background: var(--s666-button-gradient);
    color: var(--s666-text-main);
    border: 2px solid transparent;
}

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

.page-news-industry-updates__btn-secondary {
    background: transparent;
    color: var(--s666-accent-color);
    border: 2px solid var(--s666-accent-color);
}

.page-news-industry-updates__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    color: var(--s666-text-main);
    transform: translateY(-2px);
}

.page-news-industry-updates__read-more-btn {
    background: var(--s666-deep-green);
    color: var(--s666-text-main);
    border: none;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-news-industry-updates__read-more-btn:hover {
    background: var(--s666-accent-color);
}

/* Hero Section */
.page-news-industry-updates__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-news-industry-updates__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-news-industry-updates__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-news-industry-updates__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-news-industry-updates__hero-title {
    color: var(--s666-gold-color);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    /* Using clamp for responsive font size, avoiding fixed large values */
    font-size: clamp(2em, 5vw, 3.5em);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-news-industry-updates__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Video Section */
.page-news-industry-updates__video-section {
    background-color: var(--s666-deep-green);
    padding: 60px 20px;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-news-industry-updates__video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-news-industry-updates__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure width is 100% for desktop too */
    max-width: 100%;
}

.page-news-industry-updates__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure video is block level */
    cursor: pointer;
}

.page-news-industry-updates__video-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-news-industry-updates__video-title {
    color: var(--s666-text-main);
    font-size: 2em;
    margin-bottom: 15px;
}

.page-news-industry-updates__video-description {
    color: var(--s666-text-secondary);
    font-size: 1.1em;
}

/* Latest News Section */
.page-news-industry-updates__latest-news-section {
    padding: 80px 0;
    background-color: var(--s666-background);
}

.page-news-industry-updates__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-industry-updates__news-card {
    background-color: var(--s666-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news-industry-updates__news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-news-industry-updates__news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news-industry-updates__news-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-news-industry-updates__news-card-title a {
    color: var(--s666-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-industry-updates__news-card-title a:hover {
    color: var(--s666-accent-color);
}

.page-news-industry-updates__news-card-meta {
    font-size: 0.9em;
    color: var(--s666-text-secondary);
    margin-bottom: 15px;
}

.page-news-industry-updates__news-card-excerpt {
    color: var(--s666-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-industry-updates__view-all-news-container {
    text-align: center;
}

/* S666 Overview Section */
.page-news-industry-updates__s666-overview-section {
    padding: 80px 0;
    background-color: var(--s666-deep-green);
}

.page-news-industry-updates__overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-news-industry-updates__overview-text {
    flex: 1;
}

.page-news-industry-updates__overview-subtitle {
    font-size: 1.8em;
    color: var(--s666-gold-color);
    margin-bottom: 20px;
}

.page-news-industry-updates__overview-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-news-industry-updates__overview-text ul li {
    color: var(--s666-text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-news-industry-updates__overview-text ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--s666-accent-color);
}

.page-news-industry-updates__overview-text p {
    color: var(--s666-text-secondary);
    margin-bottom: 30px;
}

.page-news-industry-updates__overview-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-news-industry-updates__overview-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.page-news-industry-updates__promotions-section {
    padding: 80px 0;
    background-color: var(--s666-background);
}

.page-news-industry-updates__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-industry-updates__promotion-card {
    background-color: var(--s666-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

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

.page-news-industry-updates__promotion-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-news-industry-updates__promotion-card-title {
    font-size: 1.5em;
    color: var(--s666-text-main);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-news-industry-updates__promotion-card-text {
    color: var(--s666-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-news-industry-updates__view-all-promotions-container {
    text-align: center;
}

/* FAQ Section */
.page-news-industry-updates__faq-section {
    padding: 80px 0;
    background-color: var(--s666-deep-green);
}

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

.page-news-industry-updates__faq-item {
    background-color: var(--s666-card-bg);
    border: 1px solid var(--s666-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    color: var(--s666-text-main);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--s666-card-bg);
    border-bottom: 1px solid var(--s666-divider-color);
}

.page-news-industry-updates__faq-item[open] > .page-news-industry-updates__faq-question {
    border-bottom: 1px solid var(--s666-accent-color);
}

.page-news-industry-updates__faq-question::-webkit-details-marker,
.page-news-industry-updates__faq-question::marker {
    display: none;
}

.page-news-industry-updates__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Prevent text click from being caught by summary */
}

.page-news-industry-updates__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--s666-accent-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent toggle click from being caught by summary */
}

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

.page-news-industry-updates__faq-answer {
    padding: 20px;
    color: var(--s666-text-secondary);
    font-size: 1em;
    line-height: 1.5;
}

.page-news-industry-updates__faq-answer p {
    margin-bottom: 15px;
}

/* CTA Section */
.page-news-industry-updates__cta-section {
    background: var(--s666-button-gradient);
    padding: 80px 20px;
    text-align: center;
    color: var(--s666-text-main);
}

.page-news-industry-updates__cta-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--s666-text-main);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.page-news-industry-updates__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-updates__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Content Text */
.page-news-industry-updates h1,
.page-news-industry-updates h2,
.page-news-industry-updates h3,
.page-news-industry-updates h4,
.page-news-industry-updates h5,
.page-news-industry-updates h6 {
    color: var(--s666-text-main);
    font-weight: bold;
}

.page-news-industry-updates p {
    color: var(--s666-text-secondary);
}

.page-news-industry-updates a {
    color: var(--s666-accent-color);
    text-decoration: none;
}

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

.page-news-industry-updates img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images are block level for max-width to work */
    object-fit: cover; /* Default for content images */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-news-industry-updates__hero-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-news-industry-updates__overview-content {
        flex-direction: column;
        text-align: center;
    }
    .page-news-industry-updates__overview-image-wrapper {
        margin-top: 40px;
    }
    .page-news-industry-updates__overview-text ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates__container,
    .page-news-industry-updates__hero-content,
    .page-news-industry-updates__video-container,
    .page-news-industry-updates__latest-news-section .page-news-industry-updates__container,
    .page-news-industry-updates__s666-overview-section .page-news-industry-updates__container,
    .page-news-industry-updates__promotions-section .page-news-industry-updates__container,
    .page-news-industry-updates__faq-section .page-news-industry-updates__container,
    .page-news-industry-updates__cta-section .page-news-industry-updates__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-industry-updates__hero-section,
    .page-news-industry-updates__video-section,
    .page-news-industry-updates__latest-news-section,
    .page-news-industry-updates__s666-overview-section,
    .page-news-industry-updates__promotions-section,
    .page-news-industry-updates__faq-section,
    .page-news-industry-updates__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .page-news-industry-updates__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, keep small decorative padding */
    }

    .page-news-industry-updates__section-title {
        font-size: 2em !important;
    }

    .page-news-industry-updates__hero-description,
    .page-news-industry-updates__section-description,
    .page-news-industry-updates__video-description,
    .page-news-industry-updates__overview-text p,
    .page-news-industry-updates__promotion-card-text,
    .page-news-industry-updates__faq-answer p,
    .page-news-industry-updates__cta-description {
        font-size: 1em !important;
    }

    .page-news-industry-updates__news-grid,
    .page-news-industry-updates__promotion-cards {
        grid-template-columns: 1fr !important;
    }

    .page-news-industry-updates__hero-cta-buttons,
    .page-news-industry-updates__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .page-news-industry-updates__btn-primary,
    .page-news-industry-updates__btn-secondary,
    .page-news-industry-updates__read-more-btn,
    .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;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-news-industry-updates img,
    .page-news-industry-updates video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-news-industry-updates__video-wrapper {
        padding-bottom: 56.25% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news-industry-updates__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news-industry-updates__overview-image-wrapper {
        width: 100% !important;
    }

    .page-news-industry-updates__faq-question {
        font-size: 1.1em !important;
    }
}

@media (max-width: 480px) {
    .page-news-industry-updates__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-news-industry-updates__cta-title {
        font-size: 2em !important;
    }
    .page-news-industry-updates__news-card-title {
        font-size: 1.2em !important;
    }
    .page-news-industry-updates__promotion-card-title {
        font-size: 1.3em !important;
    }
}