/* General styles for the news page */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
    padding-bottom: 40px;
}

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

.page-news__dark-section {
    background: #2A1212; /* Card BG */
    padding: 60px 20px;
    margin: 60px auto;
    border-radius: 10px;
    border: 1px solid #6A1E1E; /* Border */
}

.page-news__section-title {
    font-size: 3em;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-news__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

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

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-news__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
    box-shadow: 0 2px 10px rgba(243, 197, 77, 0.2);
}

.page-news__btn-secondary:hover {
    background: rgba(243, 197, 77, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 197, 77, 0.4);
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: #140C0C; /* Background */
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default desktop cover */
    aspect-ratio: 16/9;
}

.page-news__hero-content {
    max-width: 900px;
    padding: 40px 20px 60px;
    position: relative; /* Ensure content is in normal flow */
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-news__description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFF1E8; /* Text Main */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-news__article-card {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-news__article-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

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

.page-news__article-title a:hover {
    color: #FFB04A; /* Lighter gold for hover */
}

.page-news__article-meta {
    font-size: 0.9em;
    color: #E53030; /* Auxiliary color */
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1em;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
}

.page-news__read-more {
    color: #FFB04A; /* Button gradient start color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #F3C54D; /* Gold */
}

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

/* Why 33wi News Section */
.page-news__why-33wi-news {
    text-align: center;
}

.page-news__why-33wi-news .page-news__section-title {
    color: #FFF1E8; /* Text Main */
}

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

.page-news__feature-item {
    background: rgba(0, 0, 0, 0.2); /* Slightly transparent dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(110, 30, 30, 0.5); /* Border */
}

.page-news__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #F3C54D); /* Gold glow for icons, not color change */
}

.page-news__feature-title {
    font-size: 1.8em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-news__feature-description {
    font-size: 1em;
    color: #FFF1E8; /* Text Main */
}

/* FAQ Section */
.page-news__faq-section {
    margin-top: 60px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
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;
}
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: #3A1A1A; /* Slightly lighter Card BG for hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8; /* Text Main */
}
.page-news__faq-answer p {
    margin: 0;
    padding: 0;
}

/* CTA Section */
.page-news__cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    padding: 50px;
    margin: 80px auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #6A1E1E; /* Border */
}

.page-news__cta-content {
    flex: 1;
    padding-right: 40px;
}

.page-news__cta-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news__cta-description {
    font-size: 1.1em;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
}

.page-news__cta-section .page-news__cta-buttons {
    justify-content: flex-start;
}

.page-news__cta-image {
    width: 350px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__copyright-text {
    text-align: center;
    font-size: 0.9em;
    color: #6A1E1E; /* Deep Red for subtle copyright */
    margin-top: 40px;
    padding: 0 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 30px 20px 40px;
    }
    .page-news__main-title {
        font-size: clamp(2.2em, 4.5vw, 3em);
    }
    .page-news__description {
        font-size: 1.1em;
    }
    .page-news__section-title {
        font-size: 2.5em;
    }
    .page-news__cta-section {
        padding: 40px;
    }
    .page-news__cta-title {
        font-size: clamp(1.8em, 3.5vw, 2.5em);
    }
    .page-news__cta-image {
        width: 300px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px;
    }
    .page-news__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        height: auto !important;
    }
    .page-news__hero-content {
        padding: 20px 15px 30px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-news__description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .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-left: 15px;
        padding-right: 15px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-news__section,
    .page-news__article-card,
    .page-news__feature-item,
    .page-news__cta-section,
    .page-news__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    .page-news__dark-section {
        padding: 40px 15px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-news__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-news__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    /* 产品展示图区域 (adapted for news cards) */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-news__article-image {
        height: 180px;
    }

    /* Why 33wi News Section */
    .page-news__features-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ Section */
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 1em; }
    .page-news__faq-toggle { font-size: 24px; width: 24px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

    /* CTA Section */
    .page-news__cta-section {
        flex-direction: column;
        padding: 30px 15px;
        text-align: center;
    }
    .page-news__cta-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .page-news__cta-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }
    .page-news__cta-image {
        width: 100%;
        max-width: 280px;
        margin-top: 20px;
    }
    .page-news__cta-section .page-news__cta-buttons {
        justify-content: center;
    }
    .page-news__copyright-text {
        padding: 0 15px;
    }
}