/*
Theme Name: ChromeNews Child
Theme URI: https://huafulifes.com/
Template: chromenews
Author: Huafulifes Editorial Design Team
Description: Modern Editorial Design System for Huafulifes (华府生活网) - Warm Parchment & Espresso Edition
Version: 3.0.0
*/

/* ====================================================
   1. DESIGN TOKENS & SYSTEM VARIABLES
   (Warm Editorial / Parchment & Charcoal System)
   ==================================================== */
:root {
    /* Fonts */
    --hf-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --hf-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --hf-font-serif: 'Noto Serif SC', 'Songti SC', 'Source Han Serif SC', SimSun, serif;

    /* Modern Clean Editorial Palette (Crisp Swiss White, Graphite & Deep Navy) */
    --hf-bg: #F8F9FA;                    /* Pure & crisp editorial canvas (clean, not yellow) */
    --hf-surface: #FFFFFF;               /* Pure white card surface */
    --hf-surface-paper: #F1F3F5;         /* Soft neutral slate tint */
    --hf-surface-card: #FFFFFF;          /* Pure card background */
    --hf-surface-dark: #0F172A;          /* Deep slate navy */
    --hf-surface-dark-soft: #1E293B;     /* Refined midnight slate */

    /* Typography Ink Tones (Sharp, High-Legibility Contrast) */
    --hf-text-main: #0F172A;             /* Sharp deep charcoal ink (WCAG AAA) */
    --hf-text-sub: #334155;              /* Highly legible editorial body */
    --hf-text-muted: #64748B;            /* Balanced slate secondary info */
    --hf-text-light: #94A3B8;            /* Subtle slate captions */
    --hf-text-inv: #FFFFFF;              /* Crisp inverted text */

    /* Accent & Editorial Highlights (Refined Metropolitan Blue & Warm Gold) */
    --hf-accent-brass: #0284C7;          /* Crisp Civic Blue */
    --hf-accent-gold: #D97706;           /* Subtle editorial amber */
    --hf-accent-ochre: #B45309;          /* Deep warm accent */
    --hf-accent-light: #E0F2FE;          /* Sky tint */

    /* Editorial Category Tokens (Vibrant yet disciplined) */
    --hf-cat-news: #DC2626;              /* Breaking / Civic Red */
    --hf-cat-news-bg: #FEF2F2;
    --hf-cat-news-border: #FEE2E2;

    --hf-cat-life: #0D9488;              /* Community Teal / Green */
    --hf-cat-life-bg: #F0FDFA;
    --hf-cat-life-border: #CCFBF1;

    --hf-cat-radar: #EA580C;             /* Weekend Warm Orange */
    --hf-cat-radar-bg: #FFF7ED;
    --hf-cat-radar-border: #FFEDD5;

    /* Layout & Spacing */
    --hf-container-max: 1260px;
    --hf-container-narrow: 780px;
    --hf-section-gap: 72px;

    /* Craft Radii (Strict modern 6–10px) */
    --hf-radius-sm: 6px;
    --hf-radius-md: 8px;
    --hf-radius-lg: 12px;
    --hf-radius-pill: 9999px;

    /* Hairline Dividers (Crisp Slate Border) */
    --hf-border: rgba(15, 23, 42, 0.08);
    --hf-border-subtle: rgba(15, 23, 42, 0.04);
    --hf-border-strong: rgba(15, 23, 42, 0.15);
    --hf-border-dark: rgba(255, 255, 255, 0.12);

    /* Shadows: Crisp & restrained */
    --hf-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --hf-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
    --hf-shadow-hover: 0 10px 25px -4px rgba(15, 23, 42, 0.1);

    /* Transitions */
    --hf-transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ====================================================
   2. GLOBAL RESET & BASE
   ==================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--hf-font-body);
    background-color: var(--hf-bg);
    color: var(--hf-text-sub);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--hf-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.hf-container {
    width: 100%;
    max-width: var(--hf-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.hf-container-narrow {
    width: 100%;
    max-width: var(--hf-container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================================
   3. HEADER & REFINED NAVIGATION
   ==================================================== */
.hf-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hf-border);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.hf-site-header.hf-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.05);
}

/* Ultra-thin Top Information Strip (28–30px) */
.hf-top-ribbon {
    background-color: #F4EFE6;
    color: var(--hf-text-muted);
    font-size: 0.76rem;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid var(--hf-border-subtle);
}

.hf-ribbon-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hf-ribbon-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--hf-cat-life);
    box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6);
    animation: hfPulse 2s infinite;
}

@keyframes hfPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(21, 128, 61, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

.hf-ribbon-tag {
    background: rgba(41, 37, 36, 0.08);
    color: var(--hf-text-main);
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.70rem;
    letter-spacing: 0.02em;
}

.hf-ribbon-text {
    color: var(--hf-text-muted);
}

.hf-date-badge {
    color: var(--hf-text-muted);
}

/* Main Navigation Bar (68–74px) */
.hf-nav-bar {
    padding: 12px 0;
}

.hf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand Logo */
.hf-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.hf-brand-logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.hf-brand-logo:hover .hf-brand-logo-img {
    transform: scale(1.02);
}

/* Desktop Nav Links (No Giant App Pill Buttons) */
.hf-main-nav {
    display: flex;
    align-items: center;
}

.hf-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.hf-nav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--hf-radius-sm);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--hf-text-sub);
    position: relative;
    transition: var(--hf-transition);
}

.hf-nav-list li a svg {
    color: var(--hf-text-muted);
    transition: color 0.2s ease;
}

.hf-nav-list li a:hover {
    color: var(--hf-text-main);
    background-color: var(--hf-surface-paper);
}

.hf-nav-list li a:hover svg {
    color: var(--hf-accent-brass);
}

/* Subtle Active State: Typography Weight & Small Brass Underline */
.hf-nav-list li.active a {
    color: var(--hf-text-main);
    font-weight: 700;
    background-color: transparent;
}

.hf-nav-list li.active a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--hf-accent-brass);
    border-radius: 2px;
}

.hf-nav-list li.active a svg {
    color: var(--hf-accent-brass);
}

.hf-nav-hot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--hf-accent-brass);
}

