/**
 * Pakistan Law Hub — core design stylesheet.
 *
 * Extracted verbatim from the approved design reference so the rendered
 * theme matches it exactly. Do not restyle here; use the Customizer, which
 * overrides the custom properties below via an inline style block.
 *
 * @package Pakistan_Law_Hub
 */

:root {
  --teal:       #0d9488;
  --teal-dark:  #0f766e;
  --teal-deep:  #115e59;
  --teal-light: #ccfbf1;
  --teal-pale:  #f0fdfa;
  --accent:     #f59e0b;
  --accent-lt:  #fef3c7;
  --indigo:     #6366f1;
  --indigo-lt:  #eef2ff;
  --rose:       #f43f5e;
  --rose-lt:    #fff1f2;
  --sky:        #0ea5e9;
  --sky-lt:     #f0f9ff;
  --text-h:     #0f172a;
  --text-b:     #374151;
  --text-m:     #6b7280;
  --text-lt:    #9ca3af;
  --white:      #ffffff;
  --off-white:  #f8fafb;
  --border:     #e5e7eb;
  --border-t:   #99f6e4;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(13,148,136,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(13,148,136,0.14), 0 4px 16px rgba(0,0,0,0.08);
  --r:          12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--white); color: var(--text-b); line-height: 1.6; overflow-x: hidden; }

/* ── ANIMATIONS ── */
@keyframes fadeUp  { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse   { 0%,100% { transform:scale(1); } 50% { transform:scale(1.04); } }
@keyframes float   { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes shimmer { 0% { background-position:200% center; } 100% { background-position:-200% center; } }
@keyframes countUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes ticker  { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

.anim-1 { animation: fadeUp .7s ease both; }
.anim-2 { animation: fadeUp .7s .12s ease both; }
.anim-3 { animation: fadeUp .7s .24s ease both; }
.anim-4 { animation: fadeUp .7s .36s ease both; }
.anim-5 { animation: fadeUp .7s .48s ease both; }

/* ── ANNOUNCEMENT BAR ── */
.announcement {
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--teal-deep));
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  color: #fff; text-align: center; padding: 9px 20px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px;
}
.announcement a { color: var(--accent); text-decoration: none; font-weight: 600; margin-left: 8px; }

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 4%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.42rem; font-weight: 700;
  color: var(--teal-deep); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(13,148,136,0.3);
  flex-shrink: 0;
}

/* Mega-nav */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: var(--text-b); text-decoration: none;
  font-size: 0.87rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: all .2s; display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { background: var(--teal-pale); color: var(--teal); }
.nav-links > li > a .arrow { font-size: 0.65rem; transition: transform .2s; }
.nav-links > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s; z-index: 300;
}
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--text-b); text-decoration: none; font-size: 0.85rem;
  transition: background .15s;
}
.dropdown a:hover { background: var(--teal-pale); color: var(--teal); }
.dropdown a .dd-icon { font-size: 1rem; width: 22px; text-align: center; }

/* Mega dropdown */
.mega-dropdown {
  position: absolute; top: calc(100% + 8px); left: -120px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  width: 560px; padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s; z-index: 300;
}
.nav-links > li:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-m); padding: 4px 12px 8px;
  grid-column: span 1;
}
/* span all 3 cols for the title row trick – simpler to do per-col */
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--teal); padding: 4px 10px 6px;
  border-bottom: 1px solid var(--teal-light); margin-bottom: 4px;
}
.mega-dropdown a {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px; border-radius: 7px;
  color: var(--text-b); text-decoration: none; font-size: 0.83rem;
  transition: background .15s;
}
.mega-dropdown a:hover { background: var(--teal-pale); color: var(--teal); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-ghost {
  background: transparent; border: 1.5px solid var(--border);
  color: var(--text-b); padding: 7px 18px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: 'Outfit', sans-serif;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none; color: #fff; padding: 7px 20px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 2px 8px rgba(13,148,136,0.3);
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,148,136,0.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--text-h); border-radius: 2px; transition: all .2s; }

