@font-face { font-family: "LT Saeada"; src: url("../fonts/LTSaeada/LTSaeada-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "LT Saeada"; src: url("../fonts/LTSaeada/LTSaeada-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LT Saeada"; src: url("../fonts/LTSaeada/LTSaeada-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "LT Saeada"; src: url("../fonts/LTSaeada/LTSaeada-ExtraBold.otf") format("opentype"); font-weight: 800; font-display: swap; }

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

:root {
  --gf-blue: #475BE2;
  --gf-blue-hover: #3C47C5;
  --gf-blue-50: #F0F2FF;
  --gf-blue-100: #E7E9FF;
  --gf-yellow: #FFD61A;
  --gf-orange: #F85C33;
  --gf-bg: #F7F8FC;
  --gf-text: #111827;
  --gf-text-body: #374151;
  --gf-text-muted: #6B7280;
  --gf-border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(17,24,39,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "LT Saeada", system-ui, -apple-system, sans-serif;
  color: var(--gf-text);
  background: var(--gf-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gf-border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.navbar-logo img { height: 32px; width: auto; }
.navbar-logo-desktop { display: none; }
.navbar-logo-mobile { display: block; }
.navbar-nav { display: none; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; color: var(--gf-text-body); }
.navbar-nav a:hover { color: var(--gf-blue); }
.navbar-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gf-blue); color: #fff; padding: 10px 20px; border-radius: var(--radius-lg); font-weight: 700; font-size: 14px; transition: background .15s; }
.navbar-cta:hover { background: var(--gf-blue-hover); }
@media (min-width: 900px) {
  .navbar-logo-desktop { display: block; }
  .navbar-logo-mobile { display: none; }
  .navbar-nav { display: flex; }
  .navbar-logo img { height: 36px; }
}

/* ===== Hero home ===== */
.hero {
  background: radial-gradient(1400px 900px at 70% 10%, #5b6ef0, var(--gf-blue) 55%, #3a4dd4);
  color: #fff;
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.hero-bg::before, .hero-bg::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
.hero-bg::before { top: -15%; right: -8%; width: 380px; height: 380px; }
.hero-bg::after { bottom: -20%; left: -5%; width: 280px; height: 280px; }
.hero .container { position: relative; z-index: 2; }
.hero-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.hero h1 { font-weight: 800; font-size: 48px; line-height: 1.08; max-width: 780px; margin: 0 auto 20px; }
.hero h1 em { font-style: normal; color: var(--gf-yellow); }
.hero-sub { font-weight: 400; font-size: 17px; color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 36px; line-height: 1.55; }

.search-shell { max-width: 560px; margin: 0 auto; position: relative; }
.search-bar {
  background: #fff;
  border-radius: 8px;
  padding: 8px 8px 8px 24px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 48px rgba(17,24,39,0.18);
  transition: box-shadow .2s ease;
}
.search-shell.is-open .search-bar { box-shadow: 0 24px 60px rgba(17,24,39,0.28); }
.search-bar i { color: var(--gf-text-muted); font-size: 16px; }
.search-bar input {
  flex: 1; border: 0; outline: 0;
  font-family: inherit; font-size: 16px;
  padding: 14px 0;
  background: transparent;
  color: var(--gf-text);
}
.search-bar input::placeholder { color: var(--gf-text-muted); }
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.search-bar .clear {
  display: none;
  background: transparent; color: var(--gf-text-muted);
  border: 0; padding: 10px 14px; border-radius: 6px;
  font-family: inherit; font-size: 16px; cursor: pointer;
  transition: color .15s, background .15s;
}
.search-bar .clear:hover { color: var(--gf-blue); background: var(--gf-blue-50); }
.search-bar.has-value .clear { display: inline-flex; align-items: center; justify-content: center; }

/* Search dropdown (knowledge-base style) */
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 0; right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(17,24,39,0.28);
  padding: 0;
  z-index: 100;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  text-align: left;
}
.search-dropdown[hidden] { display: none; }
.search-dropdown-header {
  font-size: 13px; font-weight: 600; color: var(--gf-text-muted);
  padding: 14px 20px; text-align: center;
  border-bottom: 1px solid var(--gf-border);
}
.search-dropdown-list { list-style: none; padding: 8px; margin: 0; }
.search-dropdown-list li + li { border-top: 1px solid var(--gf-border); }
.search-dropdown-list li a {
  display: block;
  padding: 14px 14px;
  border-radius: 10px;
  transition: background .12s ease;
  color: var(--gf-text);
}
.search-dropdown-list li a:hover,
.search-dropdown-list li a:focus-visible {
  background: var(--gf-blue-50);
  outline: 0;
}
.search-dropdown-list h4 {
  font-size: 15px; font-weight: 700;
  color: var(--gf-blue);
  margin-bottom: 4px;
  line-height: 1.3;
}
.search-dropdown-list h4 mark {
  background: transparent; color: inherit; font-weight: 800; padding: 0;
}
.search-crumb {
  font-size: 12px; color: var(--gf-text-muted);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  line-height: 1.4;
}
.search-crumb .sep { color: #CBD5E1; }
.search-crumb mark { background: transparent; color: inherit; font-weight: 700; padding: 0; }
.search-dropdown-empty { padding: 28px 20px; text-align: center; color: var(--gf-text-muted); font-size: 14px; }

/* Dim backdrop when search is open */
body.search-open::before {
  content: '';
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.35);
  z-index: 40;
  pointer-events: none;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.search-open .search-shell { z-index: 60; }
body.search-open .navbar { z-index: 30; }

@media (max-width: 640px) {
  .search-bar { padding: 6px 6px 6px 18px; }
  .search-bar input { font-size: 15px; padding: 12px 0; }
  .search-dropdown { max-height: min(60vh, 480px); }
  .search-dropdown-list h4 { font-size: 14px; }
  .search-crumb { font-size: 11px; }
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-header { margin-bottom: 40px; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.section-header h2 { font-weight: 800; font-size: 32px; color: var(--gf-text); line-height: 1.15; }
.section-header p { font-size: 15px; color: var(--gf-text-muted); margin-top: 6px; }

/* ===== Category grid ===== */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--gf-border);
  border-radius: var(--radius-xl); padding: 28px 24px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  position: relative; overflow: hidden; min-height: 240px;
}
.cat-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gf-blue);
  opacity: 0; transition: opacity .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D7DCFF; }
.cat-card:hover::after { opacity: 1; }
.cat-card-icon { width: 88px; height: 88px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.cat-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-card-icon--noimg { font-size: 32px; color: var(--gf-blue); }
.cat-card-title { font-weight: 800; font-size: 20px; line-height: 1.2; color: var(--gf-text); margin-bottom: 8px; letter-spacing: -0.01em; }
.cat-card-sub {
  font-size: 14px; line-height: 1.55; color: var(--gf-text-body);
  margin-bottom: 16px; flex: 1 1 auto;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.cat-card-count {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--gf-blue);
  background: var(--gf-blue-50); padding: 6px 12px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: background .2s ease;
}
.cat-card:hover .cat-card-count { background: var(--gf-blue-100); }
.cat-card-count::after { content: "→"; font-size: 14px; }

/* ===== Guide cards ===== */
.guide-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }

.guide-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--gf-border);
  border-radius: var(--radius-xl); padding: 24px;
  min-height: 220px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D7DCFF; }
.guide-card-icon { width: 56px; height: 56px; }
.guide-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.guide-card-badge {
  display: inline-block; align-self: flex-start;
  background: var(--gf-blue-50); color: var(--gf-blue);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.guide-card h3 { font-weight: 800; font-size: 18px; color: var(--gf-text); line-height: 1.3; }
.guide-card p {
  font-size: 14px; color: var(--gf-text-body); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.guide-card-arrow { margin-top: auto; color: var(--gf-blue); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 15px; color: var(--gf-text-muted); padding: 20px 0 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--gf-text-muted); font-weight: 500; transition: color .15s; }
.breadcrumb a:hover { color: var(--gf-blue); text-decoration: underline; }
.breadcrumb-sep { color: #CBD5E1; }
.breadcrumb [aria-current="page"] { color: var(--gf-text); font-weight: 600; }

/* ===== Page head (section / category) ===== */
.page-head { display: flex; align-items: center; gap: 28px; padding: 40px 0 48px; border-bottom: 1px solid var(--gf-border); margin-bottom: 48px; }
.page-head-icon { width: 120px; height: 120px; object-fit: contain; flex-shrink: 0; }
.page-head h1 { font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--gf-text); letter-spacing: -0.015em; margin-bottom: 8px; }
.page-head p { font-size: 17px; line-height: 1.55; color: var(--gf-text-body); max-width: 640px; margin: 0; }

@media (max-width: 640px) {
  .page-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 0 32px; margin-bottom: 32px; }
  .page-head-icon { width: 80px; height: 80px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 15px; }
}

/* ===== Category page header ===== */
.cat-header {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0 40px;
}
.cat-header-icon { width: 112px; height: 112px; flex-shrink: 0; }
.cat-header-icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-header h1 { font-weight: 800; font-size: 40px; color: var(--gf-text); line-height: 1.1; margin-bottom: 6px; }
.cat-header p { font-size: 16px; color: var(--gf-text-muted); }
@media (max-width: 640px) {
  .cat-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cat-header-icon { width: 80px; height: 80px; }
  .cat-header h1 { font-size: 32px; }
}

/* ===== Article page layout ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 16px 0 64px;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
}

.article-sidebar { position: static; }
.article-sidebar-desktop { display: none; }
@media (min-width: 1024px) {
  .article-sidebar-desktop { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; }
}
.article-sidebar h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gf-text-muted); margin-bottom: 14px; }
.article-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 32px; }
.article-sidebar li a {
  display: block; padding: 10px 14px;
  font-size: 14px; color: var(--gf-text-body);
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.35;
}
.article-sidebar li a:hover { background: var(--gf-blue-50); color: var(--gf-blue); }
.article-sidebar li.active a {
  background: var(--gf-blue-50);
  color: var(--gf-blue);
  border-left-color: var(--gf-blue);
  font-weight: 700;
}
.article-toc-mobile {
  display: block;
  background: #fff;
  border: 1px solid var(--gf-border);
  border-radius: var(--radius-xl);
  padding: 20px 20px 8px;
  margin: 0 0 32px 0;
}
.article-toc-mobile h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gf-text-muted); margin-bottom: 10px;
}
@media (min-width: 1024px) { .article-toc-mobile { display: none; } }

.article-toc { list-style: none; padding: 0; margin: 0 0 32px 0; display: flex; flex-direction: column; gap: 2px; counter-reset: none; }
.article-toc li a {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  font-size: 14px; color: var(--gf-text-body);
  border-radius: 8px;
  transition: background .15s, color .15s;
  line-height: 1.35;
}
.article-toc li a:hover { background: var(--gf-blue-50); color: var(--gf-blue); }
.article-toc-num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gf-text); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; margin-top: 1px; }
.article-toc-title { flex: 1 1 auto; font-weight: 600; }
.article-toc li a:hover .article-toc-num { background: var(--gf-blue); }

.article-sidebar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.article-sidebar-chip {
  font-size: 12px; font-weight: 600;
  background: #fff; border: 1px solid var(--gf-border);
  color: var(--gf-text-body);
  padding: 6px 12px; border-radius: 999px;
  transition: all .15s;
}
.article-sidebar-chip:hover { border-color: var(--gf-blue); color: var(--gf-blue); background: var(--gf-blue-50); }

/* mobile collapsed sidebar */
.article-sidebar-mobile { display: block; margin-bottom: 24px; }
.article-sidebar-mobile summary { cursor: pointer; background: #fff; border: 1px solid var(--gf-border); border-radius: var(--radius-lg); padding: 14px 18px; font-weight: 700; font-size: 14px; color: var(--gf-text); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.article-sidebar-mobile summary::-webkit-details-marker { display: none; }
.article-sidebar-mobile summary::after { content: '\25BE'; color: var(--gf-text-muted); }
.article-sidebar-mobile[open] summary::after { content: '\25B4'; }
.article-sidebar-mobile .article-sidebar { padding: 16px 4px 4px; }
@media (min-width: 1024px) { .article-sidebar-mobile { display: none; } }

.article-content { min-width: 0; max-width: 760px; }
.article-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gf-blue); margin-bottom: 14px; }
.article-content h1 { font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--gf-text); margin-bottom: 16px; }
.article-content .article-sub { font-size: 18px; color: var(--gf-text-body); line-height: 1.55; margin-bottom: 36px; }
.article-embed { margin: 8px 0 40px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }

.article-cta {
  margin-top: 20px;
  background: var(--gf-yellow);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.article-cta-text h4 { font-weight: 800; font-size: 20px; color: var(--gf-text); margin-bottom: 4px; }
.article-cta-text p { font-size: 14px; color: var(--gf-text-body); }
.article-cta-btn {
  background: var(--gf-text); color: #fff;
  padding: 14px 24px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.article-cta-btn:hover { background: #1f2937; }

/* ===== Article text version (gf-guide) ===== */
.gf-guide { background: var(--gf-bg); padding: 48px 32px; border-radius: var(--radius-xl); margin-bottom: 32px; }
.gf-guide * { box-sizing: border-box; }
.gf-guide-wrap { max-width: 100%; }

.gf-guide-intro { margin-bottom: 48px; padding-bottom: 28px; border-bottom: 2px solid var(--gf-blue); }
.gf-guide-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gf-blue); margin: 0 0 12px 0; }
.gf-guide-lead { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--gf-text); margin: 0; }

.gf-phase { margin-bottom: 48px; scroll-margin-top: 96px; }
.gf-phase:last-child { margin-bottom: 0; }
.gf-phase-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.gf-phase-num { font-size: 20px; font-weight: 800; color: var(--gf-blue); flex-shrink: 0; min-width: 32px; }
.gf-phase-h2 { font-size: 24px; font-weight: 800; line-height: 1.25; color: var(--gf-blue); margin: 0; letter-spacing: -0.005em; }
.gf-phase-intro { font-size: 16px; font-weight: 400; line-height: 1.6; color: var(--gf-text-body); margin: 0 0 20px 48px; }

