/* ==========================================================================
   We Teach Bible — Main Stylesheet
   ========================================================================== */

/* ------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
------------------------------------------------------------------ */
:root {
  --wtb-navy:   #0B1F3A;
  --wtb-blue:   #2563EB;
  --wtb-teal:   #18A999;
  --wtb-gold:   #F2B84B;
  --wtb-coral:  #F9735B;
  --wtb-sky:    #EAF4FF;
  --wtb-cream:  #FFF7E8;
  --wtb-mint:   #E9FBF7;
  --wtb-white:  #FFFFFF;
  --wtb-text:   #172033;
  --wtb-muted:  #526173;
  --wtb-border: #D9E4EF;
  --wtb-soft-border: rgba(11, 31, 58, 0.1);

  --wtb-heading: "Montserrat", "Avenir Next", "Proxima Nova", "Futura", "Inter", Arial, sans-serif;
  --wtb-body:    "Inter", "Avenir Next", "Proxima Nova", Arial, sans-serif;

  --wtb-max:   1180px;
  --wtb-pad-x: clamp(20px, 4vw, 56px);
  --wtb-pad-y: clamp(72px, 9vw, 122px);
  --wtb-header-h: 72px;
}

/* ------------------------------------------------------------------
   Global Reset & Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--wtb-text);
  font-family: var(--wtb-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wtb-heading);
  color: var(--wtb-navy);
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

/* ------------------------------------------------------------------
   Layout Utility
------------------------------------------------------------------ */
.wtb-wrap {
  max-width: var(--wtb-max);
  margin: 0 auto;
  padding-left: var(--wtb-pad-x);
  padding-right: var(--wtb-pad-x);
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */
.wtb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--wtb-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--wtb-header-h);
  transition: box-shadow 200ms ease;
}

.wtb-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
}

.wtb-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wtb-header__brand { flex-shrink: 0; }

.wtb-header__brand img {
  max-height: 44px;
  width: auto;
}

.wtb-header__wordmark {
  font-family: var(--wtb-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--wtb-navy);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* Nav */
.wtb-nav { flex: 1; display: flex; justify-content: center; }

.wtb-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wtb-nav__list li a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtb-navy);
  transition: background 150ms ease, color 150ms ease;
}

.wtb-nav__list li a:hover,
.wtb-nav__list li.current-menu-item > a,
.wtb-nav__list li.current_page_item > a {
  background: var(--wtb-sky);
  color: var(--wtb-blue);
}

/* Header actions */
.wtb-header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile toggle */
.wtb-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background 150ms ease;
}

.wtb-nav-toggle:hover { background: var(--wtb-sky); }

.wtb-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wtb-navy);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}

.wtb-nav-toggle[aria-expanded="true"] .wtb-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wtb-nav-toggle[aria-expanded="true"] .wtb-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.wtb-nav-toggle[aria-expanded="true"] .wtb-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */
.wtb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--wtb-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wtb-btn:hover { transform: translateY(-2px); }

.wtb-btn--sm { min-height: 40px; padding: 10px 20px; font-size: 13px; }

.wtb-btn--primary {
  background: var(--wtb-navy);
  color: var(--wtb-white);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.18);
}
.wtb-btn--primary:hover { background: var(--wtb-blue); }

.wtb-btn--secondary {
  background: var(--wtb-white);
  color: var(--wtb-navy);
  border-color: var(--wtb-border);
}
.wtb-btn--secondary:hover {
  border-color: var(--wtb-navy);
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.08);
}

.wtb-btn--light {
  background: var(--wtb-white);
  color: var(--wtb-navy);
}

.wtb-btn--outline-light {
  background: transparent;
  color: var(--wtb-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.wtb-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ------------------------------------------------------------------
   Shared Typography
------------------------------------------------------------------ */
.wtb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wtb-blue);
}

.wtb-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--wtb-gold);
  box-shadow: 16px 0 0 var(--wtb-teal), 32px 0 0 var(--wtb-coral);
  margin-right: 32px;
}

.wtb-lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.58;
  color: var(--wtb-muted);
  max-width: 62ch;
}

.wtb-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--wtb-blue);
  font-size: 14px;
  font-weight: 900;
  transition: gap 160ms ease;
}
.wtb-text-link::after { content: "→"; transition: transform 160ms ease; }
.wtb-text-link:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------
   Homepage — .wtb-home wrapper
   (scopes homepage-specific rules away from inner pages)
------------------------------------------------------------------ */
.wtb-home h1 {
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
  max-width: 10.5ch;
}

.wtb-home h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  max-width: 13ch;
}

.wtb-home h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.16;
}

/* Sections */
.wtb-section {
  padding-top: var(--wtb-pad-y);
  padding-bottom: var(--wtb-pad-y);
  position: relative;
}

.wtb-section--sky   { background: var(--wtb-sky); }
.wtb-section--cream { background: var(--wtb-cream); }
.wtb-section--mint  { background: var(--wtb-mint); }

.wtb-section--navy {
  background: var(--wtb-navy);
  color: var(--wtb-white);
  overflow: hidden;
}
.wtb-section--navy h1,
.wtb-section--navy h2,
.wtb-section--navy h3 { color: var(--wtb-white); }
.wtb-section--navy .wtb-lede,
.wtb-section--navy p  { color: rgba(255,255,255,0.78); }
.wtb-section--navy .wtb-kicker { color: var(--wtb-gold); }

/* Split head */
.wtb-split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 48px;
}

/* ========== HERO ========== */
.wtb-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 132px);
  padding-bottom: clamp(72px, 8vw, 116px);
  background:
    radial-gradient(circle at 82% 14%, rgba(37,99,235,0.15), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(24,169,153,0.16), transparent 26%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
}

.wtb-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 46px solid rgba(242,184,75,0.18);
  pointer-events: none;
}

.wtb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.wtb-hero .wtb-lede { margin: 26px 0 34px; }

.wtb-hero__panel {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 28px 80px rgba(11, 31, 58, 0.13);
  position: relative;
  overflow: hidden;
}

.wtb-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,244,255,0.85), transparent 42%);
  pointer-events: none;
}