/* ── TICKER STRIP ── */
.ticker-strip {
  background: var(--off-white); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 8px 0; display: flex; align-items: center;
}
.ticker-label {
  background: var(--teal); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 14px;
  border-radius: 0 20px 20px 0; white-space: nowrap;
  flex-shrink: 0; margin-right: 16px; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ticker-track { display: flex; animation: ticker 35s linear infinite; gap: 0; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  white-space: nowrap; font-size: 0.8rem; color: var(--text-b);
  padding: 0 30px; display: flex; align-items: center; gap: 8px;
}
.ticker-item::after { content: '•'; color: var(--teal); font-size: 0.7rem; }
.ticker-item a { color: var(--teal); font-weight: 600; text-decoration: none; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--teal-pale) 0%, #fff 55%, #f0feff 100%);
  padding: 80px 4% 70px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-light); color: var(--teal-deep);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-badge span { width:6px; height:6px; background:var(--teal); border-radius:50%; display:inline-block; animation: pulse 2s infinite; }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--text-h);
  line-height: 1.18; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-sub { color: var(--text-m); font-size: 1.02rem; line-height: 1.75; margin-bottom: 28px; max-width: 500px; }

/* Search bar */
.hero-search {
  display: flex; gap: 0; margin-bottom: 28px;
  background: #fff; border: 2px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-md); max-width: 500px;
  transition: border-color .2s;
}
.hero-search:focus-within { border-color: var(--teal); }
.hero-search select {
  border: none; outline: none; padding: 12px 14px;
  font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  color: var(--text-b); background: var(--off-white);
  border-right: 1px solid var(--border); cursor: pointer;
  min-width: 140px;
}
.hero-search input {
  border: none; outline: none; padding: 12px 16px;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  color: var(--text-b); flex: 1; background: #fff;
}
.hero-search button {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none; color: #fff; padding: 0 22px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: opacity .2s;
}
.hero-search button:hover { opacity: 0.9; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; padding: 13px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none;
  box-shadow: 0 4px 18px rgba(13,148,136,0.35); transition: all .25s;
  font-family: 'Outfit', sans-serif;
}
.btn-hero-primary:hover { transform:translateY(-2px); box-shadow: 0 8px 28px rgba(13,148,136,0.42); }
.btn-hero-outline {
  background: transparent; color: var(--teal);
  padding: 13px 30px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: 2px solid var(--border-t); transition: all .25s;
  font-family: 'Outfit', sans-serif;
}
.btn-hero-outline:hover { background: var(--teal-pale); border-color: var(--teal); }
.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px; font-size: 0.82rem; color: var(--text-m);
}
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; margin-left: -8px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff;
}
.trust-avatars span:first-child { margin-left: 0; }

/* Hero right — category grid visual */
.hero-visual { position: relative; animation: float 5s ease-in-out infinite; }
.hero-cat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hcg-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 16px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: all .25s; text-decoration: none;
  display: flex; flex-direction: column; gap: 8px;
}
.hcg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-t); }
.hcg-icon { font-size: 1.6rem; }
.hcg-title { font-family:'Cormorant Garamond',serif; font-size: 0.97rem; font-weight: 700; color: var(--text-h); line-height: 1.3; }
.hcg-count { font-size: 0.75rem; color: var(--text-m); }
.hcg-card.law    { border-top: 3px solid var(--teal); }
.hcg-card.judge  { border-top: 3px solid var(--indigo); }
.hcg-card.jobs   { border-top: 3px solid var(--accent); }
.hcg-card.notes  { border-top: 3px solid var(--rose); }

