/* =========================================================
   Literasi Web — design tokens
   ========================================================= */
:root {
  --paper: #fbf7ef;
  --paper-deep: #f3ecdd;
  --card: #fffdf8;
  --ink: #1e2a24;
  --ink-soft: #3c4a42;
  --muted: #6f776f;
  --line: #e5dcc9;
  --green: #1f6f54;
  --green-dark: #134b39;
  --green-soft: #e2f0e8;
  --amber: #d98b2b;
  --amber-soft: #fdf0d9;
  --blue: #4058a8;
  --blue-soft: #e7ebfa;
  --rose: #b4515f;
  --rose-soft: #fbe8eb;
  --shadow-sm: 0 2px 6px rgba(40, 52, 44, 0.04);
  --shadow-md: 0 16px 40px rgba(40, 52, 44, 0.09);
  --shadow-lg: 0 30px 70px rgba(40, 52, 44, 0.14);
  --radius: 20px;
  --radius-sm: 13px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(217, 139, 43, 0.07), transparent 26rem),
    radial-gradient(circle at 94% 18%, rgba(31, 111, 84, 0.06), transparent 30rem);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--amber);
  color: #fff;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 84, 0.35);
  outline-offset: 3px;
}

.display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-pad {
  padding: 4.5rem 0;
}

.text-muted-soft {
  color: var(--muted) !important;
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar-lite {
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid rgba(229, 220, 201, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.8rem 0;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.navbar-lite.is-scrolled {
  box-shadow: 0 8px 30px rgba(40, 52, 44, 0.07);
  background: rgba(251, 247, 239, 0.97);
}

.brand-lite {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-lite:hover {
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

.brand-lite small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.1;
}

.nav-lite-link {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-lite-link:hover {
  color: var(--green);
  background: var(--green-soft);
}

.nav-lite-link.is-active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.nav-lite-link.is-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 2px;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* =========================================================
   Buttons & pills
   ========================================================= */
.btn-litera,
.btn-litera-outline,
.btn-litera-ghost {
  --bs-btn-focus-shadow-rgb: 31, 111, 84;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-litera {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 111, 84, 0.18);
}

.btn-litera:hover,
.btn-litera:focus {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31, 111, 84, 0.25);
}

.btn-litera-outline {
  background: transparent;
  border: 1px solid rgba(31, 111, 84, 0.35);
  color: var(--green-dark);
}

.btn-litera-outline:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.btn-litera-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-litera-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.filter-pill {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.filter-pill.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 111, 84, 0.18);
}

.filter-pill .pill-count {
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.filter-pill.is-active .pill-count {
  background: rgba(255, 255, 255, 0.22);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -16rem;
  top: -18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 139, 43, 0.16), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(31, 111, 84, 0.22);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-theme="dark"] .eyebrow {
  background: rgba(91, 191, 154, 0.14);
  border-color: rgba(91, 191, 154, 0.3);
  color: #7ee0bb;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 1.15rem 0 1.1rem;
  max-width: 14ch;
}

.hero-title em {
  font-style: italic;
  color: var(--green);
}

.hero-lead {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
  margin-bottom: 1.6rem;
}

.hero-collage {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(24rem, 90%);
  aspect-ratio: 1;
  border: 1px dashed rgba(31, 111, 84, 0.24);
  border-radius: 50%;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 2.4rem;
  border: 1px dashed rgba(217, 139, 43, 0.28);
  border-radius: 50%;
}

.hero-big-card {
  position: relative;
  z-index: 2;
  width: min(21rem, 84%);
  background: linear-gradient(150deg, var(--green-dark), #237c5f 62%, #3a9d7a);
  border-radius: 26px;
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}

.hero-big-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-big-card .book-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-big-card .book-emoji {
  font-size: 4.4rem;
  line-height: 1;
  margin: 1.6rem 0 1.2rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.2));
}

.hero-big-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.hero-big-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin: 0;
}

.hero-big-card .book-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 1.1rem 0;
}

.hero-mini {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-mini .mini-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--amber-soft);
  font-size: 1rem;
}

.hero-mini small {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.hero-mini.mini-a {
  top: 20%;
  left: -2rem;
  transform: rotate(-3deg);
  animation: float-a 7s ease-in-out infinite;
}

.hero-mini.mini-b {
  bottom: -0.5rem;
  right: -1.75rem;
  transform: rotate(3deg);
  animation: float-b 8s ease-in-out infinite;
}

.hero-mini.mini-c {
  top: 26%;
  right: -1.5rem;
  transform: rotate(2deg);
  animation: float-a 9s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes float-b {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Home sections
   ========================================================= */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  background: var(--card);
  padding: 1.25rem 1.4rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green-dark);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 600;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-kicker {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}

.section-desc {
  color: var(--muted);
  max-width: 38rem;
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
}

.lang-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lang-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 84, 0.35);
  color: var(--ink);
}