/* Header Actions */
.hf-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hf-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--hf-surface-paper);
    border: 1px solid var(--hf-border);
    padding: 6px 14px;
    border-radius: var(--hf-radius-pill);
    color: var(--hf-text-muted);
    font-size: 0.86rem;
    transition: var(--hf-transition);
}

.hf-search-btn:hover {
    background: var(--hf-surface);
    border-color: var(--hf-border-strong);
    color: var(--hf-text-main);
    box-shadow: var(--hf-shadow-sm);
}

.hf-search-kbd {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 5px;
    color: var(--hf-text-muted);
}

.hf-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 7px;
    border-radius: var(--hf-radius-sm);
    background: var(--hf-surface-paper);
}

.hf-hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--hf-text-main);
    border-radius: 2px;
}

/* Search Drawer Overlay */
.hf-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 25, 23, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
}

.hf-search-overlay.active {
    display: flex;
}

.hf-search-modal {
    background: var(--hf-surface);
    width: 90%;
    max-width: 620px;
    border-radius: var(--hf-radius-md);
    padding: 24px;
    box-shadow: 0 20px 48px rgba(28, 25, 23, 0.2);
    border: 1px solid var(--hf-border);
}

.hf-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hf-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    background: var(--hf-surface-paper);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-sm);
    padding: 8px 16px;
}

.hf-search-form {
    flex: 1;
}

.hf-search-field {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--hf-text-main);
    font-family: inherit;
}

.hf-search-close {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 12px;
    background: var(--hf-surface-paper);
    border-radius: var(--hf-radius-sm);
    color: var(--hf-text-muted);
}

.hf-search-trending {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hf-trending-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hf-text-muted);
}

.hf-trend-tag {
    font-size: 0.82rem;
    padding: 4px 10px;
    background: var(--hf-surface-paper);
    border-radius: var(--hf-radius-pill);
    color: var(--hf-text-sub);
    transition: var(--hf-transition);
}

.hf-trend-tag:hover {
    background: var(--hf-accent-brass);
    color: #fff;
}

/* Mobile Drawer */
.hf-mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background: var(--hf-surface);
    z-index: 1001;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hf-mobile-drawer.active {
    left: 0;
}

.hf-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 25, 23, 0.5);
    z-index: 1000;
    display: none;
}

.hf-drawer-backdrop.active {
    display: block;
}

.hf-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hf-border);
}

.hf-drawer-close {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--hf-text-muted);
}

.hf-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hf-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--hf-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hf-text-main);
}

.hf-drawer-link.active,
.hf-drawer-link:hover {
    background: var(--hf-surface-paper);
    color: var(--hf-accent-brass);
}

/* ====================================================
   4. ABOVE-THE-FOLD: EDITORIAL STAGE
   (Weekend Radar Flagship 64% + Today's Focus Stack 36%)
   ==================================================== */
.hf-stage-section {
    padding: 28px 0 44px;
}

.hf-stage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* Flagship Weekend Radar Card */
.hf-stage-flagship {
    position: relative;
}

.hf-flagship-card {
    position: relative;
    height: 480px;
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 36px 32px;
    box-shadow: var(--hf-shadow-md);
    border: 1px solid var(--hf-border);
}

.hf-flagship-media-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hf-flagship-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hf-flagship-card:hover .hf-flagship-img {
    transform: scale(1.03);
}

/* Editorial Scrim: Transparent top, dark warm bottom gradient */
.hf-flagship-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(28, 25, 23, 0.94) 0%, 
        rgba(28, 25, 23, 0.65) 45%, 
        rgba(28, 25, 23, 0.15) 75%, 
        transparent 100%
    );
    pointer-events: none;
}

.hf-flagship-content {
    position: relative;
    z-index: 2;
    color: var(--hf-text-inv);
    max-width: 640px;
}

.hf-flagship-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hf-flagship-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hf-accent-brass);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--hf-radius-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hf-pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #FFFFFF;
    animation: hfPulse 1.8s infinite;
}

.hf-flagship-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: #E7E5E4;
    letter-spacing: 0.03em;
}

.hf-flagship-title {
    font-family: var(--hf-font-serif);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.hf-flagship-title a {
    color: inherit;
}

.hf-flagship-title a:hover {
    color: #FEF3C7;
}

.hf-flagship-desc {
    font-size: 0.96rem;
    color: #E7E5E4;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-flagship-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hf-btn-flagship {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hf-accent-brass);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--hf-radius-sm);
    transition: var(--hf-transition);
}

.hf-btn-flagship:hover {
    background: #92400E;
    transform: translateX(2px);
}

.hf-flagship-anchor {
    font-size: 0.84rem;
    color: #D6D3D1;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.hf-flagship-anchor:hover {
    color: #FFFFFF;
}

/* Today's Focus Rail (36%) */
.hf-stage-focus {
    display: flex;
    flex-direction: column;
}

.hf-focus-rail {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 24px;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--hf-shadow-sm);
}

.hf-focus-rail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hf-border);
    margin-bottom: 16px;
}

.hf-focus-rail-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hf-focus-lightning {
    font-size: 1rem;
}

.hf-focus-rail-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--hf-text-main);
    letter-spacing: 0.02em;
}

.hf-focus-rail-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--hf-surface-paper);
    color: var(--hf-text-muted);
    padding: 2px 7px;
    border-radius: var(--hf-radius-sm);
}

.hf-focus-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Focus Card 1 (with thumbnail) */
.hf-focus-card-top {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hf-border-subtle);
}

.hf-focus-thumb-link {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: var(--hf-radius-sm);
    overflow: hidden;
    background: var(--hf-surface-paper);
}

.hf-focus-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hf-focus-thumb-link:hover .hf-focus-thumb {
    transform: scale(1.05);
}

.hf-focus-card-body {
    flex: 1;
    min-width: 0;
}

.hf-focus-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.hf-meta-pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

.hf-meta-time {
    font-size: 0.72rem;
    color: var(--hf-text-muted);
}