.gf-steps { margin: 0 0 0 48px; padding: 0; list-style: none; counter-reset: gfstep; }
.gf-steps > li { position: relative; padding: 0 0 16px 36px; counter-increment: gfstep; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--gf-text-body); }
.gf-steps > li::before { content: counter(gfstep); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: var(--gf-text); color: #fff; font-size: 12px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }
.gf-steps strong { font-weight: 700; color: var(--gf-text); }
.gf-steps ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.gf-steps ul li { font-size: 15px; line-height: 1.6; color: var(--gf-text-body); margin-bottom: 4px; }

.gf-note { margin: 12px 0 0 0; padding: 12px 16px; background: #fff; border-left: 3px solid var(--gf-yellow); border-radius: 4px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--gf-text-body); }
.gf-note strong { font-weight: 700; color: var(--gf-blue); }

@media (max-width: 640px) {
  .gf-guide { padding: 32px 20px; }
  .gf-phase-h2 { font-size: 20px; }
  .gf-phase-intro, .gf-steps { margin-left: 0; }
  .gf-phase-head { gap: 12px; }
}

/* ===== Recommended section ===== */
.recommended { padding: 56px 0 80px; border-top: 1px solid var(--gf-border); background: #fff; }
.recommended h2 { font-weight: 800; font-size: 28px; color: var(--gf-text); margin-bottom: 28px; }

/* ===== Footer ===== */
.footer { background: #fafafa; color: var(--gf-text-body); }
.footer-top { padding: 48px 24px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; gap: 48px; grid-template-columns: 1fr; }
.footer-brand p { font-size: 16px; line-height: 1.6; color: var(--gf-text-body); margin-top: 20px; max-width: 520px; }
.footer-brand-logo img { width: 160px; height: auto; }
.footer-col h3 { font-size: 20px; font-weight: 700; color: var(--gf-text); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.footer-col h3 span { color: var(--gf-blue); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-links a { font-size: 16px; color: var(--gf-text-body); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--gf-blue); }
.footer-bottom { border-top: 1px solid var(--gf-border); background: #eeeeee; padding: 24px; text-align: center; }
.footer-copy { font-size: 13px; color: #6b7280; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 7fr 5fr; }
  .footer-brand, .footer-col { text-align: left; }
}
@media (max-width: 767px) {
  .footer-brand, .footer-col { text-align: center; }
  .footer-col h3 { justify-content: center; }
  .footer-brand-logo img { margin: 0 auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
}

/* ===== Empty state (search) ===== */
.empty-state { text-align: center; padding: 48px 16px; color: var(--gf-text-muted); display: none; }
.empty-state.visible { display: block; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--gf-text); margin-bottom: 6px; }
.is-hidden { display: none !important; }

/* ===== Utility ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Responsive type ===== */
@media (min-width: 768px) {
  .hero h1 { font-size: 64px; }
  .hero-sub { font-size: 19px; }
  .section-header h2 { font-size: 40px; }
  .article-content h1 { font-size: 48px; }
  .cat-header h1 { font-size: 48px; }
  .recommended h2 { font-size: 32px; }
}
