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

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

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #C91F17;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__section-subtitle {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small padding, relying on body for header offset */
    margin-bottom: 40px;
    overflow: hidden;
}

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

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

.page-news__hero-content {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 15px;
}

.page-news__hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #C91F17;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-news__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 30px;
}

.page-news__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Introduction Section */
.page-news__introduction-section {
    margin-bottom: 50px;
}

.page-news__intro-text {
    font-size: 18px;
    text-align: justify;
    color: #444444;
    line-height: 1.7;
}

/* Latest News Section */
.page-news__latest-news-section {
    margin-bottom: 60px;
}

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

.page-news__news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__news-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.page-news__news-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-news__news-title a:hover {
    color: #E53935;
}

.page-news__news-meta {
    font-size: 14px;
    color: #777777;
    margin-bottom: 15px;
}

.page-news__news-excerpt {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* CTA Section */
.page-news__cta-section {
    background-color: #B71C1C;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-news__cta-title {
    font-size: 42px;
    font-weight: 800;
    color: #FFF5E1;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__cta-description {
    font-size: 20px;
    color: #FFD86A;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* FAQ Section */
.page-news__faq-section {
    margin-bottom: 80px;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: #D32F2F;
}
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: #7A0E0E;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1;
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFCC66;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: #7A0E0E;
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
}

.page-news__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* --- Button Styles (Custom Colors) --- */
.page-news__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #FFF5E1;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.page-news__btn-secondary {
    background: #D32F2F;
    color: #FFF5E1;
    border: 2px solid #F2B544;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-news__btn-secondary:hover {
    background: #7A0E0E;
    color: #FFD86A;
    border-color: #FFD86A;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* General image and button responsive styles (for '通用图片与按钮' requirement) */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__cta-button,
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-buttons,
.page-news__button-group,
.page-news__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 40px;
    }
    .page-news__hero-description {
        font-size: 18px;
    }
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-news__news-title {
        font-size: 20px;
    }
    .page-news__news-excerpt {
        font-size: 15px;
    }
    .page-news__cta-title {
        font-size: 36px;
    }
    .page-news__cta-description {
        font-size: 18px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 16px 20px;
    }
    .page-news__faq-qtext {
        font-size: 17px;
    }
    .page-news__faq-toggle {
        font-size: 26px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 849px) {
    /* Banner (hero-section) - object-fit:contain */
    .page-news__hero-image {
        height: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 768px) {
    .page-news__container {
        padding: 15px;
    }
    .page-news__hero-section {
        padding-top: 10px; /* Still small padding for mobile */
        margin-bottom: 30px;
    }
    .page-news__hero-content {
        margin: 30px auto;
    }
    .page-news__hero-title {
        font-size: 32px;
    }
    .page-news__hero-description {
        font-size: 16px;
    }
    .page-news__hero-cta {
        padding: 12px 25px;
        font-size: 18px;
    }
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-news__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news__news-image-wrapper {
        height: 180px;
    }
    .page-news__news-content {
        padding: 20px;
    }
    .page-news__news-title {
        font-size: 18px;
    }
    .page-news__news-meta {
        font-size: 13px;
    }
    .page-news__news-excerpt {
        font-size: 14px;
    }
    .page-news__view-all-button-wrapper {
        margin-top: 30px;
    }
    .page-news__cta-section {
        padding: 50px 15px;
        margin-bottom: 40px;
    }
    .page-news__cta-title {
        font-size: 30px;
    }
    .page-news__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    /* FAQ */
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 15px; }
    .page-news__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

    /* General image and button responsive styles (for '通用图片与按钮' requirement) */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__cta-button,
    .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__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    /* Placeholder for `__access-links` (not used on this page, but required by prompt) */
    .page-news__access-links { /* Styles for access links, if present */ }
    /* Placeholder for `__category-lobby` (not used on this page, but required by prompt) */
    .page-news__category-lobby__grid { /* Styles for category lobby, if present */ }
    /* Placeholder for `__blog-slider` (not used on this page, but required by prompt) */
    .page-news__blog-slider-track { /* Styles for blog slider, if present */ }
}