.hf-focus-title-top {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hf-text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-focus-title-top a:hover {
    color: var(--hf-accent-brass);
}

.hf-focus-excerpt {
    font-size: 0.8rem;
    color: var(--hf-text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus Card 2 (Typographic Lead) */
.hf-focus-card-text {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hf-border-subtle);
}

.hf-focus-title-text {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hf-text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-focus-title-text a:hover {
    color: var(--hf-accent-brass);
}

/* Focus Card 3 (Compact Brief) */
.hf-focus-card-brief {
    padding-bottom: 4px;
}

.hf-focus-title-brief {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hf-text-sub);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-focus-title-brief a:hover {
    color: var(--hf-accent-brass);
}

.hf-weather-alert-card{margin-top:0;margin-bottom:24px}.hf-weather-alert-inner{display:flex;align-items:center;gap:16px;padding:18px 22px;background:#fff7ed;border:1px solid #fdba74;border-left:5px solid #ea580c;border-radius:12px}.hf-weather-alert-icon{font-size:24px;color:#c2410c}.hf-weather-alert-copy{min-width:0;flex:1}.hf-weather-alert-kicker{font-size:12px;font-weight:800;color:#c2410c;letter-spacing:.04em}.hf-weather-alert-copy h2{margin:3px 0 4px;color:#7c2d12;font-size:20px}.hf-weather-alert-copy p{margin:0;color:#7c2d12;font-size:14px}.hf-weather-alert-time{display:block;margin-top:5px;color:#9a3412;font-size:12px}.hf-weather-alert-link{flex:0 0 auto;color:#9a3412;font-weight:700;text-decoration:underline;text-underline-offset:3px}

.hf-hero-carousel{position:relative;width:100%;height:480px}.hf-hero-slide{display:none}.hf-hero-slide.is-active{display:flex}.hf-hero-nav{position:absolute;top:50%;z-index:6;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(8,20,28,.58);color:#fff;font-size:32px;line-height:1;font-family:Arial,sans-serif;cursor:pointer;transform:translateY(-50%);transition:background .2s ease,opacity .2s ease}.hf-hero-nav:hover{background:rgba(8,20,28,.86)}.hf-hero-prev{left:18px}.hf-hero-next{right:18px}
@media (max-width:1280px){.hf-hero-carousel{height:440px}}
@media (max-width:768px){.hf-hero-carousel{height:360px}.hf-hero-nav{width:40px;height:40px;font-size:27px}.hf-hero-prev{left:14px}.hf-hero-next{right:14px}}
.hf-hero-slide .hf-flagship-content{position:static}
.hf-hero-slide .hf-flagship-eyebrow{position:absolute;top:36px;left:36px;z-index:3;margin:0}
.hf-hero-slide .hf-flagship-title{position:relative;z-index:2}
.hf-hero-nav span{display:block;transform:translate(-1px,-2px)}
.hf-hero-next span{transform:translate(1px,-2px)}
@media (max-width:768px){.hf-hero-slide .hf-flagship-eyebrow{top:20px;left:20px}}

.hf-ticker-badge {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    padding: 1px 6px;
    border-radius: 3px;
}

.hf-ticker-text {
    font-size: 0.78rem;
    color: var(--hf-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hf-ticker-text:hover {
    color: var(--hf-text-main);
}

/* ====================================================
   5. SECTIONS COMMON ARCHITECTURE
   (Vertical Rhythm: 72–88px, Clear Editorial Eyebrows)
   ==================================================== */
.hf-section {
    padding: 44px 0 44px;
}

.hf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hf-border);
}

.hf-section-title-wrap {
    max-width: 680px;
}

.hf-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--hf-accent-brass);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hf-section-heading {
    font-family: var(--hf-font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--hf-text-main);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.hf-section-sub {
    font-size: 0.92rem;
    color: var(--hf-text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

/* Anchor smooth offset */
#news, #life, #events, #cities {
    scroll-margin-top: 84px;
}

.hf-section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hf-text-sub);
    padding: 6px 12px;
    border-radius: var(--hf-radius-sm);
    background: var(--hf-surface-paper);
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--hf-transition);
}

.hf-section-more:hover {
    color: var(--hf-accent-brass);
    background: #FFFBEB;
    transform: translateX(2px);
}

/* Common Metadata Badges */
.hf-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--hf-text-muted);
    margin-bottom: 8px;
}

.hf-meta-sep {
    color: var(--hf-border-strong);
}

.hf-pill-news {
    font-weight: 700;
    color: var(--hf-cat-news);
    background: var(--hf-cat-news-bg);
    padding: 1px 7px;
    border-radius: 3px;
}

.hf-pill-life {
    font-weight: 700;
    color: var(--hf-cat-life);
    background: var(--hf-cat-life-bg);
    padding: 1px 7px;
    border-radius: 3px;
}

.hf-pill-radar {
    font-weight: 700;
    color: var(--hf-cat-radar);
    background: var(--hf-cat-radar-bg);
    padding: 1px 7px;
    border-radius: 3px;
}

.hf-link-editorial {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--hf-accent-brass);
    transition: transform 0.2s ease;
}

.hf-link-editorial:hover {
    transform: translateX(2px);
    color: #92400E;
}

/* ====================================================
   6. SECTION 1: 华府身边事 (COMMUNITY LIFE)
   (Asymmetric 60% Feature + 40% Secondary Stack)
   ==================================================== */
.hf-life-asymmetric-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* Left Lead Feature */
.hf-life-feature {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-sm);
    transition: var(--hf-transition);
}

.hf-life-feature:hover {
    box-shadow: var(--hf-shadow-hover);
    border-color: var(--hf-border-strong);
}

.hf-life-feature-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hf-surface-paper);
}

.hf-life-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hf-life-feature:hover .hf-life-feature-img {
    transform: scale(1.03);
}

.hf-feature-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--hf-cat-life);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--hf-radius-sm);
}

.hf-life-feature-body {
    padding: 26px 28px 24px;
}

.hf-life-feature-title {
    font-family: var(--hf-font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hf-text-main);
    margin-bottom: 10px;
}

.hf-life-feature-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-life-feature-desc {
    font-size: 0.94rem;
    color: var(--hf-text-sub);
    line-height: 1.6;
    margin-bottom: 18px;
}

.hf-life-feature-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--hf-border);
}

.hf-byline {
    font-size: 0.78rem;
    color: var(--hf-text-muted);
}

