/* =============================================================
   Zonnebankverbod.nl – Stijlblad
   ============================================================= */

/* Custom properties */
:root {
  --bg:           #FFFDF7;
  --primary:      #E07B00;
  --primary-dark: #C06900;
  --secondary:    #EAF4FB;
  --accent:       #D94F00;
  --text:         #1A1A1A;
  --muted:        #5F5F5F;
  --border:       #E5DFD3;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.07);
  --shadow:       0 2px 10px rgba(0,0,0,.09);
  --shadow-lg:    0 6px 24px rgba(0,0,0,.13);
  --radius:       8px;
  --radius-sm:    4px;
  --max-w:        1100px;
  --font:         system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.3px;
  line-height: 1;
}
.logo-text .tld { color: var(--accent); }

/* Desktop nav */
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; }
.main-nav a {
  display: block;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 860px) { .main-nav { display: block; } }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s;
}
@media (min-width: 860px) { .nav-toggle { display: none; } }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .75rem 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.mobile-nav a {
  display: block;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.mobile-nav a:hover { background: var(--secondary); color: var(--primary); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #BF5500 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: .9rem;
  letter-spacing: -.5px;
}
.hero p {
  font-size: 1.1rem;
  opacity: .93;
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }

.btn-white    { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: #FFF8F0; color: var(--primary); }

.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: var(--white); }

.btn-sm { padding: .4rem .85rem; font-size: .82rem; }

.btn-danger { background: #EF4444; color: var(--white); border-color: #EF4444; }
.btn-danger:hover { background: #DC2626; color: var(--white); }

.btn-secondary { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }
.btn-secondary:hover { background: #D5EBF7; color: var(--primary); }

/* ── Stats grid ────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--border);
}
.stat-card.banned     { border-top-color: var(--accent); }
.stat-card.restricted { border-top-color: #F59E0B; }
.stat-card.allowed    { border-top-color: #16A34A; }

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .3rem;
  color: var(--primary);
}
.stat-card.banned     .stat-number { color: var(--accent); }
.stat-card.restricted .stat-number { color: #D97706; }
.stat-card.allowed    .stat-number { color: #16A34A; }

.stat-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 3rem 0; }
.section + .section { padding-top: 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 2.5rem;
  background: var(--primary);
  border-radius: 2px;
  margin-top: .35rem;
}
.section-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.section-link:hover { text-decoration: underline; }

/* ── Card grid ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-body  { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

.card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.card-tag {
  background: var(--secondary);
  color: var(--primary);
  padding: .1rem .5rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .5rem;
}
.card h3 a { text-decoration: none; color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: .85rem; }
.read-more {
  font-size: .83rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  margin-top: auto;
}
.read-more:hover { color: var(--accent); }
.read-more::after { content: ' →'; }

/* ── News list ─────────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: .85rem; }
.news-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  transition: transform .15s;
}
.news-item:hover { transform: translateX(3px); }
.news-item h3 { font-size: .98rem; font-weight: 700; margin-bottom: .25rem; }
.news-item h3 a { text-decoration: none; color: var(--text); }
.news-item h3 a:hover { color: var(--primary); }
.news-item .excerpt { font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.news-item .date    { font-size: .78rem; color: var(--muted); }

/* ── Page header ───────────────────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-bottom: 2.5rem;
}
.page-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .4rem;
}
.page-header .lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; }

/* Breadcrumb */
.breadcrumb {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  align-items: center;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

/* ── Article layout ────────────────────────────────────────── */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 900px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
}

.article-header { margin-bottom: 1.5rem; }
.article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .82rem;
  color: var(--muted);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.article-intro {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Article body typography */
.article-body { font-size: 1rem; line-height: 1.8; color: #222; }
.article-body h2 {
  font-size: 1.35rem; font-weight: 800;
  margin: 2.25rem 0 .7rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--primary);
  color: var(--text);
}
.article-body h3 {
  font-size: 1.1rem; font-weight: 700;
  margin: 1.75rem 0 .5rem;
  color: var(--text);
}
.article-body p   { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li  { margin-bottom: .35rem; }
.article-body strong { font-weight: 700; }
.article-body a   { color: var(--primary); text-underline-offset: 3px; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: .9rem 1.25rem;
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #444;
}

/* ── Ad slots ──────────────────────────────────────────────── */
.ad-slot {
  background: var(--secondary);
  border: 1px dashed #C0CFDB;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
  margin: 1.75rem 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-widget h4 {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary);
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a { text-decoration: none; color: var(--text); }
.sidebar-widget a:hover { color: var(--primary); }

/* ── Country table ─────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.country-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}
.country-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}
.country-table tbody td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.country-table tbody tr:last-child td { border-bottom: none; }
.country-table tbody tr:hover td { background: #FAFAF5; }
.country-flag { font-size: 1.3rem; line-height: 1; }

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-verboden   { background: #FEE2E2; color: #991B1B; }
.badge-beperkt    { background: #FEF3C7; color: #92400E; }
.badge-toegestaan { background: #D1FAE5; color: #065F46; }
.badge-green      { background: #D1FAE5; color: #065F46; }
.badge-gray       { background: #F3F4F6; color: #4B5563; }
.badge-orange     { background: #FEF3C7; color: #92400E; }

/* Country filter buttons */
.country-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  align-items: center;
}
.filter-btn {
  padding: .4rem 1rem;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: .83rem;
  font-weight: 600;
  transition: all .15s;
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); background: var(--primary); color: var(--white); }
.filter-btn[data-filter="verboden"].active   { background: var(--accent);  border-color: var(--accent); }
.filter-btn[data-filter="beperkt"].active    { background: #D97706; border-color: #D97706; }
.filter-btn[data-filter="toegestaan"].active { background: #16A34A; border-color: #16A34A; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
input[type="text"], input[type="email"], input[type="password"],
input[type="datetime-local"], textarea, select {
  width: 100%;
  padding: .65rem .9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224,123,0,.12);
}
textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .92rem;
  margin-bottom: 1.25rem;
  border: 1px solid;
}
.alert ul { margin-top: .4rem; padding-left: 1.25rem; }
.alert-success { background: #D1FAE5; color: #065F46; border-color: #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }
.alert-info    { background: var(--secondary); color: #1E4A6E; border-color: #BAD9EE; }
.alert-warning { background: #FEF3C7; color: #7C2D12; border-color: #FCD34D; }

/* Info boxes */
.info-box {
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
  font-size: .93rem;
}
.info-box.warning { background: #FEF3C7; border-left-color: #F59E0B; }
.info-box.danger  { background: #FEE2E2; border-left-color: var(--accent); }
.info-box p + p   { margin-top: .5rem; }
.info-box strong  { display: block; margin-bottom: .3rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #181818;
  color: #D4CCBe;
  padding: 3rem 0 1.25rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .75rem;
  display: block;
}
.footer-logo-text .tld { color: var(--accent); }
.footer-about p { font-size: .86rem; color: #998F82; line-height: 1.6; }

.footer-col h4 {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: #998F82; text-decoration: none; font-size: .88rem; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid #2A2A2A;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8rem;
  color: #665E55;
}
.footer-bottom a { color: #998F82; text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Wetgeving page specifics ──────────────────────────────── */
.law-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.law-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.law-card p  { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }

/* ── Admin layout ──────────────────────────────────────────── */
.admin-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
@media (max-width: 700px) { .admin-wrap { grid-template-columns: 1fr; } }

.admin-sidebar {
  background: #1A1A1A;
  color: #DDD;
  padding: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) { .admin-sidebar { display: none; } }

.admin-sidebar-logo {
  padding: 1.25rem;
  border-bottom: 1px solid #2E2E2E;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}
.admin-sidebar nav { flex: 1; padding: .75rem 0; }
.admin-sidebar nav a {
  display: block;
  padding: .6rem 1.25rem;
  text-decoration: none;
  color: #AAA;
  font-size: .88rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(224,123,0,.1);
  color: var(--primary);
  border-left-color: var(--primary);
}
.admin-sidebar nav a.danger-link { color: #EF4444; }
.admin-sidebar nav a.danger-link:hover { background: rgba(239,68,68,.1); border-left-color: #EF4444; color: #EF4444; }
.admin-sidebar nav .nav-divider {
  height: 1px;
  background: #2E2E2E;
  margin: .5rem 1.25rem;
}

.admin-content { background: #F4F3EF; min-height: 100vh; display: flex; flex-direction: column; }

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-topbar h1 { font-size: 1.15rem; font-weight: 800; }

.admin-body { padding: 1.75rem; flex: 1; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.admin-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.admin-stat .num { font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.admin-stat .lbl { font-size: .78rem; color: var(--muted); margin-top: .25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th {
  background: #F4F3EF;
  padding: .6rem .85rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAF5; }
.admin-table .actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Login page ────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.login-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
}
.login-logo { text-align: center; margin-bottom: 1.5rem; }
.login-logo .logo-text { font-size: 1.3rem; }
.login-box h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; text-align: center; }

/* ── Utilities ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-small  { font-size: .85rem; }
.mt-1 { margin-top: .5rem;  }
.mt-2 { margin-top: 1rem;   }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem;   }
.mb-1 { margin-bottom: .5rem;  }
.mb-2 { margin-bottom: 1rem;   }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem;   }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-1        { gap: .5rem; }
.gap-2        { gap: 1rem;  }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Print */
@media print {
  .site-header, .site-footer, .ad-slot, .mobile-nav, .nav-toggle { display: none !important; }
  body { background: white; color: black; }
}
