:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --text-dark: #333333; /* For contrast on light backgrounds if needed */
    --text-light: #ffffff; /* For contrast on dark backgrounds */
}

/* Base styles for the news page */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page, assuming dark body background */
    background-color: var(--page-bg); /* Page specific background */
}

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

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

.page-news__section-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-news__section-description {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.8);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background: var(--button-gradient);
    color: var(--text-light); /* White text on dark button */
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

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

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

.page-news__btn-secondary:hover {
    background: rgba(255, 140, 26, 0.1);
    color: var(--secondary-color);
}

/* Hero Section */
.page-news__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--page-bg);
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
}

.page-news__hero-image {
    width: 100%;
    max-width: 1200px; /* Limit image width */
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default cover for desktop */
    border-radius: 10px;
}

.page-news__main-title {
    font-size: 48px; /* Using large font size for H1, will use clamp on mobile */
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__description {
    font-size: 20px;
    color: rgba(255, 243, 230, 0.85);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

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

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

.page-news__news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.page-news__news-card-content {
    padding: 25px;
    color: var(--text-main);
}

.page-news__news-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.3;
}

.page-news__news-card-meta {
    font-size: 14px;
    color: rgba(255, 243, 230, 0.6);
    margin-bottom: 15px;
}

.page-news__news-card-excerpt {
    font-size: 16px;
    color: rgba(255, 243, 230, 0.8);
    line-height: 1.5;
}

.page-news__view-all-button {
    text-align: center;
}

/* About lot88 Section */
.page-news__about-lot88 {
    background-color: var(--page-bg);
    padding-bottom: 80px;
}

.page-news__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-news__text-block {
    flex: 2;
    color: rgba(255, 243, 230, 0.9);
}

.page-news__text-block p {
    margin-bottom: 20px;
    font-size: 17px;
}

.page-news__sub-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-news__image-block {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

/* Promotions Section */
.page-news__promotions-section {
    background-color: var(--page-bg);
    padding-bottom: 80px;
}

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

.page-news__promotion-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

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

.page-news__promotion-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-news__promotion-card-text {
    font-size: 16px;
    color: rgba(255, 243, 230, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* FAQ Section */
details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg); /* Dark card background for FAQ items */
}
details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
}
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: rgba(255, 140, 26, 0.1); /* Slight highlight on hover */
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color); /* Use primary color for toggle icon */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    background: rgba(255, 140, 26, 0.05); /* Slightly lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: rgba(255, 243, 230, 0.85);
}
.page-news__faq-answer p {
    margin: 0;
    font-size: 16px;
}

/* CTA Section (Dark Background) */
.page-news__cta-section {
    background: var(--deep-orange); /* Using Deep Orange for a strong CTA background */
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-content .page-news__section-title {
    color: var(--text-light); /* White text on deep orange background */
    margin-bottom: 15px;
}

.page-news__cta-content .page-news__section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-image {
        max-width: 900px;
    }

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

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

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

    .page-news__promotion-card-title {
        font-size: 22px;
    }

    .page-news__content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .page-news__text-block,
    .page-news__image-block {
        flex: none;
        width: 100%;
        max-width: 800px;
    }

    .page-news__image-block {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px; /* Small top padding, body handles --header-offset */
        padding-bottom: 40px;
    }
    .page-news__hero-image {
        margin-bottom: 20px;
        border-radius: 0; /* Remove border-radius on mobile for full width look */
    }
    .page-news__hero-image img {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        border-radius: 0;
    }
    .page-news__main-title {
        font-size: clamp(30px, 8vw, 40px); /* Clamp for responsive H1 */
        margin-bottom: 15px;
        padding: 0 15px;
    }
    .page-news__description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        font-size: 16px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__news-card,
    .page-news__promotion-card,
    .page-news__text-block,
    .page-news__image-block,
    .page-news__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-news__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* 产品展示图区域 (if present, news page usually doesn't have this, but rule required) */
    /* Assuming a generic grid for cards, if it were product grid */
    .page-news__news-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    /* For a 2-column product grid if it were present, this would be: */
    /* .page-news__products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; overflow-x: hidden; } */
    /* This page uses a news grid, which is fine as 1fr. */
    .page-news__news-card-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-news__news-card-title {
        font-size: 18px;
    }
    .page-news__news-card-excerpt {
        font-size: 15px;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-news__sub-title {
        font-size: 24px;
        text-align: center; /* Center align sub-titles */
    }
    .page-news__text-block p {
        font-size: 16px;
    }

    /* FAQ Section */
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-news__faq-qtext {
        font-size: 16px;
        width: calc(100% - 40px); /* Adjust width to make space for toggle */
    }
    .page-news__faq-toggle {
        font-size: 20px;
        margin-left: 10px;
        width: 24px;
        height: 24px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .page-news__faq-answer p {
        font-size: 15px;
    }
}