/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text:        #111827;
  --text-2:      #374151;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --bg:          #f9fafb;
  --white:       #ffffff;
  --accent:      #1d4ed8;
  --sev-low:     #16a34a;
  --sev-medium:  #ca8a04;
  --sev-high:    #ea580c;
  --sev-critical:#dc2626;
  --max-w:       1200px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--text);
}

.header-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1;
  display: block;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
  display: block;
}

.header-search {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.search-input {
  padding: 8px 12px;
  border: none;
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 200px;
  background: var(--white);
}

.search-btn {
  padding: 8px 16px;
  background: var(--text);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.search-btn:hover { background: var(--text-2); }

/* ── Category nav ── */
.category-nav { border-top: 1px solid var(--border); }

.category-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
}

.cat-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.cat-link:hover { color: var(--text); }
.cat-link.active { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }

/* ── Main layout ── */
.site-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 24px 60px;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.hero.no-image { grid-template-columns: 1fr; max-width: 760px; }

.hero-image {
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 3/2;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.hero-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-title a { color: var(--text); }
.hero-title a:hover { color: var(--accent); }

.hero-summary {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

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

/* ── Section header ── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}

.section-head-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-head-meta { font-size: 12px; color: var(--text-muted); }

/* ── Card grids ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

/* ── Article card ── */
.article-card { display: flex; flex-direction: column; }

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.article-card-img--placeholder {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-img--placeholder::before {
  content: '';
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 0 0 10px rgba(17, 24, 39, 0.04),
              inset 0 0 0 10px rgba(17, 24, 39, 0.04);
}

.article-card-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.article-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.article-card-title a { color: var(--text); }
.article-card-title a:hover { color: var(--accent); }

.article-card-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Severity ── */
.sev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.sev-dot.low      { background: var(--sev-low); }
.sev-dot.medium   { background: var(--sev-medium); }
.sev-dot.high     { background: var(--sev-high); }
.sev-dot.critical { background: var(--sev-critical); }

.sev-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
}

.sev-badge.low      { background: #f0fdf4; color: var(--sev-low); }
.sev-badge.medium   { background: #fefce8; color: var(--sev-medium); }
.sev-badge.high     { background: #fff7ed; color: var(--sev-high); }
.sev-badge.critical { background: #fef2f2; color: var(--sev-critical); }

/* ── Article page ── */
.article-layout { max-width: 720px; margin: 0 auto; }

.article-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumb a { color: var(--accent); }
.article-breadcrumb a:hover { text-decoration: underline; }

.article-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.article-image { margin-bottom: 28px; }
.article-image img { width: 100%; border-radius: 2px; }

.ai-summary {
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  background: #eff6ff;
  margin-bottom: 28px;
  border-radius: 0 4px 4px 0;
}

.ai-summary-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.ai-summary-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
}

.article-body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.tag {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
}

.read-original {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--text);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
}

.read-original:hover { background: var(--text-2); color: var(--white); }

/* ── Related articles ── */
.related-section {
  max-width: var(--max-w);
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Page header (category, search) ── */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text);
}

.page-header-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-header-sub { font-size: 14px; color: var(--text-muted); }

/* ── Search form ── */
.search-form-lg { display: flex; gap: 8px; margin-top: 16px; }

.search-input-lg {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  color: var(--text);
  outline: none;
}

.search-input-lg:focus { border-color: var(--accent); }

.search-btn-lg {
  padding: 10px 20px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.search-result-meta { font-size: 13px; color: var(--text-muted); margin: 10px 0 28px; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-muted); font-size: 15px; }

/* ── Pagination ── */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 40px;
}

.pagination a, .pagination span {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
}

.pagination a:hover { background: var(--bg); }
.pagination .current { background: var(--text); color: var(--white); border-color: var(--text); }
.pagination .disabled { color: var(--border); }

/* ── Refresh toast ── */
.refresh-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--text);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  animation: slide-up 0.2s ease;
}

.refresh-toast button {
  background: var(--white);
  color: var(--text);
  border: none;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

@keyframes slide-up {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

/* ── Footer ── */
.site-footer { background: var(--text); color: #9ca3af; margin-top: 60px; }

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-desc { font-size: 13px; line-height: 1.65; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: #9ca3af; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 14px 24px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* ── Header auth nav ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.auth-nav-link {
  color: var(--text-muted);
  font-weight: 500;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-nav-link:hover { color: var(--text); }

.auth-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0;
}

.auth-nav-btn:hover { color: var(--text); }

.auth-nav-register {
  padding: 5px 12px;
  background: var(--text);
  color: var(--white);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
}

.auth-nav-register:hover { background: var(--text-2); color: var(--white); }

/* ── Auth pages ── */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 40px;
}

.auth-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.auth-form { display: flex; flex-direction: column; gap: 0; }

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-optional { font-weight: 400; color: var(--text-muted); }

.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: var(--accent); }

.auth-btn {
  display: block;
  width: 100%;
  padding: 11px 20px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  transition: background 0.15s;
}

.auth-btn:hover { background: var(--text-2); }

.auth-btn-secondary { background: var(--text-2); }
.auth-btn-secondary:hover { background: #111827cc; }

.auth-btn-outline {
  display: inline-block;
  padding: 9px 20px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}

.auth-btn-outline:hover { border-color: var(--text); }

.auth-alert {
  padding: 11px 14px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.auth-alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.auth-alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.auth-alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.auth-link {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.auth-link a { color: var(--accent); }
.auth-link a:hover { text-decoration: underline; }

.verify-icon {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 300;
}

.verify-icon-ok  { color: var(--sev-low); }
.verify-icon-err { color: var(--sev-critical); }

/* ── Social sign-in ── */
.social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-divider::before,
.social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-buttons { display: flex; flex-direction: column; gap: 8px; }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.social-btn:hover { background: var(--bg); border-color: #d1d5db; color: var(--text); }

/* ── Profile page ── */
.profile-page { max-width: 900px; margin: 0 auto; }

.profile-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text);
}

.profile-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.profile-sub { font-size: 13px; color: var(--text-muted); }

.profile-alert { max-width: 100%; }

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.profile-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
}

.profile-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.profile-subsection-title {
  font-size: 13px;
  font-weight: 600;
  margin: 28px 0 16px;
  color: var(--text);
}

.profile-form { max-width: none; }

.radio-group { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}

.radio-option input[type="radio"] { accent-color: var(--text); }

.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-option input[type="checkbox"] { accent-color: var(--text); flex-shrink: 0; }

.account-info { margin-bottom: 4px; }

.account-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.account-info-label { color: var(--text-muted); font-size: 13px; }
.account-info-value { color: var(--text); font-weight: 500; text-align: right; word-break: break-all; }

.profile-signout {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.hamburger:hover { background: var(--bg); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.15s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav panel ── */
.mobile-nav { display: none; }

.mobile-nav-link {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
  text-align: left;
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus { background: var(--bg); color: var(--text); outline: none; }

.mobile-nav-link.active { color: var(--text); font-weight: 600; }

.mobile-nav-auth {
  border-top: 2px solid var(--border);
}

.mobile-nav-cta { color: var(--accent); font-weight: 600; }
.mobile-nav-cta:hover { color: var(--accent); background: var(--bg); }

/* ── Dark mode ── */
[data-theme="dark"] {
  --text:       #f3f4f6;
  --text-2:     #d1d5db;
  --text-muted: #9ca3af;
  --border:     #374151;
  --bg:         #1f2937;
  --white:      #111827;
  --accent:     #60a5fa;
}

[data-theme="dark"] .site-footer      { background: #0f172a; }
[data-theme="dark"] .footer-brand     { color: #f3f4f6; }
[data-theme="dark"] .footer-col-title { color: #f3f4f6; }

[data-theme="dark"] .ai-summary { background: rgba(96, 165, 250, 0.08); }

[data-theme="dark"] .sev-badge.low      { background: #052e16; }
[data-theme="dark"] .sev-badge.medium   { background: #422006; }
[data-theme="dark"] .sev-badge.high     { background: #431407; }
[data-theme="dark"] .sev-badge.critical { background: #450a0a; }

[data-theme="dark"] .auth-alert-error   { background: #450a0a; color: #fca5a5; border-color: #7f1d1d; }
[data-theme="dark"] .auth-alert-success { background: #052e16; color: #86efac; border-color: #14532d; }
[data-theme="dark"] .auth-alert-info    { background: #0c1a3d; color: #93c5fd; border-color: #1e40af; }

[data-theme="dark"] .article-card-img--placeholder::before {
  border-color: rgba(243, 244, 246, 0.12);
  box-shadow: 0 0 0 10px rgba(243, 244, 246, 0.04), inset 0 0 0 10px rgba(243, 244, 246, 0.04);
}

/* ── Theme toggle ── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text); background: var(--bg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .article-headline { font-size: 28px; }
  .hero-title { font-size: 24px; }
  .brand-name { font-size: 22px; }
  .brand-tagline { display: none; }
  .header-top { flex-wrap: nowrap; align-items: center; padding: 12px 16px; gap: 8px; }
  .header-right { gap: 8px; }
  .search-input { width: 80px; font-size: 13px; }
  .search-btn { padding: 8px 10px; font-size: 12px; }
  .auth-card { padding: 28px 20px; }
  .header-auth { display: none; }
  .category-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--border); }
}
