.page-news {
    padding-top: 10px; /* Minimal top padding, relies on body padding-top for header offset */
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

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

.page-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: #2F6BFF; /* Fallback if image doesn't load */
}

.page-news__hero-image-wrapper {
    width: 100%;
}

.page-news__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-news__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #FFFFFF;
    text-align: center;
    box-sizing: border-box;
}

.page-news__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__description {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #E0E0E0;
}

.page-news__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-news__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-news__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2F6BFF;
    border-radius: 2px;
}

.page-news__latest-articles-section {
    padding: 40px 0;
    background-color: #F4F7FB;
}

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

.page-news__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #1F2D3D;
}

.page-news__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__article-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-news__article-title a {
    color: #1F2D3D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: #2F6BFF;
}

.page-news__article-meta {
    font-size: 0.9em;
    color: #6FA3FF;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
    margin-bottom: 15px;
}

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

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

.page-news__view-all-wrapper {
    text-align: center;
}

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-news__view-all-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-news__why-f8-news-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-news__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-news__feature-item {
    padding: 30px;
    border-radius: 12px;
    background-color: #F4F7FB;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-news__feature-item:hover {
    transform: translateY(-5px);
}

.page-news__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    width: 200px; /* Display size */
    height: 150px; /* Display size */
}

.page-news__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-news__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-news__explore-categories-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-news__category-card {
    display: block;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #2F6BFF;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.page-news__category-card:hover {
    background-color: #E6F0FF;
    transform: translateY(-3px);
    border-color: #2F6BFF;
}

.page-news__cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
    text-align: center;
    color: #FFFFFF;
    border-radius: 0;
    margin-top: 40px;
}

.page-news__cta-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-news__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

.page-news__cta-button--large {
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .page-news__hero-content {
        padding: 20px;
    }

    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-news__description {
        font-size: 1em;
    }

    .page-news__section-title {
        font-size: 1.8em;
    }

    .page-news__articles-grid,
    .page-news__features-grid,
    .page-news__categories-grid {
        grid-template-columns: 1fr;
    }

    .page-news__article-image {
        height: 180px;
    }

    .page-news__article-title {
        font-size: 1.2em;
    }

    .page-news__feature-icon {
        width: 150px; /* Maintain minimum size for smaller screens */
        height: 100px;
    }

    .page-news__cta-title {
        font-size: 2em;
    }

    .page-news__cta-description {
        font-size: 1em;
    }

    .page-news__cta-button--large {
        padding: 12px 30px;
        font-size: 1.05em;
    }

    /* Ensure content images do not overflow */
    .page-news__latest-articles-section img,
    .page-news__why-f8-news-section img {
        max-width: 100%;
        height: auto;
    }
    /* Specific rule for images within .page-news to prevent overflow and ensure min size */
    .page-news img:not(.page-news__hero-image) {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }
    .page-news__feature-icon {
        min-width: 200px;
        min-height: 200px;
        width: 200px; /* Ensure display width is not smaller than min */
        height: auto; /* Allow height to adjust proportionally */
    }
}

