/* ============================================================
   TVBoxFixer Theme — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  --primary:       #1E73E8;
  --primary-dark:  #1558C0;
  --primary-light: #EBF3FD;
  --primary-mid:   #BFDBFE;
  --accent:        #0EA5E9;
  --white:         #FFFFFF;
  --bg:            #FFFFFF;
  --bg2:           #F8FAFC;
  --bg3:           #F1F5F9;
  --border:        #E2E8F0;
  --text:          #0F172A;
  --text2:         #475569;
  --text3:         #94A3B8;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;
  --radius:        10px;
  --radius-sm:     6px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 16px rgba(30,115,232,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:     0 12px 40px rgba(30,115,232,.12), 0 4px 16px rgba(0,0,0,.06);
  --nav-h:         66px;
  --container:     1160px;
  --font-sans:     'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }
table { border-collapse: collapse; width: 100%; }

/* ── 3. LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section        { padding: 72px 0; }
.section-sm     { padding: 48px 0; }
.section-xs     { padding: 32px 0; }

/* Two-column layout with sidebar */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.full-width .content-wrap { grid-template-columns: 1fr; }

/* ── 4. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p  { color: var(--text2); line-height: 1.8; }
.lead { font-size: 1.1rem; color: var(--text2); line-height: 1.85; }
small { font-size: 0.825rem; }

/* ── 5. COMPONENTS ────────────────────────────────────────── */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all .22s ease;
  letter-spacing: .01em;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30,115,232,.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,115,232,.38);
  color: #fff;
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text2);
  background: var(--bg);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.btn-sm  { padding: 7px 16px; font-size: .82rem; }
.btn-lg  { padding: 14px 30px; font-size: 1rem; }
.btn-download {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16,185,129,.25);
}
.btn-download:hover {
  background: #059669;
  transform: translateY(-1px);
  color: #fff;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-blue   { background: var(--primary-light); color: var(--primary); }
.badge-cyan   { background: #ECFEFF; color: #0891B2; }
.badge-green  { background: #ECFDF5; color: #059669; }
.badge-orange { background: #FFF7ED; color: #C2410C; }
.badge-purple { background: #F5F3FF; color: #7C3AED; }
.badge-red    { background: #FEF2F2; color: #DC2626; }

/* --- Cards --- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-mid);
}
.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
}
.card-body   { padding: 20px; }
.card-footer {
  padding: 13px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.card-meta span {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--text3);
}
.card h2, .card h3 { margin-bottom: 7px; font-size: 1.05rem; line-height: 1.4; }
.card h2 a:hover, .card h3 a:hover { color: var(--primary); }
.card p { font-size: .88rem; line-height: 1.65; margin-bottom: 0; }

/* --- Label / Section Label --- */
.section-label {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── 6. SEARCH BAR ────────────────────────────────────────── */
.search-form-wrap {
  position: relative;
  width: 100%;
}
.search-form-wrap .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  pointer-events: none;
  width: 18px;
  height: 18px;
}
.search-field {
  width: 100%;
  padding: 14px 130px 14px 50px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.search-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30,115,232,.1);
}
.search-field::placeholder { color: var(--text3); }
.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.search-submit:hover { background: var(--primary-dark); }

/* Hero search — larger variant */
.hero-search .search-field {
  padding: 18px 150px 18px 58px;
  font-size: 1rem;
  border-width: 2px;
  box-shadow: var(--shadow);
}
.hero-search .search-icon { left: 22px; width: 20px; height: 20px; }
.hero-search .search-submit { right: 8px; padding: 11px 26px; font-size: .9rem; }

/* Sidebar search */
.widget_search .search-field { padding: 11px 110px 11px 42px; font-size: .88rem; }
.widget_search .search-icon  { left: 14px; width: 16px; height: 16px; }
.widget_search .search-submit { right: 4px; padding: 7px 16px; font-size: .8rem; }

/* ── 7. HEADER / NAVBAR ───────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .25s;
}
#site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity .2s;
}
.site-logo:hover { opacity: .88; }
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* No background here — the SVG itself contains the squircle bg + gradient */
  line-height: 0;
}
.logo-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--primary); }

/* Nav */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
#primary-menu li { position: relative; }
#primary-menu > li > a {
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  display: block;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
#primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
#primary-menu li:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
#primary-menu .sub-menu li a {
  display: block;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  padding: 9px 16px;
  color: var(--text2);
  transition: color .2s, background .2s;
}
#primary-menu .sub-menu li a:hover { color: var(--primary); background: var(--primary-light); }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  flex-shrink: 0;
}
.header-search-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: color .2s, background .2s;
  background: none;
  border: none;
  cursor: pointer;
}
.header-search-btn:hover { color: var(--primary); background: var(--primary-light); }

