/* style/news.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-news {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.page-news__section-padding {
    padding: 60px 0;
}

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

.page-news__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-news__section-title--light {
    color: var(--text-main-color);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.page-news__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__section-description--light {
    color: var(--text-main-color);
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-news__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

.page-news__btn-primary--light {
    color: var(--text-main-color);
}

.page-news__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-news__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

.page-news__btn-secondary--light {
    color: var(--text-main-color);
    border-color: var(--text-main-color);
}

.page-news__btn-secondary--light:hover {
    background: var(--text-main-color);
    color: var(--background-color);
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

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

.page-news__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Adjust to slightly overlap the image for visual flow */
    position: relative;
    z-index: 1;
    background-color: var(--background-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-news__hero-description {
    font-size: 19px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest News Section */
.page-news__latest-news-section {
    background-color: var(--background-color);
}

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

.page-news__news-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

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

.page-news__news-card-content {
    padding: 25px;
}

.page-news__news-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-news__news-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__news-card-title a:hover {
    color: var(--secondary-color);
}

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

.page-news__news-card-excerpt {
    font-size: 16px;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

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

/* Highlights Section */
.page-news__dark-section {
    background-color: var(--card-bg);
}

.page-news__highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.page-news__highlight-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    padding-bottom: 25px;
}

.page-news__highlight-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-news__highlight-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0 25px;
    margin-bottom: 15px;
}

.page-news__highlight-text {
    font-size: 17px;
    color: var(--text-main-color);
    padding: 0 25px;
    margin-bottom: 25px;
}

/* Promotions & Events Section */
.page-news__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-news__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

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

.page-news__promo-content {
    padding: 25px;
}

.page-news__promo-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-news__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__promo-title a:hover {
    color: var(--secondary-color);
}

.page-news__promo-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.page-news__promo-text {
    font-size: 16px;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* About Commitment Section */
.page-news__about-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-news__about-content {
    flex: 1;
}

.page-news__about-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

/* FAQ Section */
.page-news__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-news__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-news__faq-qtext {
    flex-grow: 1;
    color: var(--primary-color);
}

.page-news__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    color: var(--secondary-color);
}

.page-news__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: var(--text-main-color);
    line-height: 1.7;
}

/* CTA Bottom Section */
.page-news__cta-bottom {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:cta_bottom_bg:1920x1080:79clup,cta,banner,action,excitement]');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-news__cta-bottom .page-news__section-title,
.page-news__cta-bottom .page-news__section-description {
    color: #ffffff;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-news__main-title {
        font-size: 36px;
    }

    .page-news__hero-description {
        font-size: 17px;
    }

    .page-news__news-grid,
    .page-news__highlights-grid,
    .page-news__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-news__section-title {
        font-size: 32px;
    }

    .page-news__section-description {
        font-size: 16px;
    }

    .page-news__about-container {
        flex-direction: column;
        text-align: center;
    }

    .page-news__about-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px !important;
    }

    .page-news__hero-image {
        max-height: 400px;
    }

    .page-news__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        margin-bottom: 25px;
    }

    .page-news__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-news__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* 产品展示图区域 (通用卡片布局) */
    .page-news__news-grid,
    .page-news__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-news__section-padding {
        padding: 40px 0;
    }

    .page-news__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__news-card,
    .page-news__highlight-item,
    .page-news__promo-card {
        margin-left: 0;
        margin-right: 0;
    }

    /* 按钮与按钮容器 */
    .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-direction: column !important; /* 垂直排列按钮 */
        gap: 15px !important;
    }

    /* 其他内容模块 */
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-news__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-news__news-card-title,
    .page-news__promo-title {
        font-size: 19px;
    }

    .page-news__highlight-title {
        font-size: 20px;
    }

    .page-news__about-image {
        max-width: 100%;
    }

    .page-news__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }

    .page-news__faq-answer {
        font-size: 15px;
        padding: 0 20px 15px 20px;
    }
}