/*
 * TRAAN Theme — components.css
 * Navigation, footer, cards, badges, directory, news, forms
 */

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 var(--px);
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--rule), var(--sh-sm); }
.nav-in {
  max-width: var(--mw); margin: 0 auto;
  height: 76px; display: flex;
  align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-name {
  font-family: var(--fd); font-weight: 900; font-size: 22px;
  letter-spacing: .06em; line-height: 1; color: var(--g700);
}
.logo-name span { color: var(--o500); }
.logo-sub {
  font-family: var(--fm); font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--is); line-height: 1; margin-top: 3px;
}
.nav-links { display: flex; gap: 2px; }
.nl {
  font-size: .875rem; font-weight: 500; color: var(--im);
  padding: 8px 14px; border-radius: var(--r-md);
  transition: all var(--tf); cursor: pointer; display: block;
}
.nl:hover, .nl.on { color: var(--g700); background: var(--g50); }
.nl.on { font-weight: 600; }
.nav-cta { display: flex; gap: 10px; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s;
}
.mob-nav {
  display: none; position: fixed; top: 76px; left: 0; right: 0;
  background: white; border-top: 1px solid var(--rule);
  box-shadow: var(--sh-lg);
  padding: 16px var(--px) 24px;
  flex-direction: column; gap: 4px; z-index: 99;
}
.mob-nav.open { display: flex; }
.mob-nav .nl { color: var(--im); padding: 12px 16px; }
.mob-cta {
  display: flex; gap: 10px;
  padding-top: 16px; border-top: 1px solid var(--rule); margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--g900);
  padding: clamp(56px,7vw,80px) 0 0;
}
.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px,5vw,60px);
  padding-bottom: 56px;
}
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-logo-name {
  font-family: var(--fd); font-weight: 900; font-size: 20px;
  letter-spacing: .06em; color: white; line-height: 1;
}
.footer-logo-name span { color: var(--o400); }
.footer-logo-sub {
  font-family: var(--fm); font-size: 8px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  line-height: 1; margin-top: 3px;
}
.ft-desc {
  font-size: .875rem; color: rgba(255,255,255,.45);
  line-height: 1.7; margin-top: 16px; max-width: 280px;
}
.ft-soc-row { display: flex; gap: 10px; margin-top: 24px; }
.ft-s {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all var(--tf); color: rgba(255,255,255,.6);
  text-decoration: none;
}
.ft-s:hover { background: rgba(255,255,255,.12); color: white; }
.ft-t { font-size: .875rem; font-weight: 600; color: white; margin-bottom: 18px; }
.ft-links { display: flex; flex-direction: column; gap: 10px; }
.ft-link { font-size: .8rem; color: rgba(255,255,255,.45); transition: color var(--tf); }
.ft-link:hover { color: rgba(255,255,255,.9); }
.fb2 {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.ft-copy { font-family: var(--fm); font-size: 11px; color: rgba(255,255,255,.28); letter-spacing: .04em; }
.ft-copy a { color: inherit; }
.ft-bl { display: flex; gap: 20px; }
.ft-blink {
  font-family: var(--fm); font-size: 11px;
  color: rgba(255,255,255,.28); transition: color var(--tf);
}
.ft-blink:hover { color: rgba(255,255,255,.7); }

@media (max-width: 1024px) { .fg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .fg { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   NEWS ARTICLE CARDS
══════════════════════════════════════════ */
.art-card {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-sm); cursor: pointer;
  transition: all var(--tb);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.art-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--g100);
}
.art-thumb {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 52px;
}
.art-thumb-art { transition: transform .4s var(--ease); }
.art-card:hover .art-thumb-art { transform: scale(1.08); }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.art-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.art-cat {
  font-family: var(--fm); font-size: 9px; letter-spacing: .15em;
  text-transform: uppercase; padding: 3px 9px;
  border-radius: var(--r-f); font-weight: 500;
}
.cat-press   { background: var(--g100);  color: var(--g700); }
.cat-news    { background: var(--o100);  color: var(--o700); }
.cat-program { background: #E8F0FE;      color: #1A4BA0; }
.cat-member  { background: #FCE4EC;      color: #A0002D; }
.cat-summit  { background: linear-gradient(90deg,var(--g100),var(--o100)); color: var(--g700); }
.art-date { font-family: var(--fm); font-size: 10px; color: var(--is); letter-spacing: .04em; }
.art-h {
  font-family: var(--fd); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); line-height: 1.3; margin-bottom: 8px; flex: 1;
}
.art-excerpt { font-size: .82rem; color: var(--is); line-height: 1.65; margin-bottom: 14px; }
.art-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--rule);
}
.art-read {
  font-size: .78rem; font-weight: 600; color: var(--g700);
  display: flex; align-items: center; gap: 4px;
  transition: color var(--tf);
}
.art-card:hover .art-read { color: var(--g600); }
.art-read-time { font-family: var(--fm); font-size: 10px; color: var(--is); }