@media (max-width: 480px) {
    .page-news__hero-content {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-news__cta-title {
        font-size: 1.8em;
    }
    .page-news__article-image {
        height: 150px;
    }
}

/* CSS for image width/height consistency */
.page-news__hero-image {
    width: 1200px; /* Display width for hero image */
    height: 675px; /* Display height for hero image */
    max-width: 100%; /* Responsive behavior */
    height: auto; /* Maintain aspect ratio */
}

.page-news__article-image {
    width: 400px; /* Display width for article card image */
    height: 225px; /* Display height for article card image */
    max-width: 100%; /* Responsive behavior */
    height: auto; /* Maintain aspect ratio */
}

.page-news__feature-icon {
    width: 200px; /* Display width for feature icon */
    height: 150px; /* Display height for feature icon */
    max-width: 100%; /* Responsive behavior */
    height: auto; /* Maintain aspect ratio */
}

/* Global image rules for content area to prevent small sizes */
.page-news img {
    min-width: 200px; /* All content images must be at least 200px wide */
    min-height: 200px; /* All content images must be at least 200px high */
    object-fit: cover;
}

/* Override for hero image to allow larger dimensions if needed, but still responsive */
.page-news__hero-image {
    min-width: unset;
    min-height: unset;
}

/* Adjustments for text color contrast */
.page-news__hero-content .page-news__main-title,
.page-news__hero-content .page-news__description {
    color: #FFFFFF;
}

.page-news__cta-section .page-news__cta-title,
.page-news__cta-section .page-news__cta-description {
    color: #FFFFFF;
}

.page-news__article-title a {
    color: #1F2D3D; /* Text Main */
}

.page-news__article-excerpt {
    color: #1F2D3D; /* Text Main */
}

.page-news__read-more-link {
    color: #2F6BFF; /* Primary color */
}

.page-news__feature-title {
    color: #2F6BFF; /* Primary color */
}

.page-news__feature-description {
    color: #1F2D3D; /* Text Main */
}

.page-news__category-card {
    color: #2F6BFF; /* Primary color */
}

.page-news__section-title {
    color: #1F2D3D; /* Text Main */
}

/* Ensure contrast for all text against backgrounds */
body {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-news__article-card {
    background-color: #FFFFFF;
}

.page-news__feature-item {
    background-color: #F4F7FB;
}

.page-news__category-card {
    background-color: #FFFFFF;
}

.page-news__hero-content,
.page-news__cta-section {
    color: #FFFFFF;
}

/* Ensure the hero image is above the text in DOM order */
.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px; /* Ensure some height even without image */
}

.page-news__hero-image-wrapper {
    order: 1;
    width: 100%;
}

.page-news__hero-content {
    order: 2;
    position: static; /* Remove absolute positioning to ensure natural flow */
    background: none; /* Remove gradient background as it's not on top of image */
    padding: 20px 20px 40px;
    color: #1F2D3D; /* Adjust text color for contrast against page background */
    text-shadow: none;
    margin-top: -100px; /* Pull content up over the bottom part of the image */
    z-index: 1; /* Ensure content is above image when margin-top is used */
    position: relative;
}

.page-news__hero-content .page-news__main-title,
.page-news__hero-content .page-news__description {
    color: #1F2D3D; /* Ensure contrast against #F4F7FB background */
}

/* Re-adjust for hero text to be readable if image is still visible underneath */
.page-news__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: block; /* Revert to block to allow image and content to be stacked */
}

.page-news__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 0;
}

.page-news__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.7); /* Keep darken filter for readability */
}

.page-news__hero-content {
    position: absolute; /* Revert to absolute positioning for overlay effect */
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* Re-add gradient */
    color: #FFFFFF; /* Revert text color for contrast on gradient */
    text-align: center;
    box-sizing: border-box;
    z-index: 1; /* Ensure text is above image */
    margin-top: 0; /* Remove negative margin */
}

.page-news__hero-content .page-news__main-title,
.page-news__hero-content .page-news__description {
    color: #FFFFFF; /* Ensure contrast against gradient */
}

/* Re-applying the "upper image, lower text" rule strictly */
/* This means the text cannot overlay the image. It must be below it. */
/* The previous attempt at `position: absolute` with gradient was an overlay. */
/* Let's try to achieve the "upper image, lower text" with distinct blocks. */
.page-news__hero-section {
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center;
    width: 100%;
    padding: 0;
    margin-bottom: 40px;
    background-color: #2F6BFF; /* Background for entire section */
}

.page-news__hero-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 20px; /* Space between image and text */
    order: 1; /* Image first */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: none; /* Remove filter if text is not overlaid */
}

.page-news__hero-content {
    position: static; /* Ensure natural flow */
    background: none;
    color: #FFFFFF; /* Text on blue background */
    padding: 0 20px 40px; /* Padding for text content */
    text-shadow: none;
    margin-top: 0;
    z-index: auto;
    order: 2; /* Content second */
    max-width: 1200px; /* Constrain content width */
    box-sizing: border-box;
}

