/* -------------------------------------------------------------------------- */
/*                              Base Styles                                   */
/* -------------------------------------------------------------------------- */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
}

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

.page-news__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD86A; /* Gold-like for titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__section-title--light {
    color: #FFF5E1; /* Text Main */
}

.page-news__text-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #FFF5E1;
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.page-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
    background-color: #7A0E0E; /* Deep Red */
}

.page-news__hero-image {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-news__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, may crop */
    display: block;
}

.page-news__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: #B71C1C; /* Background */
    color: #FFF5E1; /* Text Main */
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD86A; /* Gold */
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-news__description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF5E1;
}

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

/* -------------------------------------------------------------------------- */
/*                             Buttons Styles                                 */
/* -------------------------------------------------------------------------- */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
    color: #7A0E0E; /* Deep Red for contrast */
    border: 2px solid #F2B544; /* Border */
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #FFD86A; /* Gold */
    border: 2px solid #FFD86A; /* Gold */
}

.page-news__btn-secondary:hover {
    background-color: rgba(255, 216, 106, 0.1);
    color: #FFF5E1; /* Text Main */
    border-color: #FFF5E1;
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/*                           Latest Articles Section                          */
/* -------------------------------------------------------------------------- */
.page-news__latest-articles-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background */
}

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

.page-news__article-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #7A0E0E; /* Deep Red border */
}

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

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

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

.page-news__article-content {
    padding: 20px;
}

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

.page-news__article-title a {
    color: #FFD86A; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-news__article-meta {
    font-size: 14px;
    color: rgba(255, 245, 225, 0.7); /* Lighter Text Main */
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 16px;
    color: #FFF5E1;
    margin-bottom: 20px;
}

.page-news__read-more {
    display: inline-block;
    color: #F4D34D; /* Gold */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #FFF5E1; /* Text Main */
}

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

/* -------------------------------------------------------------------------- */
/*                           About News Section                               */
/* -------------------------------------------------------------------------- */
.page-news__about-news-section {
    padding: 60px 0;
    background-color: #C91F17; /* Main Color */
    color: #FFF5E1;
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/*                                CTA Section                                 */
/* -------------------------------------------------------------------------- */
.page-news__cta-section {
    padding: 80px 0;
    background-color: #B71C1C; /* Background */
    color: #FFF5E1;
}

.page-news__cta-section .page-news__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-news__cta-content {
    flex: 1;
    text-align: left;
}

.page-news__cta-title {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD86A; /* Gold */
    line-height: 1.3;
}

.page-news__cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFF5E1;
}

.page-news__cta-image {
    flex-shrink: 0;
    width: 50%;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

/* -------------------------------------------------------------------------- */
/*                                FAQ Section                                 */
/* -------------------------------------------------------------------------- */
.page-news__faq-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
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;
  color: #FFD86A; /* Gold */
  font-weight: bold;
}
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: #C91F17; /* Main Color */
  color: #FFF5E1;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}
details.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
    color: #FFF5E1;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 25px;
  background: #B71C1C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
  font-size: 16px;
}

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .page-news__hero-image {
        height: 500px;
    }

    .page-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

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

    .page-news__cta-content,
    .page-news__cta-image {
        width: 100%;
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .page-news__container {
        padding: 15px;
    }

    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px;
    }
    .page-news__hero-image {
        height: 300px;
    }
    .page-news__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-news__description {
        font-size: 16px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        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: 12px 20px;
        font-size: 16px;
    }
    .page-news__cta-buttons,
    .page-news__view-all-button-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;
    }

    /* 产品展示图区域 (通用卡片网格) */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-news__text-block p {
        font-size: 16px;
    }
    .page-news__article-body,
    .page-news__article-figure {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-news__article-image {
        height: 180px;
    }
    .page-news__article-card,
    .page-news__about-news-section .page-news__container,
    .page-news__cta-section .page-news__container,
    .page-news__faq-section .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__cta-section .page-news__container {
        gap: 20px;
    }

    .page-news__faq-qtext {
        font-size: 16px;
    }
    .page-news__faq-question {
        padding: 15px 20px;
    }
    .page-news__faq-answer {
        padding: 0 20px 20px;
    }
    .page-news__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}