.hero-float-badge {
  position: absolute; top: -16px; right: -16px;
  background: #fff; border-radius: 14px;
  padding: 11px 15px; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); font-size: 0.8rem;
}
.hfb-label { font-weight: 700; color: var(--text-h); }
.hfb-sub   { color: var(--text-m); font-size: 0.7rem; }
.hero-float-badge2 {
  position: absolute; bottom: -14px; left: -16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: 12px; padding: 10px 16px;
  box-shadow: 0 6px 24px rgba(13,148,136,0.35);
  font-size: 0.8rem; font-weight: 600;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--teal-deep); padding: 38px 4%;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; text-align: center;
}
.stat-item { animation: countUp .6s ease both; }
.stat-item:nth-child(2) { animation-delay:.1s; }
.stat-item:nth-child(3) { animation-delay:.2s; }
.stat-item:nth-child(4) { animation-delay:.3s; }
.stat-item:nth-child(5) { animation-delay:.4s; }
.stat-num { font-family:'Cormorant Garamond',serif; font-size:2.6rem; font-weight:700; color:#fff; line-height:1; margin-bottom:4px; }
.stat-num span { color: var(--accent); }
.stat-desc { color: rgba(255,255,255,0.7); font-size: 0.82rem; }

/* ── SECTION COMMON ── */
.section { padding: 80px 4%; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal-deep);
  padding: 5px 14px; border-radius: 20px; font-size: 0.74rem;
  font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700; color: var(--text-h); line-height: 1.25; margin-bottom: 14px;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-sub { color: var(--text-m); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ── CATEGORY PILLARS (new) ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pillar-card {
  border-radius: 16px; padding: 32px 28px;
  cursor: pointer; transition: all .28s;
  text-decoration: none; display: block;
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.pillar-card::after {
  content: ''; position: absolute;
  top: 0; right: 0; width: 80px; height: 80px;
  border-radius: 0 16px 0 80px;
  opacity: 0.12;
  transition: opacity .28s;
}
.pillar-card:hover { transform: translateY(-5px); }
.pillar-card:hover::after { opacity: 0.22; }
.pillar-card.law-exams    { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.pillar-card.law-exams::after { background: var(--teal); }
.pillar-card.law-exams:hover { box-shadow: 0 12px 40px rgba(13,148,136,0.18); }
.pillar-card.judiciary    { background: linear-gradient(135deg, #eef2ff, #e0e7ff); border-color: #c7d2fe; }
.pillar-card.judiciary::after { background: var(--indigo); }
.pillar-card.judiciary:hover { box-shadow: 0 12px 40px rgba(99,102,241,0.18); }
.pillar-card.job-tests    { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.pillar-card.job-tests::after { background: var(--accent); }
.pillar-card.job-tests:hover { box-shadow: 0 12px 40px rgba(245,158,11,0.18); }
.pillar-card.legal-drafting { background: linear-gradient(135deg, #fff1f2, #ffe4e6); border-color: #fecdd3; }
.pillar-card.legal-drafting::after { background: var(--rose); }
.pillar-card.legal-drafting:hover { box-shadow: 0 12px 40px rgba(244,63,94,0.18); }
.pillar-card.legal-notes  { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-color: #bae6fd; }
.pillar-card.legal-notes::after { background: var(--sky); }
.pillar-card.legal-notes:hover { box-shadow: 0 12px 40px rgba(14,165,233,0.18); }
.pillar-card.general-sub  { background: linear-gradient(135deg, #f5f3ff, #ede9fe); border-color: #ddd6fe; }
.pillar-card.general-sub::after { background: #8b5cf6; }
.pillar-card.general-sub:hover { box-shadow: 0 12px 40px rgba(139,92,246,0.18); }

.pillar-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.pillar-title { font-family:'Cormorant Garamond',serif; font-size:1.3rem; font-weight:700; color:var(--text-h); margin-bottom:8px; }
.pillar-desc  { font-size:0.84rem; color:var(--text-m); line-height:1.65; margin-bottom:16px; }
.pillar-tags  { display:flex; flex-wrap:wrap; gap:6px; }
.pillar-tag   { font-size:0.72rem; font-weight:600; padding:3px 10px; border-radius:20px; background:rgba(255,255,255,0.6); color:var(--text-h); border:1px solid rgba(0,0,0,0.08); }
.pillar-link  { display:inline-flex; align-items:center; gap:5px; font-size:0.84rem; font-weight:700; margin-top:16px; text-decoration:none; color:inherit; }
.pillar-link.teal-link   { color: var(--teal-deep); }
.pillar-link.indigo-link { color: var(--indigo); }
.pillar-link.amber-link  { color: #b45309; }
.pillar-link.rose-link   { color: #be123c; }
.pillar-link.sky-link    { color: #0369a1; }
.pillar-link.purple-link { color: #6d28d9; }

/* ── POPULAR COURSES TAB GRID ── */
.tab-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 36px;
}
.tab-btn {
  background: var(--off-white); border: 1.5px solid var(--border);
  color: var(--text-m); padding: 8px 20px; border-radius: 30px;
  font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: 'Outfit', sans-serif;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--teal); border-color: var(--teal); color: #fff;
}
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }

/* Course card */
.course-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px;
  cursor: pointer; transition: all .25s;
  position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  border-radius: 4px 0 0 4px;
  transform: scaleY(0); transition: transform .25s; transform-origin: bottom;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-t); }
.course-card:hover::before { transform: scaleY(1); }
.cc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.cc-emoji { font-size: 2rem; }
.cc-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.cc-badge.law    { background: var(--teal-light); color: var(--teal-deep); }
.cc-badge.judge  { background: var(--indigo-lt); color: var(--indigo); }
.cc-badge.jobs   { background: var(--accent-lt); color: #92400e; }
.cc-badge.draft  { background: var(--rose-lt); color: #9f1239; }
.cc-badge.gen    { background: #f5f3ff; color: #6d28d9; }
.cc-title { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:700; color:var(--text-h); margin-bottom:4px; line-height:1.3; }
.cc-by { font-size:0.76rem; color:var(--text-m); margin-bottom:14px; }
.cc-meta { display:flex; align-items:center; justify-content:space-between; }
.cc-btn {
  background: var(--teal-pale); color: var(--teal);
  border: none; padding: 7px 15px; border-radius: 7px;
  font-size: 0.79rem; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: 'Outfit', sans-serif;
}
.cc-btn:hover { background: var(--teal); color: #fff; }
.cc-mcqs { font-size: 0.75rem; color: var(--text-lt); }

.view-all-wrap { text-align:center; margin-top:36px; }
.btn-view-all {
  background: transparent; border: 2px solid var(--teal); color: var(--teal);
  padding: 12px 36px; border-radius: 10px; font-size: 0.9rem;
  font-weight: 600; cursor: pointer; transition: all .2s;
  font-family: 'Outfit', sans-serif;
}
.btn-view-all:hover { background: var(--teal); color: #fff; }

/* ── EXAM CATEGORIES SECTION ── */
.exam-rows { display: flex; flex-direction: column; gap: 16px; }
.exam-row {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px 26px;
  display: flex; align-items: center; gap: 20px;
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.exam-row:hover { border-color: var(--border-t); box-shadow: var(--shadow-md); transform: translateX(4px); }
.exam-row-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.exam-row-icon.teal   { background: var(--teal-pale); }
.exam-row-icon.indigo { background: var(--indigo-lt); }
.exam-row-icon.amber  { background: var(--accent-lt); }
.exam-row-icon.rose   { background: var(--rose-lt); }
.exam-row-info { flex: 1; }
.exam-row-title { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:700; color:var(--text-h); margin-bottom:4px; }
.exam-row-desc  { font-size:0.82rem; color:var(--text-m); line-height:1.5; }
.exam-row-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.exam-chip { font-size:0.72rem; font-weight:600; padding:3px 10px; border-radius:20px; background:var(--off-white); border:1px solid var(--border); color:var(--text-b); }
.exam-row-count { font-size:0.8rem; font-weight:700; color:var(--teal); white-space:nowrap; }
.exam-row-arrow { color:var(--text-lt); font-size:1.1rem; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-t), var(--teal-light), var(--border-t), transparent);
}
.step-card {
  text-align: center; padding: 28px 18px;
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--border); position: relative; z-index: 1;
  transition: all .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.step-icon  { font-size: 1.5rem; margin-bottom: 12px; }
.step-title { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:700; color:var(--text-h); margin-bottom:7px; }
.step-desc  { font-size:0.84rem; color:var(--text-m); line-height:1.6; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature-card {
  padding: 26px; border-radius: var(--r);
  border: 1px solid var(--border); background: #fff; transition: all .25s;
}
.feature-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--border-t); }
.feat-icon { width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:16px; }
.feat-icon.teal   { background: var(--teal-pale); }
.feat-icon.amber  { background: var(--accent-lt); }
.feat-icon.indigo { background: var(--indigo-lt); }
.feat-icon.rose   { background: var(--rose-lt); }
.feat-title { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:700; color:var(--text-h); margin-bottom:7px; }
.feat-desc  { font-size:0.84rem; color:var(--text-m); line-height:1.65; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.testi-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px; transition: all .25s;
}
.testi-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--border-t); }
.testi-stars { color: var(--accent); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text  { font-size:0.9rem; color:var(--text-b); line-height:1.7; margin-bottom:18px; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--teal-dark)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:0.85rem; }
.testi-name { font-weight:600; color:var(--text-h); font-size:0.86rem; }
.testi-role { font-size:0.74rem; color:var(--text-m); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 50%, #0d7a6e 100%);
  padding: 80px 4%; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before { content:''; position:absolute; top:-80px; left:-80px; width:350px; height:350px; background:radial-gradient(circle,rgba(255,255,255,0.06) 0%,transparent 70%); border-radius:50%; }
.cta-section::after  { content:''; position:absolute; bottom:-60px; right:-60px; width:280px; height:280px; background:radial-gradient(circle,rgba(245,158,11,0.15) 0%,transparent 70%); border-radius:50%; }
.cta-tag   { display:inline-block; background:rgba(255,255,255,0.15); color:#fff; padding:5px 14px; border-radius:20px; font-size:0.74rem; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; margin-bottom:18px; }
.cta-title { font-family:'Cormorant Garamond',serif; font-size:clamp(2rem,4vw,3.1rem); font-weight:700; color:#fff; line-height:1.25; margin-bottom:16px; position:relative; z-index:1; }
.cta-sub   { color:rgba(255,255,255,0.8); font-size:1rem; max-width:500px; margin:0 auto 32px; line-height:1.7; position:relative; z-index:1; }
.cta-btns  { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }
.btn-cta-white   { background:#fff; color:var(--teal-deep); padding:13px 34px; border-radius:10px; font-size:0.95rem; font-weight:700; cursor:pointer; border:none; box-shadow:0 4px 18px rgba(0,0,0,0.15); transition:all .25s; font-family:'Outfit',sans-serif; }
.btn-cta-white:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,0,0,0.2); }
.btn-cta-outline { background:transparent; color:#fff; padding:13px 34px; border-radius:10px; font-size:0.95rem; font-weight:600; cursor:pointer; border:2px solid rgba(255,255,255,0.4); transition:all .25s; font-family:'Outfit',sans-serif; }
.btn-cta-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); }

/* ── FOOTER ── */
footer { background: var(--text-h); color: rgba(255,255,255,0.7); padding: 60px 4% 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 44px;
}
.footer-brand .logo { color:#fff; margin-bottom:14px; display:flex; }
.footer-brand p { font-size:0.84rem; line-height:1.7; color:rgba(255,255,255,0.5); max-width:260px; margin-bottom:20px; }
.footer-social { display:flex; gap:8px; }
.social-btn {
  width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.6); font-size:0.85rem; cursor:pointer;
  transition:all .2s; border:1px solid rgba(255,255,255,0.1); text-decoration:none;
}
.social-btn:hover { background:var(--teal); color:#fff; border-color:var(--teal); }
.footer-col h4 { font-family:'Cormorant Garamond',serif; font-size:1.02rem; font-weight:700; color:#fff; margin-bottom:14px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer-col ul li a { color:rgba(255,255,255,0.5); text-decoration:none; font-size:0.83rem; transition:color .2s; }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.1); padding-top:22px;
  display:flex; align-items:center; justify-content:space-between;
  font-size:0.8rem; color:rgba(255,255,255,0.38); flex-wrap:wrap; gap:10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .mega-dropdown { width: 420px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns:1fr; padding:50px 4%; gap:36px; }
  .hero-visual { display:none; }
  .stats-strip { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .steps-grid::before { display:none; }
  nav .nav-links, nav .nav-actions { display:none; }
  .hamburger { display:flex; }
  .mega-dropdown { display:none !important; }
  .hero-search { max-width:100%; }
}
@media (max-width: 480px) {
  .stats-strip { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .pillars-grid { grid-template-columns:1fr; }
}

/* ==========================================================================
   WORDPRESS CORE — required markup the design reference does not cover
   ========================================================================== */

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--white); border-radius: 6px;
  box-shadow: var(--shadow-lg); clip: auto !important; clip-path: none;
  color: var(--teal-deep); display: block; font-size: 0.9rem; font-weight: 600;
  height: auto; left: 8px; line-height: normal; padding: 14px 22px;
  text-decoration: none; top: 8px; width: auto; z-index: 100000;
}
.skip-link:focus { outline: 3px solid var(--accent); outline-offset: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.alignleft   { float: left;  margin: 0.4em 1.6em 1em 0; }
.alignright  { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.alignwide   { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull   { max-width: 100%; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

.wp-caption { max-width: 100%; margin-bottom: 1.6em; }
.wp-caption img { display: block; }
.wp-caption-text, .wp-block-image figcaption {
  color: var(--text-m); font-size: 0.84rem; padding: 8px 4px 0; text-align: center;
}
.sticky .entry-title::after {
  content: "★"; color: var(--accent); margin-left: 8px; font-size: 0.8em;
}
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.bypostauthor > .comment-body { border-left: 3px solid var(--teal); }

/* ==========================================================================
   LAYOUT SHELL
   ========================================================================== */

.plh-container { width: min(1200px, 92%); margin-inline: auto; }
.plh-main { padding: 48px 0 64px; }
.plh-layout { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.plh-layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.plh-layout.no-sidebar .plh-content { max-width: 820px; margin-inline: auto; }

@media (max-width: 992px) { .plh-layout { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   PAGE HEADER / BREADCRUMBS
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--teal-pale), var(--white) 65%);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 38px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--text-h); line-height: 1.15; font-weight: 700;
}
.page-hero .page-hero-sub { color: var(--text-m); margin-top: 8px; font-size: 0.97rem; }

.plh-breadcrumbs { font-size: 0.82rem; color: var(--text-m); margin-bottom: 12px; }
.plh-breadcrumbs a { color: var(--teal); text-decoration: none; }
.plh-breadcrumbs a:hover { text-decoration: underline; }
.plh-breadcrumbs .sep { margin: 0 7px; color: var(--text-lt); }

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */

.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: transparent; z-index: 400; pointer-events: none;
}
.reading-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transition: width .1s linear;
}

/* ==========================================================================
   POST CARDS / ARCHIVE
   ========================================================================== */

.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.post-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-t); }
.post-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--teal-pale); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
}
.post-card h2, .post-card h3 { font-size: 1.06rem; line-height: 1.4; font-weight: 600; }
.post-card h2 a, .post-card h3 a { color: var(--text-h); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--teal); }
.post-card p { font-size: 0.89rem; color: var(--text-m); }
.post-card-meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-lt); flex-wrap: wrap;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.entry-header { margin-bottom: 26px; }
.entry-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.55rem); line-height: 1.18; color: var(--text-h);
}
.entry-meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin-top: 14px; font-size: 0.84rem; color: var(--text-m);
}
.entry-meta a { color: var(--teal); text-decoration: none; }
.entry-thumb { margin: 26px 0; border-radius: var(--r); overflow: hidden; }
.entry-thumb img { width: 100%; height: auto; display: block; }

.entry-content { font-size: 1.02rem; line-height: 1.78; color: var(--text-b); }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.72rem; font-weight: 700;
  color: var(--text-h); margin-top: 1.7em; line-height: 1.3;
}
.entry-content h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-h); margin-top: 1.5em; }
.entry-content h4 { font-size: 1.09rem; font-weight: 600; color: var(--text-h); margin-top: 1.4em; }
.entry-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--teal-dark); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li + li { margin-top: 0.45em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.entry-content blockquote {
  border-left: 4px solid var(--teal); background: var(--teal-pale);
  padding: 16px 22px; border-radius: 0 var(--r) var(--r) 0;
  font-family: 'Cormorant Garamond', serif; font-size: 1.16rem; font-style: italic; color: var(--teal-deep);
}
.entry-content pre {
  background: var(--text-h); color: #e5e7eb; padding: 18px;
  border-radius: 10px; overflow-x: auto; font-size: 0.87rem; line-height: 1.6;
}
.entry-content code {
  background: var(--teal-pale); color: var(--teal-deep);
  padding: 2px 6px; border-radius: 4px; font-size: 0.9em;
}
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--teal-pale); color: var(--teal-deep); font-weight: 600; }

.entry-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry-tags a {
  font-size: 0.79rem; padding: 5px 13px; border-radius: 99px;
  background: var(--teal-pale); color: var(--teal-deep); text-decoration: none; font-weight: 500;
  transition: background .2s;
}
.entry-tags a:hover { background: var(--teal-light); }

/* Share buttons */
.share-box { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.share-box h4 { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-m); margin-bottom: 12px; }
.share-links { display: flex; gap: 9px; flex-wrap: wrap; }
.share-links a {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--teal-pale); color: var(--teal-deep); text-decoration: none;
  font-size: 0.82rem; font-weight: 700; border: 1px solid var(--border-t);
  transition: background .2s, transform .2s;
}
.share-links a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* Author box */
.author-box {
  margin-top: 34px; padding: 24px; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--off-white);
  display: flex; gap: 18px; align-items: flex-start;
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box h4 { font-size: 1.06rem; color: var(--text-h); font-weight: 600; }
.author-box .author-role { font-size: 0.78rem; color: var(--teal); font-weight: 600; margin-top: 2px; }
.author-box p { font-size: 0.9rem; color: var(--text-m); margin-top: 8px; }
@media (max-width: 520px) { .author-box { flex-direction: column; } }

/* Related posts */
.related-posts { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.related-posts > h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.55rem;
  color: var(--text-h); margin-bottom: 20px; font-weight: 700;
}

/* Post navigation */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.post-nav a {
  border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px;
  text-decoration: none; display: block; transition: border-color .2s, box-shadow .2s;
}
.post-nav a:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.post-nav .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-lt); font-weight: 700; }
.post-nav .title { font-size: 0.93rem; color: var(--text-h); font-weight: 600; margin-top: 5px; display: block; }
.post-nav .next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.comments-area { margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-title, .comment-reply-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  color: var(--text-h); margin-bottom: 20px; font-weight: 700;
}
.comment-list { list-style: none; }
.comment-list ol.children { list-style: none; margin-left: 28px; margin-top: 16px; }
.comment-body {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 16px;
}
.comment-author { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--text-h); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 0.77rem; color: var(--text-lt); margin: 5px 0 10px; }
.comment-metadata a { color: var(--text-lt); text-decoration: none; }
.comment-content { font-size: 0.93rem; color: var(--text-b); }
.comment-content p + p { margin-top: 0.8em; }
.reply a {
  font-size: 0.79rem; font-weight: 600; color: var(--teal); text-decoration: none;
  display: inline-block; margin-top: 10px;
}
.comment-respond { margin-top: 30px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-h); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 9px; font-family: inherit; font-size: 0.93rem; background: var(--white);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--teal); outline: 2px solid var(--teal-light); }
.comment-form .form-submit input {
  background: var(--teal); color: #fff; border: none; padding: 12px 28px;
  border-radius: 9px; font-weight: 600; font-size: 0.93rem; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.comment-form .form-submit input:hover { background: var(--teal-dark); }
.comment-notes, .form-submit + .comment-notes { font-size: 0.82rem; color: var(--text-m); }

/* ==========================================================================
   SIDEBAR / WIDGETS
   ========================================================================== */

.plh-sidebar .widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px; margin-bottom: 22px;
}
.plh-sidebar .widget-title {
  font-size: 0.98rem; font-weight: 700; color: var(--text-h);
  padding-bottom: 11px; margin-bottom: 14px; border-bottom: 2px solid var(--teal-light);
}
.plh-sidebar ul { list-style: none; }
.plh-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.89rem; }
.plh-sidebar li:last-child { border-bottom: none; }
.plh-sidebar a { color: var(--text-b); text-decoration: none; transition: color .2s; }
.plh-sidebar a:hover { color: var(--teal); }

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */

.search-form { display: flex; gap: 8px; }
.search-form .search-field {
  flex: 1; padding: 11px 15px; border: 1px solid var(--border);
  border-radius: 9px; font-family: inherit; font-size: 0.91rem; min-width: 0;
}
.search-form .search-field:focus { border-color: var(--teal); outline: 2px solid var(--teal-light); }
.search-form .search-submit {
  background: var(--teal); color: #fff; border: none; padding: 11px 20px;
  border-radius: 9px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: 0.9rem;
  transition: background .2s;
}
.search-form .search-submit:hover { background: var(--teal-dark); }

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.plh-pagination { margin-top: 40px; display: flex; justify-content: center; }
.plh-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; margin: 0 3px;
  border: 1px solid var(--border); border-radius: 9px;
  color: var(--text-b); text-decoration: none; font-size: 0.89rem; font-weight: 500;
  transition: all .2s;
}
.plh-pagination .page-numbers:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.plh-pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.plh-pagination .dots { border: none; }

/* ==========================================================================
   404 / NO RESULTS
   ========================================================================== */

.plh-404 { text-align: center; padding: 70px 20px; }
.plh-404 .code {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.plh-404 h1 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--text-h); margin: 10px 0 12px; }
.plh-404 p { color: var(--text-m); max-width: 46ch; margin: 0 auto 26px; }
.plh-404 .search-form { max-width: 440px; margin: 0 auto 30px; }
.plh-404-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.no-results { text-align: center; padding: 50px 20px; }
.no-results h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--text-h); margin-bottom: 10px; }
.no-results p { color: var(--text-m); margin-bottom: 22px; }

