/*!
Theme Name:   Wellbridge (Hello Child)
Theme URI:    https://wellbridgehomecare.com
Description:  Custom child theme for Wellbridge Home Care Agency of Georgia. Built on Hello Theme using the native WordPress Block Editor (Gutenberg) — no Elementor, no Kadence. Brand tokens, Gravity Forms styling, and block-pattern registrations are wired in. See /docs/SPEC.md.
Author:       Wellbridge
Author URI:   https://wellbridgehomecare.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  wellbridge
License:      Proprietary
Tags:         block-theme-friendly, child-theme, accessibility-ready
*/

/* ============================================================
   Wellbridge brand tokens — single source of truth.
   Mirrors /design-system/colors_and_type.css. If the design
   system updates, copy the :root block over verbatim.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800;900&display=swap');

:root {
  --wb-navy:        #001f59;
  --wb-orange:      #E8922A;
  --wb-mid-blue:    #2371A8;
  --wb-light-blue:  #5A8AAA;
  --wb-slate:       #555B70;
  --wb-warm-white:  #F4F2EF;
  --wb-cream:       #FAF7F2;
  --wb-border:      #E0DBD4;
  --wb-ink:         #1A1A1A;
  --wb-ink-soft:    #444444;
  --wb-muted:       #888888;
  --wb-faint:       #BBBBBB;
  --wb-navy-tint:   #EEF2F8;
  --wb-orange-tint: #FFF4E5;
  --wb-success:     #2A7A4E;
  --wb-warn:        #7A5500;
  --wb-danger:      #C0392B;

  --wb-font-sans:    'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wb-font-display: 'Lora', 'Georgia', 'Times New Roman', serif;

  --wb-radius-sm:   6px;
  --wb-radius-md:   10px;
  --wb-radius-lg:   16px;
  --wb-radius-pill: 999px;

  --wb-shadow-sm:   0 1px 2px rgba(30,58,110,.06), 0 1px 1px rgba(30,58,110,.04);
  --wb-shadow-md:   0 6px 18px rgba(30,58,110,.08), 0 2px 4px rgba(30,58,110,.04);
  --wb-shadow-lg:   0 20px 48px rgba(30,58,110,.14), 0 6px 12px rgba(30,58,110,.06);
  --wb-shadow-cta:  0 8px 20px rgba(232,146,42,.28);

  --wb-ease:        cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------------ */
/*  Base                                                              */
/* ------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--wb-font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--wb-ink-soft);
  background: var(--wb-warm-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wb-font-display);
  color: var(--wb-navy);
  letter-spacing: 0;
}
h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 600; line-height: 1.1;  }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.2;  }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3;  }
h4 { font-size: 18px; font-weight: 600; line-height: 1.35; }

/* Eyebrows, buttons, and form labels stay sans for clean UI feel. */
.wb-eyebrow,
.wb-btn--primary, .wb-btn--secondary, .wb-btn--ghost,
.wp-block-button .wp-block-button__link,
.wb-form label, .gform_wrapper label,
input, select, textarea, button {
  font-family: var(--wb-font-sans);
}
p  { text-wrap: pretty; }

a { color: var(--wb-mid-blue); text-decoration: none; transition: color .14s var(--wb-ease); }
a:hover { color: var(--wb-navy); text-decoration: underline; text-underline-offset: 3px; }

.has-warm-white-background-color { background-color: var(--wb-warm-white) !important; }
.has-navy-background-color       { background-color: var(--wb-navy)       !important; color: #fff; }
.has-orange-background-color     { background-color: var(--wb-orange)     !important; color: #fff; }
.has-cream-background-color      { background-color: var(--wb-cream)      !important; }

.has-navy-color   { color: var(--wb-navy)   !important; }
.has-orange-color { color: var(--wb-orange) !important; }
.has-slate-color  { color: var(--wb-slate)  !important; }

/* ------------------------------------------------------------------ */
/*  Brand utilities — usable from a block's "Additional CSS class"   */
/* ------------------------------------------------------------------ */
.wb-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--wb-orange);
}
.wb-eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 36px; height: 3px; background: var(--wb-orange);
  border-radius: 2px; margin-right: 12px;
}

/* ── Eyebrow variant on dark backgrounds ── */
.wb-eyebrow--light { color: var(--wb-orange); }
.wb-eyebrow--light::before { background: var(--wb-orange); }

