/*
Theme Name: PROTACS Atlas
Theme URI: https://www.protacs.com/
Description: 面向靶向蛋白降解（TPD / PROTAC / 分子胶）行业情报的现代化主题。干净、专业、易读。
Author: PROTACS
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: protacs-atlas
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root{
  --container: 1180px;
  --measure: 740px;

  --bg:        #FFFFFF;
  --bg-soft:   #F6F8FA;
  --bg-tint:   #EEF5F3;
  --surface:   #FFFFFF;
  --surface-2: #F3F6F8;
  --line:      #E7ECF1;
  --line-2:    #DAE1E8;

  --ink:   #0C1C2A;
  --text:  #34434F;
  --muted: #6B7A88;
  --faint: #9AA7B3;

  --brand:    #0F9C8C;
  --brand-700:#0B7B70;
  --brand-600:#0D8B7E;
  --brand-50: #E7F4F2;
  --accent:   #4F6BED;
  --amber:    #D9892B;
  --rose:     #E2546A;
  --lime:     #5E9B25;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,30,45,.06), 0 1px 3px rgba(16,30,45,.05);
  --shadow:    0 8px 28px rgba(16,30,45,.09);
  --shadow-lg: 0 22px 56px rgba(16,30,45,.14);

  --sans: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  --serif: Georgia,"Times New Roman","Songti SC","Noto Serif SC",serif;
  --mono: ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;

  /* aliases for shared mu-plugin styles */
  --border: var(--line);
  --cyan: var(--brand);
  --text-2: var(--text);
}

