/* 绿色起源 v2 - Google Material Design · 轻盈绿 */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* 轻盈绿 palette */
  --c-primary:       #52B788;   /* 主色：薄荷鼠尾草绿 */
  --c-primary-dark:  #2D6A4F;   /* 深绿：悬停、焦点 */
  --c-primary-mid:   #40916C;   /* 中绿：按钮背景 */
  --c-primary-light: #D8F3DC;   /* 浅绿：chip背景、卡片点缀 */
  --c-primary-pale:  #F0FAF3;   /* 极淡绿：页面背景 */
  --c-accent:        #1A73E8;   /* Google蓝：链接、次要CTA */
  --c-accent-light:  #E8F0FE;

  /* 中性色 */
  --c-surface:       #FFFFFF;
  --c-bg:            #F6FBF7;   /* 极淡薄荷底色 */
  --c-on-surface:    #1A2E20;   /* 深墨绿色正文 */
  --c-on-muted:      #52634F;   /* 次要文字 */
  --c-border:        #D3EAD8;   /* 浅绿边框 */
  --c-border-light:  #EBF5ED;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(45,106,79,.08);
  --shadow-sm: 0 1px 3px rgba(45,106,79,.12), 0 1px 2px rgba(45,106,79,.08);
  --shadow-md: 0 4px 12px rgba(45,106,79,.12), 0 1px 4px rgba(45,106,79,.08);
  --shadow-lg: 0 8px 24px rgba(45,106,79,.14), 0 2px 8px rgba(45,106,79,.08);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* 间距 */
  --max-w: 1220px;
  --nav-h: 64px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', 'Google Sans', -apple-system, sans-serif;
  background: var(--c-bg);
  color: var(--c-on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── TOP APP BAR ────────────────────────────────────────────── */
.app-bar {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
  display: flex; align-items: center;
  padding: 0 24px; gap: 12px;
}

.app-bar__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.brand-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-mid));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(82,183,136,.4);
}
.brand-icon svg { width: 20px; height: 20px; fill: #fff; }
.brand-name {
  font-family: 'Google Sans', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--c-on-surface); letter-spacing: -.3px;
}
.brand-name em { color: var(--c-primary-mid); font-style: normal; }

/* Search */
.app-bar__search {
  flex: 1; max-width: 380px;
  display: flex; align-items: center;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 7px 16px; gap: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.app-bar__search:focus-within {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}
.app-bar__search svg { color: var(--c-on-muted); flex-shrink: 0; }
.app-bar__search input {
  border: none; background: none; outline: none;
  font-size: 14px; color: var(--c-on-surface); width: 100%;
}

.app-bar__spacer { flex: 1; }

/* Nav */
.app-bar__nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: 'Google Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--c-on-muted); padding: 8px 14px;
  border-radius: var(--r-full); white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-link:hover, .nav-link.active {
  background: var(--c-primary-light); color: var(--c-primary-dark);
  text-decoration: none;
}
.nav-link.active { font-weight: 700; }

/* CTA button */
.btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: 'Google Sans', sans-serif; font-size: 14px; font-weight: 500;
  padding: 9px 20px; border-radius: var(--r-full); border: none;
  cursor: pointer; transition: all .15s; text-decoration: none; }