/* ── Credibility badge cards (About page, navy section) ── */
.wb-cred-card {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--wb-radius-md);
  background: rgba(255,255,255,0.06);
}
.wb-cred-card__accent {
  display: block; width: 32px; height: 3px;
  background: var(--wb-orange); border-radius: 2px;
  margin-bottom: 16px;
}

.wb-card {
  background: #fff; border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-md); box-shadow: var(--wb-shadow-sm);
  padding: 32px 30px; transition: box-shadow .22s var(--wb-ease);
}
.wb-card:hover { box-shadow: var(--wb-shadow-md); }

.wb-section          { padding: 96px 56px; }
.wb-section--tight   { padding: 64px 56px; }
.wb-section--warm    { background: var(--wb-warm-white); }
.wb-section--white   { background: #fff; }
.wb-section--navy    { background: var(--wb-navy); color: #fff; }
.wb-section--navy h1,
.wb-section--navy h2,
.wb-section--navy h3 { color: #fff; }

/* ------------------------------------------------------------------ */
/*  Buttons — apply via block's "Additional CSS class" field         */
/* ------------------------------------------------------------------ */
/* Type-specific selectors so the styles only hit the actual interactive
   element. Gutenberg's button block puts the modifier class on BOTH the
   wrapping <div class="wp-block-button"> and the inner <a class="wp-block-button__link">;
   if we styled both, padding/background would double up. The wrapping div
   isn't an <a> or <button>, so the selectors below skip it. */
a.wb-btn--primary,
button.wb-btn--primary,
.wp-block-button__link.wb-btn--primary,
input[type="submit"].wb-btn--primary {
  display: inline-block;
  background: var(--wb-orange); color: #fff;
  padding: 14px 30px; border-radius: var(--wb-radius-md);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  box-shadow: var(--wb-shadow-cta); border: none; cursor: pointer;
  transition: background .14s var(--wb-ease), transform .14s var(--wb-ease);
}
a.wb-btn--primary:hover,
button.wb-btn--primary:hover,
.wp-block-button__link.wb-btn--primary:hover { background: #D27F1B; transform: translateY(-1px); color: #fff; text-decoration: none; }

a.wb-btn--secondary,
button.wb-btn--secondary,
.wp-block-button__link.wb-btn--secondary,
input[type="submit"].wb-btn--secondary {
  display: inline-block;
  background: var(--wb-navy); color: #fff;
  padding: 14px 30px; border-radius: var(--wb-radius-md);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer;
  transition: background .14s var(--wb-ease), transform .14s var(--wb-ease);
}
a.wb-btn--secondary:hover,
button.wb-btn--secondary:hover,
.wp-block-button__link.wb-btn--secondary:hover { background: #16294F; color: #fff; text-decoration: none; transform: translateY(-1px); }

a.wb-btn--ghost,
button.wb-btn--ghost,
.wp-block-button__link.wb-btn--ghost {
  display: inline-block;
  background: transparent; color: var(--wb-navy);
  border: 1.5px solid var(--wb-navy);
  padding: 12.5px 28px; border-radius: var(--wb-radius-md);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
}
a.wb-btn--ghost:hover,
button.wb-btn--ghost:hover,
.wp-block-button__link.wb-btn--ghost:hover { background: var(--wb-navy); color: #fff; text-decoration: none; }

/* Make the wrapping wp-block-button div invisible — it should only frame
   the inner button. Without this it inherits some default Gutenberg padding/margin
   that adds vertical space. */
.wp-block-button.wb-btn--primary,
.wp-block-button.wb-btn--secondary,
.wp-block-button.wb-btn--ghost {
  background: transparent; padding: 0;
}

/* ------------------------------------------------------------------ */
/*  Gravity Forms scoping — only inside .wb-form to avoid bleed      */
/* ------------------------------------------------------------------ */
.wb-form .gform_wrapper input[type="text"],
.wb-form .gform_wrapper input[type="email"],
.wb-form .gform_wrapper input[type="tel"],
.wb-form .gform_wrapper select,
.wb-form .gform_wrapper textarea {
  font-family: var(--wb-font-sans); font-size: 15px;
  padding: 12px 14px; border: 1.5px solid var(--wb-border);
  border-radius: 8px; background: #fff; color: var(--wb-ink);
  outline: none; transition: border-color .14s var(--wb-ease), box-shadow .14s var(--wb-ease);
}
.wb-form .gform_wrapper input:focus,
.wb-form .gform_wrapper select:focus,
.wb-form .gform_wrapper textarea:focus {
  border-color: var(--wb-mid-blue);
  box-shadow: 0 0 0 3px rgba(35,113,168,.15);
}
.wb-form .gform_wrapper label.gfield_label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--wb-navy); margin-bottom: 6px;
}
.wb-form .gform_wrapper .gform_button {
  /* same as .wb-btn--primary; GF will render <input type=submit> */
  background: var(--wb-orange); color: #fff;
  padding: 14px 26px; border-radius: var(--wb-radius-md);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border: none; cursor: pointer;
  box-shadow: var(--wb-shadow-cta);
}
.wb-form .gform_wrapper .gform_button:hover { background: #D27F1B; }
.wb-form .gform_confirmation_message {
  background: #fff; border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-md); padding: 24px;
  font-size: 16px; color: var(--wb-fg-2, var(--wb-ink-soft));
}

/* ------------------------------------------------------------------ */
/*  Block Editor: constrain content width, give cover blocks a max   */
/* ------------------------------------------------------------------ */
.wp-block-group.is-style-wb-container,
.wp-block-cover .wp-block-cover__inner-container {
  max-width: 1200px; margin-left: auto; margin-right: auto;
}

/* ------------------------------------------------------------------ */
/*  Accessibility utilities                                          */
/* ------------------------------------------------------------------ */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wb-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--wb-navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0;
  font-weight: 700; z-index: 9999;
}
.wb-skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ */
/*  Site header                                                       */
/* ------------------------------------------------------------------ */
.wb-header {
  background: #fff;
  border-bottom: 1px solid var(--wb-border);
  position: sticky; top: 0; z-index: 50;
}
.wb-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 32px; max-width: 1360px; margin: 0 auto;
}
.wb-header__logo { display: inline-flex; line-height: 0; flex-shrink: 0; }
.wb-header__logo img { height: 60px; width: auto; display: block; }

.wb-header__nav { display: flex; }
.wb-header__menu {
  display: flex; gap: 22px; align-items: center;
  list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap;
}
.wb-header__menu > li { position: relative; white-space: nowrap; }
.wb-header__menu a {
  color: var(--wb-navy); font-weight: 600; font-size: 15px;
  opacity: .82; transition: opacity .14s var(--wb-ease), color .14s var(--wb-ease);
  text-decoration: none; white-space: nowrap;
}
.wb-header__menu a:hover,
.wb-header__menu .current-menu-item > a,
.wb-header__menu .current-menu-ancestor > a {
  color: var(--wb-orange); opacity: 1; text-decoration: none;
}

/* Parent-of-children chevron */
.wb-header__menu .menu-item-has-children > a {
  display: inline-flex; align-items: center; gap: 6px;
}
.wb-header__menu .menu-item-has-children > a::after {
  content: ""; display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .14s var(--wb-ease);
}
.wb-header__menu .menu-item-has-children:hover > a::after,
.wb-header__menu .menu-item-has-children:focus-within > a::after {
  transform: translateY(0) rotate(225deg);
}

/* Submenu dropdown */
.wb-header__menu .sub-menu {
  position: absolute; top: 100%; left: -16px;
  display: none;
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: 10px;
  box-shadow: var(--wb-shadow-md);
  padding: 8px 0;
  min-width: 240px;
  list-style: none; margin: 12px 0 0;
  z-index: 100;
}
.wb-header__menu .sub-menu::before {
  /* Bridge the gap so the dropdown doesn't close when traversing diagonally */
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.wb-header__menu > li:hover > .sub-menu,
.wb-header__menu > li:focus-within > .sub-menu {
  display: block;
}
.wb-header__menu .sub-menu li { display: block; }
.wb-header__menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px; font-weight: 500;
  color: var(--wb-navy); opacity: .85;
  white-space: nowrap;
}
.wb-header__menu .sub-menu a:hover {
  background: var(--wb-warm-white);
  color: var(--wb-orange); opacity: 1;
}

.wb-header__actions {
  display: flex; align-items: center; gap: 18px;
}
.wb-header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wb-mid-blue); font-weight: 600; font-size: 14px;
  text-decoration: none; white-space: nowrap;
}
.wb-header__phone:hover { color: var(--wb-navy); text-decoration: none; }
.wb-header__cta { padding: 16px 30px; white-space: nowrap; font-size: 12px; }

.wb-header__toggle {
  display: none;
  background: transparent; border: 0; color: var(--wb-navy);
  padding: 8px; cursor: pointer; border-radius: 6px;
}
.wb-header__toggle:focus-visible { outline: 2px solid var(--wb-mid-blue); outline-offset: 2px; }

.wb-header__mobile {
  padding: 16px 24px 24px; border-top: 1px solid var(--wb-border);
  background: #fff;
}
.wb-header__mobile .wb-header__menu {
  flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 16px;
}
.wb-header__mobile .wb-header__menu .sub-menu {
  position: static; display: block; box-shadow: none; border: none;
  background: transparent; padding: 6px 0 0 16px; margin: 6px 0 0;
  min-width: 0;
}
.wb-header__mobile .wb-header__menu .sub-menu a { padding: 6px 0; }
.wb-header__mobile .wb-header__menu .menu-item-has-children > a::after { display: none; }

@media (max-width: 1100px) {
  .wb-header__nav,
  .wb-header__actions { display: none; }
  .wb-header__toggle { display: inline-flex; }
}

.wb-main { min-height: 50vh; }

/* ------------------------------------------------------------------ */
/*  Align-wide / align-full support for classic theme                */
/* ------------------------------------------------------------------ */
.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
.alignwide {
  margin-left: calc(50% - min(50vw, 720px));
  margin-right: calc(50% - min(50vw, 720px));
  max-width: min(100vw, 1440px);
}

/* ------------------------------------------------------------------ */
/*  Hero — image with overlaid form                                   */
/* ------------------------------------------------------------------ */
.wb-hero {
  position: relative;
  min-height: 440px;
  isolation: isolate;        /* keep ::before below children without z-index war */
  overflow: hidden;
}
.wb-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(244,242,239,0.96) 0%,
    rgba(244,242,239,0.72) 28%,
    rgba(244,242,239,0.15) 52%,
    rgba(244,242,239,0)    65%);
  pointer-events: none;
  z-index: 0;
}
.wb-hero > * { position: relative; z-index: 1; }