/* ==========================================================================
   TEAM PAGE
   ========================================================================== */

.team-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; text-align: center; padding-bottom: 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-t); }
.team-photo {
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .team-initials {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; color: var(--teal);
}
.team-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-h); margin-top: 18px; }
.team-role {
  font-size: 0.77rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal); margin-top: 4px;
}
.team-bio { font-size: 0.87rem; color: var(--text-m); padding: 10px 20px 0; line-height: 1.6; }
.team-social { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.team-social a {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: var(--teal-pale); color: var(--teal-deep); text-decoration: none;
  font-size: 0.76rem; font-weight: 700; transition: background .2s, color .2s;
}
.team-social a:hover { background: var(--teal); color: #fff; }

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
  background: var(--white); z-index: 500;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -8px 0 40px rgba(0,0,0,.16);
  display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.drawer-close {
  background: none; border: none; font-size: 1.5rem; line-height: 1;
  color: var(--text-m); cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.drawer-close:hover { background: var(--teal-pale); color: var(--teal); }
.mobile-drawer nav { position: static; height: auto; padding: 0; display: block; box-shadow: none; border: none; background: none; backdrop-filter: none; }
.mobile-menu { list-style: none; padding: 12px; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: block; padding: 13px 10px; color: var(--text-b);
  text-decoration: none; font-size: 0.94rem; font-weight: 500;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .sub-menu { list-style: none; padding-left: 14px; display: none; }
.mobile-menu .sub-menu.open { display: block; }
.mobile-menu .sub-menu a { font-size: 0.88rem; color: var(--text-m); padding: 10px; }
.submenu-toggle {
  background: none; border: none; color: var(--text-m); cursor: pointer;
  font-size: 0.8rem; padding: 6px 10px; float: right; margin-top: 7px; border-radius: 6px;
}
.submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.mobile-drawer-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); margin-top: auto; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.45);
  z-index: 490; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* ==========================================================================
   HEADER SEARCH OVERLAY
   ========================================================================== */

.search-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px); z-index: 600;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay .search-form { width: min(620px, 100%); }
.search-overlay .search-field { padding: 16px 20px; font-size: 1.05rem; }
.search-overlay-close {
  position: absolute; top: 24px; right: 28px; background: none; border: none;
  font-size: 2rem; color: var(--text-m); cursor: pointer; line-height: 1;
}
.nav-search-btn {
  background: none; border: none; cursor: pointer; color: var(--text-b);
  padding: 7px 9px; border-radius: 8px; display: flex; align-items: center;
  transition: background .2s, color .2s;
}
.nav-search-btn:hover { background: var(--teal-pale); color: var(--teal); }

/* ==========================================================================
   TRANSPARENT HEADER OPTION
   ========================================================================== */

body.plh-transparent-header nav {
  position: absolute; left: 0; right: 0;
  background: transparent; border-bottom: none; box-shadow: none; backdrop-filter: none;
}
body.plh-transparent-header nav .logo,
body.plh-transparent-header nav .nav-links > li > a { color: var(--white); }
body.plh-transparent-header nav.is-stuck {
  position: fixed; background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
body.plh-transparent-header nav.is-stuck .logo { color: var(--teal-deep); }
body.plh-transparent-header nav.is-stuck .nav-links > li > a { color: var(--text-b); }

/* ==========================================================================
   ELEMENTOR COMPATIBILITY
   ========================================================================== */

.elementor-page .plh-main { padding: 0; }
.elementor-page .plh-layout { display: block; }
.elementor-page .plh-layout.no-sidebar .plh-content { max-width: none; margin: 0; }
.elementor-page .page-hero { display: none; }
.elementor-template-canvas .plh-main { padding: 0; }

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .announcement, nav, .ticker-strip, footer, .share-box, .comments-area,
  .plh-sidebar, .reading-progress, .mobile-drawer, .drawer-overlay { display: none !important; }
  .plh-layout { grid-template-columns: 1fr; }
  body { color: #000; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