/* Right Secondary Stack */
.hf-life-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hf-life-sub-card {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 18px 20px;
    box-shadow: var(--hf-shadow-sm);
    transition: var(--hf-transition);
}

.hf-life-sub-card:hover {
    border-color: var(--hf-border-strong);
    box-shadow: var(--hf-shadow-md);
}

.hf-life-sub-card.hf-has-thumb {
    display: flex;
    gap: 16px;
}

.hf-life-sub-thumb-link {
    flex-shrink: 0;
    width: 104px;
    height: 84px;
    border-radius: var(--hf-radius-sm);
    overflow: hidden;
    background: var(--hf-surface-paper);
}

.hf-life-sub-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hf-life-sub-thumb-link:hover .hf-life-sub-thumb {
    transform: scale(1.05);
}

.hf-life-sub-info {
    flex: 1;
    min-width: 0;
}

.hf-sub-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--hf-text-muted);
    margin-bottom: 6px;
}

.hf-sub-label {
    color: var(--hf-cat-life);
    font-weight: 600;
}

.hf-life-sub-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--hf-text-main);
    margin-bottom: 6px;
}

.hf-life-sub-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-life-sub-excerpt {
    font-size: 0.84rem;
    color: var(--hf-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================================================
   7. SECTION 2: 府上新鲜事 (LOCAL NEWS)
   (High Density: Left News Lead + Right Text Headline Rail)
   ==================================================== */
.hf-news-density-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: start;
}

/* Left News Lead */
.hf-news-lead-box {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-sm);
    transition: var(--hf-transition);
}

.hf-news-lead-box:hover {
    box-shadow: var(--hf-shadow-hover);
    border-color: var(--hf-border-strong);
}

.hf-news-lead-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--hf-surface-paper);
}

.hf-news-lead-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hf-news-lead-box:hover .hf-news-lead-img {
    transform: scale(1.03);
}

.hf-news-type-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--hf-cat-news);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--hf-radius-sm);
}

.hf-news-lead-body {
    padding: 24px 26px;
}

.hf-news-lead-title {
    font-family: var(--hf-font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hf-text-main);
    margin-bottom: 10px;
}

.hf-news-lead-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-news-lead-excerpt {
    font-size: 0.92rem;
    color: var(--hf-text-sub);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hf-news-lead-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--hf-border);
}

.hf-civic-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: #991B1B;
}

/* Right Headline Rail (Pure Text Stories - Zero Image Duplication) */
.hf-news-rail {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 24px 26px;
    box-shadow: var(--hf-shadow-sm);
}

.hf-rail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hf-border);
    margin-bottom: 16px;
}

.hf-rail-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--hf-text-main);
    letter-spacing: 0.04em;
}

.hf-rail-counter {
    font-size: 0.74rem;
    color: var(--hf-text-muted);
}

.hf-rail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hf-rail-item {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hf-border-subtle);
    transition: var(--hf-transition);
}

.hf-rail-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.hf-rail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.hf-rail-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #991B1B;
    background: #FEF2F2;
    padding: 1px 6px;
    border-radius: 3px;
}

.hf-rail-time {
    font-size: 0.72rem;
    color: var(--hf-text-muted);
}

.hf-rail-heading {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--hf-text-main);
    margin-bottom: 5px;
}

.hf-rail-heading a:hover {
    color: var(--hf-accent-brass);
}

.hf-rail-snippet {
    font-size: 0.84rem;
    color: var(--hf-text-muted);
    line-height: 1.5;
}

/* ====================================================
   8. SECTION 3: 周末雷达 (WEEKEND RADAR FULL SECTION)
   (Curated 2-Column Editorial Grid with Enriched Metadata)
   ==================================================== */
.hf-radar-curated-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.hf-radar-event-card {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--hf-shadow-sm);
    transition: var(--hf-transition);
}

.hf-radar-event-card:hover {
    border-color: var(--hf-accent-brass);
    box-shadow: var(--hf-shadow-md);
}

.hf-radar-event-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hf-surface-paper);
}

.hf-radar-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hf-radar-event-card:hover .hf-radar-event-img {
    transform: scale(1.03);
}

.hf-radar-date-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(28, 25, 23, 0.9);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: var(--hf-radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hf-radar-badge-day {
    font-size: 0.72rem;
    font-weight: 800;
    color: #FDE68A;
}

.hf-radar-badge-time {
    font-size: 0.72rem;
    font-weight: 600;
    color: #E7E5E4;
}

.hf-radar-event-body {
    padding: 22px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hf-radar-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.hf-chip-venue {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hf-text-sub);
    background: var(--hf-surface-paper);
    padding: 2px 8px;
    border-radius: var(--hf-radius-sm);
}

.hf-chip-cost {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hf-accent-brass);
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    padding: 2px 8px;
    border-radius: var(--hf-radius-sm);
}

.hf-chip-cat {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hf-text-muted);
    background: var(--hf-surface-paper);
    padding: 2px 7px;
    border-radius: var(--hf-radius-sm);
}

.hf-radar-event-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hf-text-main);
    margin-bottom: 8px;
}

.hf-radar-event-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-radar-event-desc {
    font-size: 0.88rem;
    color: var(--hf-text-sub);
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-radar-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hf-border);
}

.hf-radar-sub-date {
    font-size: 0.74rem;
    color: var(--hf-text-muted);
}

.hf-radar-btn-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hf-accent-brass);
}

.hf-radar-btn-link:hover {
    text-decoration: underline;
}

/* ====================================================
   10. SECTION 5: 城市档案 (METROPOLITAN REGIONS)
   (Destination Visual Tiles / Mosaic - No Generic White Cards)
   ==================================================== */
.hf-cities-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hf-city-tile {
    background: var(--hf-surface-card);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: var(--hf-transition);
}

.hf-city-tile:hover {
    border-color: var(--hf-accent-brass);
    background: #FFFDF9;
    box-shadow: var(--hf-shadow-md);
    transform: translateY(-2px);
}

/* Featured Large Tiles */
.hf-city-tile.hf-tile-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #FAF4EB 0%, #F5EDE0 100%);
    border-color: rgba(180, 83, 9, 0.2);
}