/* Wide card */
.art-card.wide { grid-column: span 2; flex-direction: row; }
.art-card.wide .art-thumb { aspect-ratio: auto; width: 280px; flex-shrink: 0; }
.art-card.wide .art-body  { padding: 24px 28px; }
.art-card.wide .art-h     { font-size: 1.2rem; }

@media (max-width: 768px) {
  .art-card.wide { flex-direction: column; grid-column: span 1; }
  .art-card.wide .art-thumb { width: 100%; aspect-ratio: 16/9; }
}

/* ══════════════════════════════════════════
   MEMBER / ARTISAN CARDS
══════════════════════════════════════════ */
.member-card {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: 20px;
  box-shadow: var(--sh-sm); cursor: pointer;
  transition: all var(--tb); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 14px;
}
.member-card:hover {
  box-shadow: var(--sh-lg); transform: translateY(-4px); border-color: var(--g100);
}
.mc-header { display: flex; align-items: flex-start; gap: 14px; }
.mc-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  background: var(--g100); border: 2px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; overflow: hidden;
}
.mc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mc-name { font-family: var(--fd); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.mc-trade { font-size: .82rem; color: var(--g700); font-weight: 600; }
.ac-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--fm); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-f);
  background: var(--g100); color: var(--g700); font-weight: 600; margin-top: 4px;
}
.ac-badge.unverified { background: var(--o100); color: var(--o700); }
.mc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-tag {
  font-family: var(--fm); font-size: 9px; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-f);
  background: var(--bg); border: 1px solid var(--rule); color: var(--is);
}
.mc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--rule);
}
.mc-exp { font-family: var(--fm); font-size: 10px; color: var(--is); }
.mc-btn {
  font-size: .78rem; font-weight: 600; color: var(--g700);
  display: flex; align-items: center; gap: 4px;
  transition: color var(--tf);
}
.member-card:hover .mc-btn { color: var(--g600); }

/* Skeleton loader */
.mc-skeleton {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: 20px;
}
.skel { background: var(--rule); border-radius: var(--r-sm); animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer {
  0%,100% { opacity: .5; } 50% { opacity: 1; }
}

/* Empty state */
.empty-state {
  grid-column: 1/-1; text-align: center;
  padding: 60px 20px;
}
.es-icon { font-size: 48px; margin-bottom: 16px; }
.es-title { font-family: var(--fd); font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.es-text   { font-size: .9rem; color: var(--is); }

/* ══════════════════════════════════════════
   PARTNERSHIP TIER CARDS
══════════════════════════════════════════ */
.tier-card {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: clamp(24px,3vw,36px);
  box-shadow: var(--sh-sm); position: relative;
  transition: box-shadow var(--tb), transform var(--tb);
}
.tier-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.tier-card.popular {
  border-color: var(--g700);
  box-shadow: 0 0 0 2px var(--g700), var(--sh-md);
}
.tier-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--g700); color: white;
  font-family: var(--fm); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; padding: 4px 14px; border-radius: var(--r-f);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   PROGRAMME CARDS
══════════════════════════════════════════ */
.prog-card {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--tb), transform var(--tb);
}
.prog-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.prog-card-header {
  padding: 28px 28px 24px;
  position: relative; overflow: hidden;
}
.prog-card-body { padding: 0 28px 28px; }

/* ══════════════════════════════════════════
   STAT CHIPS / COUNTER BLOCKS
══════════════════════════════════════════ */
.stat-block { text-align: center; }
.stat-n {
  font-family: var(--fd); font-size: clamp(32px,4.5vw,56px);
  font-weight: 900; line-height: 1; color: var(--g700); margin-bottom: 6px;
}
.stat-n.on-dark { color: var(--o400); }
.stat-l { font-size: .9rem; color: var(--is); font-weight: 500; }
.stat-l.on-dark { color: rgba(255,255,255,.55); }

