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

.page-news {
    background-color: var(--background-dark);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

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

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

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.page-news__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
    border-radius: 10px;
    margin-top: 60px;
}

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-news__description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__description--light {
    color: var(--text-main);
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Section Title */
.page-news__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-news__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-news__section-title--light {
    color: var(--text-main);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

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

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

.page-news__news-card:hover {
    transform: translateY(-5px);
}

.page-news__news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-news__card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: var(--gold-color);
}

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

.page-news__card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: var(--gold-color);
}

.page-news__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

/* About wim68 News Section */
.page-news__about-wim68-news-section {
    padding: 60px 0;
    background-color: var(--deep-green);
}

.page-news__article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-news__article-body h3 {
    color: var(--gold-color);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news__article-body p {
    margin-bottom: 20px;
}

.page-news__article-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-news__article-body a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-news__cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--primary-color);
    background-image: url('[GALLERY:cta_bg:1920x400:wim68,cta,background,abstract_green_gold]');
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-news__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.page-news__cta-section > * {
    position: relative;
    z-index: 2;
}

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

.page-news__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-news__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.page-news__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}

details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}

details.page-news__faq-item summary.page-news__faq-question:hover {
    background: var(--deep-green);
}

.page-news__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    background: rgba(0, 0, 0, 0.2); /* Slightly lighter than card-bg for contrast */
    border-radius: 0 0 5px 5px;
    color: var(--text-secondary);
}

/* General image styling for content sections */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-news__section-title {
        font-size: 2.2rem;
    }

    .page-news__hero-content {
        padding: 30px;
    }

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

@media (max-width: 768px) {
    .page-news__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Ensure small top padding */
    }

    .page-news__hero-image img {
        object-fit: contain !important; /* HERO 主图区域 */
        aspect-ratio: unset !important;
    }

    .page-news__hero-content {
        padding: 20px;
        margin-top: 30px;
        max-width: 95%;
    }

    .page-news__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-news__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news__section-title {
        font-size: 2rem;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-news__latest-news-section,
    .page-news__about-wim68-news-section,
    .page-news__cta-section,
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr; /* Single column for news cards */
        gap: 25px;
    }

    .page-news__news-card img {
        
    }

    .page-news__card-title {
        font-size: 1.2rem;
    }

    .page-news__card-text {
        font-size: 0.95rem;
    }

    .page-news__article-body {
        font-size: 1rem;
        padding: 0 15px;
    }

    .page-news__article-body h3 {
        font-size: 1.5rem;
    }

    .page-news__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }

    .page-news__faq-qtext {
        font-size: 15px;
    }

    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }

    /* Generic images and containers */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__container,
    .page-news__news-card,
    .page-news__card-content,
    .page-news__cta-section,
    .page-news__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Ensure news-grid itself doesn't cause overflow */
    .page-news__news-grid {
        overflow-x: hidden;
    }
}