.wtb-map { position: relative; z-index: 1; display: grid; gap: 16px; }

.wtb-map__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.wtb-map__title {
  font-family: var(--wtb-heading);
  font-weight: 800;
  color: var(--wtb-navy);
  letter-spacing: -0.03em;
  font-size: 20px;
  margin: 0;
}

.wtb-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wtb-tile {
  border-radius: 22px;
  padding: 18px;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.wtb-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--wtb-navy);
  font-weight: 900;
  font-family: var(--wtb-heading);
  font-size: 13px;
}

.wtb-tile:nth-child(2) .wtb-tile__icon { background: var(--wtb-cream); }
.wtb-tile:nth-child(3) .wtb-tile__icon { background: var(--wtb-sky); }
.wtb-tile:nth-child(4) .wtb-tile__icon { background: var(--wtb-mint); }
.wtb-tile:nth-child(5) .wtb-tile__icon { background: rgba(249,115,91,0.14); }

.wtb-tile strong {
  display: block;
  font-family: var(--wtb-heading);
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--wtb-navy);
}

.wtb-tile span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: var(--wtb-muted);
  line-height: 1.35;
}

.wtb-hero__meta {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wtb-meta-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--wtb-border);
  border-radius: 18px;
  padding: 16px;
}

.wtb-meta-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--wtb-blue);
  margin-bottom: 5px;
}

.wtb-meta-card strong {
  display: block;
  font-family: var(--wtb-heading);
  color: var(--wtb-navy);
  font-size: 14px;
  line-height: 1.32;
}

/* ========== COMPARE ========== */
.wtb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.wtb-compare__card {
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--wtb-border);
  background: var(--wtb-white);
  box-shadow: 0 16px 40px rgba(11,31,58,0.05);
}

.wtb-compare__card--weak  { background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%); }
.wtb-compare__card--strong {
  background: linear-gradient(180deg, #FFFFFF 0%, #E9FBF7 100%);
  border-color: rgba(24,169,153,0.35);
}

.wtb-compare__badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wtb-compare__card--weak   .wtb-compare__badge { background: #EDF1F5; color: var(--wtb-muted); }
.wtb-compare__card--strong .wtb-compare__badge { background: var(--wtb-teal); color: var(--wtb-white); }

.wtb-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.wtb-check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--wtb-text);
  font-weight: 600;
  line-height: 1.35;
}

.wtb-check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--wtb-sky);
  margin-top: 1px;
  flex-shrink: 0;
}

.wtb-compare__card--strong .wtb-check-list li::before { background: var(--wtb-teal); }

/* ========== WARNING / STORYLINE ========== */
.wtb-warning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.wtb-storyline {
  position: relative;
  border-radius: 32px;
  padding: 30px;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  box-shadow: 0 20px 52px rgba(11,31,58,0.08);
}

.wtb-storyline::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 64px;
  bottom: 64px;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(var(--wtb-blue), var(--wtb-teal), var(--wtb-gold), var(--wtb-coral));
}

.wtb-storyline__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}

.wtb-dot {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  display: grid;
  place-items: center;
  font-family: var(--wtb-heading);
  font-weight: 900;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.wtb-storyline__item:nth-child(2) .wtb-dot { background: var(--wtb-blue); }
.wtb-storyline__item:nth-child(3) .wtb-dot { background: var(--wtb-teal); }
.wtb-storyline__item:nth-child(4) .wtb-dot { background: var(--wtb-gold); color: var(--wtb-navy); }
.wtb-storyline__item:nth-child(5) .wtb-dot { background: var(--wtb-coral); }

.wtb-storyline__item strong {
  display: block;
  font-family: var(--wtb-heading);
  letter-spacing: -0.03em;
  color: var(--wtb-navy);
  line-height: 1.15;
}

.wtb-storyline__item span {
  display: block;
  color: var(--wtb-muted);
  font-size: 14px;
  line-height: 1.35;
  margin-top: 3px;
}

/* ========== THESIS / SYSTEM ========== */
.wtb-thesis {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.wtb-system-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 34px;
  padding: 28px;
}

.wtb-system-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.wtb-system-tile {
  min-height: 128px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 18px;
}

.wtb-system-tile b {
  display: block;
  font-family: var(--wtb-heading);
  font-size: 18px;
  letter-spacing: -0.035em;
  color: var(--wtb-white);
  margin-bottom: 8px;
}

.wtb-system-tile span { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.4; }
.wtb-system-tile:nth-child(1) { border-top: 5px solid var(--wtb-blue); }
.wtb-system-tile:nth-child(2) { border-top: 5px solid var(--wtb-teal); }
.wtb-system-tile:nth-child(3) { border-top: 5px solid var(--wtb-gold); }
.wtb-system-tile:nth-child(4) { border-top: 5px solid var(--wtb-coral); }

/* ========== FEATURE CARDS ========== */
.wtb-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.wtb-feature {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 28px;
  padding: 26px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 38px rgba(11,31,58,0.05);
}

.wtb-feature__mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--wtb-heading);
  font-weight: 900;
  font-size: 14px;
  color: var(--wtb-navy);
  margin-bottom: 26px;
}

.wtb-feature:nth-child(1) .wtb-feature__mark { background: var(--wtb-sky);  color: var(--wtb-blue); }
.wtb-feature:nth-child(2) .wtb-feature__mark { background: var(--wtb-mint); color: var(--wtb-teal); }
.wtb-feature:nth-child(3) .wtb-feature__mark { background: var(--wtb-cream); color: #B06D00; }
.wtb-feature:nth-child(4) .wtb-feature__mark { background: rgba(249,115,91,0.13); color: var(--wtb-coral); }

.wtb-feature h3 { margin-bottom: 12px; }
.wtb-feature p  { color: var(--wtb-muted); font-size: 15.5px; line-height: 1.55; }

/* ========== HOW IT WORKS — PATH ========== */
.wtb-path { margin-top: 52px; display: grid; gap: 16px; }

.wtb-path__step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 28px;
  padding: 24px;
}