/* ══════════════════════════════════════════
   DIRECTORY FILTERS SIDEBAR
══════════════════════════════════════════ */
.dir-sidebar {
  background: var(--w); border: 1px solid var(--rule);
  border-radius: var(--r-xl); padding: 24px;
  box-shadow: var(--sh-sm); position: sticky; top: 92px;
}
.dir-sidebar h3 {
  font-family: var(--fd); font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.filter-group { margin-bottom: 20px; }
.filter-group-title {
  font-family: var(--fm); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--is); margin-bottom: 10px;
}
.filter-check {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0; cursor: pointer; font-size: .875rem; color: var(--im);
  transition: color var(--tf); user-select: none;
}
.filter-check:hover { color: var(--g700); }
.filter-check input { width: 16px; height: 16px; accent-color: var(--g700); cursor: pointer; }
.filter-count {
  font-family: var(--fm); font-size: 10px; color: var(--is);
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r-f); padding: 1px 6px;
}
.dir-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1.5px solid var(--rule);
  border-radius: var(--r-f); padding: 9px 14px;
  margin-bottom: 20px; transition: border-color var(--tf);
}
.dir-search:focus-within { border-color: var(--g600); }
.dir-search input {
  font-family: var(--fb); font-size: .875rem; color: var(--ink);
  border: none; outline: none; background: transparent; flex: 1;
}
.dir-search input::placeholder { color: var(--is); }

/* ══════════════════════════════════════════
   HOMEPAGE — HERO
══════════════════════════════════════════ */
.hp-hero {
  min-height: 100vh;
  background: var(--g900);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 76px;
}
.hp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(232,184,32,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(14,92,48,.6) 0%, transparent 55%);
  pointer-events: none;
}
.hp-hero-grain {
  position: absolute; inset: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hp-hero-inner {
  max-width: var(--mw); margin: 0 auto;
  padding: clamp(60px,8vw,100px) var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px);
  align-items: center;
  width: 100%;
  position: relative; z-index: 1;
}
.hp-hero-content { display: flex; flex-direction: column; gap: 0; }
.hp-h1 {
  font-family: var(--fd);
  font-size: clamp(48px, 7.5vw, 104px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
  color: white;
  margin-bottom: 20px;
}
.hp-h1 em { font-style: italic; color: var(--o400); }
.hp-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 32px;
}
.hp-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero stats panel */
.hp-hero-stats {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: clamp(28px,3vw,44px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(12px);
}
.hp-stat { text-align: center; }
.hp-stat + .hp-stat {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hp-stat-n {
  font-family: var(--fd);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--o400);
  line-height: 1;
  margin-bottom: 6px;
}
.hp-stat-l {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ══════════════════════════════════════════
   HOMEPAGE — SUMMIT BANNER
══════════════════════════════════════════ */
.summit-banner {
  background: var(--o50);
  border-top: 1px solid var(--o300);
  border-bottom: 1px solid var(--o300);
  padding: 18px 0;
}
.sb-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sb-badge {
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  background: var(--o400);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: var(--r-f);
  flex-shrink: 0;
}
.sb-text {
  flex: 1;
  font-size: .875rem;
  color: var(--im);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.sb-text span { color: var(--is); }

/* ══════════════════════════════════════════
   HOMEPAGE — ABOUT SECTION
══════════════════════════════════════════ */
.hp-about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px);
  align-items: center;
}
.hp-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp-feat-stat {
  background: var(--w);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-sm);
  text-align: center;
}
.hfs-icon { font-size: 28px; margin-bottom: 10px; }
.hfs-n {
  font-family: var(--fd);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 900;
  color: var(--g700);
  line-height: 1;
  margin-bottom: 6px;
}
.hfs-l {
  font-size: .78rem;
  color: var(--is);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   HOMEPAGE — PROGRAMMES GRID
══════════════════════════════════════════ */
.hp-prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hp-prog-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 28px;
  position: relative;
  transition: background var(--tb), border-color var(--tb);
}
.hp-prog-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.hp-prog-card.featured {
  background: rgba(232,184,32,.08);
  border-color: rgba(232,184,32,.25);
}
.hp-prog-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--o400); color: var(--ink);
  font-family: var(--fm); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 12px; border-radius: var(--r-f);
  font-weight: 600;
}
.hp-prog-icon { font-size: 32px; margin-bottom: 14px; }
.hp-prog-card h3 {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}
.hp-prog-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  margin-bottom: 18px;
}
.hp-prog-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--o400);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--tf);
  text-decoration: none;
}
.hp-prog-link:hover { color: var(--o300); }
.hp-prog-link .arr { transition: transform var(--tf); }
.hp-prog-link:hover .arr { transform: translateX(4px); }