.hf-city-tile-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hf-city-state-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--hf-accent-brass);
    background: rgba(180, 83, 9, 0.1);
    padding: 2px 7px;
    border-radius: var(--hf-radius-sm);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.hf-city-head {
    margin-bottom: 8px;
}

.hf-city-en {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--hf-text-muted);
}

.hf-city-cn {
    font-family: var(--hf-font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hf-text-main);
    line-height: 1.25;
}

.hf-tile-featured .hf-city-cn {
    font-size: 1.6rem;
}

.hf-city-profile {
    font-size: 0.84rem;
    color: var(--hf-text-sub);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

.hf-city-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.hf-highlight-pill {
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--hf-text-sub);
    background: rgba(41, 37, 36, 0.05);
    padding: 2px 7px;
    border-radius: var(--hf-radius-sm);
}

.hf-tile-featured .hf-highlight-pill {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(41, 37, 36, 0.08);
}

/* ====================================================
   11. FOOTER (WARM CHARCOAL & RESTRAINED HEIGHT)
   ==================================================== */
.hf-site-footer {
    background-color: var(--hf-surface-dark);
    color: #D6D3D1;
    padding: 56px 0 32px;
    border-top: 1px solid var(--hf-border-dark);
    margin-top: 64px;
}

.hf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--hf-border-dark);
}

.hf-footer-logo-img {
    height: 38px;
    width: auto;
    display: block;
    margin-bottom: 14px;
    filter: brightness(1.2) contrast(1.1);
}

.hf-footer-tagline {
    font-size: 0.86rem;
    color: #A8A29E;
    line-height: 1.65;
    margin-bottom: 16px;
}

.hf-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hf-badge-region {
    font-size: 0.72rem;
    color: #D6D3D1;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: var(--hf-radius-sm);
}

.hf-footer-heading {
    font-size: 0.84rem;
    font-weight: 800;
    color: #FAF7F2;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.hf-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hf-footer-links li a {
    font-size: 0.84rem;
    color: #A8A29E;
    transition: color 0.2s ease;
}

.hf-footer-links li a:hover {
    color: #FDE68A;
}

.hf-sub-footer {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: #78716C;
}

.hf-copyright {
    margin-bottom: 4px;
}

.hf-disclaimer {
    max-width: 720px;
    line-height: 1.5;
}

.hf-back-to-top {
    font-size: 0.78rem;
    font-weight: 700;
    color: #D6D3D1;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: var(--hf-radius-sm);
    transition: var(--hf-transition);
}

.hf-back-to-top:hover {
    background: var(--hf-accent-brass);
    color: #FFFFFF;
}

/* ====================================================
   12. SINGLE ARTICLE & CATEGORY COMPATIBILITY
   ==================================================== */
.hf-single-article {
    padding: 48px 0 64px;
}

.hf-article-header {
    margin-bottom: 32px;
}

.hf-article-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hf-article-title {
    font-family: var(--hf-font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--hf-text-main);
    margin-bottom: 16px;
}

.hf-article-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    color: var(--hf-text-muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hf-border);
}

.hf-article-featured-media {
    margin-bottom: 36px;
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-md);
}

.hf-article-content {
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--hf-text-sub);
}

.hf-article-content p {
    margin-bottom: 1.5rem;
}

.hf-article-content h2, 
.hf-article-content h3 {
    font-family: var(--hf-font-serif);
    color: var(--hf-text-main);
    margin: 2.2rem 0 1rem;
}

/* Category Archive */
.hf-category-hero {
    background: var(--hf-surface-paper);
    padding: 44px 0;
    border-bottom: 1px solid var(--hf-border);
    margin-bottom: 44px;
}

.hf-category-title {
    font-family: var(--hf-font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--hf-text-main);
    margin-bottom: 8px;
}

.hf-category-desc {
    font-size: 1rem;
    color: var(--hf-text-muted);
    max-width: 640px;
}

/* Category Archive Layout & Cards */
.hf-archive-hero {
    padding: 40px 0;
    margin-bottom: 40px;
}

.hf-archive-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.hf-archive-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: var(--hf-radius-sm);
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.hf-breadcrumb {
    font-size: 0.82rem;
    color: var(--hf-text-muted);
    margin-bottom: 8px;
}

.hf-archive-hero-graphic {
    max-width: 240px;
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-md);
}

.hf-archive-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 32px;
}

.hf-news-stream {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hf-stream-card {
    display: flex;
    gap: 20px;
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 20px;
    box-shadow: var(--hf-shadow-sm);
}

.hf-stream-media {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--hf-radius-sm);
    overflow: hidden;
}

.hf-stream-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hf-stream-content {
    flex: 1;
    min-width: 0;
}

.hf-stream-title {
    font-family: var(--hf-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hf-text-main);
}

.hf-stream-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hf-mag-card {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-sm);
}

.hf-mag-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hf-mag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hf-mag-body {
    padding: 20px;
}

.hf-mag-title {
    font-family: var(--hf-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hf-text-main);
}

.hf-mag-title a:hover {
    color: var(--hf-accent-brass);
}

.hf-sidebar-card {
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 24px;
    box-shadow: var(--hf-shadow-sm);
}

/* ====================================================
   13. RESPONSIVE BREAKPOINTS
   (Desktop 1440/1280, Tablet 768, Mobile 390)
   ==================================================== */

/* Laptop (1280px and down) */
@media (max-width: 1280px) {
    .hf-stage-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 20px;
    }
    .hf-flagship-card,
    .hf-focus-rail {
        height: 440px;
    }
    .hf-flagship-title {
        font-size: 1.8rem;
    }
}

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
    .hf-stage-grid {
        grid-template-columns: 1fr;
    }
    .hf-flagship-card {
        height: 400px;
    }
    .hf-focus-rail {
        height: auto;
    }
    .hf-life-asymmetric-grid {
        grid-template-columns: 1fr;
    }
    .hf-news-density-grid {
        grid-template-columns: 1fr;
    }
    .hf-cities-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hf-city-tile.hf-tile-featured {
        grid-column: span 2;
    }
    .hf-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Small Tablet & Large Phone (768px and down) */
