:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #14181f;
  --ink-2: #4a5160;
  --muted: #6b7280;
  --line: #e6e8ee;
  --brand: #0a4d2c;
  --brand-2: #0d6b3d;
  --accent: #d4a017;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --max: 1200px;
  --tinted: #ecf0ee;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ============ HEADER (sticky) ============ */
.site-header {
  background: var(--brand);
  color: #fff;
  border-bottom: 3px solid var(--accent);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 16px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 22px; }
.brand:hover { text-decoration: none; }
.brand-mark { font-size: 22px; }
.primary-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.primary-nav a { color: #fff; font-weight: 500; padding: 6px 8px; border-radius: 6px; }
.primary-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  padding: 6px; border-radius: 6px;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle-close { display: none; }
.site-header.menu-open .nav-toggle-open { display: none; }
.site-header.menu-open .nav-toggle-close { display: inline; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { padding: 10px 16px; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--brand);
    flex-direction: column; gap: 0;
    padding: 8px 0;
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .primary-nav a {
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .site-header.menu-open .primary-nav { display: flex; }
}

/* ============ MAIN / SECTIONS ============ */
.main { padding: 0 0 56px; }
.section-title {
  font-size: 22px; margin: 0 0 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--brand);
  display: inline-block;
}
.cat-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; flex-wrap: wrap; gap: 10px; }
.more-link { font-weight: 600; }
.dot { color: var(--muted); margin: 0 4px; }