/* Header search panel */
.header-search-panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .25s, transform .25s;
  z-index: 999;
}
.header-search-panel.active { opacity: 1; pointer-events: all; transform: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle:hover { background: var(--bg3); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 24px 20px;
  z-index: 998;
}
.mobile-nav.open { display: block; }
.mobile-nav ul  { display: flex; flex-direction: column; }
.mobile-nav ul li a {
  display: block;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text2);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav ul li a:hover { color: var(--primary); }

/* ── 8. BREADCRUMB ────────────────────────────────────────── */
.breadcrumb-wrap {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text3);
}
.breadcrumb a { color: var(--text3); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep  { font-size: .7rem; }
.breadcrumb .current { color: var(--text2); }

/* ── 9. HERO SECTION ──────────────────────────────────────── */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(150deg, #EBF3FD 0%, #F8FAFC 50%, #ECFEFF 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30,115,232,.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label { margin-bottom: 12px; }
.hero h1   { margin-bottom: 16px; }
.hero .lead { margin-bottom: 28px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-search  { max-width: 520px; }
.search-quick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.search-tag {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text2);
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.search-tag:hover { color: var(--primary); border-color: var(--primary); background: #fff; }

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device {
  background: linear-gradient(160deg, #1a3a6b 0%, #0f172a 100%);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(30,115,232,.2), 0 8px 20px rgba(0,0,0,.15);
  max-width: 360px;
  width: 100%;
  position: relative;
}
.device-screen {
  background: #0b1120;
  border-radius: 10px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.device-screen-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.device-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(30,115,232,.4);
}
.device-text {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  text-align: center;
}
.device-text strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 4px; }
.device-solved-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--success);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(16,185,129,.3);
}
.device-solved-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.4} }
.device-base  { width: 50px; height: 10px; background: #1e293b; border-radius: 0 0 8px 8px; margin: 0 auto; }
.device-stand { width: 80px; height: 7px; background: #334155; border-radius: 4px; margin: 0 auto; }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-stat span {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--text3);
}

/* ── 10. CATEGORIES BAR ───────────────────────────────────── */
.cats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.cats-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cats-bar-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text2);
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  white-space: nowrap;
  background: var(--bg);
  transition: all .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.cat-pill:hover, .cat-pill.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}
.cat-pill-count {
  background: var(--bg3);
  border-radius: 50px;
  padding: 1px 7px;
  font-size: .7rem;
  color: var(--text3);
}
.cat-pill.active .cat-pill-count,
.cat-pill:hover  .cat-pill-count {
  background: var(--primary-mid);
  color: var(--primary-dark);
}