.wb-hero h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
  color: var(--wb-navy);
}
.wb-hero p { color: var(--wb-ink-soft); max-width: 480px; font-size: 16px; }

/* Compact Fluent Forms styling inside the hero card. Labels are
   visually hidden — placeholder text doubles as the field label, matching
   the mockup. The <label> stays in the DOM for accessibility. */
.wb-hero-form .ff-el-input--label,
.wb-hero-form label.ff-el-input--label,
.wb-hero-form .ff-el-input--label label {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.wb-hero-form .ff-el-group { margin-bottom: 14px; }
.wb-hero-form input[type="text"],
.wb-hero-form input[type="email"],
.wb-hero-form input[type="tel"],
.wb-hero-form select,
.wb-hero-form textarea {
  width: 100%;
  padding: 11px 14px; font-size: 14px;
  border: 1.5px solid var(--wb-border); border-radius: 8px;
  background: #fff; color: var(--wb-ink);
}
.wb-hero-form input::placeholder,
.wb-hero-form textarea::placeholder { color: var(--wb-muted); opacity: 1; }
.wb-hero-form textarea { min-height: 90px; resize: vertical; }
.wb-hero-form .ff-btn,
.wb-hero-form button[type="submit"],
.wb-hero-form input[type="submit"] {
  width: 100%; background: var(--wb-orange); color: #fff;
  padding: 14px 22px; border: 0; border-radius: var(--wb-radius-md);
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer;
  box-shadow: var(--wb-shadow-cta);
  transition: background .14s var(--wb-ease);
}
.wb-hero-form .ff-btn:hover,
.wb-hero-form button[type="submit"]:hover { background: #D27F1B; }

/* Floating form card */
.wb-hero-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(30,58,110,.18), 0 4px 8px rgba(30,58,110,.06);
  max-width: 440px;
  margin-left: auto;
}
.wb-hero-form h3 { color: var(--wb-navy); }

@media (max-width: 1100px) {
  .wb-hero { padding: 48px 24px !important; min-height: 0; }
  .wb-hero::before {
    background: linear-gradient(180deg,
      rgba(244,242,239,0.95) 0%,
      rgba(244,242,239,0.78) 50%,
      rgba(244,242,239,0.55) 100%);
  }
  .wb-hero-form { margin-left: 0; margin-top: 24px; max-width: 100%; }
}

/* ------------------------------------------------------------------ */
/*  Subpage mini-hero — photo bg with left-to-right gradient         */
/* ------------------------------------------------------------------ */
.wb-mini-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--wb-warm-white);
  background-size: cover;
  background-position: right center;
}
.wb-mini-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--wb-warm-white) 0%,
    rgba(244,242,239,0.92) 25%,
    rgba(244,242,239,0.55) 50%,
    rgba(244,242,239,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.wb-mini-hero > * { position: relative; z-index: 1; }
.wb-mini-hero h1,
.wb-mini-hero .wp-block-heading { max-width: 680px; }
.wb-mini-hero p:not(.wb-eyebrow) { max-width: 680px; }


@media (max-width: 1100px) {
  .wb-mini-hero { padding: 48px 24px !important; }
  .wb-mini-hero::before {
    background: linear-gradient(180deg,
      rgba(244,242,239,0.95) 0%,
      rgba(244,242,239,0.78) 50%,
      rgba(244,242,239,0.55) 100%);
  }
}

/* ------------------------------------------------------------------ */
/*  Service cards — 3-per-row grid, horizontal photo + text          */
/* ------------------------------------------------------------------ */
.wb-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 960px) {
  .wb-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wb-svc-grid { grid-template-columns: 1fr; }
}