/* ============================================================
   Reset & base
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--sans); font-size:16px; line-height:1.65;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5{ color:var(--ink); font-weight:700; line-height:1.25; letter-spacing:-0.01em; margin:0 0 .5em; }
p{ margin:0 0 1em; }
a{ color:var(--brand-700); text-decoration:none; transition:color .15s; }
a:hover{ color:var(--brand); }
img{ max-width:100%; height:auto; display:block; }
ul,ol{ margin:0 0 1em; padding-left:1.3em; }
hr{ border:0; border-top:1px solid var(--line); margin:2em 0; }
strong{ color:var(--ink); font-weight:650; }
::selection{ background:var(--brand-50); color:var(--brand-700); }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{ left:16px; top:12px; background:var(--ink); color:#fff; padding:8px 14px; border-radius:8px; z-index:200; }

/* ============================================================
   Buttons & chips
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size:14.5px; font-weight:600; line-height:1; cursor:pointer;
  padding:13px 22px; border-radius:var(--radius-pill); border:1px solid transparent;
  transition:transform .12s ease, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 6px 16px rgba(15,156,140,.28); }
.btn-primary:hover{ background:var(--brand-600); color:#fff; }
.btn-ghost{ background:#fff; color:var(--ink); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand-700); }

.chip{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 11px; border-radius:var(--radius-pill);
  background:var(--brand-50); color:var(--brand-700);
}
.chip.cat-news{ background:#FBF0DF; color:#A9690F; }
.chip.cat-research{ background:var(--brand-50); color:var(--brand-700); }
.chip.cat-company{ background:#EAEDFD; color:#3A4ECB; }
.chip.cat-dossier{ background:#EDEBFA; color:#5B45C9; }

.eyebrow{
  font-family:var(--mono); font-size:12px; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:var(--brand);
  display:inline-flex; align-items:center; gap:9px; margin:0 0 14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--brand); border-radius:2px; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.86); backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.hdr-inner{ display:flex; align-items:center; gap:24px; height:66px; }
.brand{ display:flex; align-items:center; gap:11px; color:var(--ink); flex:0 0 auto; }
.brand:hover{ color:var(--ink); }
.brand .mark{ width:34px; height:34px; flex:0 0 auto; }
.brand .bt{ display:flex; flex-direction:column; line-height:1; }
.brand .bt b{ font-size:18px; font-weight:800; letter-spacing:.02em; color:var(--ink); }
.brand .bt small{ font-size:11px; color:var(--muted); margin-top:3px; letter-spacing:.02em; }

.primary-nav{ margin-left:auto; }
.primary-nav ul{ list-style:none; display:flex; align-items:center; gap:4px; margin:0; padding:0; }
.primary-nav a{
  display:block; padding:9px 14px; border-radius:9px;
  font-size:15px; font-weight:550; color:var(--text);
}
.primary-nav a:hover{ background:var(--surface-2); color:var(--ink); }
.primary-nav .current-menu-item>a,
.primary-nav .current_page_item>a{ color:var(--brand-700); background:var(--brand-50); }

.hdr-actions{ display:flex; align-items:center; gap:6px; }
.icon-btn{
  width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid transparent; border-radius:10px; background:transparent; color:var(--text); cursor:pointer;
}
.icon-btn:hover{ background:var(--surface-2); color:var(--ink); }
.nav-toggle{ display:none; }

.search-drawer{ display:none; border-top:1px solid var(--line); background:var(--bg); }
.search-drawer.open{ display:block; }
.search-drawer .container{ padding-top:16px; padding-bottom:16px; }

/* search form */
.search-form{ display:flex; gap:10px; }
.search-form input[type=search]{
  flex:1; font-size:16px; padding:12px 16px; border:1px solid var(--line-2);
  border-radius:var(--radius-pill); background:var(--surface); color:var(--ink); outline:none;
}
.search-form input[type=search]:focus{ border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-50); }
.search-form button{ border:0; background:var(--brand); color:#fff; padding:0 22px; border-radius:var(--radius-pill); font-weight:600; cursor:pointer; }

/* ============================================================
   Hero (front page)
   ============================================================ */
.hero{ position:relative; overflow:hidden; background:
    radial-gradient(1100px 460px at 88% -8%, rgba(15,156,140,.10), transparent 60%),
    radial-gradient(820px 420px at 6% 8%, rgba(79,107,237,.07), transparent 55%),
    var(--bg);
  border-bottom:1px solid var(--line);
}
.hero .container{ padding-top:74px; padding-bottom:74px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(30px,4.4vw,50px); line-height:1.12; letter-spacing:-0.02em; margin-bottom:20px; }
.hero h1 .hl{ color:var(--brand); }
.hero .lede{ font-size:18px; line-height:1.75; color:var(--muted); max-width:54ch; margin-bottom:28px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; }
.hero-stats{ display:flex; gap:30px; margin-top:34px; }
.hero-stat .n{ font-size:30px; font-weight:800; color:var(--ink); font-feature-settings:"tnum"; }
.hero-stat .l{ font-size:13px; color:var(--muted); margin-top:2px; }

.hero-visual{ position:relative; }
.hero-card{
  background:var(--surface); border:1px solid var(--line); border-radius:20px;
  box-shadow:var(--shadow-lg); padding:22px;
}
.hero-card .hc-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.hero-card .hc-dot{ display:flex; gap:6px; }
.hero-card .hc-dot span{ width:9px; height:9px; border-radius:50%; background:var(--line-2); }
.hero-card .hc-dot span:first-child{ background:#F0B061; }
.hero-card .hc-tag{ font-family:var(--mono); font-size:11px; color:var(--faint); letter-spacing:.1em; }
.hero-feed-item{ display:flex; gap:12px; padding:12px 6px; border-top:1px dashed var(--line); }
.hero-feed-item:first-of-type{ border-top:0; }
.hero-feed-item .ft{ font-size:14px; font-weight:600; color:var(--ink); line-height:1.45; }
.hero-feed-item .fm{ font-size:12px; color:var(--faint); margin-top:4px; font-family:var(--mono); }

/* ============================================================
   Section header
   ============================================================ */
.section{ padding:64px 0; }
.section.alt{ background:var(--bg-soft); }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:30px; }
.section-head h2{ font-size:clamp(22px,2.6vw,30px); margin:0; }
.section-head .sub{ color:var(--muted); font-size:15px; margin-top:8px; }
.section-head .more{ font-weight:600; font-size:14.5px; white-space:nowrap; }
.section-head .more::after{ content:" →"; }

/* ============================================================
   Post cards
   ============================================================ */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card-grid.cols-2{ grid-template-columns:repeat(2,1fr); }

.post-card{
  display:flex; flex-direction:column; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm); transition:transform .16s ease, box-shadow .18s, border-color .18s;
}
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--line-2); }
.post-card .pc-thumb{ aspect-ratio:16/9; position:relative; overflow:hidden; background:var(--surface-2); }
.post-card .pc-thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .pc-thumb.ph{ display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(120px 80px at 30% 25%, rgba(15,156,140,.18), transparent 60%),
    linear-gradient(135deg, #0E1B2A, #143142);
}
.post-card .pc-thumb.ph svg{ width:54px; height:54px; opacity:.85; }
.post-card .pc-chip{ position:absolute; top:12px; left:12px; }
.post-card .pc-body{ padding:18px 18px 20px; display:flex; flex-direction:column; flex:1; }
.post-card h3{ font-size:18px; line-height:1.4; margin:0 0 10px; }
.post-card h3 a{ color:var(--ink); }
.post-card h3 a:hover{ color:var(--brand-700); }
.post-card .pc-ex{ font-size:14px; color:var(--muted); line-height:1.6; margin:0 0 16px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.post-card .pc-meta{ margin-top:auto; font-size:12.5px; color:var(--faint); font-family:var(--mono);
  display:flex; gap:10px; align-items:center; }
.post-card .pc-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--line-2); }

