/* ============================================
   News Page Styles
   ============================================ */

/* ============================================
   News Header Section
   ============================================ */
.news-header {
    background-color: #000000;
    /* Reduced bottom padding as banner is removed */
    padding: clamp(80px, 12vh, 120px) 0 clamp(20px, 3vh, 40px) 0;
}

.news-header-container {
    padding: 0 clamp(20px, 8vw, 160px);
    /* Match Our Team padding */
}

.news-main-title {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(50px, 5vw + 2.5rem, 100px);
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0 0 clamp(40px, 6vh, 80px) 0;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .news-main-title {
        font-size: clamp(24px, 6vw, 40px);
    }
}

/* Category Menu */
.news-category-menu {
    display: flex;
    justify-content: flex-start;
    /* Left aligned */
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
    flex-wrap: wrap;
}

.category-item {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(16px, 1.5vw + 0.5rem, 30px);
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.category-item:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35 !important;
    /* text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px; */
}

.category-item.active {
    border-bottom-color: white;
}

/* ============================================
   News List Section
   ============================================ */
.news-list-section {
    background-color: #3F3F3F;
    /* Extended background to whole section */
    min-height: 50vh;
    padding-bottom: 0;
    /* No horizontal padding to allow full width image */
    padding-left: 0;
    padding-right: 0;
}

.news-list-container {
    padding: 0 clamp(20px, 8vw, 160px);
    /* Match Our Team padding */
}

/* Featured News Item (Big Picture - Full Width) */
.news-featured-item {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 0;
    /* Remove bottom margin to connect with text block */
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.featured-content-overlay {
    position: absolute;
    bottom: clamp(30px, 5vh, 60px);
    left: clamp(20px, 8vw, 160px);
    /* Match container padding for alignment */
    right: clamp(20px, 8vw, 160px);
    /* Keep width consistent with container */
    z-index: 2;
}

.featured-title {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(24px, 2.5vw + 0.5rem, 48px);
    font-weight: 700;
    color: white;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-date {
    font-family: 'Alibaba PuHuiTi Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.2vw + 0.2rem, 22px);
    color: white;
    display: block;
    /* text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); */
}

/* News Text List Block */
.news-text-list {
    background-color: #3F3F3F;
    /* Matches section background (redundant but safe) */
    /* Increased top padding significantly AGAIN as requested */
    padding: clamp(180px, 15vh, 260px) clamp(20px, 8vw, 160px) clamp(160px, 15vh, 240px);
    font-family: 'Alibaba PuHuiTi Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(18px, 1.5vw + 0.5rem, 30px);
    color: white;
    /* Increased Line Height and Letter Spacing */
    line-height: 2;
    /* More breathing room */
    letter-spacing: 0.06em;
    /* Slightly wider */
    margin-top: 0;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Slightly tighter gap */
    width: 100%;
    padding: clamp(27px, 1vh, 35px) 0;
    background-color: #000000;
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .news-header {
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .news-header-container {
        padding: 0 20px;
    }

    .news-main-title {
        font-size: clamp(32px, 8vw, 50px);
        margin-bottom: 30px;
    }

    .news-category-menu {
        gap: clamp(6px, 4vw, 20px);
    }

    .category-item {
        font-size: clamp(14px, 4vw, 20px);
        padding-bottom: 6px;
        border-bottom-width: 2px;
    }

    .news-list-container {
        padding: 0 20px;
    }

    .featured-content-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .news-text-list {
        padding: 80px 20px 40px 20px;
    }
}