.wtb-path__num {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  display: grid;
  place-items: center;
  font-family: var(--wtb-heading);
  font-weight: 900;
  font-size: 18px;
}

.wtb-path__step:nth-child(2) .wtb-path__num { background: var(--wtb-blue); }
.wtb-path__step:nth-child(3) .wtb-path__num { background: var(--wtb-teal); }
.wtb-path__step:nth-child(4) .wtb-path__num { background: var(--wtb-gold); color: var(--wtb-navy); }

.wtb-path__body h3 { margin-bottom: 8px; }
.wtb-path__body p  { color: var(--wtb-muted); font-size: 16px; max-width: 58ch; }

/* ========== AUDIENCE ========== */
.wtb-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.wtb-audience {
  position: relative;
  overflow: hidden;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 30px;
  padding: 30px;
}

.wtb-audience::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: var(--wtb-sky);
}

.wtb-audience:nth-child(2)::before { background: var(--wtb-mint); }
.wtb-audience:nth-child(3)::before { background: var(--wtb-cream); }

.wtb-audience h3,
.wtb-audience p,
.wtb-audience a { position: relative; z-index: 1; }
.wtb-audience h3 { margin-bottom: 12px; }
.wtb-audience p  { color: var(--wtb-muted); font-size: 16px; }

/* ========== JOURNAL CARDS (homepage) ========== */
.wtb-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.wtb-journal-card {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 26px;
  padding: 24px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.wtb-journal-card:hover {
  box-shadow: 0 16px 38px rgba(11,31,58,0.09);
  transform: translateY(-2px);
}

.wtb-journal-card span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--wtb-sky);
  color: var(--wtb-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wtb-journal-card h3 { font-size: 21px; margin-bottom: 14px; }
.wtb-journal-card h3 a { color: var(--wtb-navy); }
.wtb-journal-card h3 a:hover { color: var(--wtb-blue); }
.wtb-journal-card p  { color: var(--wtb-muted); font-size: 14px; }

/* ========== NEWS / FORM SHELL ========== */
.wtb-news-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.wtb-form-shell {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(11,31,58,0.06);
}

.wtb-form-placeholder {
  border: 2px dashed var(--wtb-border);
  border-radius: 18px;
  padding: 24px;
  color: var(--wtb-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

/* ========== SHOP SHELL ========== */
.wtb-shop-shell {
  margin-top: 34px;
  border-radius: 30px;
  padding: 34px;
  background: linear-gradient(135deg, var(--wtb-sky), var(--wtb-cream));
  border: 1px solid var(--wtb-border);
}

/* ========== FINAL CTA ========== */
.wtb-final { text-align: center; }
.wtb-final h2 { margin-left: auto; margin-right: auto; max-width: 12ch; }
.wtb-final .wtb-lede { margin: 24px auto 34px; color: rgba(255,255,255,0.78); }
.wtb-final .wtb-btn-row { justify-content: center; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.wtb-footer {
  background: var(--wtb-navy);
  color: rgba(255, 255, 255, 0.80);
  padding: clamp(56px, 6vw, 96px) 0 0;
}

.wtb-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-bottom: clamp(48px, 5vw, 72px);
}

.wtb-footer__brand img { max-height: 44px; width: auto; }

.wtb-footer__wordmark {
  font-family: var(--wtb-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--wtb-white);
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 12px;
}

.wtb-footer__tagline {
  color: rgba(255,255,255,0.56);
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 32ch;
}

.wtb-footer__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
}

.wtb-footer__list li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 150ms ease;
}

.wtb-footer__list li a:hover { color: var(--wtb-white); }

.wtb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px 0;
}

.wtb-footer__bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  margin: 0;
}

.wtb-footer__bottom a { color: rgba(255,255,255,0.60); }
.wtb-footer__bottom a:hover { color: var(--wtb-white); }

/* ------------------------------------------------------------------
   Inner Pages (page.php, single.php, archive.php)
------------------------------------------------------------------ */
.wtb-inner {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

/* Page */
.wtb-page-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--wtb-border); }

.wtb-page-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  color: var(--wtb-navy);
}

/* Entry content prose */
.wtb-entry-content {
  max-width: 72ch;
}

.wtb-entry-content h1,
.wtb-entry-content h2,
.wtb-entry-content h3,
.wtb-entry-content h4,
.wtb-entry-content h5,
.wtb-entry-content h6 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: var(--wtb-navy);
}

.wtb-entry-content p,
.wtb-entry-content li {
  font-size: 18px;
  line-height: 1.72;
  color: var(--wtb-text);
}

.wtb-entry-content ul,
.wtb-entry-content ol {
  list-style: revert;
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}

.wtb-entry-content a {
  color: var(--wtb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wtb-entry-content a:hover { color: var(--wtb-navy); }

.wtb-entry-content blockquote {
  margin: 2em 0;
  padding: 1.4em 2em;
  border-left: 4px solid var(--wtb-teal);
  background: var(--wtb-mint);
  border-radius: 0 18px 18px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--wtb-navy);
}

.wtb-entry-content img {
  border-radius: 18px;
  margin: 2em 0;
}

.wtb-entry-content hr {
  border: none;
  border-top: 1px solid var(--wtb-border);
  margin: 3em 0;
}

/* Page links */
.wtb-page-links {
  margin-top: 2em;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.wtb-page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: var(--wtb-sky);
  color: var(--wtb-blue);
}

/* Single post */
.wtb-single { max-width: none; }

.wtb-single .wtb-wrap { max-width: 820px; }

.wtb-post__header { margin-bottom: 40px; }

.wtb-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.wtb-journal-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--wtb-sky);
  color: var(--wtb-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wtb-post__date,
.wtb-post__read-time {
  font-size: 14px;
  color: var(--wtb-muted);
  font-weight: 500;
}

.wtb-post__title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  color: var(--wtb-navy);
  margin-bottom: 0;
}

.wtb-post__thumbnail {
  margin-top: 32px;
  border-radius: 24px;
  overflow: hidden;
}

.wtb-post__thumbnail img { width: 100%; object-fit: cover; }

.wtb-post__content { margin-top: 40px; }

.wtb-post__footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--wtb-border);
}

