/* style/news.css */
/* 页面完整样式代码 - 注意：所有选择器必须添加页面前缀 */

:root {
    --page-news-primary-color: #0A192F; /* Dark Blue */
    --page-news-secondary-color: #FFD700; /* Gold */
    --page-news-text-light: #F0F2F5; /* Light grey for text on dark background */
    --page-news-text-dark: #333333; /* Dark grey for text on light background */
    --page-news-background-dark: #0A192F;
    --page-news-background-light: #FFFFFF;
    --page-news-card-bg: #1A2E47; /* Slightly lighter dark blue for cards */
    --page-news-border-color: rgba(255, 215, 0, 0.3); /* Gold with transparency */
}

.page-news {
    font-family: 'Arial', sans-serif;
    color: var(--page-news-text-light); /* Default text color for dark background */
    background-color: var(--page-news-background-dark);
    line-height: 1.6;
}

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

/* Helper class for gold text */
.page-news .text--gold {
    color: var(--page-news-secondary-color);
}

/* Hero Section */
.page-news__hero {
    background: linear-gradient(135deg, var(--page-news-primary-color) 0%, #1A2E47 100%); /* Gradient with primary and slightly lighter dark blue */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--page-news-text-light);
}

.page-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-news-text-light);
}

.page-news__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* CTA Button - General Style */
.page-news__cta-button {
    display: inline-block;
    background-color: var(--page-news-secondary-color);
    color: var(--page-news-primary-color); /* Dark text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    background-color: #E6C200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-news__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-news__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Intro Section */
.page-news__intro {
    padding: 60px 0;
    background-color: #1A2E47; /* Slightly lighter dark blue */
    color: var(--page-news-text-light);
}

.page-news__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--page-news-text-light);
    font-weight: bold;
}

.page-news__intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.page-news__intro-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-news__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__sidebar-card {
    background-color: var(--page-news-card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border-left: 5px solid var(--page-news-secondary-color);
}

.page-news__card-title {
    font-size: 1.5em;
    color: var(--page-news-secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__sidebar-card ul {
    list-style: none;
    padding: 0;
}

.page-news__sidebar-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
}

.page-news__sidebar-card ul li::before {
    content: '✓';
    color: var(--page-news-secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-news__sidebar-card--promo {
    text-align: center;
    border-left: none;
    border: 2px dashed var(--page-news-secondary-color);
}

.page-news__sidebar-card--promo .page-news__cta-button {
    margin-top: 20px;
}

/* Articles Section */
.page-news__articles {
    padding: 80px 0;
    background-color: var(--page-news-background-dark);
}

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

.page-news__article-card {
    background-color: var(--page-news-card-bg);
    border-radius: 8px;
    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; /* Make card a flex container */
    flex-direction: column; /* Stack children vertically */
}

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

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

.page-news__article-card h3, .page-news__article-card p {
    padding: 0 25px;
}

.page-news__article-title {
    font-size: 1.4em;
    color: var(--page-news-secondary-color);
    margin: 20px 0 10px;
    min-height: 60px; /* Ensure consistent height for titles */
}

.page-news__article-description {
    font-size: 0.95em;
    color: var(--page-news-text-light);
    margin-bottom: 20px;
    min-height: 100px; /* Ensure consistent height for descriptions */
    opacity: 0.8;
}

.page-news__read-more-button {
    display: block;
    text-align: center;
    background-color: var(--page-news-secondary-color);
    color: var(--page-news-primary-color);
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    border-radius: 0 0 8px 8px;
    margin-top: auto; /* Push button to bottom */
}

.page-news__read-more-button:hover {
    background-color: #E6C200;
}

/* Call to Action Section */
.page-news__cta-section {
    background: linear-gradient(45deg, #0A192F, #1A2E47);
    padding: 80px 0;
    text-align: center;
    color: var(--page-news-text-light);
    position: relative;
    overflow: hidden;
}

.page-news__cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-news-text-light);
}

.page-news__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-news__cta-image {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* More Info Section */
.page-news__more-info {
    padding: 80px 0;
    background-color: #1A2E47; /* Slightly lighter dark blue */
    color: var(--page-news-text-light);
}

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

.page-news__info-item {
    background-color: var(--page-news-card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 4px solid var(--page-news-secondary-color);
}

.page-news__info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-news-secondary-color));
}

.page-news__info-title {
    font-size: 1.6em;
    color: var(--page-news-secondary-color);
    margin-bottom: 15px;
}

.page-news__info-item p {
    font-size: 1em;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news__intro-grid {
        grid-template-columns: 1fr;
    }

    .page-news__hero-title {
        font-size: 2.8em;
    }

    .page-news__hero-subtitle {
        font-size: 1.2em;
    }

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

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

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

    .page-news__hero-title {
        font-size: 2.2em;
    }

    .page-news__hero-subtitle {
        font-size: 1em;
    }

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

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

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

    .page-news__info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-news__hero {
        padding: 60px 0;
    }

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

    .page-news__hero-subtitle {
        font-size: 0.9em;
    }

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

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

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

    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-news__article-description {
        min-height: auto; /* Allow description to flow naturally on smaller screens */
    }
}