/* ── 11. CATEGORIES GRID (Full Page) ─────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s;
  display: block;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color, var(--primary));
  transform: scaleX(0);
  transition: transform .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-mid); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
  transition: transform .25s;
}
.cat-card:hover .cat-icon-wrap { transform: scale(1.1); }
.cat-card h3 { font-size: .95rem; margin-bottom: 5px; }
.cat-card p  { font-size: .82rem; margin-bottom: 8px; }
.cat-count   { font-family: var(--font-sans); font-size: .72rem; font-weight: 600; color: var(--text3); }

/* ── 12. FEATURED POSTS ───────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}
.featured-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.featured-main-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
.featured-main-img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, #1a3a6b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.featured-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
}
.featured-main-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
}
.featured-main-body h2 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.featured-main-body p  { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: 0; }
.featured-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.featured-meta span { color: rgba(255,255,255,.65); font-family: var(--font-sans); font-size: .75rem; }

.featured-side { display: flex; flex-direction: column; gap: 14px; }
.side-post {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .22s;
  text-decoration: none;
}
.side-post:hover { border-color: var(--primary-mid); box-shadow: var(--shadow); transform: translateX(3px); }
.side-post-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.side-post-body { flex: 1; min-width: 0; }
.side-post-badge { margin-bottom: 5px; }
.side-post-body h3 { font-size: .88rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; color: var(--text); }
.side-post:hover h3 { color: var(--primary); }
.side-post-meta { display: flex; gap: 10px; }
.side-post-meta span { font-family: var(--font-sans); font-size: .72rem; color: var(--text3); }

/* ── 13. POSTS GRID ───────────────────────────────────────── */
.posts-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.posts-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 14. SINGLE ARTICLE ───────────────────────────────────── */
.entry-header { padding: 48px 0 36px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.entry-header h1 { max-width: 820px; margin-bottom: 16px; }
.entry-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.entry-meta span { font-family: var(--font-sans); font-size: .8rem; color: var(--text3); display: flex; align-items: center; gap: 5px; }

.entry-body { padding: 48px 0 72px; }
.entry-content { max-width: 100%; }

/* Article typography */
.entry-content h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.entry-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.entry-content h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--primary); }
.entry-content h4 { font-size: 1rem; margin: 20px 0 8px; }
.entry-content p  { margin-bottom: 18px; line-height: 1.9; }
.entry-content ul, .entry-content ol { margin: 16px 0 16px 24px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { color: var(--text2); margin-bottom: 8px; line-height: 1.75; }
.entry-content a  { color: var(--primary); border-bottom: 1px solid var(--primary-mid); transition: border-color .2s; }
.entry-content a:hover { border-color: var(--primary); }
.entry-content img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.entry-content code {
  background: var(--bg3);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: .88em;
  color: var(--primary-dark);
}
.entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
  font-size: .88rem;
  line-height: 1.7;
}
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content blockquote p { color: var(--primary-dark); margin-bottom: 0; }
.entry-content figure { margin: 24px 0; }
.entry-content figcaption { font-family: var(--font-sans); font-size: .78rem; color: var(--text3); text-align: center; margin-top: 8px; }
.entry-content table { margin: 20px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.entry-content th { background: var(--bg2); font-family: var(--font-sans); font-size: .85rem; font-weight: 600; padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text2); }
.entry-content tr:last-child td { border-bottom: none; }

/* ── 15. SPECIAL BLOCKS ───────────────────────────────────── */