/* Comments */
.wtb-comments {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--wtb-border);
}

/* Archive */
.wtb-archive__header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--wtb-border);
}

.wtb-archive__title {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--wtb-navy);
  margin-top: 0;
  margin-bottom: 16px;
}

.wtb-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wtb-journal-card--archive {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  padding: 0;
}

.wtb-journal-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.wtb-journal-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.wtb-journal-card--archive:hover .wtb-journal-card__image img {
  transform: scale(1.03);
}

.wtb-journal-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wtb-journal-card__body h2 {
  font-size: 21px;
  line-height: 1.22;
  margin: 8px 0 10px;
}

.wtb-journal-card__body h2 a { color: var(--wtb-navy); }
.wtb-journal-card__body h2 a:hover { color: var(--wtb-blue); }

.wtb-journal-card__excerpt { color: var(--wtb-muted); font-size: 15px; flex: 1; }

.wtb-journal-card__meta {
  font-size: 13px;
  color: var(--wtb-muted);
  margin-top: 14px;
}

/* Pagination */
.wtb-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.wtb-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.wtb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtb-navy);
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.wtb-pagination .page-numbers:hover,
.wtb-pagination .page-numbers.current {
  background: var(--wtb-navy);
  border-color: var(--wtb-navy);
  color: var(--wtb-white);
}

.wtb-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* No posts */
.wtb-no-posts {
  text-align: center;
  padding: 56px 24px;
  color: var(--wtb-muted);
  font-size: 17px;
}

/* ==========================================================================
   WooCommerce — Full Integration
   ========================================================================== */

/* ------------------------------------------------------------------
   Layout wrapper
------------------------------------------------------------------ */
.wtb-woo-main {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

/* ------------------------------------------------------------------
   Breadcrumb
------------------------------------------------------------------ */
.wtb-woo-breadcrumb {
  font-size: 13px;
  color: var(--wtb-muted);
  margin-bottom: 28px;
}
.wtb-woo-breadcrumb a { color: var(--wtb-muted); }
.wtb-woo-breadcrumb a:hover { color: var(--wtb-blue); }
.wtb-breadcrumb-sep { opacity: 0.45; margin: 0 2px; }

/* ------------------------------------------------------------------
   Notices
------------------------------------------------------------------ */
.woocommerce-notices-wrapper { margin-bottom: 28px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  margin: 0 0 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}

.woocommerce-message {
  background: var(--wtb-mint);
  border-color: rgba(24,169,153,0.3);
  color: #0d6b5e;
}
.woocommerce-info {
  background: var(--wtb-sky);
  border-color: rgba(37,99,235,0.25);
  color: #1a4ea6;
}
.woocommerce-error {
  background: #fff3f1;
  border-color: rgba(249,115,91,0.35);
  color: #b03a26;
}
.woocommerce-error li { margin: 0; padding: 0; list-style: none; }

.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Shop header (archive page)
------------------------------------------------------------------ */
.wtb-shop-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--wtb-border);
}
.wtb-shop-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--wtb-navy);
  margin-top: 8px;
}
.woocommerce-products-header__title { /* WC default class */
  font-family: var(--wtb-heading);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--wtb-navy);
  letter-spacing: -0.04em;
}
.term-description,
.woocommerce-product-archive-description {
  color: var(--wtb-muted);
  font-size: 17px;
  margin-top: 10px;
  max-width: 65ch;
}

/* Result count + ordering toolbar */
.woocommerce-result-count {
  font-size: 14px;
  color: var(--wtb-muted);
  font-weight: 500;
  margin: 0 0 28px;
}
.woocommerce-ordering {
  float: right;
  margin: -6px 0 28px;
}
.woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--wtb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%230B1F3A' d='M7 10L0 0h14z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 10px;
  border: 1px solid var(--wtb-border);
  border-radius: 12px;
  padding: 10px 36px 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wtb-navy);
  cursor: pointer;
}

/* ------------------------------------------------------------------
   Product grid
------------------------------------------------------------------ */
ul.products.wtb-woo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.products.wtb-woo-grid.columns-1 { grid-template-columns: 1fr; }
ul.products.wtb-woo-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products.wtb-woo-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

ul.products li.product {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease;
  position: relative;
}

ul.products li.product:hover {
  box-shadow: 0 20px 48px rgba(11,31,58,0.10);
  transform: translateY(-3px);
}

ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex: 1;
}

ul.products li.product img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
  transition: transform 300ms ease;
}

ul.products li.product:hover img { transform: scale(1.03); }

ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--wtb-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--wtb-navy);
  letter-spacing: -0.03em;
  line-height: 1.22;
  padding: 18px 20px 6px;
  margin: 0;
}

ul.products li.product .price {
  display: block;
  padding: 0 20px 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wtb-teal);
}

ul.products li.product .price del {
  color: var(--wtb-muted);
  font-weight: 400;
  font-size: 14px;
  margin-right: 6px;
}

ul.products li.product .price ins {
  text-decoration: none;
  color: var(--wtb-coral);
}

ul.products li.product .button {
  display: block;
  margin: auto 20px 20px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border: none;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  text-decoration: none;
}

ul.products li.product .button:hover { background: var(--wtb-blue); transform: translateY(-1px); }
ul.products li.product .button.loading { opacity: 0.7; pointer-events: none; }
ul.products li.product .button.added { background: var(--wtb-teal); }

/* Sale badge */
ul.products li.product .onsale,
.single-product .onsale {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--wtb-coral);
  color: var(--wtb-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 11px;
  z-index: 2;
  min-height: auto;
  line-height: 1;
}

/* WC Pagination */
.woocommerce-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.woocommerce-pagination ul.page-numbers li { margin: 0; }

.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtb-navy);
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  text-decoration: none;
}

.woocommerce-pagination ul.page-numbers li .page-numbers:hover,
.woocommerce-pagination ul.page-numbers li .page-numbers.current {
  background: var(--wtb-navy);
  border-color: var(--wtb-navy);
  color: var(--wtb-white);
}

