:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12; /* Body background from shared.css */
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

/* Base styles for the news page */
.page-news {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark background */
    line-height: 1.6;
    background-color: var(--background-color); /* Ensure consistency with body background */
}

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

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

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

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

/* HERO Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* 🚨 页头由 shared 的 body { padding-top: var(--header-offset); } 承载；此处仅用小额顶距，禁止 var(--header-offset) 以免双倍空白 */
    padding-top: 10px;
    padding-bottom: 40px;
    overflow: hidden;
}

.page-news__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-news__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-news__main-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--glow-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.6);
    max-width: 900px; /* Constraint for H1 font size */
    margin-left: auto;
    margin-right: auto;
}

.page-news__hero-description {
    font-size: 20px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__cta-button:hover {
    background: linear-gradient(180deg, var(--glow-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Featured News Grid */
.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-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-news__card-link {
    text-decoration: none;
    display: block;
    color: var(--text-main);
}

.page-news__news-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

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

.page-news__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--glow-color);
    line-height: 1.3;
}

.page-news__card-excerpt {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.5;
}

.page-news__card-date {
    font-size: 14px;
    color: rgba(255, 243, 230, 0.7);
    display: block;
}

/* Detailed Categories */
.page-news__category-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-news__category-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-news__category-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

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

.page-news__sub-news-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    border: 1px solid rgba(168, 79, 12, 0.5);
}

.page-news__sub-news-card:hover {
    transform: translateY(-5px);
}

.page-news__sub-news-card img {
    width: 100%;
     /* Smaller fixed height for sub-cards */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(168, 79, 12, 0.5);
}

.page-news__sub-news-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--text-main);
}

/* Benefits Section */
.page-news__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-news__benefits-list li {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 17px;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-news__benefits-list li:hover {
    background-color: rgba(23, 25, 31, 0.8);
}

.page-news__benefit-highlight {
    color: var(--glow-color);
}

/* Access Guide */
.page-news__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.page-news__step-item p {
    font-size: 16px;
    color: var(--text-main);
}

.page-news__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(90deg, #17191F 0%, #0D0E12 100%);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-news__cta-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--glow-color);
    margin-bottom: 30px;
}

.page-news__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: var(--background-color);
}

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--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 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--glow-color);
    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: rgba(255, 140, 26, 0.1);
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--glow-color);
}
.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    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); /* Lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
    font-size: 16px;
}

/* Social Media Section */
.page-news__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-news__social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-news__social-button--facebook {
    background-color: #3b5998;
}
.page-news__social-button--facebook:hover {
    background-color: #2d4373;
    transform: translateY(-2px);
}

.page-news__social-button--twitter {
    background-color: #1da1f2;
}
.page-news__social-button--twitter:hover {
    background-color: #0c85d0;
    transform: translateY(-2px);
}

.page-news__social-button--telegram {
    background-color: #0088cc;
}
.page-news__social-button--telegram:hover {
    background-color: #006dae;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: 44px;
    }
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__hero-description {
        font-size: 18px;
    }
    .page-news__news-card img {
        height: 220px;
    }
    .page-news__card-title {
        font-size: 20px;
    }
    .page-news__sub-news-card img {
        
    }
    .page-news__sub-news-title {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-top: 10px !important; /* Keep small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__hero-image img {
        border-radius: 4px;
    }
    .page-news__main-title {
        font-size: 36px;
        line-height: 1.3;
    }
    .page-news__hero-description {
        font-size: 16px;
    }
    .page-news__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important; /* Button responsive */
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__section-title {
        font-size: 28px;
    }
    .page-news__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news__news-card img {
        height: 200px;
    }
    .page-news__card-title {
        font-size: 18px;
    }
    .page-news__card-excerpt {
        font-size: 15px;
    }

    .page-news__category-item {
        padding: 20px;
    }
    .page-news__category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-news__sub-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-news__sub-news-card img {
        
    }
    .page-news__sub-news-title {
        font-size: 16px;
    }

    .page-news__benefits-list li {
        font-size: 15px;
        padding: 15px 20px;
    }

    .page-news__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news__step-title {
        font-size: 20px;
    }
    .page-news__cta-block {
        padding: 30px 20px;
    }
    .page-news__cta-text {
        font-size: 20px;
    }
    .page-news__cta-button--large {
        padding: 15px 30px;
        font-size: 18px;
    }

    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 15px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

    .page-news__social-links {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__social-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Image responsive */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}