.wb-svc-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(30,58,110,.06), 0 1px 1px rgba(30,58,110,.04);
  transition: box-shadow .22s var(--wb-ease), transform .22s var(--wb-ease);
}
.wb-svc-card:hover {
  box-shadow: 0 14px 32px rgba(30,58,110,.12), 0 4px 6px rgba(30,58,110,.06);
  transform: translateY(-2px);
}
.wb-svc-card__img {
  flex: 0 0 76px;
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(30,58,110,.10);
  background: var(--wb-warm-white);
}
.wb-svc-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.wb-svc-card__body { flex: 1 1 auto; min-width: 0; }
.wb-svc-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--wb-navy);
  line-height: 1.25;
}
.wb-svc-card__title a {
  color: inherit;
  text-decoration: none;
}
.wb-svc-card__title a::after {
  /* Make the entire card clickable via the title link */
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
}
.wb-svc-card:hover .wb-svc-card__title a { color: var(--wb-orange); }
.wb-svc-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--wb-ink-soft);
}

@media (max-width: 600px) {
  .wb-svc-card { padding: 16px 18px; gap: 14px; }
  .wb-svc-card__img { flex-basis: 64px; width: 64px; height: 64px; }
}

/* ------------------------------------------------------------------ */
/*  Site footer                                                       */
/* ------------------------------------------------------------------ */
.wb-footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--wb-orange);
  margin: 0 0 18px;
}
.wb-footer__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.wb-footer__links li,
.wb-footer__links a {
  font-size: 14px; color: rgba(255,255,255,.75);
  text-decoration: none;
}
.wb-footer__links a:hover { color: #fff; text-decoration: underline; }

.wb-footer__legal a { color: rgba(255,255,255,.55); text-decoration: none; }
.wb-footer__legal a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/*  Checklist (used in consultation-form pattern)                    */
/* ------------------------------------------------------------------ */
.wb-checklist {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.wb-checklist li {
  position: relative; padding-left: 28px;
  color: var(--wb-ink-soft);
}
.wb-checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--wb-orange);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / contain no-repeat;
}

