/* ============================================================
   MOCK PRACTICE — MAIN STYLESHEET
   Sections:
   1.  CSS Custom Properties (Design Tokens)
   2.  Reset & Base
   3.  Layout Utilities
   4.  Site Header & Navigation
   5.  Hero
   6.  Page Shell (two-column grid)
   7.  Utility Row (search + pills)
   8.  Featured Card
   9.  Post Cards Grid
   10. Sidebar & Side Sections
   11. Article / Blog-Details Page
   12. Article Hero Media
   13. Article Body Typography
   14. Article Utility Boxes (lead, note, toc, quote)
   15. FAQ Block
   16. Author Box
   17. Recent Posts Grid
   18. Comment Section
   19. Footer
   20. Responsive Overrides
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap");

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  /* ── Fonts ── */
  --font-body: "Nunito", sans-serif;
  --font-heading: "Sora", sans-serif;
  --font-ui: "Sora", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* ── Type scale ── */
  --text-xs: clamp(0.72rem, 0.69rem + 0.14vw, 0.8rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.16vw, 0.95rem);
  --text-base: clamp(1rem, 0.98rem + 0.14vw, 1.05rem);
  --text-lg: clamp(1.2rem, 1.08rem + 0.45vw, 1.5rem);
  --text-xl: clamp(1.9rem, 1.6rem + 1vw, 2.5rem);

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* ══════════════════════════════════════════════
     EXACT COLOR THEME — sampled from reference UI
     ══════════════════════════════════════════════ */

  /* Backgrounds */
  --bg: #fdf1e5; /* warm cream — dominant page bg */
  --surface: #fef4ea; /* slightly lifted cream */
  --surface-2: #fffaf4; /* near-white warm */
  --panel: #ffffff; /* pure white — cards */
  --featured: #ffffff; /* card bg */

  /* Borders / dividers */
  --line: rgba(190, 138, 138, 0.2); /* dusty rose border */
  --line-soft: rgba(190, 138, 138, 0.1);
  --line-strong: rgba(190, 138, 138, 0.32);

  /* Text */
  --text: #3d3a4a; /* dark muted navy-purple — nav/headings */
  --text-muted: #767889; /* mid grey-purple — subtext */
  --text-faint: #aaa8b8; /* faint grey-purple */

  /* Accent — dusty rose/mauve pill color extracted from image */
  --accent-pill: #c28e8d; /* dusty rose — pill borders & filled pills */
  --accent-pill-2: #d4a8a6; /* lighter blush */
  --accent-soft: rgba(194, 142, 141, 0.13);
  --brand-blue: #3a4065; /* deep navy-blue — featured card bg */
  --brand-yellow: #c9953a; /* warm amber */
  --brand-green: #7aaa8a; /* soft mint */
  --quote-bg: rgba(58, 64, 101, 0.05);

  --shadow-sm: 0 4px 20px rgba(61, 58, 74, 0.07);
  --shadow-md: 0 14px 40px rgba(61, 58, 74, 0.1);

  /* Radii */
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Layout */
  --content: 1360px;
  --article: 780px;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 700;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}
h4 {
  font-weight: 600;
}
h5,
h6 {
  font-weight: 500;
}

button,
input,
textarea,
select,
label,
nav a,
.badge,
.pill {
  font-family: var(--font-ui);
}

p,
li,
span,
small {
  color: var(--text);
}

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