.lang-card::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: var(--green-soft);
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.lang-card:hover::after {
  transform: scale(1.15);
}

.lang-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 15px;
  font-size: 1.5rem;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}

.lang-card.lang-en .lang-icon {
  background: var(--amber-soft);
  color: #9a5c10;
}

.lang-card.lang-lampung .lang-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.lang-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
}

.lang-card .lang-native {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.lang-card p {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.lang-card .lang-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.badge-status.is-soon {
  background: var(--paper-deep);
  color: var(--muted);
}

.lang-arrow {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--green);
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-card:hover .lang-arrow {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* =========================================================
   Category cards
   ========================================================= */
.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 84, 0.35);
  color: var(--ink);
}

.category-card.is-empty {
  background: rgba(255, 253, 248, 0.7);
  border-style: dashed;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 15px;
  background: var(--green-soft);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0 0 0.45rem;
}

.category-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 1.3rem;
}

.category-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.category-card:hover .lang-arrow {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

a.filter-pill {
  text-decoration: none;
}

.page-header .breadcrumb-lite {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb-lite a {
  color: rgba(255, 255, 255, 0.72);
}

.page-header .breadcrumb-lite a:hover {
  color: #fff;
}

/* =========================================================
   Article cards
   ========================================================= */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 84, 0.3);
  color: var(--ink);
}

.article-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1f6f54, #2e9e7a);
  isolation: isolate;
}

.article-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.2px),
    linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, 0.13));
  background-size: 16px 16px, 100% 100%;
  opacity: 0.7;
}

.article-cover .cover-emoji {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  transition: transform 0.35s ease;
}

.article-card:hover .cover-emoji {
  transform: scale(1.12) rotate(-3deg);
}

.cover-tag,
.cover-number {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(18, 32, 26, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
}

.cover-tag {
  left: 0.75rem;
}

.cover-number {
  right: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}

.article-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

.article-card-body p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
}