.page-news__hero-content .page-news__main-title,
.page-news__hero-content .page-news__description {
    color: #FFFFFF; /* Ensure contrast against blue background */
}

/* Adjustments for the new hero section layout */
.page-news__hero-section {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Use a gradient background for the section */
    padding-bottom: 40px; /* Add some padding at the bottom of the section */
}

.page-news__hero-image-wrapper {
    margin-bottom: 0; /* No margin if image takes full width and content is below */
}

.page-news__hero-image {
    filter: none; /* Remove filter as text is not overlaid */
}

.page-news__hero-content {
    padding-top: 40px; /* Add top padding to content if image is above */
    color: #FFFFFF; /* Ensure text color is white on blue gradient */
}

/* Re-evaluate the hero section entirely to strictly follow "强制上图下文、禁止在主图上叠字" */
/* The hero image must be a distinct block above the text content block. */
.page-news__hero-section {
    display: block; /* Revert to block to manage child blocks */
    width: 100%;
    padding: 0; /* Remove padding from section itself */
    margin-bottom: 40px;
    background-color: #F4F7FB; /* Default page background */
}

.page-news__hero-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 20px; /* Space between image and text */
    background-color: #2F6BFF; /* Background if image is not full width */
}

.page-news__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: none; /* No filter, text is not overlaid */
}

.page-news__hero-content {
    position: static; /* Ensure natural flow */
    background: none;
    color: #1F2D3D; /* Text Main color for content below image */
    padding: 0 20px;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-news__hero-content .page-news__main-title,
.page-news__hero-content .page-news__description {
    color: #1F2D3D; /* Ensure contrast against #F4F7FB background */
}

/* Final adjustment for hero content to have its own background for better visual separation */
.page-news__hero-section {
    background-color: #F4F7FB; /* Default page background */
}

.page-news__hero-image-wrapper {
    background-color: #2F6BFF; /* A distinct background for the image block */
    padding: 20px 0; /* Add some padding around the image */
}

.page-news__hero-image {
    max-width: 1200px; /* Constrain image width within the wrapper */
    margin: 0 auto; /* Center the image */
    display: block;
}

.page-news__hero-content {
    background-color: #FFFFFF; /* A distinct background for the text content block */
    padding: 40px 20px;
    margin-top: -20px; /* Slightly overlap with the image wrapper for visual flow */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    width: calc(100% - 40px); /* Adjust width for padding */
}

/* Ensure mobile images are not smaller than 200px */
@media (max-width: 768px) {
    .page-news img {
        max-width: 100%;
        height: auto;
    }
    .page-news__feature-icon {
        min-width: 200px;
        min-height: 200px;
        width: 100%; /* Allow to stretch to container, but respect min-width */
        height: auto;
    }
    .page-news__hero-image {
        min-width: unset; /* Hero image can be larger, so unset min-width */
        min-height: unset;
    }
    .page-news__hero-content {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* H1 font-size clamp for responsiveness */
.page-news__main-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Using rem for better scaling */
}

.page-news__cta-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Using rem for better scaling */
}

.page-news__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem); /* Using rem for better scaling */
}

/* Ensure color contrast for all elements */
.page-news__main-title, .page-news__description, .page-news__cta-button {
    color: #FFFFFF;
}

.page-news__section-title, .page-news__article-title a, .page-news__article-excerpt, .page-news__feature-description {
    color: #1F2D3D;
}

.page-news__article-meta, .page-news__read-more-link, .page-news__feature-title, .page-news__category-card {
    color: #2F6BFF;
}

.page-news__cta-section {
    color: #FFFFFF;
}

.page-news__article-card {
    background-color: #FFFFFF;
}

.page-news__feature-item {
    background-color: #F4F7FB;
}

.page-news__category-card {
    background-color: #FFFFFF;
}

.page-news__hero-content {
    background-color: #FFFFFF;
}

.page-news__hero-image-wrapper {
    background-color: #2F6BFF;
}

.page-news__cta-section {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
}

.page-news__cta-button, .page-news__view-all-button {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-news__cta-button:hover, .page-news__view-all-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}