@media (max-width: 768px) {
    :root {
        --hf-section-gap: 56px;
    }
    .hf-main-nav,
    .hf-search-kbd {
        display: none;
    }
    .hf-mobile-toggle {
        display: flex;
    }
    .hf-radar-curated-grid {
        grid-template-columns: 1fr;
    }
    .hf-flagship-card {
        padding: 24px 20px;
        height: 360px;
    }
    .hf-flagship-title {
        font-size: 1.5rem;
    }
    .hf-sub-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Final mobile guardrails for the editorial stage.  These rules keep the
   desktop grid from leaking into narrow webviews with cached parent CSS. */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden !important;
    }
    .hf-stage-grid,
    .hf-life-asymmetric-grid,
    .hf-news-density-grid {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hf-stage-flagship,
    .hf-stage-focus,
    .hf-flagship-card,
    .hf-focus-rail {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .hf-stage-focus {
        margin-top: 16px;
    }
    .hf-focus-rail {
        height: auto !important;
        overflow: hidden !important;
    }
    .hf-focus-title-top,
    .hf-focus-title-text,
    .hf-focus-title-brief,
    .hf-focus-excerpt {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
    }
    .hf-weather-alert-inner{align-items:flex-start;flex-wrap:wrap;padding:16px}.hf-weather-alert-copy h2{font-size:17px}.hf-weather-alert-copy p{font-size:13px}.hf-weather-alert-link{margin-left:40px}
}

/* Mobile Phone (390px - iPhone 12/13/14/15/16 standard) */
@media (max-width: 480px) {
    .hf-container {
        padding: 0 16px;
    }
    .hf-nav-bar {
        padding: 10px 0;
    }
    .hf-brand-logo-img {
        height: 36px;
    }
    .hf-search-btn {
        padding: 6px 10px;
    }
    .hf-search-text {
        display: none;
    }
    .hf-stage-section {
        padding: 16px 0 32px;
    }
    .hf-flagship-card {
        height: 340px;
        padding: 20px 16px;
    }
    .hf-flagship-title {
        font-size: 1.32rem;
        line-height: 1.3;
    }
    .hf-flagship-desc {
        display: none;
    }
    .hf-section {
        padding: 32px 0;
    }
    .hf-section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 20px;
    }
    .hf-section-heading {
        font-size: 1.4rem;
    }
    .hf-section-more {
        font-size: 0.78rem;
        padding: 4px 8px;
    }
    .hf-cities-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hf-city-tile {
        padding: 14px 12px;
    }
    .hf-city-cn {
        font-size: 1.15rem;
    }
    .hf-tile-featured .hf-city-cn {
        font-size: 1.25rem;
    }
    .hf-city-tile.hf-tile-featured {
        grid-column: span 2;
    }
    .hf-city-profile {
        font-size: 0.74rem;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hf-life-sub-card.hf-has-thumb {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }
    .hf-life-sub-thumb-link {
        width: 84px;
        height: 72px;
        flex-shrink: 0;
    }
}

/* ====================================================
   13. REDESIGNED EDITORIAL ARTICLE (SINGLE POST)
   ==================================================== */
.hf-article-wrap {
    padding: 36px 0 72px;
    background-color: var(--hf-bg);
}

.hf-article-header {
    margin-bottom: 28px;
}

.hf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--hf-text-muted);
    margin-bottom: 16px;
}

.hf-breadcrumb a {
    color: var(--hf-text-muted);
    text-decoration: none;
    transition: var(--hf-transition);
}

.hf-breadcrumb a:hover {
    color: var(--hf-accent-brass);
}

.hf-bc-sep {
    color: var(--hf-text-light);
    font-size: 0.75rem;
}

.hf-bc-curr {
    color: var(--hf-text-sub);
}

/* Badge Pill */
.hf-article-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--hf-radius-pill);
    border: 1px solid;
    margin-bottom: 16px;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    width: fit-content;
}

/* Article Title */
.hf-article-title {
    font-family: var(--hf-font-serif);
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.015em;
    color: var(--hf-text-main);
    margin-bottom: 20px;
}

/* Byline Meta */
.hf-article-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--hf-text-muted);
    padding: 14px 0;
    border-top: 1px solid var(--hf-border-subtle);
    border-bottom: 1px solid var(--hf-border);
}

.hf-byline-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-author-name {
    font-weight: 600;
    color: var(--hf-text-sub);
}

.hf-byline-sep {
    color: var(--hf-text-light);
}

.hf-byline-right {
    display: flex;
    align-items: center;
}

.hf-byline-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--hf-surface-paper);
    padding: 3px 10px;
    border-radius: var(--hf-radius-pill);
    font-size: 0.78rem;
    color: var(--hf-text-muted);
}

/* Featured Cover Photo */
.hf-article-cover-wrap {
    margin: 28px 0 36px;
}

.hf-article-figure {
    margin: 0;
    border-radius: var(--hf-radius-lg);
    overflow: hidden;
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    box-shadow: var(--hf-shadow-md);
}

.hf-article-featured-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.hf-article-caption {
    padding: 10px 16px;
    font-size: 0.8rem;
    color: var(--hf-text-muted);
    background: var(--hf-surface-paper);
    border-top: 1px solid var(--hf-border-subtle);
    font-style: italic;
}

/* Article Body Typography & Spacing */
.hf-content-entry {
    font-family: var(--hf-font-body);
    font-size: 1.08rem;
    line-height: 1.88;
    color: var(--hf-text-sub);
    letter-spacing: 0.01em;
}

.hf-content-entry > p:first-of-type {
    font-size: 1.16rem;
    line-height: 1.82;
    color: var(--hf-text-main);
    margin-bottom: 24px;
    font-weight: 450;
}

.hf-content-entry p {
    margin-bottom: 22px;
}

.hf-content-entry h2 {
    font-family: var(--hf-font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--hf-text-main);
    margin: 44px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--hf-cat-news);
    line-height: 1.35;
}

.hf-content-entry h3 {
    font-family: var(--hf-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hf-text-main);
    margin: 32px 0 14px;
}

.hf-content-entry strong, 
.hf-content-entry b {
    font-weight: 650;
    color: var(--hf-text-main);
}

.hf-content-entry ul, 
.hf-content-entry ol {
    margin: 16px 0 24px 20px;
    padding-left: 10px;
}