.article-meta .level {
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Tones */
.tone-1 { background: linear-gradient(135deg, #134b39, #2e9e7a); }
.tone-2 { background: linear-gradient(135deg, #9a5c10, #e0a340); }
.tone-3 { background: linear-gradient(135deg, #2b3d7f, #6275cf); }
.tone-4 { background: linear-gradient(135deg, #8c3546, #d57484); }
.tone-5 { background: linear-gradient(135deg, #1d6470, #43a7ae); }
.tone-6 { background: linear-gradient(135deg, #4e3c78, #8c78c4); }

/* =========================================================
   Page headers
   ========================================================= */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #123f30, #1f6f54 60%, #2b8a68);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 82% 15%, rgba(232, 176, 77, 0.34), transparent 22rem);
  background-size: 18px 18px, 100% 100%;
  opacity: 0.8;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 0.7rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
  margin: 0;
}

.page-header .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffe9c4;
}

.page-header .header-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.search-box {
  position: relative;
  max-width: 24rem;
  width: 100%;
}

.search-box .bi {
  position: absolute;
  left: 1rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--muted);
  font-size: 1rem;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.78rem 1rem 0.78rem 2.6rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 111, 84, 0.12);
}

.search-box input::placeholder {
  color: #9aa198;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.result-line {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* =========================================================
   Article detail
   ========================================================= */
.article-hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 2.8rem;
}

.article-hero-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px),
    linear-gradient(130deg, transparent 55%, rgba(255, 255, 255, 0.14));
  background-size: 18px 18px, 100% 100%;
}

.article-hero-cover .cover-emoji {
  position: relative;
  z-index: 1;
  font-size: clamp(5rem, 12vw, 8rem);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.2));
}

.article-hero-cover .cover-number {
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
}

.article-hero-cover .cover-tag {
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
}

.breadcrumb-lite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.breadcrumb-lite a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-lite a:hover {
  color: var(--green);
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.9rem;
}

.article-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 44rem;
  margin-bottom: 1.2rem;
}

.article-meta-lg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.article-meta-lg .level {
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.article-shell {
  padding: 3rem 0 4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 3rem;
  align-items: start;
}

.article-content {
  min-width: 0;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 1.2rem;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.4rem 0 1rem;
  scroll-margin-top: 6rem;
}

.article-content h2::after {
  content: "";
  display: block;
  width: 2.8rem;
  height: 3px;
  border-radius: 999px;
  background: var(--amber);
  margin-top: 0.55rem;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--ink);
  margin: 1.8rem 0 0.7rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.3rem;
  padding-left: 1.3rem;
}

.article-content li {
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
}

.article-content li::marker {
  color: var(--green);
  font-weight: 700;
}

.article-content strong {
  color: var(--ink);
}

.article-content blockquote {
  position: relative;
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem 1.2rem 3.2rem;
  border: 1px solid rgba(31, 111, 84, 0.15);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-soft);
  color: var(--green-dark);
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
}

.article-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 0.55rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(31, 111, 84, 0.4);
}

.article-content blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.callout {
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 0.92rem;
}

.callout.tip {
  background: var(--green-soft);
  border-color: rgba(31, 111, 84, 0.18);
}

.callout.info {
  background: var(--blue-soft);
  border-color: rgba(64, 88, 168, 0.18);
}

.callout.warning {
  background: var(--amber-soft);
  border-color: rgba(217, 139, 43, 0.22);
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Quiz */
.quiz-block {
  margin: 1.6rem 0 2rem;
}

.quiz-intro {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.quiz-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-item[open] {
  border-color: rgba(31, 111, 84, 0.3);
  box-shadow: var(--shadow-sm);
}

.quiz-item summary {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.92rem;
  list-style: none;
}

.quiz-item summary::-webkit-details-marker {
  display: none;
}

.quiz-item summary::before {
  content: "?";
  display: grid;
  place-items: center;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--amber-soft);
  color: #9a5c10;
  font-size: 0.72rem;
  font-weight: 800;
}

.quiz-item summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  margin-left: auto;
  color: var(--muted);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.quiz-item[open] summary::after {
  transform: rotate(180deg);
}

.quiz-answer {
  padding: 0 1rem 0.95rem 3.05rem;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.quiz-answer::before {
  content: "Jawaban: ";
  font-weight: 800;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Glossary */
.glossary {
  margin: 1.6rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}

.glossary h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.7rem;
}

.glossary dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.glossary .gloss-row {
  display: grid;
  grid-template-columns: minmax(6rem, auto) 1fr;
  gap: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.glossary .gloss-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.glossary dt {
  font-weight: 800;
  color: var(--green-dark);
}

.glossary dd {
  margin: 0;
  color: var(--ink-soft);
}

/* Sidebar */
.article-aside {
  position: sticky;
  top: 5.6rem;
  display: grid;
  gap: 1rem;
}

.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.aside-card h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.toc-list a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  padding-left: 0.75rem;
  border-left: 2px solid var(--line);
}

.toc-list a:hover {
  color: var(--green);
  border-left-color: var(--green);
}

.aside-info {
  display: grid;
  gap: 0.55rem;
  font-size: 0.8rem;
}

.aside-info .row-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.aside-info .row-line strong {
  color: var(--ink);
  text-align: right;
  font-weight: 700;
}

.aside-actions {
  display: grid;
  gap: 0.5rem;
}

.aside-actions .btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.55rem 0.8rem;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-nav a:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  color: var(--ink);
}

.article-nav .nav-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-nav .nav-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.article-nav a.next {
  text-align: right;
  align-items: flex-end;
}

.related-section {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 2.5rem;
}

/* =========================================================
   Empty states
   ========================================================= */
.empty-state {
  background: var(--card);
  border: 1px dashed rgba(31, 111, 84, 0.28);
  border-radius: 26px;
  padding: 3.5rem 1.5rem;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.empty-art {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 3rem;
}

.empty-art::after {
  content: "";
  position: absolute;
  inset: -0.55rem;
  border: 1px dashed rgba(31, 111, 84, 0.3);
  border-radius: 50%;
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.empty-state p {
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 1.5rem;
  font-size: 0.94rem;
}

.plan-list {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plan-chip {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--paper-deep);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: #123528;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.5rem;
  margin-top: 1rem;
}

.footer .brand-lite {
  color: #fff;
}

.footer .brand-lite:hover {
  color: #fff;
}

.footer .brand-lite small {
  color: rgba(255, 255, 255, 0.55);
}

.footer .brand-mark {
  background: var(--amber);
}

.footer p {
  font-size: 0.84rem;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer h4 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   Loading, alerts, utilities
   ========================================================= */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 4rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.spinner-lite {
  width: 2.2rem;
  height: 2.2rem;
  border: 3px solid var(--paper-deep);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.alert-lite {
  background: var(--rose-soft);
  border: 1px solid rgba(180, 81, 95, 0.22);
  color: #7c2b38;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
}

.toast-lite {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  translate: -50% 0;
  z-index: 1080;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, translate 0.25s ease;
}

.toast-lite.is-visible {
  opacity: 1;
  translate: -50% -4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--green);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(130deg, #123f30, #1f6f54 62%, #2b8a68);
  border-radius: 28px;
  padding: 2.5rem 2.6rem;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 77, 0.28), transparent 68%);
  pointer-events: none;
}

.cta-copy,
.cta-action {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 38rem;
  margin: 0;
  font-size: 0.92rem;
}

.cta-action {
  flex-shrink: 0;
}

/* =========================================================
   Page header variants
   ========================================================= */
.page-header.page-header-id {
  background: linear-gradient(140deg, #5a2f12, #a8641e 60%, #d08a35);
}

.page-header.page-header-lampung {
  background: linear-gradient(140deg, #1b2f5e, #35549c 60%, #5578c9);
}

.article-content .table {
  font-size: 0.9rem;
  --bs-table-bg: transparent;
}

.article-content .table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Word search grid */
.letter-grid {
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.65rem;
  margin: 1.2rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.letter-row {
  display: grid;
  grid-template-columns: repeat(10, 1.9rem);
}

.letter-row span {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.letter-row:nth-child(even) span:nth-child(even) {
  background: var(--paper-deep);
  border-radius: 4px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-collage {
    min-height: 340px;
    margin-top: 2.5rem;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .article-aside {
    position: static;
  }

  .toc-card {
    display: none;
  }

  .article-hero-cover {
    max-width: 26rem;
    margin: 0 auto 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 3.25rem 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    margin-top: 0;
  }

  .hero-mini {
    display: none;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav a.next {
    text-align: left;
    align-items: flex-start;
  }

  .article-content {
    font-size: 0.98rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-mini {
    font-size: 0.68rem;
    padding: 0.5rem 0.65rem;
  }

  .hero-mini .mini-icon {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.85rem;
  }

  .hero-big-card {
    padding: 1.2rem;
  }

  .hero-big-card .book-emoji {
    font-size: 3.4rem;
    margin: 1.1rem 0 0.9rem;
  }

  .hero-big-card h3 {
    font-size: 1.4rem;
  }

  .letter-row {
    grid-template-columns: repeat(10, 1.6rem);
  }

  .letter-row span {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.7rem;
  }

  .empty-state {
    padding: 2.5rem 1.1rem;
  }

  .page-header {
    padding: 3rem 0 2.6rem;
  }
}

@media print {
  .navbar-lite,
  .footer,
  .article-aside,
  .article-nav,
  .related-section,
  .breadcrumb-lite,
  .article-hero-cover {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article-layout {
    display: block;
  }

  .article-hero {
    border: 0;
    padding: 0;
  }

  .article-shell {
    padding: 0;
  }

  .article-content {
    font-size: 11pt;
  }
}

/* =========================================================
   Theme toggle
   ========================================================= */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

/* =========================================================
   Dark theme
   ========================================================= */
html[data-theme="dark"] {
  --paper: #0f1713;
  --paper-deep: #16211b;
  --card: #1b2a23;
  --ink: #eef4ee;
  --ink-soft: #cdd9d2;
  --muted: #9fb0a6;
  --line: #2a3a32;
  --green: #5bbf9a;
  --green-dark: #8ed9bc;
  --green-soft: #20352c;
  --amber: #e0a340;
  --amber-soft: #3a2f1e;
  --blue: #8a9df5;
  --blue-soft: #232a44;
  --rose: #e08a95;
  --rose-soft: #3a2328;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.65);
}

html[data-theme="dark"] body {
  background-image: none;
}

html[data-theme="dark"] .navbar-lite {
  background: rgba(15, 23, 19, 0.9);
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .navbar-lite.is-scrolled {
  background: rgba(15, 23, 19, 0.97);
}

html[data-theme="dark"] .page-header {
  background: linear-gradient(140deg, #0b2a20, #134b39 60%, #1f6f54);
}

html[data-theme="dark"] .hero::before {
  opacity: 0.35;
}

html[data-theme="dark"] .empty-state {
  background: var(--card);
  border-color: rgba(91, 191, 154, 0.3);
}

html[data-theme="dark"] .category-card.is-empty {
  background: rgba(27, 42, 35, 0.7);
}

html[data-theme="dark"] .letter-row:nth-child(even) span:nth-child(even) {
  background: var(--paper-deep);
}

html[data-theme="dark"] .article-hero {
  background: var(--card);
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .toast-lite {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}

html[data-theme="dark"] .alert-lite {
  background: var(--paper-deep);
  border-color: var(--line);
  color: var(--ink-soft);
}

html[data-theme="dark"] .badge-status.is-soon {
  background: var(--paper-deep);
  color: var(--muted);
}

/* =========================================================
   Mobile usability tweaks
   ========================================================= */
@media (max-width: 767.98px) {
  .theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-bar {
    gap: 0.45rem;
  }

  .filter-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .category-card {
    padding: 1.25rem;
  }

  .page-header h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }
}

@media (max-width: 575.98px) {
  .navbar-lite .btn-litera {
    width: 100%;
    justify-content: center;
  }

  .lang-card,
  .category-card,
  .article-card {
    border-radius: 16px;
  }

  .section-head {
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .cta-band {
    border-radius: 18px;
  }
}

html,
body {
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding-top: 0.75rem;
  }
}


.lang-icon.lang-icon-image {
  object-fit: contain;
  padding: 0.55rem;
  background: var(--blue-soft);
}