/* Table of Contents */
.toc-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 36px;
}
.toc-title {
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list { counter-reset: toc; }
.toc-list li {
  counter-increment: toc;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.toc-list li::before {
  content: counter(toc);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.toc-list li a {
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text2);
  border-bottom: none;
  transition: color .2s;
}
.toc-list li a:hover { color: var(--primary); border-bottom: none; }

/* Step block */
.step-block {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.step-num {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4  { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-content p   { font-size: .88rem; margin-bottom: 0; }

/* Tip / Info / Warning / Danger boxes */
.notice-box {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  border-left: 4px solid;
  align-items: flex-start;
}
.notice-box .notice-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: 1px; }
.notice-box p { font-size: .88rem; margin-bottom: 0; line-height: 1.75; }
.notice-box strong { display: block; font-family: var(--font-sans); font-size: .82rem; margin-bottom: 3px; }
.notice-info    { background: var(--primary-light); border-color: var(--primary); }
.notice-info p  { color: #1558C0; }
.notice-tip     { background: #ECFDF5; border-color: var(--success); }
.notice-tip p   { color: #065F46; }
.notice-warning { background: #FFFBEB; border-color: var(--warning); }
.notice-warning p { color: #92400E; }
.notice-danger  { background: #FEF2F2; border-color: var(--danger); }
.notice-danger p { color: #991B1B; }

/* Image placeholder (for dev) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-light), var(--bg3));
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text3);
  margin: 24px 0;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
}

/* ── 16. FAQ SECTION ──────────────────────────────────────── */
.faq-schema { margin: 32px 0; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary-mid); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.faq-question:hover { background: var(--bg2); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 20px;
}
.faq-answer-inner {
  padding-bottom: 18px;
  font-size: .9rem;
  color: var(--text2);
  line-height: 1.8;
}

/* ── 17. SIDEBAR ──────────────────────────────────────────── */
.sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.widget-title {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget ul li { border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text2);
  transition: color .2s;
}
.widget ul li a:hover { color: var(--primary); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a, .tag {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  transition: all .2s;
  text-decoration: none;
}
.tag-cloud a:hover, .tag:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }

/* Popular posts widget */
.pop-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.pop-post:last-child { border-bottom: none; padding-bottom: 0; }
.pop-post:hover .pop-post-title { color: var(--primary); }
.pop-num {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-mid);
  line-height: 1;
  width: 24px;
  flex-shrink: 0;
}
.pop-post-title {
  font-family: var(--font-sans);
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  transition: color .2s;
  display: block;
}
.pop-post-meta { font-family: var(--font-sans); font-size: .72rem; color: var(--text3); margin-top: 3px; }

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
}
.newsletter-widget .widget-title { color: rgba(255,255,255,.8); border-bottom-color: rgba(255,255,255,.15); }
.newsletter-widget p { color: rgba(255,255,255,.85); font-size: .85rem; margin-bottom: 14px; }
.newsletter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .88rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.newsletter-widget .btn-nl {
  width: 100%;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .88rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.newsletter-widget .btn-nl:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* ── 18. SHARE BUTTONS ────────────────────────────────────── */
.share-section { margin: 40px 0; padding: 24px 0; border-top: 1px solid var(--border); }
.share-section h4 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.share-btns  { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.share-fb { background: #EBF3FD; color: #1877F2; }
.share-fb:hover { background: #1877F2; color: #fff; }
.share-tw { background: #EBF3FD; color: #1DA1F2; }
.share-tw:hover { background: #1DA1F2; color: #fff; }
.share-wa { background: #ECFDF5; color: #25D366; }
.share-wa:hover { background: #25D366; color: #fff; }
.share-cp { background: var(--bg3); color: var(--text2); }
.share-cp:hover { background: var(--primary); color: #fff; }

/* ── 19. RELATED POSTS ────────────────────────────────────── */
.related-posts { margin: 48px 0 0; padding-top: 36px; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 1.2rem; margin-bottom: 20px; }

/* ── 20. COMMENTS ─────────────────────────────────────────── */
.comments-area { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-area h3 { font-size: 1.2rem; margin-bottom: 28px; }
.comment-list .comment { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.comment-list .comment:last-child { border-bottom: none; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.comment-author { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--text); }
.comment-date   { font-family: var(--font-sans); font-size: .75rem; color: var(--text3); }
.comment-body p { font-size: .88rem; line-height: 1.75; }
.comment-reply-link { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; color: var(--primary); cursor: pointer; margin-top: 8px; display: inline-block; }

.comment-form-wrap { margin-top: 36px; background: var(--bg2); border-radius: var(--radius); padding: 28px; }
.comment-form-wrap h4 { margin-bottom: 18px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group  { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: var(--text2); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,115,232,.1);
}
.form-group textarea { min-height: 110px; }

/* ── 21. SOFTWARE SECTION ─────────────────────────────────── */
.software-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 56px 0;
  color: #fff;
}
.software-hero h1 { color: #fff; margin-bottom: 10px; }
.software-hero p  { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.software-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.software-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s;
  display: flex;
  flex-direction: column;
}
.software-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-mid); }
.software-card-header {
  padding: 22px 22px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.software-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.software-name { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.software-version { font-family: var(--font-sans); font-size: .75rem; color: var(--text3); }
.software-card-body {
  padding: 14px 22px;
  flex: 1;
  font-size: .88rem;
  line-height: 1.7;
}
.software-meta {
  padding: 0 22px 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.software-meta span { font-family: var(--font-sans); font-size: .75rem; color: var(--text3); display: flex; align-items: center; gap: 4px; }
.software-card-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; }

/* Single software page */
.software-single-header {
  padding: 48px 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.software-info-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.software-detail-meta { margin-top: 14px; }
.software-detail-meta table td { font-family: var(--font-sans); font-size: .85rem; }
.software-detail-meta table td:first-child { font-weight: 600; color: var(--text); width: 130px; }
.download-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.download-box .app-icon-big {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 14px;
}
.download-box h3 { font-size: 1rem; margin-bottom: 6px; }
.download-box .version-info { font-family: var(--font-sans); font-size: .78rem; color: var(--text3); margin-bottom: 18px; }
.download-stats { display: flex; justify-content: center; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.download-stats span { font-family: var(--font-sans); font-size: .75rem; color: var(--text3); text-align: center; }
.download-stats strong { display: block; font-size: .95rem; color: var(--text); }

/* Install guide */
.install-guide { background: var(--bg2); border-radius: var(--radius); padding: 28px; margin: 32px 0; }
.install-guide h3 { margin-bottom: 20px; }

/* ── 22. PAGINATION ───────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.page-numbers, .pagination a, .pagination span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text2);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all .2s;
  text-decoration: none;
}
.page-numbers:hover, .pagination a:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.page-numbers.current, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── 23. NEWSLETTER BAND ──────────────────────────────────── */
.newsletter-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-band::before,
.newsletter-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.newsletter-band::before { top: -60px; right: -60px; width: 220px; height: 220px; background: rgba(255,255,255,.06); }
.newsletter-band::after  { bottom: -70px; left: -40px; width: 200px; height: 200px; background: rgba(255,255,255,.04); }
.newsletter-band h2 { color: #fff; margin-bottom: 10px; }
.newsletter-band p  { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.newsletter-row {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.nl-email-input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .9rem;
  outline: none;
}
.nl-email-input::placeholder { color: rgba(255,255,255,.6); }
.nl-email-input:focus { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.nl-submit {
  background: #fff;
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.nl-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }

/* ── 24. FOOTER ───────────────────────────────────────────── */
#site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-logo-text { font-family: var(--font-sans); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.footer-logo-text span { color: var(--primary); }
.footer-desc { font-size: .88rem; line-height: 1.75; color: var(--text2); margin-bottom: 20px; }
.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text2);
  transition: all .2s;
  text-decoration: none;
}
.social-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.footer-col-title {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .88rem; color: var(--text2); transition: color .2s; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p, .footer-copy { font-family: var(--font-sans); font-size: .8rem; color: var(--text3); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-family: var(--font-sans); font-size: .8rem; color: var(--text3); transition: color .2s; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── 25. PAGE HEADER ──────────────────────────────────────── */
.page-header {
  padding: 52px 0 40px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 10px; }
.page-header .lead { max-width: 560px; }

/* ── 26. 404 PAGE ─────────────────────────────────────────── */
.page-404 { text-align: center; padding: 100px 0; }
.page-404 .error-code { font-family: var(--font-sans); font-size: 7rem; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: -10px; }
.page-404 h1 { margin-bottom: 14px; }
.page-404 p  { margin-bottom: 28px; }

/* ── 27. UTILITY CLASSES ──────────────────────────────────── */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text3); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── 28. SCREEN-READER / ACCESSIBILITY ───────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-family: var(--font-sans);
  font-size: .88rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
