/* Base styles for the news page */
.page-news {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-news__hero-section {
    padding-top: 10px; /* Small top padding as per common instructions */
    padding-bottom: 60px;
    background: linear-gradient(180deg, rgba(17, 168, 78, 0.1) 0%, rgba(8, 22, 15, 0.8) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-news__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news__hero-text-block {
    margin-bottom: 40px;
    max-width: 900px;
}

.page-news__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.page-news__hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

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

.page-news__hero-image-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

/* General Section Titles and Subtitles */
.page-news__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.page-news__section-subtitle {
    font-size: 1.1rem;
    color: #A7D9B8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-news__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

.page-news__btn-secondary:hover {
    background: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 80px 0;
    background-color: #08160F;
}

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

.page-news__news-card,
.page-news__article-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__news-card:hover,
.page-news__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-news__card-image-wrapper {
    height: 220px;
    overflow: hidden;
}

.page-news__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-news__news-card:hover .page-news__card-image,
.page-news__article-card:hover .page-news__card-image {
    transform: scale(1.05);
}

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

.page-news__card-date {
    font-size: 0.9rem;
    color: #A7D9B8;
    margin-bottom: 10px;
}

.page-news__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__card-title a {
    color: #F2FFF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #2AD16F;
}

.page-news__card-description {
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-news__read-more-link {
    display: inline-block;
    color: #2AD16F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #57E38D;
    text-decoration: underline;
}

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

/* Featured Articles Section */
.page-news__featured-articles-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

/* Call to Action Section */
.page-news__cta-section {
    padding: 100px 0;
    background: #11A84E; /* Main Color */
    background-image: url('[GALLERY:bg:1920x600:win1,cta,background,abstract_pattern,green_gold]'); /* Optional background image for CTA */
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news__cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 22, 15, 0.7); /* Overlay to ensure text readability */
    z-index: 1;
}

.page-news__cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-news__cta-text {
    flex: 1;
}

.page-news__cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #F2FFF6;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-news__cta-description {
    font-size: 1.15rem;
    color: #A7D9B8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.page-news__cta-image-container {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

/* FAQ Section */
.page-news__faq-section {
    padding: 80px 0;
    background-color: #08160F;
}

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

.page-news__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-news__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green */
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6;
    cursor: pointer;
    list-style: none;
}

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

.page-news__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

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

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.6;
}

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

/* Responsive Styles */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

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

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

    .page-news__cta-content {
        flex-direction: column;
        text-align: center;
    }

    .page-news__cta-image-container {
        flex: none;
        width: 100%;
        max-width: 600px;
        margin-top: 40px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-news__hero-content-wrapper {
        flex-direction: column;
    }

    .page-news__hero-text-block {
        margin-bottom: 30px;
    }

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

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

    .page-news__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .page-news__hero-image-container {
        margin-top: 20px;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__container,
    .page-news__hero-content-wrapper,
    .page-news__news-grid,
    .page-news__articles-grid,
    .page-news__cta-content,
    .page-news__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__hero-cta-buttons,
    .page-news__view-all-button-container,
    .page-news__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
    }

    /* 其他内容模块 */
    .page-news__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-news__section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-news__news-grid,
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__news-card,
    .page-news__article-card {
        margin-bottom: 20px;
    }

    .page-news__card-image-wrapper {
        height: 180px;
    }

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

    .page-news__card-description {
        font-size: 0.9rem;
    }

    .page-news__latest-news-section,
    .page-news__featured-articles-section,
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__view-all-button-container {
        margin-top: 30px;
    }

    .page-news__cta-section {
        padding: 60px 0;
    }

    .page-news__cta-title {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .page-news__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

    .page-news__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px;
    }
}