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

.page-news-platform-updates {
    background-color: var(--background);
    color: var(--text-main);
    font-family: 'Arial', sans-serif; /* Placeholder font */
    line-height: 1.6;
}

/* Sections */
.page-news-platform-updates__section {
    padding: 60px 0;
    position: relative;
}

.page-news-platform-updates__dark-section {
    background-color: var(--deep-green); /* Slightly different dark green for contrast */
}

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

.page-news-platform-updates__container--center {
    text-align: center;
}

/* Typography */
.page-news-platform-updates__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news-platform-updates__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.3;
}

.page-news-platform-updates__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-news-platform-updates__card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-news-platform-updates__promo-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-news-platform-updates__text-block,
.page-news-platform-updates__description,
.page-news-platform-updates__card-text,
.page-news-platform-updates__promo-text,
.page-news-platform-updates__faq-answer p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-news-platform-updates a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-platform-updates a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Hero Section */
.page-news-platform-updates__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--background); /* Fallback */
}

.page-news-platform-updates__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

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

/* Buttons */
.page-news-platform-updates__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    border: none;
    cursor: pointer;
}

.page-news-platform-updates__cta-button--primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news-platform-updates__cta-button--primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
    transform: translateY(-2px);
}

.page-news-platform-updates__cta-button--secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 20px;
}

.page-news-platform-updates__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.page-news-platform-updates__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-news-platform-updates__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-news-platform-updates__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}


/* Grid Layout */
.page-news-platform-updates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-platform-updates__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* Cards */
.page-news-platform-updates__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards are same height in a row */
    box-sizing: border-box;
    border: 1px solid var(--border-color);
}

.page-news-platform-updates__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-news-platform-updates__content-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.page-news-platform-updates__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

/* Promotions List */
.page-news-platform-updates__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-platform-updates__promo-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

/* FAQ */
.page-news-platform-updates__faq {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-news-platform-updates__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news-platform-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green); /* Darker green for question header */
    transition: background-color 0.3s ease;
}

.page-news-platform-updates__faq-question:hover {
    background-color: var(--primary-color);
}

.page-news-platform-updates__faq-item[open] .page-news-platform-updates__faq-question {
    background-color: var(--primary-color);
}

.page-news-platform-updates__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-news-platform-updates__faq-answer {
    padding: 20px 25px;
    background-color: var(--card-bg);
    color: var(--text-secondary);
    font-size: 1rem;
    border-top: 1px solid var(--border-color);
}

.page-news-platform-updates__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Ensure details summary marker is hidden */
.page-news-platform-updates__faq-item summary {
    list-style: none;
}
.page-news-platform-updates__faq-item summary::-webkit-details-marker {
    display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-platform-updates__grid--two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-news-platform-updates__section {
        padding: 40px 0;
    }

    .page-news-platform-updates__container {
        padding: 0 15px;
    }

    .page-news-platform-updates__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-news-platform-updates__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-news-platform-updates__hero-content {
        padding: 0 15px 40px;
    }

    .page-news-platform-updates__hero-image-wrapper {
        max-height: 400px;
    }

    .page-news-platform-updates__grid {
        grid-template-columns: 1fr;
    }

    .page-news-platform-updates__promo-list {
        grid-template-columns: 1fr;
    }

    .page-news-platform-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-news-platform-updates__cta-button--secondary {
        margin-left: 0;
    }

    /* Mobile image, video, button adaptation */
    .page-news-platform-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-platform-updates video,
    .page-news-platform-updates__video { /* Assuming a video element might be added */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news-platform-updates__section,
    .page-news-platform-updates__card,
    .page-news-platform-updates__container,
    .page-news-platform-updates__content-box,
    .page-news-platform-updates__promo-item,
    .page-news-platform-updates__faq-item,
    .page-news-platform-updates__video-section,
    .page-news-platform-updates__video-container,
    .page-news-platform-updates__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll from padding */
    }

    .page-news-platform-updates__cta-button,
    .page-news-platform-updates__btn-primary,
    .page-news-platform-updates__btn-secondary,
    .page-news-platform-updates a[class*="button"],
    .page-news-platform-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 and padding-right are handled by container for full width elements */
    }
    
    .page-news-platform-updates__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}