/* ==========================================================
   news.css —— Brand news list page styles (class prefix news-)
   Dark luxury brand system: --bg-deep / --gold
   English site - independent copy
   ========================================================== */

/* ========== Module 1: Hero banner ========== */
.news-hero {
    position: relative;
    width: 100%;
    height: 62vh;
    min-height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.news-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 12, 18, 0.78) 0%, rgba(10, 12, 18, 0.92) 100%),
        url(../../public/banner/4-1.jpg) center center / cover no-repeat;
}
.news-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 12, 18, 0.85) 0%, transparent 35%);
}
.news-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}
.news-hero-tag {
    display: inline-block;
    padding: 6px 22px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 26px;
    background: rgba(200, 160, 96, 0.06);
}
.news-hero-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 3px;
    background: linear-gradient(120deg, #F5EBD8 20%, var(--gold) 55%, #F5EBD8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.news-hero-subtitle {
    font-size: 19px;
    color: var(--silver);
    letter-spacing: 1px;
}
.news-hero-line {
    width: 72px;
    height: 2px;
    margin: 26px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== Module 2: Category filter bar ========== */
.news-filter {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 12, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(200, 160, 96, 0.12);
    border-bottom: 1px solid rgba(200, 160, 96, 0.12);
}
.news-filter.stuck {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.news-tab {
    position: relative;
    padding: 20px 38px;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.news-tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.news-tab:hover { color: var(--text-white); }
.news-tab.active { color: var(--gold); }
.news-tab.active::after { width: 60%; }
.news-tab .news-tab-count {
    font-size: 12px;
    color: rgba(200, 160, 96, 0.65);
    margin-left: 6px;
}

/* ========== Module 3: News list (image left, text right) ========== */
.news-section {
    padding: 70px 0 60px;
    min-height: 50vh;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.news-item {
    display: flex;
    gap: 36px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: newsFadeUp 0.45s ease both;
}
@keyframes newsFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.news-item:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 160, 96, 0.08);
}
.news-item.hidden { display: none; }

/* Cover placeholder: replace with an <img> in HTML once the image is ready */
.news-thumb {
    flex: 0 0 380px;
    min-height: 240px;
    position: relative;
    background:
        repeating-linear-gradient(45deg, rgba(200, 160, 96, 0.04) 0 12px, transparent 12px 24px),
        #0D0F16;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-thumb .news-thumb-tip {
    color: rgba(138, 143, 153, 0.5);
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px dashed rgba(200, 160, 96, 0.25);
    border-radius: 6px;
    padding: 10px 18px;
}

.news-body {
    flex: 1;
    padding: 32px 40px 32px 0;
    display: flex;
    flex-direction: column;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.news-cat {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gold);
    border: 1px solid rgba(200, 160, 96, 0.35);
    border-radius: 50px;
    padding: 3px 14px;
    background: rgba(200, 160, 96, 0.06);
}
.news-date {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 1px;
}
.news-title {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 14px;
    transition: color 0.3s;
}
.news-item:hover .news-title { color: var(--gold); }
.news-summary {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}
.news-more {
    margin-top: auto;
    font-size: 15px;
    color: var(--gold);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.news-more .news-more-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.news-item:hover .news-more-arrow { transform: translateX(6px); }

/* Empty-state hint */
.news-empty {
    display: none;
    text-align: center;
    padding: 80px 0;
    color: var(--text-gray);
    font-size: 15px;
    letter-spacing: 1px;
}
.news-empty.show { display: block; }

/* ========== Module 4: Pagination ========== */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 50px 0 90px;
}
.news-page {
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}
.news-page:hover {
    color: var(--gold);
    border-color: var(--gold);
}
.news-page.active {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-color: transparent;
    color: #0A0C12;
    font-weight: 600;
}
.news-page.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ========== Closing: Follow official channels ========== */
.news-follow {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, #0D0F16 100%);
    border-top: 1px solid rgba(200, 160, 96, 0.1);
}
.news-follow-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.news-follow-text h3 {
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 14px;
}
.news-follow-text h3 span { color: var(--gold); }
.news-follow-text p {
    font-size: 16px;
    color: var(--text-gray);
    letter-spacing: 0.5px;
}
.news-follow-channels {
    display: flex;
    align-items: center;
    gap: 48px;
}
.news-follow-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.news-follow-item .news-follow-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.news-follow-item .news-follow-icon svg { width: 26px; height: 26px; }
.news-follow-item h5 {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.news-follow-item strong {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.news-follow-item strong.gold { color: var(--gold); }
.news-follow-qrcode {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    background: #fff;
    color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .news-hero-title { font-size: 36px; letter-spacing: 2px; }
    .news-thumb { flex-basis: 300px; min-height: 200px; }
    .news-follow-inner { flex-direction: column; text-align: center; gap: 40px; }
    .news-follow-channels { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    .news-hero { min-height: 380px; }
    .news-hero-title { font-size: 26px; letter-spacing: 1px; }
    .news-hero-subtitle { font-size: 15px; }
    .news-tabs { flex-wrap: wrap; }
    .news-tab { padding: 14px 20px; font-size: 15px; }
    .news-item { flex-direction: column; gap: 0; }
    .news-thumb {
        flex: none;
        width: 100%;
        min-height: 190px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .news-body { padding: 24px 22px; }
    .news-title { font-size: 19px; }
}