/* ------------------------------------------------------------------
   Single product
------------------------------------------------------------------ */
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Product gallery */
.single-product .woocommerce-product-gallery {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--wtb-border);
  position: sticky;
  top: calc(var(--wtb-header-h) + 24px);
}

.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: 0;
  display: block;
}

.single-product .flex-viewport { border-radius: 24px 24px 0 0; overflow: hidden; }

.single-product .woocommerce-product-gallery__wrapper img { display: block; }

.single-product .woocommerce-product-gallery__trigger {
  top: 14px;
  right: 14px;
}

/* Thumbnails */
.single-product .flex-control-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--wtb-white);
  border-top: 1px solid var(--wtb-border);
  list-style: none;
  margin: 0;
  flex-wrap: wrap;
}

.single-product .flex-control-thumbs li { flex: 0 0 72px; }

.single-product .flex-control-thumbs img {
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 150ms ease;
  border: 2px solid transparent;
}

.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs .flex-active {
  opacity: 1;
  border-color: var(--wtb-blue);
}

/* Product summary */
.single-product .entry-summary { padding-top: 0; }

.single-product .product_title {
  font-size: clamp(26px, 3.5vw, 46px);
  color: var(--wtb-navy);
  line-height: 1.06;
  margin-bottom: 16px;
}

/* Star rating */
.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.star-rating {
  display: inline-flex;
  gap: 2px;
  color: var(--wtb-gold);
  font-size: 14px;
}

.star-rating::before { display: none; }
.star-rating span::before { color: var(--wtb-gold); }
.woocommerce-review-link { font-size: 13px; color: var(--wtb-muted); }

/* Price */
.single-product .price {
  font-size: 26px;
  font-weight: 700;
  color: var(--wtb-teal);
  margin-bottom: 20px;
  display: block;
}
.single-product .price del {
  color: var(--wtb-muted);
  font-size: 18px;
  font-weight: 400;
  margin-right: 8px;
}
.single-product .price ins { text-decoration: none; color: var(--wtb-coral); }

/* Short description */
.woocommerce-product-details__short-description {
  color: var(--wtb-muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Variations */
.variations { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.variations td,
.variations th { padding: 8px 0; vertical-align: middle; }
.variations .label label {
  font-family: var(--wtb-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wtb-navy);
  padding-right: 16px;
  white-space: nowrap;
}
.variations select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid var(--wtb-border);
  border-radius: 12px;
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wtb-navy);
  background: var(--wtb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%230B1F3A' d='M7 10L0 0h14z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 10px;
  cursor: pointer;
}
.reset_variations { font-size: 12px; color: var(--wtb-muted); margin-top: 8px; display: inline-block; }

/* Quantity + Add to cart */
form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.quantity { display: flex; align-items: center; gap: 0; }

input.qty {
  width: 70px;
  height: 50px;
  text-align: center;
  border: 1px solid var(--wtb-border);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wtb-navy);
  background: var(--wtb-white);
  -moz-appearance: textfield;
  padding: 0;
}
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }

.single_add_to_cart_button {
  flex: 1;
  min-height: 50px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border: none;
  font-family: var(--wtb-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(11,31,58,0.18);
}
.single_add_to_cart_button:hover { background: var(--wtb-blue); transform: translateY(-2px); }
.single_add_to_cart_button.loading { opacity: 0.75; pointer-events: none; }

/* Product meta */
.product_meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--wtb-border);
  font-size: 13px;
  color: var(--wtb-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product_meta a { color: var(--wtb-blue); }
.product_meta a:hover { text-decoration: underline; }

/* Product tabs */
.woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--wtb-border);
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  border-bottom: 2px solid var(--wtb-border);
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none; }

.woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  padding: 0;
  background: none;
  border-radius: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtb-muted);
  border-radius: 10px 10px 0 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 150ms ease, border-color 150ms ease;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--wtb-blue);
  border-bottom-color: var(--wtb-blue);
}

.woocommerce-tabs .panel {
  color: var(--wtb-text);
  font-size: 16px;
  line-height: 1.72;
  max-width: 72ch;
}

.woocommerce-tabs .panel h2 { font-size: 22px; margin-bottom: 12px; }
.woocommerce-tabs .panel p  { color: var(--wtb-muted); }

/* Related / upsells */
.related.products,
.upsells.products {
  grid-column: 1 / -1;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--wtb-border);
}

.related.products h2,
.upsells.products h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--wtb-navy);
  margin-bottom: 28px;
}

/* ------------------------------------------------------------------
   Cart page
------------------------------------------------------------------ */
.woocommerce-cart .woocommerce-cart-form { margin-bottom: 48px; }

table.cart {
  width: 100%;
  border-collapse: collapse;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 24px;
  overflow: hidden;
}

table.cart th {
  background: var(--wtb-sky);
  font-family: var(--wtb-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wtb-navy);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--wtb-border);
}

table.cart td {
  padding: 20px;
  border-bottom: 1px solid var(--wtb-border);
  vertical-align: middle;
  font-size: 15px;
  color: var(--wtb-text);
}

table.cart tr:last-child td { border-bottom: none; }

table.cart .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--wtb-border);
}

table.cart .product-name a {
  font-family: var(--wtb-heading);
  font-weight: 700;
  color: var(--wtb-navy);
  font-size: 16px;
}
table.cart .product-name a:hover { color: var(--wtb-blue); }

table.cart .product-name .variation {
  font-size: 13px;
  color: var(--wtb-muted);
  margin-top: 4px;
}

table.cart .product-price .amount,
table.cart .product-subtotal .amount {
  font-weight: 700;
  color: var(--wtb-navy);
}

table.cart input.qty {
  width: 60px;
  height: 42px;
  border: 1px solid var(--wtb-border);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--wtb-navy);
}

table.cart .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fce8e4;
  color: var(--wtb-coral);
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: background 150ms ease;
  line-height: 1;
}
table.cart .remove:hover { background: var(--wtb-coral); color: var(--wtb-white); }

/* Update cart button */
.woocommerce-cart-form .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.woocommerce-cart-form .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.woocommerce-cart-form .coupon input.input-text {
  border: 1px solid var(--wtb-border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--wtb-navy);
  min-width: 200px;
}

