/* News Page Styles */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #CEDFF9;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    width: 100vw;
    overflow-x: hidden;
}

.container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 100vw;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none;
}

.mobile-nav-actions {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .has-dropdown i {
    font-size: 10px;
    margin-left: 5px;
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.search-btn,
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
    transition: var(--transition);
}

.header.scrolled .search-btn,
.header.scrolled .lang-btn {
    color: var(--text-dark);
}

.search-btn:hover,
.lang-btn:hover {
    color: var(--primary-color);
}

.mobile-contact-btn {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 20px;
    line-height: 1.2;
    white-space: nowrap;
    align-self: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-contact-btn:hover,
.mobile-contact-btn:active {
    background-color: #fff;
    color: var(--primary-color, #0f3e72);
}

.header.scrolled .mobile-contact-btn {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* News Hero */
.news-hero {
    position: relative;
    height: 67vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.news-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0, 30, 60, 0.75) 0%, rgba(0, 30, 60, 0.35) 100%); */
    z-index: -1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.news-hero-content {
    color: white;
    padding-top: 60px;
    text-align: center;
}

.news-hero-content h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    max-width: none;
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-discover:hover {
    background-color: var(--primary-color);
    color: white;
}

/* News List Section */
.news-list-section {
    padding: 50px 0 80px;
    background-color: var(--bg-white);
}

/* News Header */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.news-filters {
    display: flex;
    align-items: center;
    gap: 25px;
}

.filter-tab {
    padding: 0;
    border: none;
    background: none;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
    color: var(--text-dark);
    font-weight: 600;
}

.discover-more-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.discover-more-link:hover {
    color: var(--primary-color);
}

.discover-more-link i {
    font-size: 10px;
}

/* Featured News */
.news-featured {
    display: grid;
    grid-template-columns: 55% 1fr;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 50px;
    transition: opacity 2s ease;
}

.featured-image {
    overflow: hidden;
    aspect-ratio: unset;
    min-height: 420px;
    width: 1100PX;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-image:hover img {
    transform: scale(1.03);
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px 40px;
    gap: 15px;
}

.news-category-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 2px;
    width: fit-content;
}

.featured-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.featured-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 22px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-size: 13px;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-view-more:hover {
    background-color: var(--secondary-color);
}

.btn-view-more i {
    font-size: 10px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 50px;
    min-height: 200px;
}

/* Loading & Empty States */
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 40px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 16px;
}

.loading-spinner i {
    font-size: 32px;
    color: var(--primary-color);
}

.loading-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #e74c3c;
    font-size: 16px;
    text-align: center;
}

.loading-error i {
    font-size: 48px;
}

.news-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--text-light);
    text-align: center;
}

.news-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--border-color);
}

.news-empty p {
    font-size: 16px;
}