/* ------------------------------------------------------------------ */
/*  Article / single post                                            */
/* ------------------------------------------------------------------ */
.wb-article-hero {
  background: var(--wb-cream);
  padding: 72px 56px 64px;
}
.wb-article-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.wb-breadcrumb {
  font-size: 13px;
  color: var(--wb-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wb-breadcrumb a { color: var(--wb-muted); text-decoration: none; }
.wb-breadcrumb a:hover { color: var(--wb-orange); }

.wb-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--wb-slate);
  flex-wrap: wrap;
}
.wb-article-meta .wb-eyebrow { margin-bottom: 0; font-size: 11px; }
.wb-article-meta__sep { color: var(--wb-faint); }

.wb-article-title {
  font-family: var(--wb-font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--wb-navy);
  font-weight: 600;
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 28px;
}

.wb-byline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wb-byline__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.wb-byline__text { display: flex; flex-direction: column; gap: 2px; }
.wb-byline__name { font-size: 14px; font-weight: 700; color: var(--wb-navy); }
.wb-byline__bio  { font-size: 13px; color: var(--wb-muted); }

.wb-article-image { width: 100%; max-height: 560px; overflow: hidden; }
.wb-article-image__img {
  width: 100%; height: 560px;
  object-fit: cover; display: block;
}