.btn--primary { background: var(--c-primary-mid); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); box-shadow: var(--shadow-sm); text-decoration: none; color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary-dark); border: 1.5px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary-light); text-decoration: none; }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.28); text-decoration: none; }
.btn--white { background: #fff; color: var(--c-primary-mid); }
.btn--white:hover { box-shadow: var(--shadow-md); text-decoration: none; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #74C69D 0%, #95D5B2 55%, #B7E4C7 100%);
  padding: 72px 24px 80px; text-align: center; color: var(--c-on-surface);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255,255,255,.35) 0%, transparent 70%);
}
.hero__eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--c-primary-dark); opacity: .75;
  margin-bottom: 12px;
}
.hero__title {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(30px, 5vw, 52px); font-weight: 700;
  color: var(--c-primary-dark); line-height: 1.18; margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero__sub {
  font-size: 17px; color: var(--c-primary-dark); opacity: .82;
  max-width: 540px; margin: 0 auto 32px; font-weight: 300; line-height: 1.65;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* STATS */
.stats-bar {
  background: var(--c-surface); border-bottom: 1px solid var(--c-border);
  display: flex; justify-content: center;
}
.stat { padding: 20px 44px; text-align: center; border-right: 1px solid var(--c-border-light); }
.stat:last-child { border-right: none; }
.stat__n { font-family: 'Google Sans', sans-serif; font-size: 26px; font-weight: 700; color: var(--c-primary-mid); }
.stat__l { font-size: 12px; color: var(--c-on-muted); margin-top: 2px; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.page-body { padding: 32px 0 48px; }

.content-grid {
  display: grid; grid-template-columns: 1fr 296px; gap: 28px; align-items: start;
}

/* Section header */
.sec-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.sec-title {
  font-family: 'Google Sans', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--c-on-surface); display: flex; align-items: center; gap: 8px;
}
.sec-title::before {
  content: ''; display: block; width: 3px; height: 18px;
  background: var(--c-primary); border-radius: 2px;
}
.sec-more { font-size: 13px; font-weight: 500; color: var(--c-accent); }
.sec-more:hover { text-decoration: underline; }

/* ── CHIPS ──────────────────────────────────────────────────── */
.chip-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  font-family: 'Google Sans', sans-serif; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface); color: var(--c-on-muted);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary-dark); background: var(--c-primary-light); }
.chip--active { background: var(--c-primary-mid); color: #fff; border-color: var(--c-primary-mid); }
.chip--active:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.chip-count { font-size: 11px; opacity: .7; margin-left: 2px; }

/* ── BADGE ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: var(--r-full);
  font-family: 'Google Sans', sans-serif; letter-spacing: .3px;
}
.badge--topic { background: var(--c-primary-light); color: var(--c-primary-dark); }
.badge--region { background: var(--c-accent-light); color: var(--c-accent); }
.badge--upcoming { background: #FEF3C7; color: #92400E; }
.badge--past { background: #F3F4F6; color: #6B7280; }
.badge.sm { font-size: 10px; padding: 1px 7px; }

/* ── ARTICLE CARDS ──────────────────────────────────────────── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.article-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card-thumb {
  height: 168px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-meta-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.card-title {
  font-family: 'Google Sans', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--c-on-surface); line-height: 1.42; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-excerpt {
  font-size: 13px; color: var(--c-on-muted); line-height: 1.6; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.card-date { font-size: 12px; color: var(--c-on-muted); }
.card-cta {
  font-size: 12px; font-weight: 500; color: var(--c-primary-mid);
  display: flex; align-items: center; gap: 3px;
}

/* ── LIST ITEMS ─────────────────────────────────────────────── */
.list-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--c-border-light);
  cursor: pointer; transition: background .1s;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--c-primary-pale); margin: 0 -12px; padding: 14px 12px; border-radius: var(--r-sm); }
.list-index { font-size: 18px; font-weight: 700; color: var(--c-border); line-height: 1; flex-shrink: 0; padding-top: 2px; }
.list-thumb { width: 72px; height: 54px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--c-primary-pale); }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-content { flex: 1; min-width: 0; }
.list-tags { margin-bottom: 4px; }
.list-title { font-size: 14px; font-weight: 600; color: var(--c-on-surface); line-height: 1.42; margin-bottom: 3px; }
.list-date { font-size: 12px; color: var(--c-on-muted); }

/* ── FEATURED LAYOUT ────────────────────────────────────────── */
.featured-layout {
  display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 28px;
}
.featured-main {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; transition: box-shadow .2s;
  display: flex; flex-direction: column;
}
.featured-main:hover { box-shadow: var(--shadow-lg); }
.featured-thumb {
  height: 240px; background: linear-gradient(135deg, #74C69D, #95D5B2);
  display: flex; align-items: center; justify-content: center;
}
.featured-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.featured-title {
  font-family: 'Google Sans', sans-serif; font-size: 20px; font-weight: 700;
  color: var(--c-on-surface); line-height: 1.35; margin-bottom: 10px;
}
.featured-excerpt { font-size: 14px; color: var(--c-on-muted); line-height: 1.65; flex: 1; }
.featured-stack { display: flex; flex-direction: column; gap: 12px; }
.featured-mini {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 14px; cursor: pointer; transition: box-shadow .2s, border-color .2s;
  flex: 1;
}
.featured-mini:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.featured-mini-title { font-family: 'Google Sans', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.4; margin: 6px 0 4px; color: var(--c-on-surface); }
.featured-mini-date { font-size: 12px; color: var(--c-on-muted); }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.sidebar-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px;
}
.sidebar-card__title {
  font-family: 'Google Sans', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--c-on-surface); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--c-border-light);
}
.topic-list { list-style: none; }
.topic-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--c-border-light);
}
.topic-list li:last-child { border-bottom: none; }
.topic-list a { font-size: 13px; color: var(--c-on-surface); font-weight: 500; }
.topic-list a:hover { color: var(--c-primary-mid); text-decoration: none; }
.topic-count { font-size: 11px; background: var(--c-bg); color: var(--c-on-muted); padding: 2px 7px; border-radius: var(--r-full); }