.news-card {
    padding: 25px 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-card:nth-child(3n) {
    border-right: none;
}

.news-card:hover {
    background-color: var(--bg-light);
}

.news-card .news-category {
    display: block;
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-link {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.read-link:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 30px;
}

/* .page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: none;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.page-btn:disabled {
    color: var(--border-color);
    cursor: not-allowed;
}

.page-btn:not(:disabled):hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
} */

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    padding: 8px 6px;
    font-family: inherit;
}

.page-btn:hover:not(.disabled) {
    color: var(--primary-color);
}

.page-btn.disabled {
    color: var(--border-color);
    cursor: default;
    pointer-events: none;
}

.page-btn:disabled {
    color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-btn i {
    font-size: 13px;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-num {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: none;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.page-num.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-num:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-dots {
    font-size: 13px;
    color: var(--text-light);
    padding: 0 5px;
}

/* 页脚 */
.footer {
    background-image: url('https://www.conbyth.cn/images/footer-bg.webp');
    color: var(--text-dark);
    padding: 50px 0 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.conbyth.cn/images/world-map.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}

.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    
    margin-left: auto;
    margin-right: auto;
}

/* Logo Section */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    flex: 3.5;
}

.footer-section.nav-section {
    flex: 2;
}

.footer-section.products-section {
    flex: 2;
}

/* 合并后的 Quick Links + Products 区域 */
.footer-section.nav-products-section {
    flex: 4;
}

.nav-products-row {
    display: flex;
    gap: 30px;
}

.quick-links-col {
    flex: 2;
}

.products-col {
    flex: 2;
}

.footer-section.contact-section {
    flex: 2;
}

.footer-section.qrCODE-section {
    flex: 2.5;

}

.footer-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.company-intro {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.company-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Nav Section */
.footer-nav-columns {
    display: flex;
    gap: 20px;
}

.footer-section.nav-section h4,
.footer-section.products-section h4,
.footer-section.contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-nav-list,
.footer-products-list {
    list-style: none;
}

.footer-nav-list li,
.footer-products-list li {
    margin-bottom: 8px;
}

.footer-nav-list a,
.footer-products-list a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-list a:hover,
.footer-products-list a:hover {
    color: var(--primary-color);
}

.contact-section .contact-list {
    list-style: none;
    margin-bottom: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-list li i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list li span {
    flex: 1;
}

/* QR Codes Container */
.qr-codes-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-code-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 8px;
}

.qr-code-item p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    text-decoration: none;
    background-color: transparent;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    border-top: 1px solid #cfd5dd;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    
    margin: 0 auto;
}

.footer-bottom-left {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
}

/* ==================== WhatsApp 悬浮按钮 ==================== */
.whatsapp-float {
    position: fixed;
    right: 30px;
    top: 75%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(69, 192, 69);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px #3d97dc66;
    transition: all 0.3s ease;
    color: white;
    font-size: 32px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgb(69, 192, 69);
}

.whatsapp-qr-popup {
    position: absolute;
    bottom: 80px;
    right: 20%;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.whatsapp-qr-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-qr-popup img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .whatsapp-qr-popup {
        bottom: 70px;
        padding: 12px;
    }

    .whatsapp-qr-popup img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 12px;
    }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .whatsapp-qr-popup {
        bottom: 65px;
        padding: 10px;
    }

    .whatsapp-qr-popup img {
        width: 130px;
        height: 130px;
    }
}

.language-selector:hover {
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 12px 30px;
    }

    .nav-menu a {
        color: var(--text-dark);
    }

    .mobile-menu-btn {
        display: block;
    }

    .phone-link span {
        display: inline;
        font-size: 12px;
    }

    .news-featured {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card:nth-child(3n) {
        border-right: 1px solid var(--border-color);
    }

    .news-card:nth-child(2n) {
        border-right: none;
    }

    .links-section {
        flex-wrap: wrap;
    }
}



@media (max-width: 768px) {
    /* 手机端二维码横向并排 */
    .qr-codes-container {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .qr-code-item img {
        width: 110px;
        height: 110px;
    }

    .phone-link {
        display: none;
    }

    .mobile-nav-actions {
        display: flex;
    }

    .container {
        padding: 0 16px;
    }

    .news-featured {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .featured-image {
        min-height: 200px;
        width: 100%;
    }

    .featured-content {
        padding: 20px;
        gap: 12px;
    }

    .featured-content h3 {
        font-size: 18px;
    }

    .featured-content p {
        font-size: 13px;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }



    .news-hero-content h1 {
        font-size: 36px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* .news-card {
        border-right: none;
    } */

    .pagination {
        gap: 15px;
    }

    .footer {
        padding: 30px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section,
    .footer-section.nav-products-section {
        flex: none;
    }

    .nav-products-row {
        gap: 20px;
    }

    .quick-links-col,
    .products-col {
        flex: 1;
        min-width: 0;
    }

    .quick-links-col h4,
    .products-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 5px;
    }
}

/* ==================== Mega Menu ==================== */
.has-megamenu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    margin-top: 10px;
}

.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.level1-link {
    display: block;
    padding: 12px 24px;
    color: #333333 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.level1-link:hover {
    background: #e0e0e0;
    color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
    .mega-menu {
        display: none;
    }
}

@media (max-width: 430px) {
    .news-featured {
        display: block;
        margin-bottom: 20px;
    }

    .container {
        padding: 0 16px !important;
    }

    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        display: inline-block;
        font-size: 24px;
        font-weight: 600;
        color: #61435D;
    }

    .navbar {
        padding: 15px 0;
    }

    .news-hero {
        height: 40vh;
        min-height: 280px;
    }

    .news-featured {
        gap: 16px;
        margin-bottom: 24px;
    }

    .featured-image {
        min-height: 180px;
    }

    .featured-content {
        padding: 16px;
        gap: 10px;
    }

    .featured-content h3 {
        font-size: 16px;
    }

    .featured-content p {
        font-size: 12px;
    }

    .btn-view-more {
        padding: 8px 18px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .page-btn,
    .page-numbers button {
        min-width: 44px;
        min-height: 44px;
    }

    .page-numbers button {
        width: 44px;
        height: 44px;
    }
}

/* Phase 5 news-index refinement */
.news-hero { height: clamp(280px, 34vw, 460px); min-height: 280px; background: #eef4fb; }
.news-hero-bg img { opacity: .18; filter: saturate(.4); }
.news-hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(238,244,251,.72)); }
.news-hero-content { max-width: 760px; color: #18375f; }
.news-hero-content h1 { color: #18375f; font-size: clamp(44px, 6vw, 82px); letter-spacing: -.035em; }
.news-hero-content p { max-width: 650px; margin-top: 14px; color: #4f6785; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.65; }
.news-list-section { padding: 78px 0 96px; background: #fff; }
.news-header { align-items: end; margin-bottom: 38px; border-bottom: 1px solid #d7e1ed; padding-bottom: 22px; }
.news-heading-copy p { margin: 8px 0 0; color: #65768c; }
.news-title { color: #17263b; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.025em; }
.news-filters { overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.filter-tab { flex: 0 0 auto; min-height: 40px; padding: 9px 18px; border: 1px solid #cbd8e8; border-radius: 999px; background: #fff; color: #385575; line-height: 1.2; }
.filter-tab.active, .filter-tab:hover { background: #18375f; border-color: #18375f; color: #fff; }
.news-featured { min-height: 390px; border: 0; border-radius: 16px; overflow: hidden; background: #edf3fa; box-shadow: 0 22px 50px rgba(24,55,95,.1); }
.featured-image { flex: 1.15; }
.featured-image img { height: 100%; object-fit: cover; }
.featured-content { flex: .85; padding: clamp(28px, 4vw, 58px); }
.featured-content h3 { color: #17263b; font-size: clamp(25px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.025em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-content p, .news-card p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.featured-content p { -webkit-line-clamp: 3; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { min-height: 270px; border: 1px solid #d5e0ed; border-radius: 14px; background: #fff; box-shadow: none; }
.news-card h4 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #17263b; }
.news-card p { -webkit-line-clamp: 2; color: #65768c; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(24,55,95,.1); }
.news-empty, .loading-error { grid-column: 1 / -1; width: 100%; min-height: 260px; border: 1px solid #d5e0ed; border-radius: 14px; background: #f5f8fc; color: #4f6785; }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .news-hero-content { text-align: center; margin-inline: auto; }
    .news-list-section { padding: 52px 0 70px; }
    .news-header { display: block; }
    .news-filters { margin-top: 22px; flex-wrap: nowrap; }
    .news-featured { display: block !important; min-height: 0; }
    .featured-image { height: 220px; }
    .news-grid { grid-template-columns: 1fr; }
}

/* Unified internal-page banner */
.news-hero {
    height: clamp(320px, 34vw, 460px);
    min-height: 320px;
    align-items: center;
    background: #eef2f6;
    isolation: isolate;
}

.news-hero-bg { z-index: 0; }

.news-hero-bg img {
    opacity: 1;
    filter: none;
    object-position: center;
}

.news-hero-overlay {
    background: rgba(255, 255, 255, .2);
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: none;
    margin: 0 auto;
    padding-top: 0;
    color: #111;
    text-align: center;
}

.news-hero-content h1 {
    margin: 0;
    color: #111;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .65);
}

@media (max-width: 768px) {
    .news-hero { height: 300px; min-height: 300px; }
    .news-hero-content h1 { font-size: 44px; }
}

@media (max-width: 360px) {
    .news-hero { height: 280px; min-height: 280px; }
    .news-hero-content h1 { font-size: 36px; }
}