.hf-content-entry li {
    margin-bottom: 8px;
    padding-left: 4px;
}

/* Styled Blockquotes / Pull Quotes */
.hf-content-entry blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: var(--hf-surface-card);
    border-left: 4px solid var(--hf-accent-brass);
    border-radius: 0 var(--hf-radius-md) var(--hf-radius-md) 0;
    font-family: var(--hf-font-serif);
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--hf-text-main);
    font-style: italic;
    box-shadow: var(--hf-shadow-sm);
    position: relative;
}

.hf-content-entry blockquote p:last-child {
    margin-bottom: 0;
}

/* Key Highlights / Summary Box */
.hf-summary-box {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.6) 0%, rgba(255, 251, 235, 0.6) 100%);
    border: 1px solid var(--hf-cat-news-border);
    border-radius: var(--hf-radius-md);
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: var(--hf-shadow-sm);
}

.hf-summary-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--hf-cat-news);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hf-summary-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hf-summary-list li {
    position: relative;
    padding-left: 20px !important;
    margin-bottom: 8px !important;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--hf-text-sub);
}

.hf-summary-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--hf-cat-news);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Sources & Verification Box */
.hf-sources-box {
    margin-top: 48px;
    padding: 24px;
    background: var(--hf-surface-card);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    box-shadow: var(--hf-shadow-sm);
}

.hf-sources-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hf-border-subtle);
}

.hf-sources-icon {
    color: var(--hf-accent-brass);
    display: flex;
}

.hf-sources-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hf-text-main);
    margin: 0;
}

.hf-sources-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--hf-text-sub);
}

.hf-sources-body ul {
    margin: 8px 0 12px 18px;
}

.hf-sources-body li {
    margin-bottom: 6px;
}

.hf-sources-body a {
    color: var(--hf-accent-brass);
    text-decoration: underline;
    word-break: break-all;
}

.hf-sources-note {
    font-size: 0.78rem;
    color: var(--hf-text-muted);
    background: var(--hf-surface-paper);
    padding: 8px 12px;
    border-radius: var(--hf-radius-sm);
    margin-top: 14px;
    border-left: 2px solid var(--hf-accent-gold);
}

/* Article Navigation */
.hf-article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--hf-border);
}

.hf-nav-card {
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    background: var(--hf-surface);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    text-decoration: none;
    transition: var(--hf-transition);
    box-shadow: var(--hf-shadow-sm);
}

.hf-nav-card:hover {
    border-color: var(--hf-accent-brass);
    box-shadow: var(--hf-shadow-md);
    transform: translateY(-2px);
}

.hf-nav-card-right {
    text-align: right;
    align-items: flex-end;
}

.hf-nav-dir {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--hf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.hf-nav-card:hover .hf-nav-dir {
    color: var(--hf-accent-brass);
}

.hf-nav-card-title {
    font-family: var(--hf-font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hf-text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .hf-article-nav {
        grid-template-columns: 1fr;
    }
    .hf-nav-card-right {
        text-align: left;
        align-items: flex-start;
    }
}

/* ====================================================
   14. REDESIGNED MASTHEAD & TOP RIBBON REFINEMENT
   ==================================================== */
/* Clean Top Ribbon */
.hf-top-ribbon {
    background-color: #0F172A !important;
    color: #94A3B8 !important;
    font-size: 0.76rem;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hf-ribbon-tag {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.70rem;
}

.hf-ribbon-text {
    color: #CBD5E1 !important;
}

.hf-date-badge {
    color: #94A3B8 !important;
}

/* Category Archive Masthead */
.hf-masthead-hero {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--hf-border) !important;
    padding: 40px 0 !important;
    margin-bottom: 36px !important;
}

.hf-masthead-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hf-masthead-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: var(--hf-radius-pill);
    border: 1px solid;
    line-height: 1.2;
}

.hf-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.hf-masthead-stat {
    font-size: 0.8rem;
    color: var(--hf-text-muted);
}

.hf-archive-title {
    font-family: var(--hf-font-serif);
    font-size: clamp(2rem, 3.8vw, 2.6rem) !important;
    font-weight: 700 !important;
    color: var(--hf-text-main) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
}

.hf-archive-desc {
    font-size: 1.02rem !important;
    color: var(--hf-text-sub) !important;
    max-width: 680px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
}

/* Topic Chips */
.hf-masthead-topics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hf-topic-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hf-text-muted);
}

.hf-topic-chip {
    font-size: 0.76rem;
    padding: 3px 9px;
    background: var(--hf-surface-paper);
    color: var(--hf-text-sub);
    border-radius: var(--hf-radius-pill);
    border: 1px solid var(--hf-border);
    transition: var(--hf-transition);
}

.hf-topic-chip:hover {
    background: #FFFFFF;
    border-color: var(--hf-accent-brass);
    color: var(--hf-accent-brass);
}

/* Hero Graphic Window */
.hf-archive-hero-graphic {
    flex-shrink: 0;
    width: 320px !important;
    max-width: 38% !important;
}

.hf-hero-img-wrap {
    position: relative;
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    box-shadow: var(--hf-shadow-md);
    aspect-ratio: 16 / 10;
    border: 1px solid var(--hf-border);
}

.hf-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.4) 100%);
}

.hf-hero-img-badge {
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 4px;
}

.hf-archive-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stream Cards Clean Modern Polish */
.hf-stream-card {
    background: #FFFFFF !important;
    border: 1px solid var(--hf-border) !important;
    border-radius: var(--hf-radius-md) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: var(--hf-transition) !important;
}

.hf-stream-card:hover {
    box-shadow: var(--hf-shadow-md) !important;
    border-color: rgba(15, 23, 42, 0.16) !important;
    transform: translateY(-2px);
}

.hf-stream-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
}

.hf-stream-title a {
    color: var(--hf-text-main) !important;
    text-decoration: none !important;
}

.hf-stream-title a:hover {
    color: var(--hf-accent-brass) !important;
}

.hf-stream-excerpt {
    font-size: 0.92rem !important;
    color: var(--hf-text-sub) !important;
    line-height: 1.65 !important;
}

