:root {
    --color-primary: #11A84E; /* Main Green */
    --color-secondary: #22C768; /* Auxiliary Green */
    --color-card-bg: #11271B; /* Dark Green for Cards */
    --color-background: #08160F; /* Deepest Green for Background */
    --color-text-main: #F2FFF6; /* Light Text */
    --color-text-secondary: #A7D9B8; /* Lighter Green Text */
    --color-border: #2E7A4E; /* Border Green */
    --color-glow: #57E38D; /* Green Glow */
    --color-gold: #F2C14E; /* Gold Accent */
    --color-divider: #1E3A2A; /* Darker Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */

    --font-family-sans: 'Arial', sans-serif; /* Example font */
}

.page-news {
    font-family: var(--font-family-sans);
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for main content */
    line-height: 1.6;
}

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

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

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-green); /* Darker background for hero */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
}

.page-news__hero-content {
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(17, 40, 27, 0.8) 0%, rgba(8, 22, 15, 0.9) 100%); /* Gradient overlay for text readability */
    width: 100%;
    box-sizing: border-box;
    position: relative; /* Ensure content is above any potential background */
    z-index: 1;
    margin-top: -50px; /* Overlap slightly with image for visual flow */
    border-radius: 0 0 10px 10px;
}

.page-news__hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Section Titles */
.page-news__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-news__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.page-news__section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-news__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-primary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    margin-left: 20px;
}

.page-news__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 60px 0;
    background-color: var(--color-card-bg); /* Darker green background */
    color: var(--color-text-main);
}

.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news__news-card {
    background-color: var(--color-deep-green); /* Even darker green for card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__news-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news__news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__news-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__news-card-title a {
    color: var(--color-text-main);
    text-decoration: none;
}

.page-news__news-card-title a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-news__news-card-meta {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-news__news-card-excerpt {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to take available space */
}

.page-news__news-card-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start; /* Align link to the bottom left */
}

.page-news__news-card-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Featured Article Section */
.page-news__featured-article {
    padding: 80px 0;
    background-color: var(--color-deep-green); /* Deep green background */
    color: var(--color-text-main);
}

.page-news__featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    display: block;
}

.page-news__article-content h3 {
    font-size: 2rem;
    color: var(--color-gold);
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-news__article-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Promotions News Section */
.page-news__promotions-news {
    padding: 60px 0;
    background-color: var(--color-card-bg); /* Darker green background */
    color: var(--color-text-main);
}

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

.page-news__promo-card {
    background-color: var(--color-deep-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news__promo-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__promo-title a {
    color: var(--color-text-main);
    text-decoration: none;
}

.page-news__promo-title a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-news__promo-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__promo-button {
    align-self: flex-start;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.page-news__promo-button:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-news__cta-promotions {
    text-align: center;
}

/* Industry Insights Section */
.page-news__industry-insights {
    padding: 60px 0;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.page-news__insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news__insight-card {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__insight-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news__insight-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__insight-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__insight-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.page-news__insight-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.page-news__insight-excerpt {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Call to Action Section */
.page-news__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

.page-news__faq-list {
    margin-top: 40px;
}

.page-news__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-news__faq-item[open] {
    background-color: var(--color-deep-green);
    border-color: var(--color-primary);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none; /* Hide default marker for details summary */
}

.page-news__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details summary in webkit */
}

.page-news__faq-qtext {
    flex-grow: 1;
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
    color: var(--color-gold);
}

.page-news__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-news__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-section {
        padding-bottom: 40px;
    }
    .page-news__hero-content {
        margin-top: -30px;
    }
    .page-news__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .page-news__section-title {
        font-size: 2rem;
    }
    .page-news__news-grid,
    .page-news__promo-grid,
    .page-news__insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news__container {
        padding: 0 15px;
    }

    .page-news__hero-section {
        padding-top: 10px !important; /* body handles header offset, small top padding here */
        padding-bottom: 30px;
    }
    .page-news__hero-content {
        padding: 30px 15px;
        margin-top: -20px;
    }
    .page-news__hero-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
    .page-news__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .page-news__section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Buttons */
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news 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-left: 0 !important; /* Remove margin-left for secondary button on mobile */
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
    }
    .page-news__news-card-title,
    .page-news__promo-title,
    .page-news__insight-title {
        font-size: 1.2rem;
    }
    .page-news__news-card-excerpt,
    .page-news__promo-description,
    .page-news__insight-excerpt {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__hero-image,
    .page-news__news-card-image,
    .page-news__featured-image,
    .page-news__promo-image,
    .page-news__insight-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        object-fit: cover !important;
    }

    /* Ensure content containers don't overflow */
    .page-news__latest-news-section,
    .page-news__featured-article,
    .page-news__promotions-news,
    .page-news__industry-insights,
    .page-news__cta-section,
    .page-news__faq-section {
        padding: 40px 0;
    }
    .page-news__news-grid,
    .page-news__promo-grid,
    .page-news__insights-grid {
        gap: 20px;
    }

    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-news__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.9rem;
    }
}