.woocommerce-cart-form .coupon .button,
.woocommerce-cart-form .actions .button {
  background: var(--wtb-white);
  color: var(--wtb-navy);
  border: 1.5px solid var(--wtb-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.woocommerce-cart-form .coupon .button:hover,
.woocommerce-cart-form .actions .button:hover {
  border-color: var(--wtb-navy);
  box-shadow: 0 4px 14px rgba(11,31,58,0.08);
}

/* Cart totals */
.cart-collaterals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: start;
}

.cart_totals {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(11,31,58,0.06);
}

.cart_totals h2 {
  font-size: 20px;
  color: var(--wtb-navy);
  margin-bottom: 20px;
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.cart_totals table th,
.cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--wtb-border);
  font-size: 15px;
}

.cart_totals table tr:last-child th,
.cart_totals table tr:last-child td { border-bottom: none; }

.cart_totals table th {
  font-weight: 700;
  color: var(--wtb-navy);
  text-align: left;
}

.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-family: var(--wtb-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--wtb-navy);
  padding-top: 16px;
}

.cart_totals table .amount { font-weight: 700; color: var(--wtb-navy); }

.wc-proceed-to-checkout {
  margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border: none;
  font-family: var(--wtb-body);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  box-shadow: 0 12px 28px rgba(11,31,58,0.18);
  text-decoration: none;
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--wtb-blue);
  transform: translateY(-2px);
}

/* Cross-sells */
.cross-sells h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--wtb-navy);
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   Checkout page
------------------------------------------------------------------ */
.woocommerce-checkout .woocommerce { display: block; }

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: 40px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--wtb-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wtb-border);
}

/* Form rows */
.woocommerce-form-row,
.form-row {
  margin-bottom: 16px;
}

.woocommerce-form-row label,
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--wtb-navy);
  margin-bottom: 6px;
}

.woocommerce-form-row .required,
.form-row .required { color: var(--wtb-coral); margin-left: 2px; }

.woocommerce-form-row input.input-text,
.woocommerce-form-row select,
.woocommerce-form-row textarea,
.form-row input.input-text,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--wtb-border);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: var(--wtb-body);
  font-size: 15px;
  color: var(--wtb-text);
  background: var(--wtb-white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.woocommerce-form-row input.input-text:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus,
.form-row input.input-text:focus,
.form-row select:focus {
  border-color: var(--wtb-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  outline: none;
}

.woocommerce-form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid input {
  border-color: var(--wtb-coral);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%230B1F3A' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 38px;
}

/* Two-column checkout form rows */
.form-row-first { float: left; width: calc(50% - 8px); }
.form-row-last  { float: right; width: calc(50% - 8px); }
.form-row-wide  { clear: both; float: none; width: 100%; }
.clear          { clear: both; }

/* Checkout: order review */
#order_review_heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--wtb-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wtb-border);
}

table#order_review,
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 20px;
  overflow: hidden;
}

table#order_review th,
table.woocommerce-checkout-review-order-table th {
  background: var(--wtb-sky);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wtb-navy);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--wtb-border);
}

table#order_review td,
table.woocommerce-checkout-review-order-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--wtb-border);
  font-size: 14px;
  vertical-align: middle;
}

table#order_review .order-total td,
table.woocommerce-checkout-review-order-table .order-total td {
  font-family: var(--wtb-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--wtb-navy);
}

/* Payment methods */
#payment {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 24px;
  padding: 24px;
  margin-top: 24px;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#payment ul.payment_methods li {
  border: 1.5px solid var(--wtb-border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 150ms ease;
}

#payment ul.payment_methods li:has(input:checked) {
  border-color: var(--wtb-blue);
  background: var(--wtb-sky);
}

#payment ul.payment_methods li label {
  font-weight: 700;
  color: var(--wtb-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

#payment .payment_box {
  padding: 12px 16px;
  background: var(--wtb-sky);
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--wtb-muted);
}

#payment .form-row { margin-top: 20px; }

#place_order {
  display: block;
  width: 100%;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border: none;
  font-family: var(--wtb-body);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  box-shadow: 0 14px 32px rgba(11,31,58,0.20);
  text-align: center;
}
#place_order:hover { background: var(--wtb-blue); transform: translateY(-2px); }

/* ------------------------------------------------------------------
   Order received (thank you page)
------------------------------------------------------------------ */
.woocommerce-order {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.woocommerce-order .woocommerce-order-overview {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 24px;
  margin: 28px 0;
  background: var(--wtb-sky);
  border-radius: 20px;
  border: 1px solid var(--wtb-border);
}

.woocommerce-order .woocommerce-order-overview li {
  font-size: 13px;
  font-weight: 700;
  color: var(--wtb-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.woocommerce-order .woocommerce-order-overview li strong {
  display: block;
  font-size: 16px;
  color: var(--wtb-blue);
  margin-top: 3px;
}

.woocommerce-thankyou-order-received {
  font-size: 18px;
  color: var(--wtb-teal);
  font-weight: 700;
  margin-bottom: 12px;
}

.woocommerce-order-details,
.woocommerce-customer-details {
  text-align: left;
  margin-top: 40px;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--wtb-navy);
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------
   My Account page
------------------------------------------------------------------ */
.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.woocommerce-MyAccount-navigation {
  position: sticky;
  top: calc(var(--wtb-header-h) + 24px);
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 20px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wtb-navy);
  transition: background 150ms ease, color 150ms ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--wtb-sky);
  color: var(--wtb-blue);
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.current_page_item a {
  background: var(--wtb-navy);
  color: var(--wtb-white);
}

.woocommerce-MyAccount-content {
  min-width: 0;
}

.woocommerce-MyAccount-content p { color: var(--wtb-muted); }

/* Orders table */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 18px;
  overflow: hidden;
}

.woocommerce-orders-table th {
  background: var(--wtb-sky);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wtb-navy);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--wtb-border);
}

.woocommerce-orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--wtb-border);
  font-size: 14px;
  color: var(--wtb-text);
}

.woocommerce-orders-table tr:last-child td { border-bottom: none; }