.wb-article-body {
  max-width: 740px;
  margin: 72px auto;
  padding: 0 56px;
  font-size: 17px;
  line-height: 1.78;
  color: var(--wb-ink-soft);
}
.wb-article-body > * + * { margin-top: 1.4em; }
.wb-article-body h2 {
  font-family: var(--wb-font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--wb-navy);
  margin-top: 2em;
}
.wb-article-body blockquote {
  border-left: 4px solid var(--wb-orange);
  padding: 4px 0 4px 24px;
  margin: 2em 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--wb-navy);
  font-style: italic;
}
.wb-article-body ul,
.wb-article-body ol { padding-left: 1.6em; display: flex; flex-direction: column; gap: 10px; }
.wb-article-body a { color: var(--wb-mid-blue); }
.wb-article-body a:hover { color: var(--wb-navy); }
.wb-article-body strong { color: var(--wb-navy); font-weight: 700; }

/* ------------------------------------------------------------------ */
/*  Blog archive / related-post cards                                */
/* ------------------------------------------------------------------ */
.wb-archive__inner,
.wb-related__inner { max-width: 1200px; margin: 0 auto; }

.wb-related { padding: 80px 56px; }
.wb-related__heading {
  font-size: clamp(24px, 2.5vw, 34px);
  margin-top: 12px; margin-bottom: 40px;
}

.wb-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .wb-post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wb-post-grid { grid-template-columns: 1fr; } }

.wb-post-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--wb-radius-md);
  border: 1px solid var(--wb-border);
  box-shadow: var(--wb-shadow-sm);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow .22s var(--wb-ease), transform .22s var(--wb-ease);
}
.wb-post-card:hover { box-shadow: var(--wb-shadow-md); transform: translateY(-2px); }

.wb-post-card__img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.wb-post-card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--wb-ease);
}
.wb-post-card:hover .wb-post-card__img { transform: scale(1.04); }

.wb-post-card__body {
  padding: 22px 22px 26px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.wb-post-card__cat   { font-size: 10px; margin-bottom: 2px; }
.wb-post-card__title {
  font-family: var(--wb-font-display);
  font-size: 18px; font-weight: 600;
  color: var(--wb-navy); line-height: 1.3;
  margin-top: 2px;
}
.wb-post-card__date    { font-size: 13px; color: var(--wb-muted); margin-top: 4px; }
.wb-post-card__excerpt {
  font-size: 14px; color: var(--wb-ink-soft);
  line-height: 1.6; margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wb-pagination { margin-top: 48px; text-align: center; }
.wb-pagination .page-numbers { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wb-pagination .page-numbers a,
.wb-pagination .page-numbers span {
  display: inline-block; padding: 8px 14px;
  border-radius: var(--wb-radius-sm);
  font-size: 14px; font-weight: 600;
  color: var(--wb-navy); background: #fff;
  border: 1px solid var(--wb-border);
  text-decoration: none; transition: all .18s;
}
.wb-pagination .page-numbers .current {
  background: var(--wb-orange); border-color: var(--wb-orange); color: #fff;
}
.wb-pagination .page-numbers a:hover {
  background: var(--wb-navy-tint); border-color: var(--wb-navy);
}

/* ── Responsive tweaks for article ───────────────────────────────── */
@media (max-width: 768px) {
  .wb-article-hero { padding: 48px 24px 40px; }
  .wb-article-body { padding: 0 24px; margin: 48px auto; }
  .wb-related      { padding: 48px 24px; }
  .wb-article-image__img { height: 320px; }
}
@media (max-width: 480px) {
  .wb-article-hero { padding: 36px 20px 32px; }
  .wb-article-body { padding: 0 20px; }
  .wb-article-image__img { height: 220px; }
}

/* ------------------------------------------------------------------ */
/*  Reduced motion — respect user pref                               */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
