/* ─── tokens ───────────────────────────────────────────────── */
    :root {
      --bg:      #0B1426;
      --surface: #0F1D35;
      --surface-elevated: #152645;
      --fg:      #E8ECF2;
      --muted:   #7A8BA8;
      --border:  rgba(255,255,255,0.06);
      --accent:  #C99A2E;
      --accent-soft: rgba(201,154,46,0.12);
      --accent-glow: rgba(201,154,46,0.25);
      --blue:    #2B6CB0;
      --blue-soft: rgba(43,108,176,0.15);
      --danger:  #E53E3E;
      --success: #38A169;

      --font-display: 'Georgia', 'Noto Serif SC', 'STSong', serif;
      --font-body:    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
      --font-mono:    ui-monospace, 'SF Mono', 'Menlo', monospace;

      --fs-hero: clamp(42px, 6.5vw, 80px);
      --fs-h1:   clamp(36px, 5vw, 64px);
      --fs-h2:   clamp(28px, 3.5vw, 44px);
      --fs-h3:   22px;
      --fs-lead: 18px;
      --fs-body: 15px;
      --fs-meta: 13px;

      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 24px;
      --gap-lg: 40px;
      --gap-xl: 64px;
      --gap-2xl: 96px;
      --container: 1200px;
      --gutter: 32px;
      --radius: 12px;
      --radius-lg: 20px;
      --radius-pill: 9999px;
    }

    /* ─── reset ─────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; }

    /* ─── layout ────────────────────────────────────────────────── */
    .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
    .section { padding-block: clamp(64px, 10vw, var(--gap-2xl)); }
    .grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap-md); }

    /* ─── type ──────────────────────────────────────────────────── */
    .h1, h1 { font-family: var(--font-display); font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
    .h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
    .h3, h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.35; }
    .lead   { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 56ch; }
    .eyebrow {
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--accent); margin-bottom: var(--gap-md);
    }
    .meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
    .num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

    /* ─── topbar ────────────────────────────────────────────────── */
    .topbar {
      background: rgba(11,20,38,0.85);
      border-bottom: 1px solid var(--border);
      padding: 6px 0;
      font-size: 13px;
      color: var(--muted);
    }
    .topbar .container { display: flex; justify-content: space-between; align-items: center; }
    .topbar a { color: var(--accent); margin-left: 24px; font-size: 13px; }
    .topbar a:hover { color: #e0b84a; }

        /* ─── nav（含下拉菜单）─────────────────────────────────────── */
    .main-nav { position: sticky; top: 0; z-index: 100; background: rgba(15,29,53,0.88); backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid rgba(201,154,46,0.15); }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
    .nav-brand { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
    .nav-brand span { color: var(--accent); }
    .nav-links { display: flex; gap: 4px; }
    .nav-item { position: relative; }
    .nav-item > a { padding: 8px 16px; font-size: 15px; color: var(--muted); border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; gap: 4px; }
    .nav-item > a:hover, .nav-item:hover > a { color: var(--fg); background: rgba(255,255,255,0.05); }
    .nav-item > a .arrow { font-size: 10px; transition: transform 0.2s; }
    .nav-item:hover > a .arrow { transform: rotate(180deg); }
    .dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--surface-elevated); border: 1px solid rgba(201,154,46,0.15); border-radius: var(--radius); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s ease; box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
    .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 14px; color: var(--muted); transition: all 0.15s; }
    .dropdown a:hover { color: var(--fg); background: rgba(201,154,46,0.08); }
    .dropdown-group-label { padding: 8px 20px 4px; font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
    .dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
    .nav-cta { display: flex; gap: 12px; }
/* ─── buttons ───────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 12px 28px; border-radius: var(--radius-pill);
      border: 1px solid transparent; font-size: 14px; font-weight: 600;
      letter-spacing: 0.01em; transition: all 0.2s ease;
    }
    .btn-primary { background: var(--accent); color: #0B1426; border-color: var(--accent); }
    .btn-primary:hover { background: #d9a93a; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
    .btn-secondary { background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.15); }
    .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
    .btn-ghost { background: rgba(255,255,255,0.05); color: var(--fg); border-color: transparent; }
    .btn-ghost:hover { background: rgba(255,255,255,0.1); }
    .btn-arrow::after { content: '→'; transition: transform 0.15s ease; }
    .btn-arrow:hover::after { transform: translateX(3px); }

    /* ─── hero ──────────────────────────────────────────────────── */
    .hero {
      position: relative;
      padding: clamp(80px,14vw,180px) 0 clamp(80px,10vw,140px);
      overflow: hidden;
    }
    .hero::before {
      content: ''; position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(43,108,176,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 30%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(15,29,53,0.9) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero::after {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }
    .hero .container { position: relative; z-index: 1; text-align: center; }
    .hero h1 {
      margin-bottom: var(--gap-md);
      background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero .lead {
      margin-inline: auto; margin-bottom: var(--gap-lg);
      font-size: clamp(16px, 2vw, 20px); max-width: 50ch;
    }
    .hero-cta { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

    /* gold divider line */
    .gold-line {
      width: 80px; height: 2px; margin: 0 auto var(--gap-lg);
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    /* ─── ticker ─────────────────────────────────────────────────── */
    .ticker-section {
      background: var(--surface);
      border-top: 1px solid rgba(201,154,46,0.1);
      border-bottom: 1px solid rgba(201,154,46,0.1);
      padding: 16px 0;
      overflow: hidden;
    }
    .ticker-strip {
      display: flex; align-items: center;
      animation: tickerScroll 20s linear infinite;
      width: max-content;
    }
    .ticker-strip:hover { animation-play-state: paused; }
    @keyframes tickerScroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .ticker-item {
      display: flex; align-items: center; gap: 16px;
      padding: 0 32px; white-space: nowrap;
    }
    .ticker-name { font-size: 15px; font-weight: 600; color: var(--fg); }
    .ticker-code { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
    .ticker-price { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--fg); }
    .ticker-change { font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
    .ticker-change.up { color: #38A169; background: rgba(56,161,105,0.1); }
    .ticker-change.down { color: #E53E3E; background: rgba(229,62,62,0.1); }
    .ticker-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

    /* ─── glass card ────────────────────────────────────────────── */
    .glass-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius-lg);
      padding: 36px;
      backdrop-filter: blur(12px);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .glass-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(201,154,46,0.3), transparent);
    }
    .glass-card:hover {
      background: rgba(255,255,255,0.06);
      border-color: rgba(201,154,46,0.2);
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
    .card-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--accent-soft); color: var(--accent);
      display: grid; place-items: center; margin-bottom: 20px;
    }
    .card-icon svg { width: 24px; height: 24px; }
    .glass-card h3 { margin-bottom: 10px; color: var(--fg); }
    .glass-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

    /* ─── product card ──────────────────────────────────────────── */
    .product-card {
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: all 0.3s ease;
    }
    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 48px rgba(0,0,0,0.3);
      border-color: rgba(201,154,46,0.2);
    }
    .product-img {
      height: 200px; background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft));
      display: grid; place-items: center; color: var(--muted);
      font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
    }
    .product-body { padding: 28px; }
    .product-body h3 { margin-bottom: 12px; font-size: 20px; }
    .product-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); }
    .product-price { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); }
    .product-price .per { font-size: 14px; color: var(--muted); font-weight: 400; }

    /* ─── compliance badges ─────────────────────────────────────── */
    .badge-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-md); }
    .compliance-badge {
      text-align: center; padding: 32px 20px;
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      transition: all 0.3s;
    }
    .compliance-badge:hover {
      border-color: rgba(201,154,46,0.2);
      background: rgba(255,255,255,0.04);
    }
    .badge-icon {
      width: 56px; height: 56px; margin: 0 auto 16px;
      border: 2px solid var(--accent); border-radius: 50%;
      display: grid; place-items: center; color: var(--accent);
    }
    .badge-icon svg { width: 24px; height: 24px; }
    .compliance-badge h3 { font-size: 17px; margin-bottom: 6px; }
    .compliance-badge p { font-size: 13px; color: var(--muted); }

    /* ─── news ──────────────────────────────────────────────────── */
    .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
    .news-featured {
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: all 0.3s;
    }
    .news-featured:hover { border-color: rgba(201,154,46,0.2); }
    .news-featured-img {
      height: 220px; background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft));
      display: grid; place-items: center; color: var(--muted); font-size: 13px;
    }
    .news-featured-body { padding: 24px; }
    .news-featured-body h3 { font-size: 18px; margin-bottom: 8px; }
    .news-featured-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }
    .news-list { display: flex; flex-direction: column; gap: 16px; }
    .news-item {
      display: flex; gap: 16px; padding: 20px;
      background: var(--surface-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      transition: all 0.2s;
      align-items: center;
    }
    .news-item:hover { border-color: rgba(201,154,46,0.2); background: var(--surface); }
    .news-item-date { font-family: var(--font-mono); font-size: 12px; color: var(--accent); white-space: nowrap; }
    .news-item h3 { font-size: 15px; line-height: 1.4; }
    .news-item-thumb { flex-shrink: 0; display: block; width: 80px; height: 60px; border-radius: 6px; overflow: hidden; }
    .news-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .news-item-body { flex: 1; min-width: 0; }

    /* ─── CTA section ───────────────────────────────────────────── */
    .cta-section {
      position: relative; overflow: hidden;
      background: linear-gradient(135deg, #152645 0%, #1A365D 50%, #1e3f6e 100%);
      padding: 80px 0;
      text-align: center;
    }
    .cta-section::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-section .container { position: relative; z-index: 1; }
    .cta-section h2 {
      margin-bottom: 16px;
      background: linear-gradient(135deg, var(--fg), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .cta-section .lead { margin-inline: auto; margin-bottom: 32px; }

    /* ─── footer ────────────────────────────────────────────────── */
    .pagefoot {
      background: #070E1A;
      border-top: 1px solid rgba(201,154,46,0.1);
      padding: 64px 0 32px;
    }
    .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap-xl); margin-bottom: var(--gap-xl); }
    .foot-brand { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
    .foot-brand span { color: var(--accent); }
    .foot-desc { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 36ch; }
    .foot-col h4 { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.04em; }
    .foot-col a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; transition: color 0.2s; }
    .foot-col a:hover { color: var(--fg); }
    .foot-bottom {
      padding-top: 24px; border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center;
      color: var(--muted); font-size: 12px;
    }

    /* ─── animations ────────────────────────────────────────────── */
    @keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
    @keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.6; } }
    @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
    .animate-fadeup { animation: fadeUp 0.8s ease both; }
    .animate-delay-1 { animation-delay: 0.1s; }
    .animate-delay-2 { animation-delay: 0.2s; }
    .animate-delay-3 { animation-delay: 0.3s; }
    .animate-delay-4 { animation-delay: 0.4s; }

    
    /* --- mobile nav --- */
    .nav-toggle { display: none; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: all 0.3s; }
    .nav-toggle:hover span { background: var(--accent); }
    .nav-drawer { display: none; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
    .nav-drawer.open { display: flex; pointer-events: auto; }
    .nav-drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
    .nav-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; height: 100vh; width: 280px; max-width: 85vw; background: var(--bg); border-left: 1px solid rgba(201,154,46,0.2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
    .nav-drawer.open .nav-drawer-panel { transform: translateX(0); }
    .nav-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
    .nav-drawer-close { width: 32px; height: 32px; background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 8px; transition: all 0.2s; display: grid; place-items: center; }
    .nav-drawer-close:hover { background: rgba(255,255,255,0.05); color: var(--fg); }
    .nav-drawer-body { flex: 1; padding: 12px 0; overflow-y: auto; }
    .drawer-link { display: block; padding: 14px 20px; color: var(--fg); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); transition: all 0.2s; }
    .drawer-link:hover { color: var(--fg); background: rgba(255,255,255,0.05); padding-left: 24px; }
    .nav-drawer-cta { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
    .btn-block { width: 100%; }

    /* ─── responsive ────────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .stat-num { font-size: clamp(32px, 5vw, 52px); }
      .grid-4 { grid-template-columns: repeat(2,1fr); }
      .badge-grid { grid-template-columns: repeat(2,1fr); }
      .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      .nav-toggle { display: flex; }
      .nav-links { display: none; }
      .nav-cta { display: none; }
      .nav-inner { justify-content: space-between; }
      .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
      .news-grid { grid-template-columns: 1fr; }
      .badge-grid { grid-template-columns: 1fr; }
      .stat-card { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 0; }
      .stat-card:last-child { border-bottom: none; }
      .hero { padding: 80px 0 60px; }
      .hero h1 { font-size: clamp(32px, 8vw, 48px); }
      .foot-grid { grid-template-columns: 1fr; gap: 24px; }
      .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
      .cta-section { padding: 56px 0; }
      .article-item { flex-direction: column; gap: 16px; }
      .article-thumb { width: 100%; height: 180px; }
      .sidebar { display: none; }
      .main-layout { flex-direction: column; gap: 32px; }
    }
    @media (max-width: 480px) {
      .hero h1 { font-size: 28px; }
      h2 { font-size: 24px !important; }
      .topbar { display: none; }
      .nav-inner { height: 56px; }
      .nav-brand { font-size: 18px; }
      .section { padding-block: 48px; }
    }
    /* ─── breadcrumb ────────────────────────────────────────────── */
    .breadcrumb { padding: 20px 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
    .breadcrumb a { color: var(--muted); transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--accent); }
    .breadcrumb .sep { opacity: 0.4; }
    .breadcrumb .current { color: var(--fg); }

    /* ─── page header ───────────────────────────────────────────── */
    .page-header { padding: 40px 0 32px; border-bottom: 1px solid rgba(201,154,46,0.1); }
    .page-header h1 { font-family: var(--font-display); font-size: var(--fs-hero); margin-bottom: 8px; }
    .page-header .subtitle { color: var(--muted); font-size: var(--fs-lead); }

    /* ─── main layout (content + sidebar) ───────────────────────── */
    .main-layout { display: flex; gap: 64px; align-items: flex-start; }
    .main-content { flex: 1; min-width: 0; }
    .sidebar { width: 320px; flex-shrink: 0; }

    /* ─── article list ──────────────────────────────────────────── */
    .article-list { display: flex; flex-direction: column; }
    .article-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); transition: all 0.2s; }
    .article-item:hover { background: rgba(255,255,255,0.02); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: var(--radius); }
    .article-thumb { width: 240px; height: 160px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft)); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
    .article-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .article-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .article-cat { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 10px; background: var(--accent-soft); border-radius: 4px; }
    .article-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
    .article-body h3 { font-size: 18px; line-height: 1.4; margin-bottom: 8px; transition: color 0.2s; }
    .article-body h3 a { color: var(--fg); }
    .article-body h3 a:hover { color: var(--accent); }
    .article-body p { color: var(--muted); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* ─── pagination ────────────────────────────────────────────── */
    .pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 40px 0 0; }
    .page-btn { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; font-size: 14px; font-weight: 500; border: 1px solid var(--border); background: transparent; color: var(--muted); transition: all 0.2s; }
    .page-btn:hover { border-color: var(--accent); color: var(--accent); }
    .page-btn.active { background: var(--accent); color: #0B1426; border-color: var(--accent); font-weight: 700; }
    .page-btn.disabled { opacity: 0.3; pointer-events: none; }
    .page-ellipsis { color: var(--muted); padding: 0 4px; }

    /* ─── sidebar ───────────────────────────────────────────────── */
    .side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
    .side-card-title { font-size: 14px; font-weight: 700; color: var(--accent); padding-bottom: 12px; border-bottom: 1px solid rgba(201,154,46,0.15); margin-bottom: 16px; letter-spacing: 0.03em; }
    .side-hot-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
    .side-hot-item:last-child { border-bottom: none; }
    .side-hot-rank { width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.05); color: var(--muted); }
    .side-hot-rank.top { background: var(--accent-soft); color: var(--accent); }
    .side-hot-item h4 { font-size: 14px; font-weight: 400; line-height: 1.4; }
    .side-hot-item h4 a { color: var(--fg); transition: color 0.2s; }
    .side-hot-item h4 a:hover { color: var(--accent); }

    /* ─── article detail (single.php) ──────────────────────────── */
    .article-layout { display: flex; gap: 40px; align-items: flex-start; padding: 0 0 80px; }
    .article-main { flex: 1; min-width: 0; }
    .article-sidebar { width: 320px; flex-shrink: 0; }
    .article-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(201,154,46,0.1); }
    .article-header h1 { font-family: var(--font-display); font-size: clamp(24px,3.5vw,36px); line-height: 1.25; margin-bottom: 16px; }
    .article-header .meta-row { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
    .article-featured-img { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft)); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
    .article-featured-img img { width: 100%; height: 100%; object-fit: cover; }
    .article-content { line-height: 1.85; font-size: 16px; color: var(--fg); }
    .article-content p { margin-bottom: 20px; }
    .article-content h2 { font-family: var(--font-display); font-size: 22px; margin: 40px 0 16px; padding-left: 16px; border-left: 3px solid var(--accent); }
    .article-content h3 { font-size: 18px; margin: 28px 0 12px; }
    .article-content a { color: var(--accent); text-decoration: underline; }
    .article-content img { border-radius: var(--radius); margin: 20px 0; }
    .article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
    .tag { display: inline-flex; align-items: center; padding: 4px 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; color: var(--muted); transition: all 0.2s; }
    .tag:hover { border-color: var(--accent); color: var(--accent); }
    .article-nav { display: flex; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
    .article-nav-item { flex: 1; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.2s; }
    .article-nav-item:hover { border-color: rgba(201,154,46,0.2); background: var(--surface-elevated); }
    .article-nav-item .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
    .article-nav-item h4 { font-size: 14px; font-weight: 500; line-height: 1.4; }
    .article-nav-item h4 a { color: var(--fg); }
    .article-nav-item h4 a:hover { color: var(--accent); }

    /* ─── inner page responsive ────────────────────────────────── */
    @media (max-width: 1024px) {
      .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      .main-layout { flex-direction: column; }
      .sidebar { width: 100%; }
      .article-item { flex-direction: column; }
      .article-thumb { width: 100%; height: 180px; }
      .article-layout { flex-direction: column; }
      .article-sidebar { width: 100%; }
      .article-nav { flex-direction: column; }
    }

/* drawer navigation links */
.drawer-link {
  display: block;
  padding: 14px 20px;
  color: var(--fg);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
}
.drawer-link:hover {
  background: rgba(201,154,46,0.1);
  color: var(--accent);
}
.nav-drawer-cta .btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  background: var(--accent);
  color: #1a1a2e;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}
.nav-drawer-cta .btn-block:hover {
  opacity: 0.9;
}
.nav-drawer-cta .btn-secondary { background: var(--accent); color: #1a1a2e; border: none; font-weight: 700; border-radius: 8px; } .nav-drawer-cta .btn-secondary:hover { opacity: 0.9; }
/* news thumbnails - enhanced visibility */
.news-item-thumb {
  width: 100px !important;
  min-width: 100px;
  height: 75px !important;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e1e3a;
  border: 1px solid rgba(201,154,46,0.15);
}
.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ===== Product Page Hero Image ===== */
.product-hero-img {
  width: 100%;
  max-width: 560px;
  height: 560px;
  margin: 0 auto 32px auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(201,154,46,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.product-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-body {
  max-width: 800px;
}

/* Homepage product card image */
.product-card-img {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: #1e1e3a;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .product-hero-img {
    max-width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }
  .product-hero-img img {
    position: absolute;
    top: 0; left: 0;
  }
}