.woocommerce-orders-table .woocommerce-orders-table__cell-order-status mark {
  background: transparent;
  font-weight: 700;
  color: var(--wtb-teal);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
  background: var(--wtb-white);
  color: var(--wtb-navy);
  border: 1.5px solid var(--wtb-border);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 150ms ease;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button:hover {
  border-color: var(--wtb-navy);
}

/* Edit account / address forms */
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content .form-row { margin-bottom: 16px; }

.woocommerce-MyAccount-content fieldset {
  border: 1px solid var(--wtb-border);
  border-radius: 18px;
  padding: 24px;
  margin: 24px 0;
}

.woocommerce-MyAccount-content fieldset legend {
  font-family: var(--wtb-heading);
  font-weight: 700;
  color: var(--wtb-navy);
  padding: 0 8px;
  font-size: 15px;
}

.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  border: none;
  font-family: var(--wtb-body);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease;
  text-decoration: none;
  margin-top: 8px;
}

.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content .button:hover { background: var(--wtb-blue); }

/* ------------------------------------------------------------------
   Homepage product grid (front-page.php resources section)
------------------------------------------------------------------ */
.wtb-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wtb-product-card {
  background: var(--wtb-white);
  border: 1px solid var(--wtb-border);
  border-radius: 24px;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.wtb-product-card:hover {
  box-shadow: 0 16px 38px rgba(11,31,58,0.09);
  transform: translateY(-2px);
}

.wtb-product-card__image { display: block; overflow: hidden; }
.wtb-product-card__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 300ms ease; }
.wtb-product-card:hover .wtb-product-card__image img { transform: scale(1.03); }

.wtb-product-card__body { padding: 20px; }
.wtb-product-card__body h3 { font-size: 18px; margin-bottom: 8px; }
.wtb-product-card__body h3 a { color: var(--wtb-navy); }
.wtb-product-card__body h3 a:hover { color: var(--wtb-blue); }
.wtb-product-card__price { color: var(--wtb-teal); font-weight: 700; font-size: 17px; margin-bottom: 14px; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .wtb-nav { display: none; }
  .wtb-nav-toggle { display: flex; }
  .wtb-header__actions .wtb-btn--primary { display: none; }

  .wtb-nav.is-open {
    display: block;
    position: fixed;
    top: var(--wtb-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--wtb-white);
    border-top: 1px solid var(--wtb-border);
    overflow-y: auto;
    padding: 24px var(--wtb-pad-x);
    z-index: 99;
  }

  .wtb-nav.is-open .wtb-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .wtb-nav.is-open .wtb-nav__list li { width: 100%; }

  .wtb-nav.is-open .wtb-nav__list li a {
    font-size: 18px;
    padding: 14px 16px;
    border-radius: 14px;
  }
}

@media (max-width: 980px) {
  .wtb-hero__grid,
  .wtb-split-head,
  .wtb-warning-grid,
  .wtb-thesis,
  .wtb-news-grid { grid-template-columns: 1fr; }

  .wtb-home h1 { max-width: 11.5ch; }
  .wtb-home h2 { max-width: 15ch; }
  .wtb-card-grid { grid-template-columns: repeat(2, 1fr); }
  .wtb-audience-grid,
  .wtb-journal-grid,
  .wtb-archive__grid { grid-template-columns: 1fr 1fr; }

  .wtb-footer__inner { grid-template-columns: 1fr; }
  .wtb-footer__list { flex-direction: row; flex-wrap: wrap; }

  .wtb-product-grid { grid-template-columns: 1fr 1fr; }

  /* WooCommerce responsive */
  ul.products.wtb-woo-grid { grid-template-columns: repeat(2, 1fr); }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product .woocommerce-product-gallery { position: static; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce-MyAccount-navigation { position: static; }
  .cart-collaterals { grid-template-columns: 1fr; }
  .woocommerce-tabs ul.tabs { overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 680px) {
  .wtb-hero__meta,
  .wtb-compare,
  .wtb-card-grid,
  .wtb-system-grid { grid-template-columns: 1fr; }

  .wtb-hero__panel,
  .wtb-storyline,
  .wtb-system-card { border-radius: 24px; }

  .wtb-path__step { grid-template-columns: 1fr; }

  .wtb-btn { width: 100%; justify-content: center; }
  .wtb-btn-row { width: 100%; flex-direction: column; }

  .wtb-audience-grid,
  .wtb-journal-grid,
  .wtb-archive__grid { grid-template-columns: 1fr; }

  .wtb-product-grid { grid-template-columns: 1fr; }

  /* WooCommerce mobile */
  ul.products.wtb-woo-grid { grid-template-columns: 1fr; }
  form.cart { flex-direction: column; }
  .single_add_to_cart_button { width: 100%; }
  .woocommerce-cart-form .actions { flex-direction: column; }
  .woocommerce-cart-form .coupon { flex-direction: column; width: 100%; }
  .woocommerce-cart-form .coupon input.input-text { min-width: 0; width: 100%; }
  .form-row-first, .form-row-last { float: none; width: 100%; }
}

/* ------------------------------------------------------------------
   Accessibility
------------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid var(--wtb-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   Logo — CSS wordmark (used when no custom logo is uploaded)
   ========================================================================== */
.wtb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.wtb-logo__mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.wtb-logo__dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: block;
}

.wtb-logo__dot:nth-child(1) { background: var(--wtb-navy); }
.wtb-logo__dot:nth-child(2) { background: var(--wtb-blue); }
.wtb-logo__dot:nth-child(3) { background: var(--wtb-teal); }

.wtb-logo__text {
  display: flex;
  flex-direction: column;
}

.wtb-logo__top {
  font-family: var(--wtb-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wtb-muted);
  line-height: 1.2;
}

.wtb-logo__btm {
  font-family: var(--wtb-heading);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--wtb-navy);
  line-height: 1.05;
}