/* ============ HERO CAROUSEL ============ */
.hero-carousel { padding: 24px 20px 8px; }
.carousel-viewport {
  position: relative; overflow: hidden;
  border-radius: 14px; box-shadow: var(--shadow-lg);
  aspect-ratio: 21 / 9;
  background: #111;
}
@media (max-width: 700px) {
  .carousel-viewport { aspect-ratio: 4 / 3; }
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%; position: relative; height: 100%;
  display: block; color: #fff; text-decoration: none;
}
.carousel-slide:hover { text-decoration: none; color: #fff; }
.carousel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 8s ease;
}
.carousel-slide:hover .carousel-bg { transform: scale(1.04); }
.carousel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%);
}
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
}
@media (max-width: 700px) { .carousel-caption { padding: 16px 18px; } }
.carousel-tag {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  background: var(--accent); color: #14181f; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px;
}
.carousel-title {
  font-size: 32px; line-height: 1.2; margin: 0 0 8px; text-shadow: 0 2px 12px rgba(0,0,0,.5);
  max-width: 900px;
}
@media (max-width: 700px) { .carousel-title { font-size: 21px; } }
.carousel-meta { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #14181f; border: 0;
  font-size: 28px; line-height: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: background .15s ease, transform .15s ease;
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: 0; padding: 0; cursor: pointer;
  transition: background .15s, transform .15s, width .15s;
}
.carousel-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* ============ CARDS ============ */
.cat-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-image { display: block; aspect-ratio: 16/9; background: #ddd; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-cat {
  display: inline-block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 700;
}
.card-cat:hover { text-decoration: none; color: var(--accent); }
.card-title { margin: 0; font-size: 17px; line-height: 1.35; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); text-decoration: none; }
.card-excerpt { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.card-meta { color: var(--muted); font-size: 12px; margin-top: 4px; display: flex; align-items: center; }
.read-time { white-space: nowrap; }

/* ============ LATEST STRIP ============ */
.latest-strip {
  background: var(--tinted);
  padding: 30px 0 36px;
  margin: 24px 0 0;
  border-top: 1px solid #dde3df;
  border-bottom: 1px solid #dde3df;
}
.latest-strip .section-title { margin-bottom: 18px; }

/* ============ CATEGORY SECTIONS (no themed backgrounds) ============ */
.cat-section {
  position: relative;
  padding: 30px 0 32px;
}
.cat-section + .cat-section {
  border-top: 1px solid var(--line);
}
.cat-section-inner { position: relative; }

/* ------ Layout 1: standard grid (4 equal cards) — uses .cat-grid ------ */
/* (no extra rules needed; .cat-grid already defined above) */

/* ------ Layout 2: FEATURE — 1 big hero + 3 small stacked ------ */
.section-feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) {
  .section-feature { grid-template-columns: 1fr; }
}
.feature-main {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-main:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-main-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: #ddd; }
.feature-main-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-main-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.feature-main-title { margin: 4px 0 4px; font-size: 22px; line-height: 1.25; }
.feature-main-title a { color: var(--ink); }
.feature-main-title a:hover { color: var(--brand); text-decoration: none; }
.feature-main-excerpt { color: var(--ink-2); margin: 0; font-size: 15px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-mini {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center;
  background: var(--surface); border-radius: 8px; padding: 10px;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.feature-mini:hover { text-decoration: none; transform: translateY(-1px); }
.feature-mini img { width: 120px; height: 76px; object-fit: cover; border-radius: 6px; }
.feature-mini-title { display: block; font-weight: 600; color: var(--ink); font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature-mini-meta { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ------ Layout 3: COMPACT LIST — 2-col rows with small thumb ------ */
.section-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 760px) { .section-list { grid-template-columns: 1fr; } }
.list-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center;
  background: var(--surface); border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.list-item:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.list-item img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; }
.list-item-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.list-item-cat { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); font-weight: 700; margin-bottom: 2px; }
.list-item-title {
  color: var(--ink); font-weight: 600; line-height: 1.35; font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-item:hover .list-item-title { color: var(--brand); }
.list-item-meta { font-size: 11px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }

.cat-more-wrap {
  margin-top: 22px; display: flex; justify-content: center;
}
.load-more-btn {
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .15s, color .15s;
}
.load-more-btn:hover:not(:disabled) { background: var(--brand); color: #fff; }
.load-more-btn:disabled { opacity: .6; cursor: wait; }
.load-more-link {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700;
}
.load-more-link:hover { background: var(--brand-2); text-decoration: none; color: #fff; }

/* ============ AD SLOTS ============ */
.ad {
  display: flex; flex-direction: column; align-items: center;
  margin: 18px 0;
  background: #f0f1f4; border: 1px dashed #c9cdd6; border-radius: 8px;
  padding: 8px;
}
.ad-tag {
  font-size: 10px; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 6px;
}
.affizy-ad { display: block; }
.ad-728x90 { min-height: 90px; max-width: 740px; margin-left: auto; margin-right: auto; }
.ad-728x90 .affizy-ad { width: 728px; height: 90px; max-width: 100%; }
.ad-300x250 { width: 300px; max-width: 100%; }
.ad-300x250 .affizy-ad { width: 300px; height: 250px; }
.ad-480x320 .affizy-ad { width: 480px; height: 320px; max-width: 100%; }
.ad-320x50 { max-width: 340px; margin-left: auto; margin-right: auto; }
.ad-320x50 .affizy-ad { width: 320px; height: 50px; }

.ad-rail { padding-top: 8px; padding-bottom: 8px; }
.ad-rail--mid { margin: 24px 0; }

/* Viewport-paired ad visibility — desktop variant hides on mobile, mobile variant hides on desktop. */
@media (max-width: 800px) { .ad-only-desktop { display: none !important; } }
@media (min-width: 801px) { .ad-only-mobile  { display: none !important; } }
/* Safety net: a 728x90 never fits on a phone screen — hide if anyone forgets to mark it. */
@media (max-width: 800px) { .ad-728x90 { display: none; } }

/* In sidebar: no dashed border, cleaner */
.sidebar-sticky .ad { background: transparent; border: 0; padding: 0; margin: 0 0 20px; }

/* ============ CATEGORY PAGE ============ */
.page-head { margin: 24px 0 18px; padding: 0 20px; max-width: var(--max); margin-left: auto; margin-right: auto; }
.crumbs { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.crumbs a { color: var(--ink-2); }
.page-title { font-size: 32px; margin: 0 0 6px; }
.page-lead { color: var(--ink-2); margin: 0; max-width: 760px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 36px 0 8px; color: var(--ink-2); }
.pagination a { font-weight: 600; }

/* ============ ARTICLE PAGE ============ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
}
.article { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.article-head { margin-bottom: 16px; }
.article-title { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
.article-meta { color: var(--muted); font-size: 13px; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.article-figure { margin: 0 0 20px; border-radius: 8px; overflow: hidden; }
.article-figure img { width: 100%; height: auto; }
.article-body { font-size: 17px; color: var(--ink); }
.article-body h2 { font-size: 24px; margin: 28px 0 10px; }
.article-body h3 { font-size: 20px; margin: 22px 0 8px; }
.article-body p { margin: 0 0 16px; }
.article-body a { text-decoration: underline; }
.article-body img { border-radius: 6px; margin: 12px 0; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-link-out {
  margin-top: 24px; padding: 14px 16px; background: #f0efe6;
  border-left: 4px solid var(--accent); border-radius: 6px;
}

/* Actions (like + share) */
.article-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin: 30px 0 8px; padding: 14px 16px;
  background: #f7f8fb; border-radius: 10px; border: 1px solid var(--line);
}
.like-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: all .15s ease;
}
.like-btn:hover:not(:disabled) { border-color: #e15a6a; color: #e15a6a; }
.like-btn.liked { background: #ffeaee; border-color: #e15a6a; color: #c43340; }
.like-btn.liked .like-icon { transform: scale(1.15); }
.like-icon { font-size: 18px; transition: transform .15s ease; }
.like-count { font-variant-numeric: tabular-nums; }
.likes-meta { color: var(--muted); }
.likes-meta-num { font-weight: 600; color: var(--ink-2); }

.share-cluster { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: 13px; color: var(--muted); margin-right: 2px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  font-weight: 700; cursor: pointer; transition: all .15s ease;
  text-decoration: none;
}
.share-btn:hover { transform: translateY(-1px); text-decoration: none; }
.share-x:hover { background: #000; color: #fff; border-color: #000; }
.share-tg:hover { background: #229ed9; color: #fff; border-color: #229ed9; }
.share-copy:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.share-copy { font-size: 13px; }

/* Sidebar */
.article-sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 980px) {
  .sidebar-sticky { position: static; }
}

.predictions-card {
  background: linear-gradient(180deg, #0a4d2c 0%, #0d6b3d 100%);
  color: #fff; border-radius: 10px; padding: 18px 16px; box-shadow: var(--shadow);
}
.predictions-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.18); }
.predictions-head h3 { margin: 0; font-size: 16px; }
.predictions-note { font-size: 11px; color: rgba(255,255,255,.7); }
.predictions-empty { font-size: 14px; color: rgba(255,255,255,.85); margin: 6px 0 0; }
.predictions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.prediction-item { background: rgba(255,255,255,.06); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.prediction-row1 { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.pred-comp { text-transform: uppercase; letter-spacing: .06em; }
.prediction-event { font-weight: 600; margin-bottom: 6px; }
.prediction-pick { color: rgba(255,255,255,.92); }
.pred-market { color: rgba(255,255,255,.65); font-size: 12px; }
.prediction-pick strong { color: var(--accent); }
.pred-odds { color: rgba(255,255,255,.85); margin-left: 6px; font-weight: 600; }
.pred-confidence { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.pred-confidence-bar { display: block; flex: 1; height: 4px; background: rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; }
.pred-confidence-bar span { display: block; height: 100%; background: var(--accent); }
.pred-confidence-num { font-size: 11px; color: rgba(255,255,255,.8); min-width: 30px; text-align: right; }
.predictions-disclaimer { font-size: 11px; color: rgba(255,255,255,.6); margin: 14px 0 0; line-height: 1.4; }

.sidebar-related {
  background: var(--surface); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow);
}
.sidebar-related h3 { margin: 0 0 10px; font-size: 15px; border-bottom: 2px solid var(--brand); padding-bottom: 6px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sidebar-related-link { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: start; }
.sidebar-related-link:hover { text-decoration: none; }
.sidebar-related-link img { width: 80px; height: 56px; object-fit: cover; border-radius: 4px; }
.sidebar-related-title { display: block; color: var(--ink); font-weight: 600; font-size: 13px; line-height: 1.35; }
.sidebar-related-link:hover .sidebar-related-title { color: var(--brand); }
.sidebar-related-date { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

.related { margin-top: 40px; padding: 0 20px; max-width: var(--max); margin-left: auto; margin-right: auto; }

.empty-state, .error-state {
  background: var(--surface); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; box-shadow: var(--shadow);
}
.error-state h1 { margin-top: 0; }
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
}
.btn:hover { background: var(--brand-2); text-decoration: none; color: #fff; }

/* ============ FOOTER ============ */
.site-footer { background: #0e1117; color: #cbd0db; margin-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding: 32px 20px; max-width: var(--max); margin: 0 auto; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #cbd0db; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { color: #9aa3b2; margin: 6px 0 0; }
.footer-meta p { margin: 0 0 6px; color: #9aa3b2; }

/* ============ ADMIN (kept from before) ============ */
.admin-shell { min-height: 100vh; background: #f1f3f6; }
.admin-bar { background: #0e1117; color: #fff; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.admin-bar a { color: #fff; }
.admin-main { padding: 24px 20px; max-width: 1200px; margin: 0 auto; }
.admin-card { background: #fff; padding: 24px; border-radius: 10px; box-shadow: var(--shadow); }
.admin-form label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 14px; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=password],
.admin-form input[type=url], .admin-form input[type=datetime-local], .admin-form select, .admin-form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit;
}
.admin-form textarea { min-height: 320px; resize: vertical; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.admin-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form .actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.admin-btn { background: var(--brand); color: #fff; border: 0; padding: 9px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; font-size: 14px; }
.admin-btn.secondary { background: #4a5160; }
.admin-btn.danger { background: var(--danger); }
.admin-list { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.admin-list th, .admin-list td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.admin-list th { background: #f7f8fb; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-list tr:last-child td { border-bottom: 0; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-filters input, .admin-filters select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge.publish { background: #e6f4ec; color: #0a4d2c; }
.badge.draft { background: #fdf3d3; color: #6e5b09; }
.badge.future { background: #e3edff; color: #1f3a8a; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.flash.error { background: #fde8e7; color: #80201b; }
.flash.success { background: #e6f4ec; color: #0a4d2c; }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; }
  .admin-form .row { grid-template-columns: 1fr; }
  .page-title { font-size: 26px; }
  .article-title { font-size: 26px; }
  .article { padding: 18px; }
  .hero-carousel { padding: 16px 16px 8px; }
  .container { padding: 0 16px; }
  .latest-strip { padding: 22px 0 26px; }
  .cat-section { padding: 22px 0 24px; }
  .section-title { font-size: 19px; }
  .feature-main-title { font-size: 19px; }
  .feature-main-body { padding: 14px 16px 16px; }
  .article-actions { flex-direction: column; align-items: stretch; padding: 12px; gap: 10px; }
  .share-cluster { justify-content: flex-start; }
}