/* ── PAGINATION ─────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 28px 0; }
.page-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-border);
  background: var(--c-surface); color: var(--c-on-surface); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.page-btn:hover:not(:disabled), .page-btn.active {
  background: var(--c-primary-mid); color: #fff; border-color: var(--c-primary-mid);
}
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-ellipsis { color: var(--c-on-muted); padding: 0 4px; }

/* ── PAGE HEADER (inner pages) ──────────────────────────────── */
.page-header {
  background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding: 28px 0;
}
.page-header h1 {
  font-family: 'Google Sans', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 6px;
}
.page-header p { font-size: 15px; color: var(--c-on-muted); }

/* Topic/Region hero banner */
.category-hero {
  padding: 44px 24px 48px; text-align: center;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-bg));
  border-bottom: 1px solid var(--c-border);
}
.category-hero__icon { font-size: 48px; margin-bottom: 10px; }
.category-hero__title {
  font-family: 'Google Sans', sans-serif; font-size: 32px; font-weight: 700;
  color: var(--c-primary-dark); margin-bottom: 8px;
}
.category-hero__sub { font-size: 15px; color: var(--c-on-muted); }

/* ── ARTICLE PAGE ───────────────────────────────────────────── */
.article-banner {
  height: 300px; background: linear-gradient(135deg, #74C69D, #B7E4C7);
  display: flex; align-items: center; justify-content: center;
}
.article-wrap { max-width: 1220px; margin: 0 auto; padding: 28px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.article-card-body {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 32px;
}
.article-breadcrumb { font-size: 13px; color: var(--c-on-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; flex-wrap: wrap; }
.article-breadcrumb a { color: var(--c-on-muted); }
.article-breadcrumb a:hover { color: var(--c-primary-mid); }
.article-title { font-family: 'Google Sans', sans-serif; font-size: 26px; font-weight: 700; line-height: 1.3; margin: 12px 0 16px; }
.article-meta-bar { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--c-on-muted); padding-bottom: 16px; border-bottom: 1px solid var(--c-border-light); flex-wrap: wrap; }
.article-content { font-size: 15px; line-height: 1.85; color: #2d3a2e; padding-top: 20px; }
.article-content p { margin-bottom: 18px; }
.article-content h2 { font-family: 'Google Sans', sans-serif; font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--c-on-surface); }
.article-share { display: flex; gap: 8px; padding: 16px 0; border-top: 1px solid var(--c-border-light); border-bottom: 1px solid var(--c-border-light); margin-top: 8px; }
.share-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: var(--r-full); border: 1px solid var(--c-border);
  background: var(--c-surface); font-size: 13px; font-weight: 500; color: var(--c-on-muted);
  cursor: pointer; transition: all .15s;
}
.share-btn:hover { border-color: var(--c-primary); color: var(--c-primary-dark); background: var(--c-primary-light); }
.source-note { margin-top: 24px; padding: 13px 16px; background: var(--c-primary-pale); border-left: 3px solid var(--c-primary); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13px; color: var(--c-on-muted); }

/* ── EVENTS ─────────────────────────────────────────────────── */
.event-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 14px;
  display: flex; gap: 18px; transition: box-shadow .2s;
}
.event-card:hover { box-shadow: var(--shadow-md); }
.event-card--upcoming { border-left: 3px solid var(--c-primary); }
.event-date-box { flex-shrink: 0; text-align: center; width: 60px; }
.event-day { display: block; font-family: 'Google Sans', sans-serif; font-size: 28px; font-weight: 700; color: var(--c-primary-mid); line-height: 1; }
.event-month { display: block; font-size: 12px; font-weight: 600; color: var(--c-on-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.event-year { display: block; font-size: 11px; color: var(--c-on-muted); }
.event-body { flex: 1; }
.event-title { font-family: 'Google Sans', sans-serif; font-size: 16px; font-weight: 700; margin: 6px 0 5px; color: var(--c-on-surface); }
.event-location { font-size: 13px; color: var(--c-on-muted); margin-bottom: 7px; }
.event-desc { font-size: 14px; color: var(--c-on-muted); line-height: 1.6; }

/* ── SEARCH PAGE ────────────────────────────────────────────── */
.search-hero { padding: 40px 24px; background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.search-bar-lg {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--c-border); border-radius: var(--r-full);
  padding: 12px 20px; background: var(--c-bg); max-width: 660px; margin-top: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.search-bar-lg:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(82,183,136,.12); }
.search-bar-lg input { border: none; background: none; outline: none; font-size: 16px; width: 100%; color: var(--c-on-surface); }

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.about-hero { padding: 72px 24px; text-align: center; background: linear-gradient(135deg, #74C69D, #95D5B2); }
.about-hero h1 { font-family: 'Google Sans', sans-serif; font-size: 40px; font-weight: 700; color: var(--c-primary-dark); margin-bottom: 12px; }
.about-hero p { font-size: 17px; color: var(--c-primary-dark); opacity: .82; max-width: 560px; margin: 0 auto; }
.about-section { max-width: 880px; margin: 0 auto; padding: 48px 24px; }
.about-section h2 { font-family: 'Google Sans', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.about-section p { font-size: 16px; line-height: 1.8; color: #2d3a2e; margin-bottom: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0; }
.value-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 26px 20px; text-align: center; }
.value-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.value-icon svg { width: 26px; height: 26px; fill: var(--c-primary-mid); }
.value-card h3 { font-family: 'Google Sans', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--c-on-muted); line-height: 1.65; }
.ref-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.ref-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px; }
.ref-card h3 { font-family: 'Google Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--c-primary-mid); margin-bottom: 6px; }
.ref-card p { font-size: 13px; color: var(--c-on-muted); line-height: 1.65; }
.gwp-badge { display: inline-block; font-size: 11px; font-weight: 700; background: var(--c-primary-light); color: var(--c-primary-dark); padding: 2px 10px; border-radius: var(--r-full); margin-bottom: 8px; }

/* ── SKELETON ───────────────────────────────────────────────── */
.skeleton .card-thumb { background: #e8f5e9; }
.sk-block { background: linear-gradient(90deg, #e8f5e9 25%, #d8f3dc 50%, #e8f5e9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 6px; }
.sk-w60 { width: 60%; } .sk-w80 { width: 80%; } .sk-w100 { width: 100%; } .sk-w70 { width: 70%; }
.sk-h12 { height: 12px; } .sk-h16 { height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── EMPTY / ERROR ──────────────────────────────────────────── */
.empty-state, .error-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--c-on-muted); font-size: 15px;
}
.empty-state svg { margin: 0 auto 12px; }

/* ── NEWS TICKER ────────────────────────────────────────────── */
.ticker { background: var(--c-primary-mid); color: #fff; padding: 9px 24px; display: flex; align-items: center; gap: 14px; overflow: hidden; }
.ticker__label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 2px 9px; border-radius: var(--r-full); white-space: nowrap; }
.ticker__text { font-size: 13px; white-space: nowrap; animation: tick 50s linear infinite; }
@keyframes tick { from { transform: translateX(100vw); } to { transform: translateX(-200%); } }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer { background: #1A2E20; color: rgba(255,255,255,.7); padding: 48px 24px 20px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 20px; }
.footer-logo { font-family: 'Google Sans', sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-logo em { color: var(--c-primary); font-style: normal; }
.footer-desc { font-size: 13px; line-height: 1.7; opacity: .65; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 12px; font-family: 'Google Sans', sans-serif; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-links a:hover { color: var(--c-primary); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; opacity: .4; flex-wrap: wrap; gap: 8px; }

/* ── UTILITY ────────────────────────────────────────────────── */
.mb-0{margin-bottom:0}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-20{margin-bottom:20px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.text-muted { color: var(--c-on-muted); }
.text-primary { color: var(--c-primary-mid); }
.hidden { display: none !important; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; }
  .featured-layout { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .value-grid, .ref-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .app-bar__search, .app-bar__nav { display: none; }
  .app-bar { padding: 0 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat { width: 50%; border-right: none; border-bottom: 1px solid var(--c-border-light); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 28px; }
}