/* Footer logo variant — white text on navy */
.wtb-footer .wtb-logo__top  { color: rgba(255, 255, 255, 0.55); }
.wtb-footer .wtb-logo__btm  { color: var(--wtb-white); }
.wtb-footer .wtb-logo__dot:nth-child(1) { background: rgba(255, 255, 255, 0.55); }
.wtb-footer .wtb-logo__dot:nth-child(2) { background: var(--wtb-blue); }
.wtb-footer .wtb-logo__dot:nth-child(3) { background: var(--wtb-teal); }

/* ==========================================================================
   Navigation — "Get Started" CTA menu item styling
   Add CSS class "menu-cta" to the Get Started item in Appearance > Menus
   ========================================================================== */
.wtb-nav__list .menu-cta > a {
  background: var(--wtb-navy);
  color: var(--wtb-white) !important;
  border-radius: 999px;
  padding: 10px 18px !important;
  font-size: 13px;
}

.wtb-nav__list .menu-cta > a:hover {
  background: var(--wtb-blue) !important;
  color: var(--wtb-white) !important;
}

/* ==========================================================================
   WPForms — newsletter & contact form styling
   ========================================================================== */
.wpforms-container { width: 100%; }

.wpforms-form .wpforms-field-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wpforms-form .wpforms-field { position: relative; }

.wpforms-form .wpforms-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--wtb-navy);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.wpforms-form .wpforms-field-label-hide { display: none; }

.wpforms-form .wpforms-field input[type="text"],
.wpforms-form .wpforms-field input[type="email"],
.wpforms-form .wpforms-field input[type="tel"],
.wpforms-form .wpforms-field input[type="url"],
.wpforms-form .wpforms-field input[type="number"],
.wpforms-form .wpforms-field textarea,
.wpforms-form .wpforms-field select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--wtb-border);
  border-radius: 14px;
  font-family: var(--wtb-body);
  font-size: 15px;
  color: var(--wtb-text);
  background: var(--wtb-white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wpforms-form .wpforms-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.wpforms-form .wpforms-field input:focus,
.wpforms-form .wpforms-field textarea:focus,
.wpforms-form .wpforms-field select:focus {
  outline: none;
  border-color: var(--wtb-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wpforms-form .wpforms-field input::placeholder,
.wpforms-form .wpforms-field textarea::placeholder {
  color: var(--wtb-muted);
  opacity: 0.65;
}

.wpforms-form .wpforms-submit-container { margin-top: 18px; }

.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  background: var(--wtb-navy);
  color: var(--wtb-white);
  font-family: var(--wtb-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
  width: 100%;
}

.wpforms-form button[type="submit"]:hover,
.wpforms-form .wpforms-submit:hover {
  background: var(--wtb-blue);
  transform: translateY(-2px);
}

.wpforms-form .wpforms-error-container,
.wpforms-form .wpforms-field .wpforms-error {
  color: #b03a26;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

.wpforms-confirmation-container-full,
.wpforms-confirmation-scroll {
  background: var(--wtb-mint);
  border: 1px solid rgba(24, 169, 153, 0.3);
  border-radius: 18px;
  padding: 24px 28px;
  color: #0d6b5e;
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
}

/* ==========================================================================
   Inner Page Templates — Shared Layout
   (page-how-it-works.php, page-curriculum.php, page-get-started.php)
   ========================================================================== */

/* Hero split on inner pages */
.wtb-hiw-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(37,99,235,0.12), transparent 32%),
    radial-gradient(circle at 70% 80%, rgba(24,169,153,0.12), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
}

.wtb-hiw-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.wtb-hiw-hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 0.97;
  max-width: 12ch;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.wtb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.wtb-contact-intro h2 {
  font-size: clamp(28px, 3.5vw, 46px);
}

.wtb-contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wtb-contact-reason {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 16px;
  align-items: start;
}

.wtb-contact-reason__mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--wtb-blue);
  margin-top: 6px;
  flex-shrink: 0;
}

.wtb-contact-reason strong {
  display: block;
  font-family: var(--wtb-heading);
  font-size: 16px;
  color: var(--wtb-navy);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.wtb-contact-reason p {
  color: var(--wtb-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* Contact form */
.wtb-contact-form-wrap { align-self: start; }

.wtb-contact-form__row { display: flex; flex-direction: column; gap: 14px; }

.wtb-contact-form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wtb-contact-form__field { display: flex; flex-direction: column; gap: 7px; }

.wtb-contact-form__field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--wtb-navy);
  letter-spacing: 0.01em;
}

.wtb-contact-form__field label span { color: var(--wtb-coral); }

.wtb-contact-form__field input[type="text"],
.wtb-contact-form__field input[type="email"],
.wtb-contact-form__field input[type="tel"],
.wtb-contact-form__field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--wtb-border);
  border-radius: 14px;
  font-family: var(--wtb-body);
  font-size: 15px;
  color: var(--wtb-text);
  background: var(--wtb-white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wtb-contact-form__field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.58;
}

.wtb-contact-form__field input:focus,
.wtb-contact-form__field textarea:focus {
  outline: none;
  border-color: var(--wtb-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wtb-contact-form__field input::placeholder,
.wtb-contact-form__field textarea::placeholder {
  color: var(--wtb-muted);
  opacity: 0.65;
}

.wtb-contact-form__submit { margin-top: 20px; }

.wtb-contact-form__submit .wtb-btn {
  width: 100%;
  justify-content: center;
}

.wtb-contact-form { display: flex; flex-direction: column; gap: 14px; }

/* Error / success states */
.wtb-contact-error-msg {
  background: #fff3f1;
  border: 1px solid rgba(249, 115, 91, 0.4);
  border-radius: 14px;
  padding: 14px 18px;
  color: #b03a26;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wtb-contact-success {
  text-align: center;
  padding: 40px 24px;
}

.wtb-contact-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wtb-teal);
  color: var(--wtb-white);
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.wtb-contact-success h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.wtb-contact-success p { color: var(--wtb-muted); }

/* ==========================================================================
   Responsive — additions for new templates
   ========================================================================== */
@media (max-width: 980px) {
  .wtb-hiw-hero__grid { grid-template-columns: 1fr; }
  .wtb-contact-grid   { grid-template-columns: 1fr; }
  .wtb-contact-form__row--two { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wtb-hiw-hero h1 { max-width: none; }
}