/* ══════════════════════════════════════════
   HOMEPAGE — DIRECTORY TEASER
══════════════════════════════════════════ */
.hp-dir-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px);
  align-items: center;
}
.hp-dir-trades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.hp-dir-pill {
  font-size: .82rem;
  font-weight: 500;
  color: var(--im);
  background: var(--w);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-f);
  padding: 7px 16px;
  transition: all var(--tf);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--sh-sm);
}
.hp-dir-pill:hover {
  border-color: var(--g700);
  color: var(--g700);
  background: var(--g50);
  transform: translateY(-1px);
}
.hp-dir-pill.more {
  background: var(--g50);
  border-color: var(--g200);
  color: var(--g700);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   HOMEPAGE — NEWS GRID
══════════════════════════════════════════ */
.hp-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ══════════════════════════════════════════
   HOMEPAGE — PARTNER CTA
══════════════════════════════════════════ */
.hp-pcta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 90% 50%, rgba(232,184,32,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hp-pcta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px);
  align-items: center;
}
.hp-pcta-tiers { display: flex; flex-direction: column; gap: 10px; }
.hp-tier-row {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  position: relative;
  transition: background var(--tb);
}
.hp-tier-row:hover { background: rgba(255,255,255,.09); }
.hp-tier-row.popular {
  background: rgba(232,184,32,.1);
  border-color: rgba(232,184,32,.3);
}
.htr-popular {
  font-family: var(--fm); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--o400); margin-bottom: 4px; font-weight: 600;
}
.htr-name {
  font-weight: 700; color: white;
  font-size: .9rem; margin-bottom: 2px;
}
.htr-price {
  font-family: var(--fd); font-size: 1rem;
  font-weight: 900; color: var(--o400);
  margin-bottom: 2px;
}
.htr-desc { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ══════════════════════════════════════════
   HOMEPAGE — RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hp-hero-inner    { grid-template-columns: 1fr; }
  .hp-hero-stats    { flex-direction: row; justify-content: space-around; }
  .hp-stat + .hp-stat { padding-top: 0; border-top: none; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.08); }
  .hp-about-layout  { grid-template-columns: 1fr; }
  .hp-prog-grid     { grid-template-columns: 1fr 1fr; }
  .hp-dir-layout    { grid-template-columns: 1fr; }
  .hp-pcta-layout   { grid-template-columns: 1fr; }
  .hp-news-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hp-prog-grid  { grid-template-columns: 1fr; }
  .hp-news-grid  { grid-template-columns: 1fr; }
  .hp-about-stats { grid-template-columns: 1fr 1fr; }
  .hp-hero-stats { flex-direction: column; }
  .hp-stat + .hp-stat { padding-left: 0; border-left: none; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
}

/* ══════════════════════════════════════════
   SINGLE ARTICLE PAGE
══════════════════════════════════════════ */
.article-body {
  max-width: 720px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.8; color: var(--im);
}
.article-body h2 {
  font-family: var(--fd); font-size: 1.6rem; font-weight: 700;
  color: var(--ink); margin: 40px 0 16px;
}
.article-body h3 {
  font-family: var(--fd); font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin: 32px 0 12px;
}
.article-body p  { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  margin: 0 0 20px 24px; display: flex; flex-direction: column; gap: 8px;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--g700); padding: 16px 24px;
  background: var(--g50); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0; font-style: italic; color: var(--im);
}
.article-body img {
  border-radius: var(--r-lg); margin: 24px 0; width: 100%;
}
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--g700); text-decoration: underline; text-underline-offset: 3px; }