/* Sidebar Clean Polish */
.hf-sidebar-card {
    background: #FFFFFF !important;
    border: 1px solid var(--hf-border) !important;
    border-radius: var(--hf-radius-md) !important;
    padding: 20px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.hf-sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--hf-cat-news);
    background: var(--hf-cat-news-bg);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.hf-sidebar-heading {
    font-family: var(--hf-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hf-text-main);
    margin-bottom: 8px;
}

.hf-sidebar-text {
    font-size: 0.88rem;
    color: var(--hf-text-muted);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .hf-archive-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hf-archive-hero-graphic {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 16px;
    }
}

.hf-archive-subtitle {
    font-size: 0.72em;
    font-weight: 500;
    color: var(--hf-text-muted);
}


/* ========================================================
   TOP RIBBON REFINED DESIGN (Background: #243D43)
   ======================================================== */
.hf-top-ribbon {
    background-color: #243D43 !important;
    color: #CAD5D7 !important;
    font-size: 0.78rem;
    height: 36px;
    min-height: 36px;
    line-height: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    z-index: 100;
}

.hf-ribbon-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hf-ribbon-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Warm gold vertical accent bar */
.hf-brand-accent-bar {
    display: inline-block;
    width: 3px;
    height: 16px;
    background-color: #D6A74D;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Brand Slogan */
.hf-brand-slogan {
    color: #F3F5F5;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hf-ribbon-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #60777B;
    flex-shrink: 0;
}

.hf-date-badge {
    color: #CAD5D7 !important;
    font-size: 0.76rem;
    white-space: nowrap;
}

/* ========================================================
   RESPONSIVE DESIGN FOR TOP RIBBON
   ======================================================== */
@media (max-width: 860px) {
    .hf-brand-slogan {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .hf-ribbon-left {
        display: none;
    }
    .hf-ribbon-content {
        justify-content: center;
        width: 100%;
    }
}


/* Explicit mobile top ribbon display */
@media (max-width: 768px) {
    .hf-top-ribbon {
        display: block !important;
        height: 34px !important;
        min-height: 34px !important;
        line-height: 34px !important;
    }
    .hf-ribbon-content {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    .hf-ribbon-left {
        display: none !important;
    }
}


/* ========================================================
   HEADER WHITE BAR & NAVIGATION REFINE (Round 2 Optimization)
   ======================================================== */
.hf-nav-bar {
    padding: 15px 0 !important;
    min-height: 80px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.hf-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* 1. LOGO Enhancement */
.hf-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.hf-brand-logo-img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.hf-brand-logo:hover .hf-brand-logo-img {
    transform: scale(1.01) !important;
}

/* 2. Pure Text Navigation Links */
.hf-main-nav {
    display: flex !important;
    align-items: center !important;
    margin: 0 auto !important;
}

.hf-nav-list {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hf-nav-list li {
    position: relative !important;
}

.hf-nav-list li a {
    display: inline-block !important;
    padding: 6px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #263445 !important;
    text-decoration: none !important;
    position: relative !important;
    background: transparent !important;
    transition: color 0.2s ease !important;
    letter-spacing: 0.01em !important;
}

.hf-nav-list li a:hover {
    color: #D97706 !important;
    background-color: transparent !important;
}

/* Active State: 2px Teal-Cyan Line Under Text */
.hf-nav-list li.active a {
    color: #D97706 !important;
    font-weight: 600 !important;
    background-color: transparent !important;
}

.hf-nav-list li.active a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background-color: #D97706 !important;
    border-radius: 2px !important;
}

/* Remove any legacy dots or svg spacing */
.hf-nav-hot-dot {
    display: none !important;
}

/* 3. Search Box Refinement */
.hf-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
}

.hf-search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 220px !important;
    max-width: 220px !important;
    background: #F6F8FA !important;
    border: 1px solid #E2E8F0 !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    color: #64748B !important;
    font-size: 0.86rem !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.hf-search-btn:hover {
    background: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #1E293B !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.hf-search-btn svg {
    color: #94A3B8 !important;
    flex-shrink: 0 !important;
    margin-right: 6px !important;
}

.hf-search-text {
    flex: 1 !important;
    text-align: left !important;
    font-size: 13px !important;
    color: #94A3B8 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.hf-search-kbd {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #64748B !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    padding: 1px 5px !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

/* ========================================================
   RESPONSIVE ADAPTATIONS (Round 2)
   ======================================================== */
@media (max-width: 1180px) {
    .hf-nav-list {
        gap: 20px !important;
    }
    .hf-nav-list li a {
        font-size: 15px !important;
    }
    .hf-search-btn {
        width: 180px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 1024px) {
    .hf-nav-list {
        gap: 16px !important;
    }
    .hf-nav-list li a {
        font-size: 14px !important;
    }
    .hf-brand-logo-img {
        height: 44px !important;
    }
}

@media (max-width: 768px) {
    .hf-brand-logo-img {
        height: 40px !important;
    }
    .hf-search-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
    }
    .hf-search-btn svg {
        margin-right: 0 !important;
    }
    .hf-search-text,
    .hf-search-kbd {
        display: none !important;
    }
}


/* Responsive Navigation Visibility Guard */
@media (max-width: 900px) {
    .hf-main-nav {
        display: none !important;
    }
    .hf-mobile-toggle {
        display: flex !important;
    }
    .hf-brand-logo-img {
        height: 38px !important;
    }
}


/* Mobile Header Actions Optimization */
@media (max-width: 768px) {
    .hf-mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #E2E8F0 !important;
        background: #F8FAFC !important;
        cursor: pointer !important;
    }
    .hf-search-btn {
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
    }
    .hf-search-btn svg {
        margin: 0 !important;
    }
    .hf-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
}


/* Explicit mobile toggle & search visible on mobile */
@media (max-width: 900px) {
    .hf-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        border: 1px solid #E2E8F0 !important;
        background: #FFFFFF !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
    }
    .hf-mobile-toggle .hf-hamburger-line {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #263445 !important;
        border-radius: 2px !important;
    }
    .hf-search-btn {
        display: inline-flex !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        box-sizing: border-box !important;
    }
    .hf-search-btn svg {
        margin: 0 !important;
        width: 20px !important;
        height: 20px !important;
        color: #64748B !important;
    }
    .hf-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-left: auto !important;
    }
}