/* compact list (news) */
.list-rows{ display:flex; flex-direction:column; }
.row-item{ display:flex; align-items:baseline; gap:16px; padding:16px 0; border-top:1px solid var(--line); }
.row-item:first-child{ border-top:0; }
.row-item .rdate{ flex:0 0 92px; font-family:var(--mono); font-size:12.5px; color:var(--faint); padding-top:2px; }
.row-item .rtitle{ font-size:16.5px; font-weight:600; color:var(--ink); line-height:1.5; }
.row-item .rtitle a{ color:var(--ink); }
.row-item .rtitle a:hover{ color:var(--brand-700); }
.row-item .rchip{ flex:0 0 auto; }

/* dossier cards */
.dossier-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.dossier-card{ display:block; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-sm); transition:transform .16s, box-shadow .18s, border-color .18s; }
.dossier-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--brand); }
.dossier-card .dk-gene{ font-family:var(--mono); font-size:13px; color:var(--brand-700); font-weight:700; letter-spacing:.04em; }
.dossier-card h3{ font-size:17px; margin:8px 0 8px; color:var(--ink); }
.dossier-card p{ font-size:13.5px; color:var(--muted); margin:0; line-height:1.6;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

/* ============================================================
   Breadcrumb & article hero
   ============================================================ */
.crumb{ font-size:13px; color:var(--faint); display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.crumb a{ color:var(--muted); }
.crumb a:hover{ color:var(--brand-700); }
.crumb .sep{ color:var(--line-2); }

.article-head{ padding:44px 0 12px; }
.article-head .crumb{ margin-bottom:20px; }
.article-head h1{ font-size:clamp(27px,3.6vw,42px); line-height:1.18; margin:14px 0 0; max-width:20ch; }
.article-head .deck{ font-size:19px; line-height:1.6; color:var(--muted); margin:18px 0 0; max-width:60ch; }
.article-meta{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:24px;
  padding-top:20px; border-top:1px solid var(--line); font-size:13.5px; color:var(--muted); }
.article-meta .am-author{ display:flex; align-items:center; gap:10px; }
.article-meta .avatar{ width:36px; height:36px; border-radius:50%; background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; }
.article-meta .am-author b{ color:var(--ink); font-weight:650; }
.article-meta .vsep{ width:1px; height:22px; background:var(--line); }

.feature-img{ margin:30px 0 0; border-radius:18px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); }
.feature-img img{ width:100%; }

/* ============================================================
   Prose / article body
   ============================================================ */
.prose{ max-width:var(--measure); margin:0 auto; padding:38px 0 10px; font-size:17.5px; line-height:1.85; color:var(--text); }
.prose > *{ margin-left:auto; margin-right:auto; }
.prose p{ margin:0 0 1.35em; }
.prose h2{ font-size:25px; margin:2em 0 .7em; padding-top:.7em; color:var(--ink); position:relative; }
.prose h2::before{ content:""; position:absolute; top:0; left:0; width:38px; height:3px; background:var(--brand); border-radius:3px; }
.prose h3{ font-size:20px; margin:1.7em 0 .6em; color:var(--ink); }
.prose h4{ font-size:17px; color:var(--ink); margin:1.5em 0 .5em; }
.prose a{ color:var(--brand-700); border-bottom:1px solid rgba(15,156,140,.35); }
.prose a:hover{ color:var(--brand); border-bottom-color:var(--brand); }
.prose ul,.prose ol{ margin:0 0 1.35em; padding-left:1.4em; }
.prose li{ margin:.4em 0; }
.prose li::marker{ color:var(--brand); }
.prose blockquote{ margin:1.6em 0; padding:6px 0 6px 22px; border-left:3px solid var(--brand);
  color:var(--ink); font-size:19px; line-height:1.7; }
.prose code{ font-family:var(--mono); font-size:.86em; background:var(--surface-2);
  border:1px solid var(--line); border-radius:5px; padding:1px 6px; color:var(--brand-700); }
.prose pre{ background:#0E1B2A; color:#E7EDF3; padding:18px 20px; border-radius:12px; overflow:auto; font-family:var(--mono); font-size:14px; }
.prose pre code{ background:none; border:0; color:inherit; padding:0; }
.prose img{ border-radius:12px; margin:1.5em auto; }
.prose figure{ margin:1.6em 0; }
.prose figcaption{ font-size:13px; color:var(--faint); text-align:center; margin-top:8px; }
.prose hr{ margin:2.2em 0; }

/* tables (incl. company-facts) */
.prose table,.article-body table{ width:100%; border-collapse:separate; border-spacing:0; margin:1.7em 0;
  border:1px solid var(--line); border-radius:12px; overflow:hidden; font-size:15px; }
.prose th,.prose td,.article-body th,.article-body td{ padding:12px 16px; text-align:left; vertical-align:top; border-top:1px solid var(--line); line-height:1.6; }
.prose tr:first-child th,.prose tr:first-child td{ border-top:0; }
.prose thead th{ background:var(--surface-2); color:var(--ink); font-weight:650; }
.company-facts th{ background:var(--surface-2); color:var(--ink); font-weight:650; width:124px; white-space:nowrap; }
.company-facts td{ color:var(--text); }
.company-facts tr td,.company-facts tr th{ border-top:1px solid var(--line); }
.company-facts a{ color:var(--brand-700); }

/* article foot */
.article-foot{ max-width:var(--measure); margin:24px auto 0; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin:26px 0; }
.tag-row a{ font-size:13px; color:var(--muted); background:var(--surface-2); border:1px solid var(--line);
  padding:5px 12px; border-radius:var(--radius-pill); }
.tag-row a:hover{ border-color:var(--brand); color:var(--brand-700); }

.pc-backlink{ max-width:var(--measure); margin:30px auto 0; }

/* prev / next */
.pn-nav{ max-width:var(--measure); margin:40px auto 0; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pn-link{ display:flex; flex-direction:column; gap:6px; padding:16px 18px; border:1px solid var(--line);
  border-radius:12px; background:var(--surface); transition:border-color .15s, box-shadow .15s; }
.pn-link:hover{ border-color:var(--brand); box-shadow:var(--shadow-sm); }
.pn-link .dir{ font-family:var(--mono); font-size:12px; color:var(--faint); }
.pn-link .t{ font-size:15px; font-weight:600; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pn-link.next{ text-align:right; }

/* related */
.related{ border-top:1px solid var(--line); margin-top:56px; padding-top:46px; }
.related h2{ font-size:20px; margin-bottom:24px; }

/* ============================================================
   Directory page (.pc-dir) — light
   ============================================================ */
.dir-wrap{ padding:40px 0 80px; }
.pc-dir{ max-width:var(--container); margin:0 auto; }
.pc-dir .pc-intro{ font-size:16px; color:var(--muted); line-height:1.8; max-width:80ch; margin:0 0 8px; }
.pc-dir .pc-stat{ font-family:var(--mono); font-size:12px; letter-spacing:.1em; color:var(--faint); text-transform:uppercase; margin:0 0 28px; }
.pc-dir .pc-group{ display:flex; align-items:center; gap:12px; font-size:16px; font-weight:700; color:var(--ink); margin:34px 0 16px; }
.pc-dir .pc-group::before{ content:""; flex:0 0 auto; width:9px; height:9px; border-radius:50%; background:var(--brand); }
.pc-dir .pc-group::after{ content:""; flex:1; height:1px; background:var(--line); }
.pc-dir .pc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:12px; }
.pc-dir .pc-card{ display:flex; align-items:center; gap:13px; padding:12px 14px; background:var(--surface);
  border:1px solid var(--line); border-radius:13px; box-shadow:var(--shadow-sm);
  transition:transform .14s, box-shadow .16s, border-color .16s; }
.pc-dir .pc-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--brand); }
.pc-dir .pc-logo{ flex:0 0 auto; width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-size:14px; font-weight:800; letter-spacing:.01em; }
.pc-dir .pc-meta{ display:flex; flex-direction:column; min-width:0; }
.pc-dir .pc-en{ font-size:14.5px; font-weight:700; color:var(--ink); line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc-dir .pc-card:hover .pc-en{ color:var(--brand-700); }
.pc-dir .pc-sub{ font-size:12px; color:var(--muted); margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc-dir .pc-c0{ background:#E5F4F1; color:#0C8C7E; }
.pc-dir .pc-c1{ background:#EDF4E1; color:#5C9522; }
.pc-dir .pc-c2{ background:#FBEFDC; color:#C0791C; }
.pc-dir .pc-c3{ background:#FCE7E9; color:#D04E5E; }
.pc-dir .pc-c4{ background:#E2F0F6; color:#1B8FB2; }
.pc-dir .pc-c5{ background:#E9EBFB; color:#4A53D2; }
.pc-dir .pc-c6{ background:#E4F3EB; color:#1C9D6C; }
.pc-dir .pc-c7{ background:#FBE7F1; color:#C24690; }

/* ============================================================
   Archive / page headers
   ============================================================ */
.page-hero{ background:var(--bg-soft); border-bottom:1px solid var(--line); }
.page-hero .container{ padding:52px 24px 44px; }
.page-hero h1{ font-size:clamp(26px,3.4vw,38px); margin:10px 0 0; }
.page-hero .desc{ color:var(--muted); font-size:16px; margin-top:12px; max-width:64ch; }
.page-hero .count{ font-family:var(--mono); font-size:13px; color:var(--brand-700); margin-top:14px; }

.pagination{ display:flex; justify-content:center; gap:8px; margin:48px 0 0; }
.pagination .page-numbers{ display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px;
  padding:0 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--text); font-weight:600; }
.pagination .page-numbers:hover{ border-color:var(--brand); color:var(--brand-700); }
.pagination .page-numbers.current{ background:var(--brand); color:#fff; border-color:var(--brand); }

/* generic page prose */
.page-body{ padding:46px 0 70px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background:#0C1B29; color:#AEBCC9; margin-top:10px; }
.site-footer a{ color:#C4D0DB; }
.site-footer a:hover{ color:#fff; }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:36px; padding:56px 24px 40px; }
.foot-brand .fb-mark{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.foot-brand .fb-mark b{ color:#fff; font-size:18px; font-weight:800; }
.foot-brand p{ font-size:14px; line-height:1.7; color:#8B9AA8; max-width:38ch; }
.foot-brand .fmono{ font-family:var(--mono); font-size:11.5px; color:#5F7080; margin-top:16px; letter-spacing:.06em; display:flex; gap:10px; }
.foot-col h5{ color:#fff; font-size:13px; font-weight:700; letter-spacing:.04em; margin:0 0 16px; text-transform:uppercase; }
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.foot-col ul a{ font-size:14.5px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:20px 24px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:13px; color:#6E7E8C; }

.to-top{ position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%;
  background:var(--ink); color:#fff; border:0; cursor:pointer; display:none; align-items:center; justify-content:center;
  box-shadow:var(--shadow); z-index:90; }
.to-top.show{ display:flex; }
.to-top:hover{ background:var(--brand); }

/* ============================================================
   404 / search empty
   ============================================================ */
.notice-block{ text-align:center; padding:90px 24px; }
.notice-block .big{ font-size:88px; font-weight:800; color:var(--brand); line-height:1; }
.notice-block h1{ margin:14px 0 10px; }
.notice-block p{ color:var(--muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-visual{ order:-1; max-width:520px; }
  .card-grid,.dossier-grid{ grid-template-columns:repeat(2,1fr); }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:30px; }
}
@media (max-width:760px){
  .primary-nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .primary-nav.mobile-open{ display:block; position:absolute; left:0; right:0; top:66px; background:var(--bg);
    border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .primary-nav.mobile-open ul{ flex-direction:column; align-items:stretch; gap:0; padding:8px 16px 16px; }
  .primary-nav.mobile-open a{ padding:13px 12px; border-radius:8px; }
  .card-grid,.card-grid.cols-2,.dossier-grid{ grid-template-columns:1fr; }
  .section{ padding:46px 0; }
  .hero .container{ padding-top:48px; padding-bottom:48px; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:8px; }
  .pn-nav{ grid-template-columns:1fr; }
  .article-meta{ gap:12px; }
  .row-item{ flex-wrap:wrap; gap:6px 14px; }
  .row-item .rdate{ flex-basis:auto; }
}
@media (max-width:520px){
  .pc-dir .pc-grid{ grid-template-columns:1fr; }
  .hero-stats{ gap:20px; }
}