.text-faint {
  color: var(--text-faint);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -40px;
  background: var(--text);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  z-index: 20;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ============================================================
   3. Layout Utilities
   ============================================================ */
.container {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

/* Narrow reading width used on blog-details article sections */
.article-container {
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   4. Site Header & Navigation
   ============================================================ */
.site-header {
  padding: 28px 0 18px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Brand mark */
.brand {
  display: inline-flex;
  align-items: center;
  color: #47201f;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.55rem;
  width: fit-content;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.brand-mark::before {
  inset: 2px 9px 9px 2px;
  border-right: 0;
}

.brand-mark::after {
  inset: 9px 2px 2px 9px;
  border-left: 0;
}

/* Primary nav */
.nav-links {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
}

/* Shared hover transitions */
.nav-links a,
.theme-toggle,
.mini-link,
.load-more,
.read-link,
.footer-nav a,
.back-link,
.text-link,
.faq details summary {
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.theme-toggle:hover,
.mini-link:hover,
.load-more:hover,
.read-link:hover,
.footer-nav a:hover,
.back-link:hover,
.text-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Header CTA buttons */
.header-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    filter 150ms ease,
    transform 150ms ease;
}

.btn-header:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-primary {
  background: #47201f;
  color: #fff;
}

.btn-secondary {
  background: var(--brand-blue);
  color: #fff;
}

.mobile-menu-check,
.mobile-menu-toggle,
.mobile-menu-overlay,
.mobile-side-menu {
  display: none;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2f4273;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ============================================================
   5. Page Hero / Breadcrumb Section (index.php)
   ============================================================ */

/* Screen-reader only 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;
}

.page-hero {
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    var(--bg) 60%,
    rgba(194, 142, 141, 0.1) 100%
  );
}
/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.bc-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.bc-link:hover {
  color: var(--text);
}

.bc-sep {
  color: var(--text-faint);
  font-size: 16px;
}

.bc-current {
  color: var(--text);
}

/* Hero two-column layout */
.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* Left text block */
.hero-eyebrow {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: rgba(194, 142, 141, 0.14);
  color: #9a6e6e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(194, 142, 141, 0.28);
  font-family: var(--font-ui);
}

.hero-badge--blue {
  background: rgba(58, 64, 101, 0.1);
  color: var(--brand-blue);
  border-color: rgba(58, 64, 101, 0.2);
}

.hero-headline {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 2vw + 1.5rem, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--text);
}

.hero-headline-sub {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.hero-desc {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 44ch;
}

.exam-shortcuts-section {
  background: #faf2e5;
  padding: 18px 0;
  border-top: 1px solid #eaded0;
  border-bottom: 1px solid #eaded0;
}

.exam-shortcuts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.exam-shortcuts-section--legacy {
  display: none;
}

.exam-shortcuts-section--more {
  padding-top: 0;
}

.exam-shortcuts-row--more {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exam-shortcut-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid rgba(102, 117, 143, 0.55);
  border-radius: 999px;
  background: #ffffff;
  color: #2f3441;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 12px rgba(61, 58, 74, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.exam-shortcut-card::before {
  display: none;
}

.exam-shortcut-card:hover {
  background: #fffdf9;
  border-color: #4a5d82;
  color: #182033;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 18px rgba(61, 58, 74, 0.12);
  transform: translateY(-2px);
}

.exam-shortcut-card:focus-visible {
  outline: 3px solid rgba(74, 93, 130, 0.22);
  outline-offset: 2px;
}

.exam-shortcut-icon {
  display: none;
}

.exam-shortcut-title {
  min-width: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.exam-shortcut-arrow {
  display: none;
}

/* Right search block */
.hero-search-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-search-form {
  width: 100%;
}

.hero-search-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(61, 58, 74, 0.16);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(92, 80, 77, 0.06);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.hero-search-inner:focus-within {
  border-color: rgba(61, 58, 74, 0.32);
  box-shadow: 0 4px 24px rgba(92, 80, 77, 0.1);
}

.hero-search-icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--text-faint);
}

.hero-search-inner input {
  flex: 1;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.hero-search-inner input::placeholder {
  color: var(--text-faint);
}

.hero-search-btn {
  flex-shrink: 0;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid rgba(190, 138, 138, 0.1);
  background: #531f1e;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: filter 150ms ease;
}

.hero-search-btn:hover {
  filter: brightness(1.08);
}

/* Quick filter tags below search */
.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hq-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.hq-tag {
  height: 100%;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(61, 58, 74, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.hq-tag:hover,
.hq-tag.active {
  background: var(--accent-pill);
  color: #fff;
  border-color: transparent;
}

/* Search results notice */
.search-results-notice {
  display: none;
  padding: 12px 16px;
  background: rgba(194, 142, 141, 0.07);
  border: 1px solid rgba(194, 142, 141, 0.14);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.search-results-notice.visible {
  display: block;
}

/* No results state */
.no-results-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--text-faint);
  text-align: center;
}

.no-results-msg.visible {
  display: flex;
}

.no-results-msg p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Featured title and post title links */
.featured-title a,
.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.featured-title a:hover,
.post-title a:hover {
  color: var(--brand-blue);
}

/* ============================================================
   6. Page Shell
   ============================================================ */
.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
  padding-top: var(--space-10);
  padding-bottom: var(--space-20);
}

.main-column,
.article-main {
  min-width: 0;
}

/* ============================================================
   7. Utility Row (search + category pills)
   ============================================================ */
.utility-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: 34px;
}

.utility-label,
.section-label {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.search-box input {
  width: min(100%, 310px);
  height: 46px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.62);
  padding: 0 14px;
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

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

.search-box input:focus {
  border-color: var(--line);
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.pill,
.crumb-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill {
  background: rgba(194, 142, 141, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.crumb-pill {
  background: rgba(194, 142, 141, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.meta-pill {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  color: var(--text-muted);
}

/* ============================================================
   8. Featured Card (index.php)
   ============================================================ */
.featured-card {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  background: var(--featured);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-height: 290px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
}

.featured-media {
  background: linear-gradient(135deg, #c1d2e7 0%, #d3e4f0 50%, #dce8f2 100%);
  padding: var(--space-2);
  border-right: 1px solid rgba(61, 58, 74, 0.12);
}
.featured-media img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-visual {
  height: 100%;
  min-height: 288px;
  border-radius: 4px;
  background: linear-gradient(135deg, #bed1e8 0%, #cdddf0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  overflow: hidden;
  position: relative;
}

/* Phone mockups inside featured visual */
.phone {
  width: 108px;
  height: 206px;
  border-radius: 20px;
  background: #3a4065;
  box-shadow: 0 14px 28px rgba(8, 24, 74, 0.18);
  position: relative;
  padding: 14px 10px;
  color: rgba(255, 255, 255, 0.95);
}

.phone.light {
  background: linear-gradient(180deg, #c28e8d 0%, #ffffff 30%, #fffaf8 100%);
  color: #7a3050;
}

.phone.dark {
  background: linear-gradient(180deg, #3a4065 0%, #2a3055 62%, #1e2240 100%);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-ui {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  font-size: 9px;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.phone.light .bar {
  background: rgba(37, 66, 132, 0.14);
}

.row-balance {
  display: flex;
  gap: 8px;
}

.row-balance .bar:first-child {
  flex: 1;
}

.row-balance .bar:last-child {
  width: 36px;
}

.card-list {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.card-line {
  height: 26px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.phone.light .card-line {
  background: rgba(36, 61, 132, 0.08);
}

.featured-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.meta-top,
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-category {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(190, 138, 138, 0.2);
  color: var(--text-muted);
  background: rgba(194, 142, 141, 0.08);
  font-family: var(--font-ui);
  font-weight: 600;
}

.featured-topic {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 700;
}

.featured-title,
.post-title {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.featured-title {
  font-size: clamp(1.7rem, 1.3rem + 0.7vw, 2.1rem);
  max-width: 14ch;
  line-height: 1.18;
}

.featured-excerpt,
.post-excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 58ch;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.read-link .icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}

/* ============================================================
   9. Post Cards Grid (index.php)
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.post-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.prep-exams-section {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  margin: 16px 0 10px;
  padding: 24px;
  border: 1px solid #eaded0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 242, 229, 0.96)),
    #faf2e5;
  box-shadow: 0 10px 28px rgba(61, 58, 74, 0.08);
}

.prep-exams-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: #4a130e;
}

.prep-exams-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(74, 19, 14, 0.12);
}

.prep-exams-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(74, 19, 14, 0.09);
  border: 1px solid rgba(74, 19, 14, 0.1);
  color: #4a130e;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.prep-exams-head h2 {
  order: -1;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 0.9vw + 1rem, 1.75rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.prep-exams-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.prep-exam-card.is-hidden {
  display: none;
}

.prep-exam-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 14px 8px;
  border: 1px solid rgba(74, 19, 14, 0.08);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(61, 58, 74, 0.07);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.prep-exam-card:hover {
  border-color: rgba(74, 19, 14, 0.22);
  box-shadow: 0 10px 22px rgba(61, 58, 74, 0.12);
  transform: translateY(-3px);
}

.prep-exam-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
}

.prep-exam-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}

.prep-exams-view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 36px;
  margin: 16px auto 0;
  padding: 8px 18px;
  border: 1px solid #94a1b6;
  border-radius: 999px;
  background: #f8f8fc;
  color: #444653;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.prep-exams-view-more:hover {
  background: #ffffff;
  border-color: #66758f;
  color: #2f3441;
}

.prep-exams-section.is-expanded .prep-exams-view-more {
  display: none;
}

.why-mock-section {
  grid-column: 1 / -1;
  padding: 42px 28px 36px;
  margin: 18px 0 10px;
  border-radius: 16px;
  background: #faf2e5;
  border: 1px solid #eaded0;
  box-shadow: 0 10px 28px rgba(61, 58, 74, 0.08);
}

.why-mock-section h2 {
  margin: 0 0 34px;
  color: var(--text);
  text-align: center;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 900;
}

.why-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-mock-card {
  display: grid;
  justify-items: center;
  align-content: start;
  text-align: center;
  min-width: 0;
  min-height: 220px;
  padding: 28px 20px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(74, 19, 14, 0.08);
  box-shadow: 0 3px 12px rgba(61, 58, 74, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.why-mock-card:hover {
  border-color: rgba(74, 19, 14, 0.22);
  box-shadow: 0 12px 26px rgba(61, 58, 74, 0.14);
  transform: translateY(-4px);
}

.why-mock-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(74, 19, 14, 0.09);
  color: #4a130e;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(74, 19, 14, 0.12);
}

.why-mock-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 900;
}

.why-mock-card p {
  margin: 0;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

.student-success-section {
  grid-column: 1 / -1;
  overflow: hidden;
  margin: 18px 0 10px;
  padding: 32px 0 34px;
  border-radius: 16px;
  background: #faf2e5;
  border: 1px solid #eaded0;
  box-shadow: 0 10px 28px rgba(61, 58, 74, 0.08);
}

.student-success-head {
  padding: 0 26px 22px;
}

.student-success-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #4a130e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-success-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 1vw + 1rem, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 900;
}

.student-success-slider {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.student-success-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 4px 26px 8px;
  animation: studentSuccessScroll 34s linear infinite;
}

.student-success-slider:hover .student-success-track {
  animation-play-state: paused;
}

.student-story-card {
  display: grid;
  align-content: space-between;
  flex: 0 0 292px;
  min-height: 260px;
  padding: 22px 22px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 19, 14, 0.1);
  box-shadow: 0 4px 16px rgba(61, 58, 74, 0.08);
}

.student-stars {
  color: #c89612;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.student-story-card p {
  margin: 0;
  color: #352840;
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
}

.student-story-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.student-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4a130e;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.student-story-author strong,
.student-story-author small {
  display: block;
}

.student-story-author strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.student-story-author small {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
}

.not-found-page {
  padding: 72px 0 36px;
}

.not-found-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 28px;
  border-radius: 18px;
  background: #faf2e5;
  border: 1px solid #eaded0;
  text-align: center;
  box-shadow: 0 12px 30px rgba(61, 58, 74, 0.08);
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 44px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #4a130e;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.not-found-card h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.8rem, 1.2vw + 1.4rem, 2.5rem);
  letter-spacing: 0;
}

.not-found-card p {
  max-width: 48ch;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.not-found-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: #4a130e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.not-found-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(74, 19, 14, 0.18);
}

@keyframes studentSuccessScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Thumbnail variants */
.thumb {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #d6d1cd;
  position: relative;
}

.thumb.yellow {
  background: #e8bc18;
}

.thumb.dark {
  background: #212632;
}

.thumb.code {
  background: linear-gradient(180deg, #2f2f31 0%, #171717 100%);
}

.thumb.lightbulb {
  background: radial-gradient(
    circle at 50% 30%,
    #60362e 0 12%,
    #101014 46%,
    #08090d 100%
  );
}

.thumb.lab {
  background: linear-gradient(180deg, #8da7ba 0%, #2b3946 100%);
}

.thumb.photo {
  background: linear-gradient(180deg, #c4b39d 0%, #8c6e4f 100%);
}

.thumb-title-card {
  display: grid;
  place-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(250, 242, 229, 0.94)),
    #faf2e5;
  color: #251a33;
  border: 1px solid rgba(74, 19, 14, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(61, 58, 74, 0.07);
  transform: none;
}

.thumb-title-card.yellow,
.thumb-title-card.lightbulb {
  background:
    linear-gradient(135deg, rgba(255, 252, 233, 0.92), rgba(250, 242, 229, 0.96)),
    #fff8df;
}

.thumb-title-card.dark,
.thumb-title-card.lab {
  background:
    linear-gradient(135deg, rgba(240, 244, 255, 0.94), rgba(250, 242, 229, 0.9)),
    #f4f7ff;
}

.thumb-title-bg {
  display: none;
}

.thumb-title-card::before {
  display: none;
}

.thumb-title-card::after {
  display: none;
}

.thumb-title-bg::before,
.thumb-title-bg::after {
  display: none;
}

.thumb-title-bg::before {
  width: 86px;
  height: 86px;
  right: -28px;
  top: -28px;
}

.thumb-title-bg::after {
  width: 58px;
  height: 58px;
  left: -20px;
  bottom: -18px;
}

.thumb-title-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
  padding: 14px;
}

.thumb-title-category {
  align-self: flex-start;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(74, 19, 14, 0.08);
  color: #4a130e;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thumb-title-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  color: #251a33;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.thumb-title-footer {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
  color: rgba(37, 26, 51, 0.66);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.thumb-title-card.yellow .thumb-title-category,
.thumb-title-card.lightbulb .thumb-title-category {
  background: rgba(74, 19, 14, 0.08);
  color: #4a130e;
}

.thumb-title-card.yellow .thumb-title-text,
.thumb-title-card.lightbulb .thumb-title-text,
.thumb-title-card.yellow .thumb-title-footer,
.thumb-title-card.lightbulb .thumb-title-footer {
  color: #251a33;
  text-shadow: none;
}

.thumb-title-card.yellow::before,
.thumb-title-card.lightbulb::before {
  display: none;
}

.thumb-title-card.auto-thumb-1 {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 217, 61, 0.62) 0 22%, transparent 23%),
    linear-gradient(135deg, #fff4b8 0%, #fff9dc 50%, #ffffff 100%);
  border-color: rgba(201, 152, 10, 0.28);
  color: #4c3510;
}

.thumb-title-card.auto-thumb-2 {
  background:
    radial-gradient(circle at 86% 12%, rgba(151, 120, 255, 0.28) 0 24%, transparent 25%),
    linear-gradient(135deg, #f1eaff 0%, #fbf8ff 54%, #ffffff 100%);
  border-color: rgba(120, 86, 203, 0.24);
  color: #32205f;
}

.thumb-title-card.auto-thumb-3 {
  background:
    radial-gradient(circle at 12% 88%, rgba(71, 194, 132, 0.3) 0 24%, transparent 25%),
    linear-gradient(145deg, #e6fff2 0%, #f5fff9 58%, #ffffff 100%);
  border-color: rgba(36, 142, 91, 0.24);
  color: #174d33;
}

.thumb-title-card.auto-thumb-4 {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 139, 94, 0.3) 0 24%, transparent 25%),
    linear-gradient(135deg, #ffe7dc 0%, #fff6ef 52%, #ffffff 100%);
  border-color: rgba(196, 84, 45, 0.24);
  color: #6b2b19;
}

.thumb-title-card.auto-thumb-5 {
  background:
    radial-gradient(circle at 84% 82%, rgba(66, 133, 244, 0.28) 0 28%, transparent 29%),
    linear-gradient(135deg, #e5f2ff 0%, #f6fbff 56%, #ffffff 100%);
  border-color: rgba(57, 96, 175, 0.24);
  color: #1e3f77;
}

.thumb-title-card.auto-thumb-6 {
  background:
    radial-gradient(circle at 82% 18%, rgba(237, 96, 139, 0.26) 0 23%, transparent 24%),
    linear-gradient(135deg, #ffe8f0 0%, #fff7fa 55%, #ffffff 100%);
  border-color: rgba(190, 61, 102, 0.22);
  color: #6c2440;
}

.thumb-title-card.auto-thumb-7 {
  background:
    radial-gradient(circle at 84% 18%, rgba(34, 196, 201, 0.28) 0 23%, transparent 24%),
    linear-gradient(135deg, #e2fbff 0%, #f4feff 54%, #ffffff 100%);
  border-color: rgba(22, 132, 148, 0.23);
  color: #15525c;
}

.thumb-title-card[class*="auto-thumb-"] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(61, 58, 74, 0.09);
}

.thumb-title-card.auto-thumb-1::before,
.thumb-title-card.auto-thumb-3::before,
.thumb-title-card.auto-thumb-5::before,
.thumb-title-card.auto-thumb-6::before {
  display: none;
}

.thumb-title-card.auto-thumb-2::after,
.thumb-title-card.auto-thumb-4::after,
.thumb-title-card.auto-thumb-7::after {
  content: "";
  display: block;
  position: absolute;
  width: 72px;
  height: 72px;
  right: -24px;
  top: -24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.thumb-title-card.auto-thumb-2 .thumb-title-category {
  background: rgba(87, 55, 160, 0.1);
  color: #4e2c91;
}

.thumb-title-card.auto-thumb-2 .thumb-title-text,
.thumb-title-card.auto-thumb-2 .thumb-title-footer {
  color: #32205f;
}

.thumb-title-card.auto-thumb-3 .thumb-title-category,
.thumb-title-card.auto-thumb-5 .thumb-title-category {
  background: rgba(24, 88, 92, 0.1);
  color: #18585c;
}

.thumb-title-card.auto-thumb-4 .thumb-title-category {
  background: rgba(172, 65, 38, 0.11);
  color: #7e2a1c;
}

.thumb-title-card.auto-thumb-7 .thumb-title-category {
  background: rgba(22, 132, 148, 0.11);
  color: #15525c;
}

.thumb-title-card[class*="auto-thumb-"] .thumb-title-text {
  color: currentColor;
}

.thumb-title-card[class*="auto-thumb-"] .thumb-title-footer {
  color: color-mix(in srgb, currentColor 68%, transparent);
}

.thumb-inner,
.thumb-graph,
.thumb-screen,
.thumb-code,
.thumb-bulb,
.thumb-lab,
.thumb-photo {
  position: absolute;
  inset: 0;
}

.thumb-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lock device */
.device {
  width: 120px;
  height: 64px;
  border-radius: 10px;
  background: #1b173d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  position: relative;
  display: grid;
  place-items: center;
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 9px;
  height: 28px;
  border-radius: 6px;
  background: #08112a;
}

.device::before {
  left: -7px;
}

.device::after {
  right: -7px;
}

.lock {
  width: 22px;
  height: 18px;
  border-radius: 4px;
  border: 3px solid #fff;
  border-top: 0;
  position: relative;
}

.lock::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 11px;
  border: 3px solid #fff;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

/* Graph thumb */
.thumb-graph {
  background:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.08) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.08) 95%);
  background-size:
    100% 34px,
    34px 100%;
}

.thumb-graph::before {
  content: "GraphQ";
  position: absolute;
  right: 10px;
  bottom: 34px;
  color: #ff4e85;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.thumb-graph::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 52px;
  width: 46px;
  height: 46px;
  border: 4px solid #ff4e85;
  border-radius: 10px;
  transform: rotate(45deg);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.75;
}

/* Code thumb */
.thumb-code {
  padding: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.5;
  font-family: "DM Sans", sans-serif;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px
  );
  background-size: 100% 18px;
}

/* Screen / photo / lab thumbs */
.thumb-screen::before,
.thumb-screen::after,
.thumb-lab::before,
.thumb-lab::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.thumb-screen::before {
  width: 96px;
  height: 62px;
  background: #ece4db;
  top: 30px;
  left: 34px;
  box-shadow: 0 10px 20px rgba(41, 29, 22, 0.2);
}

.thumb-screen::after {
  width: 74px;
  height: 10px;
  background: #6d5845;
  bottom: 32px;
  left: 45px;
  border-radius: 999px;
}

.thumb-photo::before {
  content: "";
  position: absolute;
  inset: 18px 16px 30px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ebdfd4 0%, #d6b996 100%);
  box-shadow: 0 8px 20px rgba(65, 45, 28, 0.18);
}

.thumb-photo::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #c2935e;
  right: 18px;
  bottom: 18px;
}

.thumb-bulb::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 88px;
  border: 4px solid #ffc06a;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 2px rgba(255, 170, 60, 0.08),
    0 0 28px rgba(255, 170, 60, 0.28);
}

.thumb-bulb::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 150px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  border-left: 4px solid #31b7ff;
  border-right: 4px solid #31b7ff;
  border-radius: 46px;
  opacity: 0.82;
}

.thumb-lab::before {
  width: 90px;
  height: 54px;
  background: #3c505d;
  left: 22px;
  bottom: 30px;
  box-shadow: 0 10px 24px rgba(15, 22, 28, 0.2);
}

.thumb-lab::after {
  width: 52px;
  height: 52px;
  background: #9fb9c8;
  right: 22px;
  top: 40px;
  border-radius: 50%;
}

.post-body {
  min-width: 0;
  padding-top: 2px;
}

.post-title {
  font-size: 1.1rem;
  line-height: 1.22;
  margin: 8px 0 10px;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.load-more-wrap {
  text-align: center;
  padding: 54px 0 12px;
}

.load-more {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   10. Sidebar & Side Sections (shared by both pages)
   ============================================================ */
.sidebar {
  position: sticky;
  top: 22px;
  align-self: start;
}

/* index.php sidebar uses .side-stack; blog-details uses .side-panel */
.side-stack,
.side-panel {
  display: grid;
  gap: 22px;
}

.side-section {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.side-section:last-child {
  border-bottom: 0;
}

.side-title {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.plain-list a {
  color: inherit;
}

.plain-stack {
  display: grid;
  gap: 12px;
}

/* Sidebar search */
.search input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(61, 58, 74, 0.12);
  background: rgba(255, 255, 255, 0.56);
  padding: 0 14px;
  outline: none;
}

/* Mini card (promo/ad) */
.mini-card {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(61, 58, 74, 0.1);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.ad-card {
  background: linear-gradient(
    160deg,
    rgba(194, 142, 141, 0.09),
    rgba(201, 149, 58, 0.1),
    rgba(255, 255, 255, 0.28)
  );
}

.ad-badge,
.small-label {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ad-badge {
  background: rgba(58, 64, 101, 0.12);
  color: var(--brand-blue);
}

.small-label {
  background: rgba(194, 142, 141, 0.15);
  color: #9a6e6e;
}

.ad-title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

.ad-copy,
.newsletter-copy,
.tiny-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Tags in sidebar */
.sidebar-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar .pill,
.tag {
  background: rgba(194, 142, 141, 0.72);
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

/* Trend / comment items */
.comment-item,
.trend-item {
  display: grid;
  gap: 4px;
}

.comment-name,
.mini-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ── Enhanced Trending List ── */
.trend-item {
  position: relative;
  display: block;
  gap: 0;
}

.trend-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 120ms ease;
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--line-soft);
  margin-bottom: 6px;
}

.trend-item a::before {
  content: "↗";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(194, 142, 141, 0.12);
  color: var(--accent-pill);
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.trend-item a:hover {
  background: rgba(194, 142, 141, 0.08);
  border-color: rgba(194, 142, 141, 0.22);
  color: var(--text);
  transform: translateX(2px);
}

.trend-item a:hover::before {
  background: var(--accent-pill);
  color: #fff;
  transform: rotate(45deg);
}

/* Side title with trend icon */
.side-title {
  display: flex;
  align-items: center;
  margin: 0 0 14px;
  font-size: var(--text-sm);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-family: var(--font-heading);
}

/* Sidebar newsletter */
.newsletter-form,
.newsletter {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-form input,
.newsletter input {
  height: 44px;
  border: 1px solid rgba(61, 58, 74, 0.12);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  padding: 0 14px;
  outline: none;
}

.newsletter-form button,
.newsletter button {
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-pill);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Quick links grid */
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

/* Side links list */
.side-list a {
  color: var(--text);
  font-weight: 700;
}

/* ── Sidebar: Top Rated List ── */
.rated-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.rated-item {
  display: block;
}

.rated-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 150ms ease;
}

.rated-link:hover {
  background: rgba(255, 255, 255, 0.52);
}

.rated-rank {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-faint);
  min-width: 20px;
  font-variant-numeric: tabular-nums;
}

.rated-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.rated-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
}

/* ── Sidebar: Exam Category Grid ── */
.exam-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.exam-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(61, 58, 74, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
}

.exam-cat-btn:hover,
.exam-cat-btn.active {
  background: var(--accent-pill);
  color: #fff;
  border-color: transparent;
}

/* ── Sidebar icons in title ── */
.side-title svg {
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ── Ad CTA button ── */
.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
  transition: opacity 160ms ease;
}

.ad-cta:hover {
  opacity: 0.75;
}

/* ============================================================
   11. Blog-Details: Article Hero / Breadcrumb
   ============================================================ */
.article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0 44px;
  isolation: isolate;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url("../assets/images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(11px);
  transform: scale(1.06);
  z-index: -2;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(254, 244, 234, 0.93) 0%,
    rgba(253, 241, 229, 0.9) 60%,
    rgba(194, 142, 141, 0.22) 100%
  );
  z-index: -1;
}

.article-hero-inner {
  max-width: var(--article);
}

.article-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.post-title-large {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-weight: 800;
  max-width: 22ch;
}

.post-subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 58ch;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.meta-dot {
  color: var(--text-faint);
}

/* ============================================================
   12. Article Overview Image (single, replaces multi-image)
   ============================================================ */
.overview-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #c1d2e7 0%, #dce8f2 50%, #cfd8e8 100%);
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}

.overview-image-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 32px 32px 36px;
  min-height: 280px;
}

/* Left stats/progress block */
.ov-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ov-stat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ov-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(61, 58, 74, 0.1);
  border-radius: 12px;
  min-width: 76px;
}

.ov-stat strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.ov-stat span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.ov-progress-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ov-prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.ov-prog-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(61, 58, 74, 0.12);
  overflow: hidden;
}

.ov-prog-fill {
  height: 100%;
  width: 74%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pill), #d4a8a6);
  width: 88%;
  background: linear-gradient(90deg, var(--brand-blue), #5a9ec4);
}

.ov-fill-3 {
  width: 58%;
  background: linear-gradient(90deg, #c9953a, #e0b560);
}

/* Right device mockup */
.ov-device {
  flex-shrink: 0;
}

.ov-screen {
  width: 160px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #c28e8d 0%, #fdf1e5 32%, #fff9f4 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(12, 28, 60, 0.16);
}

.ov-screen-header {
  height: 36px;
  background: linear-gradient(180deg, #c28e8d 0%, #a87070 100%);
  position: relative;
}

.ov-screen-header::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.ov-screen-body {
  padding: 14px 12px;
  display: grid;
  gap: 8px;
}

.ov-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(61, 58, 74, 0.1);
  width: var(--w, 70%);
}

.ov-card {
  height: 28px;
  border-radius: 8px;
  background: rgba(61, 58, 74, 0.07);
}

.ov-card--accent {
  background: rgba(228, 160, 174, 0.28);
}

/* ============================================================
   13. Article Body Typography
   ============================================================ */
.article-body {
  background: transparent;
}

.article-body p {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.82; /* generous for study reading */
  max-width: none;
  letter-spacing: 0.01em;
}

.article-body h2 {
  margin: 44px 0 16px;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: var(--text);
  font-weight: 800;
  font-family: var(--font-heading);
}

.article-body h3 {
  margin: 30px 0 12px;
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-heading);
}

.article-body ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.article-body li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.article-body li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-pill);
  position: absolute;
  left: 0;
  top: 11px;
}

/* Blockquote */
blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent-pill);
  background: rgba(194, 142, 141, 0.06);
  color: var(--text);
  font-size: 1.06rem;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
}

/* ============================================================
   14. Article Utility Boxes
   ============================================================ */
.lead-box,
.note-box,
.toc-box,
.author-box {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(61, 58, 74, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  margin: 28px 0;
}

.lead-box {
  background: var(--quote-bg);
  border-color: rgba(194, 142, 141, 0.16);
}

.lead-box p,
.note-box p,
.toc-box p,
.author-box p {
  margin: 0;
}

/* Label badge (used in many boxes) */
.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: #9a6e6e;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
}

/* Table of contents */
.toc-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.toc-list a {
  color: var(--text);
  font-weight: 700;
}

/* ============================================================
   15. FAQ Block
   ============================================================ */
.faq {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(190, 138, 138, 0.18);
}

.faq-header {
  margin-bottom: 18px;
}

.faq-accordion {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(190, 138, 138, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(61, 58, 74, 0.05);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #3d3a4a;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #c28e8d;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2);
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer-inner {
  color: #4b5563;
  line-height: 1.75;
}

.faq-answer-inner > *:first-child {
  margin-top: 0;
}

.faq-answer-inner > *:last-child {
  margin-bottom: 0;
}

.faq-answer-inner p,
.faq-answer-inner ul,
.faq-answer-inner ol,
.faq-answer-inner blockquote {
  margin-bottom: 14px;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
  padding-left: 20px;
}

.faq-item[open] .faq-question {
  border-bottom: 1px solid rgba(190, 138, 138, 0.1);
  background: rgba(255, 250, 244, 0.72);
}

/* ============================================================
   16. Author Box
   ============================================================ */
.author-box {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 34px;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(194, 142, 141, 0.22),
    rgba(212, 168, 166, 0.38)
  );
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 800;
}

.author-box h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================================
   17. Recent Posts Grid (blog-details)
   ============================================================ */
.recent-posts,
.comment-wrap {
  margin-top: 52px;
}

.recent-posts h2,
.comment-wrap h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.recent-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(61, 58, 74, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.recent-thumb {
  aspect-ratio: 16 / 10;
  background: #ddd6cf;
  position: relative;
}

.recent-title-thumb {
  display: grid;
  place-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 242, 229, 0.96)),
    #faf2e5;
}

.recent-title-thumb::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #4a576f, #c28e8d, #e8bc18);
}

.recent-title-thumb::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -44px;
  bottom: -54px;
  border-radius: 50%;
  background: rgba(74, 87, 116, 0.07);
}

.recent-title-thumb-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 18px;
}

.recent-title-category {
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(74, 19, 14, 0.07);
  color: #4a130e;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-title-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 14px 0;
  color: #251a33;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.recent-title-mark {
  color: rgba(37, 26, 51, 0.56);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-thumb.one {
  background: linear-gradient(
    135deg,
    #e8bd18 0%,
    #f3d76b 42%,
    #3e2c79 43%,
    #261d50 100%
  );
}

.recent-thumb.two {
  background: linear-gradient(135deg, #1b1d26 0%, #384052 100%);
}

.recent-thumb.three {
  background: linear-gradient(135deg, #c7b39a 0%, #e7d5c2 38%, #8c98ab 100%);
}

.recent-content {
  padding: 16px;
}

.recent-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.recent-post-title {
  display: block;
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 700;
}

.recent-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================
   18. Comment Section (blog-details)
   ============================================================ */
.comment-list {
  display: grid;
  gap: 12px;
}

.comment-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(61, 58, 74, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.comment-card strong {
  color: var(--text);
}

.comment-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================
   19. Footer
   ============================================================ */
.site-footer {
  padding: 0 0 56px;
  margin-top: 64px;
}

.footer-divider {
  border-top: 1px solid var(--line-soft);
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Col 1: Brand */
.footer-col-brand {
}

.footer-brand-name {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-pill);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-decoration: none;
  font-family: var(--font-heading);
}

.footer-tagline {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 34ch;
}

.footer-copyright {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
}

/* Col 2 & 3: Generic column */
.footer-col {
}

.footer-col-heading {
  margin: 0 0 16px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col-list a {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-col-list a:hover {
  color: var(--text);
}

/* Col 3: Newsletter */
.footer-newsletter-copy {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.footer-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-form input {
  flex: 1;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.6);
  padding: 0 14px;
  font-size: var(--text-sm);
  color: var(--text);
  outline: none;
}

.footer-form input::placeholder {
  color: var(--text-faint);
}

.footer-form input:focus {
  border-color: rgba(74, 87, 116, 0.3);
}

.footer-form button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-pill);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 150ms ease;
}

.footer-form button:hover {
  filter: brightness(1.08);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-muted {
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-email {
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-email:hover {
  color: var(--text);
}

/* ============================================================
   20a. Missing / Added Classes
   ============================================================ */

/* ── hero-text-block (left column of hero) ── */
.hero-text-block {
  display: flex;
  flex-direction: column;
}

/* ── featured-img (when blog has an image in featured card) ── */
.featured-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* ── Pagination ── */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 36px 0 8px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-ui);
  text-decoration: none;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    transform 120ms ease;
}

.page-btn:hover {
  background: rgba(194, 142, 141, 0.1);
  border-color: rgba(194, 142, 141, 0.3);
  color: var(--text);
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--accent-pill);
  border-color: transparent;
  color: #fff;
  font-weight: 800;
}

.page-ellipsis,
.page-ellipsis:hover {
  pointer-events: none;
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
}

/* ============================================================
   Free GK PDF page
   ============================================================ */
.gkpdf-hero {
  padding: 34px 0 24px;
  background: #fff9f1;
  border-bottom: 1px solid rgba(74, 19, 14, 0.08);
}

.gkpdf-hero-copy {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: 18px;
}

.gkpdf-hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.gkpdf-hero-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.gkpdf-page {
  padding: 34px 0 64px;
}

.gkpdf-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(61, 58, 74, 0.06);
}

.gkpdf-filter-field {
  display: grid;
  gap: 7px;
}

.gkpdf-filter label {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.gkpdf-filter input,
.gkpdf-filter select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  outline: none;
}

.gkpdf-filter input:focus,
.gkpdf-filter select:focus {
  border-color: rgba(74, 19, 14, 0.3);
}

.gkpdf-filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.gkpdf-filter button,
.gkpdf-filter-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.gkpdf-filter-actions a {
  background: rgba(74, 87, 116, 0.1);
  color: var(--text);
}

.gkpdf-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.gkpdf-results-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.gkpdf-results-head span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.gkpdf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gkpdf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7eaf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(38, 45, 69, 0.08);
}

.gkpdf-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f1e5, #e8f1ff);
  color: var(--text);
  text-align: center;
  font-weight: 800;
  padding: 18px;
}

.gkpdf-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gkpdf-thumb b {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  min-height: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #3b2fb2;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.gkpdf-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.gkpdf-card h3 {
  margin: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
}

.gkpdf-card p {
  margin: 0;
  color: #5b6478;
  font-size: 14px;
  line-height: 1.6;
}

.gkpdf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  margin-top: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #3e2cab, #5ba4ee);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(65, 63, 184, 0.22);
}

/* ============================================================
   20. Responsive Overrides
   ============================================================ */
@media (max-width: 1160px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .gkpdf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gkpdf-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
    padding-top: 0;
  }

  .side-stack,
  .side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prep-exams-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-content-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-desc {
    max-width: 56ch;
  }

  .hero-search-block {
    max-width: 560px;
  }
}

@media (max-width: 960px) {
  .hero-visual,
  .footer-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .prep-exams-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-mock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .hero-device-area {
    padding-bottom: 8px;
  }

  .footer-right {
    justify-self: start;
  }

  .overview-image-inner {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .ov-device {
    display: none;
  }
}

@media (max-width: 920px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-media {
    border-right: 0;
    border-bottom: 1px solid rgba(61, 58, 74, 0.12);
  }

  .posts-grid,
  .side-stack,
  .side-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .gkpdf-grid {
    grid-template-columns: 1fr;
  }

  .gkpdf-filter {
    grid-template-columns: 1fr;
  }

  .gkpdf-results-head {
    align-items: start;
    flex-direction: column;
  }

  /* .container,
  .article-container {
    width: min(calc(100% - 28px), var(--content));
  } */

  .nav-bar {
    flex-wrap: wrap;
    gap: 14px;
  }

  .header-btns {
    margin-left: auto;
  }

  .page-hero {
    padding: 20px 0 36px;
  }

  .breadcrumb-nav {
    margin-bottom: 20px;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .exam-shortcuts-row {
    gap: 12px;
  }

  .exam-shortcut-card {
    min-height: 34px;
    padding: 6px 14px;
  }

  .exam-shortcut-icon {
    display: none;
  }

  .hero-search-inner input {
    font-size: 0.875rem;
  }

  .intro {
    padding-top: 26px;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 18px;
  }

  .post-title-large {
    font-size: 2rem;
  }

  .hero-copy-card {
    padding: 20px;
  }

  .hero-device-area {
    gap: 14px;
  }

  .screen {
    width: 150px;
    height: 260px;
  }

  .screen-small {
    width: 124px;
    height: 224px;
  }

  .featured-content {
    padding: 22px 18px 20px;
  }

  .featured-title {
    font-size: 1.45rem;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .thumb {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-form input,
  .footer-form button,
  .newsletter-form button,
  .newsletter button {
    width: 100%;
  }

  .hero-search-inner {
    flex-wrap: wrap;
    border-radius: 10px;
  }

  .hero-search-btn {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(61, 58, 74, 0.12);
    border-radius: 0 0 9px 9px;
  }

  .side-stack,
  .side-panel {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   21. UI REFINEMENT — Borders, Spacing, Radius & Responsive
   Design philosophy: sober, consistent, every border has purpose.
   Border color: --line (soft) for cards, --line-strong for dividers.
   Border radius scale: 8px (small), 12px (base), 16px (card), 20px (large).
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(253, 241, 229, 0.97);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 1px 12px rgba(61, 58, 74, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-bar {
  padding: 0;
}

/* Brand — left accent bar */
.brand {
  padding-left: 10px;
  border-left: 3px solid var(--accent-pill);
}

/* Header buttons */
.btn-header {
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13.5px;
}

.btn-primary {
  border: 1px solid rgba(194, 142, 141, 0.45);
  box-shadow: 0 1px 6px rgba(194, 142, 141, 0.18);
}

.btn-secondary {
  border: 1px solid rgba(58, 64, 101, 0.4);
  box-shadow: 0 1px 6px rgba(58, 64, 101, 0.14);
}

/* ─────────────────────────────────────────────────────────────
   HERO — index.php
───────────────────────────────────────────────────────────── */
.page-hero {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line-strong);
}

/* Breadcrumb */
.breadcrumb-nav {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

/* Hero two-column */
.hero-content-wrap {
  gap: 48px;
}

/* Shortcut strip */
.exam-shortcuts-section {
  border-top: 1px solid var(--line-soft);
}

/* Search block — card */
.hero-search-block {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(61, 58, 74, 0.07);
  gap: 14px;
}

/* Search inner */
.hero-search-inner {
  border: 1px solid rgba(61, 58, 74, 0.16);
  border-radius: 10px;
}

/* Quick tags divider */
.hero-quick-tags {
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid var(--line-soft);
}

/* ─────────────────────────────────────────────────────────────
   ARTICLE HERO — blog-details.php
───────────────────────────────────────────────────────────── */
.article-hero {
  padding: 30px 0 44px;
  border-bottom: 1px solid var(--line-strong);
}

.article-hero .breadcrumb-nav {
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.post-meta-row {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--line-soft);
}

/* ─────────────────────────────────────────────────────────────
   PAGE SHELL — two-column grid
───────────────────────────────────────────────────────────── */
.page-shell {
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 64px;
}

/* Sidebar vertical divider */
.page-shell > .sidebar {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

/* ─────────────────────────────────────────────────────────────
   FEATURED CARD
───────────────────────────────────────────────────────────── */
.featured-card {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 2px 16px rgba(61, 58, 74, 0.08);
  position: relative;
}

/* Top accent line */
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-pill) 0%,
    var(--brand-blue) 100%
  );
  opacity: 0.55;
  z-index: 1;
}

.featured-media {
  border-right: 1px solid var(--line);
}

.featured-content {
  padding: 28px 26px 24px;
  gap: 10px;
}

/* ─────────────────────────────────────────────────────────────
   POSTS GRID
───────────────────────────────────────────────────────────── */
.posts-grid {
  gap: 20px 28px;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

/* Section separator above grid */
.main-column > .posts-grid {
  padding-top: 6px;
}

/* Post card */
.post-card {
  padding: 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 1px 8px rgba(61, 58, 74, 0.04);
  gap: 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.post-card:hover {
  border-color: rgba(190, 138, 138, 0.36);
  box-shadow: 0 6px 24px rgba(61, 58, 74, 0.1);
  transform: translateY(-2px);
}

.post-body {
  padding-top: 0;
}

/* Search results notice */
.search-results-notice {
  border: 1px solid rgba(194, 142, 141, 0.26);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

/* ─────────────────────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────────────────────── */
.pagination-wrap {
  padding-top: 28px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  gap: 6px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────
   SIDEBAR — shared (index + blog-details)
───────────────────────────────────────────────────────────── */
.side-stack,
.side-panel {
  gap: 14px;
}

/* Each section is a self-contained card */
.side-section {
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(61, 58, 74, 0.04);
}

/* Remove old bottom-only divider */
.side-section {
  border-bottom: 1px solid var(--line);
}

.side-section:last-child {
  border-bottom: 1px solid var(--line);
}

/* Section title — inner divider */
.side-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  gap: 6px;
}

/* Rated list */
.rated-list {
  gap: 2px;
}

.rated-link {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition:
    background 140ms ease,
    border-color 140ms ease;
}

.rated-link:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-soft);
}

.rated-link.active {
  background: rgba(194, 142, 141, 0.09);
  border-color: rgba(194, 142, 141, 0.28);
}

/* Exam category pills */
.exam-cat-grid {
  gap: 6px;
  padding-top: 2px;
}

.exam-cat-btn {
  height: 28px;
  padding: 0 11px;
  font-size: 11.5px;
  border-radius: 6px;
  border: 1px solid rgba(61, 58, 74, 0.14);
}

/* Trending list */
.trend-item a {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--line-soft);
}

.trend-item a:hover {
  background: rgba(194, 142, 141, 0.07);
  border-color: rgba(194, 142, 141, 0.2);
}

/* Ad / mini card */
.mini-card {
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 10px rgba(61, 58, 74, 0.06);
}

.ad-card {
  border: 1px solid rgba(194, 142, 141, 0.28);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line on ad card */
.ad-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pill), var(--brand-yellow));
  opacity: 0.55;
}

/* ─────────────────────────────────────────────────────────────
   ARTICLE OVERVIEW IMAGE
───────────────────────────────────────────────────────────── */
.overview-image {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(61, 58, 74, 0.09);
}

.overview-image-inner {
  padding: 28px 28px 28px 32px;
  gap: 20px;
}

/* ─────────────────────────────────────────────────────────────
   ARTICLE BODY
───────────────────────────────────────────────────────────── */
.article-body {
  padding-top: 28px;
}

/* Utility boxes */
.lead-box,
.note-box,
.toc-box {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}

/* Author box */
.author-box {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 8px rgba(61, 58, 74, 0.05);
  margin-top: 32px;
  gap: 14px;
}

/* ─────────────────────────────────────────────────────────────
   FAQ BLOCK
───────────────────────────────────────────────────────────── */
.faq {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.faq-accordion {
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(190, 138, 138, 0.16);
  border-radius: 12px;
}

.faq-item[open] {
  border-color: rgba(190, 138, 138, 0.28);
  box-shadow: 0 2px 12px rgba(194, 142, 141, 0.08);
}

.faq-question {
  padding: 16px 18px;
  font-size: 0.97rem;
}

.faq-answer {
  padding: 0 18px 18px;
}

/* ─────────────────────────────────────────────────────────────
   RECENT POSTS (blog-details)
───────────────────────────────────────────────────────────── */
.recent-posts {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.recent-grid {
  gap: 18px;
  margin-top: 16px;
}

.recent-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(61, 58, 74, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.recent-card:hover {
  border-color: rgba(190, 138, 138, 0.3);
  box-shadow: 0 6px 22px rgba(61, 58, 74, 0.09);
  transform: translateY(-2px);
}

.recent-thumb {
  border-bottom: 1px solid var(--line-soft);
}

.recent-content {
  padding: 14px 14px 16px;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 56px;
  padding: 0 0 52px;
  border-top: 1px solid var(--line-strong);
  background: rgba(253, 241, 229, 0.55);
}

.footer-divider {
  margin-top: 0;
  margin-bottom: 44px;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  gap: 0;
  column-gap: 0;
  position: relative;
}

/* Brand column */
.footer-col-brand {
  padding-right: 40px;
  border-right: 1px solid var(--line);
}

/* Middle column */
.footer-grid > .footer-col:nth-child(2) {
  padding: 0 36px;
  border-right: 1px solid var(--line);
}

/* Last column */
.footer-grid > .footer-col:nth-child(3) {
  padding-left: 36px;
}

.footer-col-heading {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

/* Footer list item separators */
.footer-col-list {
  gap: 0;
}

.footer-col-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}

.footer-col-list li:last-child {
  border-bottom: none;
}

/* Newsletter form */
.footer-form {
  gap: 7px;
  margin-bottom: 18px;
}

.footer-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 40px;
}

.footer-form input:focus {
  border-color: var(--accent-pill);
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 142, 141, 0.1);
}

.footer-form button {
  height: 40px;
  border-radius: 8px;
  padding: 0 16px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 1160px (sidebar collapses below content)
───────────────────────────────────────────────────────────── */
@media (max-width: 1160px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 52px;
  }

  .page-shell > .sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .side-stack,
  .side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 1024px
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-search-block {
    max-width: 100%;
    padding: 18px 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 920px (featured card stacks, footer 2-col)
───────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .featured-card {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .featured-media {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 200px;
  }

  .featured-content {
    padding: 20px 18px 18px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Footer — 2-col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
    margin-bottom: 0;
  }

  .footer-grid > .footer-col:nth-child(2) {
    padding: 24px 24px 0 0;
    border-right: 1px solid var(--line);
  }

  .footer-grid > .footer-col:nth-child(3) {
    padding: 24px 0 0 24px;
  }

  /* Sidebar 2-col on tablet */
  .side-stack,
  .side-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-image-inner {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }

  .ov-device {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 760px (mobile)
───────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .site-header {
    padding: 12px 0;
  }

  .header-btns {
    gap: 8px;
  }

  .btn-header {
    height: 34px;
    padding: 0 13px;
    font-size: 12.5px;
  }

  .page-hero {
    padding: 22px 0 32px;
  }

  .article-hero {
    padding: 20px 0 32px;
  }

  .breadcrumb-nav {
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 12px;
  }

  .exam-shortcuts-section {
    padding: 14px 0 8px;
  }

  .exam-shortcuts-row {
    gap: 8px;
  }

  .exam-shortcut-card {
    min-height: 32px;
    padding: 6px 12px;
  }

  .exam-shortcut-card::before {
    display: none;
  }

  .exam-shortcut-icon {
    display: none;
  }

  .exam-shortcut-title {
    font-size: 13px;
  }

  .exam-shortcut-arrow {
    display: none;
  }

  .hero-search-block {
    padding: 14px 14px;
    border-radius: 12px;
    gap: 12px;
  }

  .post-card {
    padding: 12px 12px 14px;
    gap: 12px;
    border-radius: 10px;
  }

  .prep-exams-section {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .prep-exams-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .prep-exams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .prep-exam-card {
    min-height: 102px;
    padding: 10px 6px;
  }

  .prep-exam-title {
    font-size: 11px;
  }

  .prep-exam-desc {
    font-size: 10px;
  }

  .why-mock-section {
    padding: 32px 16px 28px;
  }

  .student-success-section {
    padding: 28px 0 30px;
  }

  .student-success-head {
    padding: 0 18px 18px;
  }

  .student-success-track {
    gap: 12px;
    padding: 4px 18px 8px;
  }

  .student-story-card {
    flex-basis: 260px;
    min-height: 250px;
    padding: 18px;
  }

  .why-mock-grid {
    gap: 28px 18px;
  }

  .page-shell {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .page-shell > .sidebar {
    padding-top: 20px;
  }

  .side-stack,
  .side-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .side-section {
    padding: 14px 14px 16px;
    border-radius: 10px;
  }

  .author-box {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
    border-radius: 10px;
  }

  .recent-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-question {
    padding: 14px 15px;
  }

  .faq-answer {
    padding: 0 15px 16px;
  }

  .pagination-wrap {
    padding-top: 20px;
    gap: 5px;
  }

  .page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 7px;
  }

  .site-footer {
    padding-bottom: 36px;
  }

  .footer-divider {
    margin-bottom: 28px;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 560px (small mobile)
───────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-btns {
    margin-left: auto;
  }

  .btn-header {
    height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .hero-search-inner {
    flex-wrap: wrap;
    border-radius: 9px;
  }

  .hero-search-btn {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--line-soft);
    border-radius: 0 0 8px 8px;
  }

  .hero-search-block {
    padding: 12px 12px;
    border-radius: 10px;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .post-body {
    gap: 7px;
  }

  .post-meta {
    gap: 5px;
    font-size: 10px;
  }

  .post-title {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .post-excerpt {
    display: none;
  }

  .read-link {
    font-size: 11px;
  }

  .thumb {
    aspect-ratio: 4 / 3;
  }

  .thumb-title-text {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .prep-exams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-mock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-mock-card p {
    max-width: 100%;
  }

  .why-mock-card {
    min-height: 190px;
    padding: 20px 10px 18px;
  }

  .why-mock-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    font-size: 20px;
  }

  .why-mock-card h3 {
    font-size: 0.9rem;
  }

  .why-mock-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .student-story-card {
    flex-basis: 238px;
  }

  .thumb {
    aspect-ratio: 16 / 9;
  }

  .thumb-title-content {
    padding: 14px;
  }

  .thumb-title-text {
    font-size: 18px;
    -webkit-line-clamp: 3;
  }

  .featured-content {
    padding: 16px 16px 18px;
  }

  .featured-title {
    font-size: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col-brand {
    grid-column: auto;
  }

  .footer-grid > .footer-col:nth-child(2) {
    padding: 20px 0 0;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .footer-grid > .footer-col:nth-child(3) {
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-form input,
  .footer-form button {
    width: 100%;
  }

  .overview-image-inner {
    padding: 16px 14px;
  }

  .ov-stat-row {
    gap: 7px;
  }

  .ov-stat {
    padding: 8px 10px;
    min-width: 66px;
  }

  .side-section {
    padding: 12px 12px 14px;
  }

  .mini-card {
    padding: 12px 12px 14px;
    border-radius: 10px;
  }

  .article-body {
    padding-top: 22px;
  }

  .faq {
    margin-top: 30px;
    padding-top: 22px;
  }

  .recent-posts {
    margin-top: 32px;
    padding-top: 24px;
  }

  .recent-content {
    padding: 12px 12px 14px;
  }
}
/* ── Tag Pills (post cards + article page) ── */

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-full, 999px);
  background: rgba(194, 142, 141, 0.1);
  border: 1px solid rgba(194, 142, 141, 0.22);
  color: var(--text-muted, #767889);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    background 150ms ease,
    color 150ms ease,
    border-color 150ms ease;
  text-decoration: none;
  white-space: normal;
}

.post-tag:hover {
  background: var(--accent-pill, #c28e8d);
  border-color: var(--accent-pill, #c28e8d);
  color: #fff;
}

/* Tags shown in article hero */
.article-button {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
  display: flex;
}

.custom-blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #511f1e;
  color: #fff;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
  box-shadow: var(--shadow-sm);
}

.custom-blog-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.article-tags .post-tag {
  height: 24px;
  padding: 0 12px;
  font-size: 12px;
}

/* Blog details page card */
.article-main .article-book-page {
  position: relative;
  padding: 34px 34px 38px;
  margin-bottom: 34px;
  border: 1px solid rgba(61, 58, 74, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(61, 58, 74, 0.07);
}

.article-main .article-book-page p {
  color: #241a33;
  font-size: 1.02rem;
  line-height: 1.95;
}

.article-main .article-book-page h1,
.article-main .article-book-page h2,
.article-main .article-book-page h3,
.article-main .article-book-page h4,
.article-main .article-book-page h5,
.article-main .article-book-page h6 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  font-family: var(--font-heading);
}

.article-main .article-book-page h1 {
  color: #4a130e;
  font-size: 1.75rem;
}

.article-main .article-book-page h2 {
  color: #4b49a5;
  font-size: 1.5rem;
}

.article-main .article-book-page h3 {
  color: #1f6f5b;
  font-size: 1.25rem;
}

.article-main .article-book-page h4 {
  color: #8a4a08;
  font-size: 1.12rem;
}

.article-main .article-book-page h5 {
  color: #8a2f58;
  font-size: 1.02rem;
}

.article-main .article-book-page h6 {
  color: #315a8a;
  font-size: 0.95rem;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .article-main .article-book-page {
    padding: 22px 18px 26px;
    border-radius: 12px;
  }

  .article-main .article-book-page p {
    font-size: 0.98rem;
    line-height: 1.82;
  }
}

@media (max-width: 760px) {
  .site-header .nav-bar {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .site-header .header-btns {
    display: none;
  }

  .brand {
    font-size: 1.35rem;
  }

  .mobile-menu-check {
    position: fixed;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 10px;
    border: 1px solid rgba(74, 19, 14, 0.16);
    background: #fffaf4;
    color: #4a130e;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(61, 58, 74, 0.07);
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-menu-overlay {
    display: none;
  }

  .mobile-side-menu {
    position: fixed;
    inset: 0;
    z-index: 199;
    display: flex;
    flex-direction: column;
    width: 100vw;
    min-height: 100vh;
    padding: 18px 22px 22px;
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.95), rgba(253, 241, 229, 0.98)),
      #fdf1e5;
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 240ms ease,
      opacity 180ms ease;
  }

  .mobile-menu-check:checked ~ .mobile-menu-overlay {
    display: none;
  }

  .mobile-menu-check:checked ~ .mobile-side-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(190, 138, 138, 0.18);
  }

  .mobile-side-brand {
    color: #47201f;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    text-decoration: none;
  }

  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fffaf4;
    border: 1px solid rgba(74, 19, 14, 0.14);
    color: #4a130e;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-side-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0 18px;
    border-bottom: 1px solid rgba(190, 138, 138, 0.18);
  }

  .mobile-side-actions .btn-header {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    font-size: 13px;
  }

  .mobile-side-links {
    display: grid;
    gap: 10px;
    padding: 20px 0;
  }

  .mobile-side-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(74, 19, 14, 0.1);
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(61, 58, 74, 0.06);
  }

  .mobile-side-links a:hover {
    background: #fffaf4;
    border-color: rgba(74, 19, 14, 0.18);
  }

  .mobile-side-contact {
    margin-top: auto;
    padding: 18px 16px 16px;
    border-top: 1px solid rgba(190, 138, 138, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(74, 19, 14, 0.08);
  }

  .mobile-side-contact p {
    margin: 0 0 8px;
    color: #4a130e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-side-contact a {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-side-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 14px;
  }

  .mobile-side-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #4a130e;
    color: #fff;
    text-decoration: none;
  }
}
