/* ============================================================
   Winslow & Associates (T3) — consolidated child theme CSS
   Faithful re-skin of the legacy theme: dark #222 chrome, sage
   #6e7c51 accents, Montserrat headings. WCAG 2.1 AA baseline.
   ============================================================ */

:root {
  --wh-dark: #222222;
  --wh-dark-2: #1a1a1a;
  --wh-sage: #6e7c51;        /* decorative: backgrounds, icons, borders */
  --wh-sage-text: #566141;   /* AA-safe sage for text/links on white */
  --wh-sage-light: #ced1b5;
  --wh-accent: #ad5325;      /* burnt orange — AA-safe on white (~5.2:1) */
  --wh-gold: #a29061;        /* antique gold — outline buttons (matches production) */
  --wh-nav-text: #c9c7ac;
  --wh-heading: #414141;
  --wh-text: #333333;
  --wh-muted: #6a6a6a;
  --wh-bg: #ffffff;
  --wh-grey: #f4f4f1;
  --wh-line: #e7e7e1;
  --wh-head-font: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wh-body-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wh-nav-h: 94px;  /* navbar height (desktop) — taller, no top bar */
  --wh-nav-h-mob: 64px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--wh-body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wh-text);
  background: var(--wh-bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--wh-sage-text); }
a:hover { color: var(--wh-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wh-head-font);
  color: var(--wh-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .5em;
}
h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-main {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--wh-dark); color: #fff; padding: 12px 20px;
  font-family: var(--wh-head-font);
}
.skip-main:focus { left: 8px; top: 8px; }

/* Focus visibility (ADA) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible {
  outline: 3px solid var(--wh-sage); outline-offset: 2px;
}

/* Content wrapper clears the fixed navbar. By default it also clears the
   breakout-logo block (40px) so text on hero-less pages starts below it.
   Hero templates add body.wh-has-hero so the hero sits flush under the bar. */
.wh-page-content-wrapper { padding-top: calc(var(--wh-nav-h) + 40px); }
body.wh-has-hero .wh-page-content-wrapper { padding-top: var(--wh-nav-h); }

/* ============================================================
   ACCOUNT DROPDOWN (now the right-most item in the main nav)
   ============================================================ */
.wh-acct-wrap { position: relative; }
.wh-acct-chev { font-size: 9px; transition: transform .2s; }
.wh-acct-wrap.is-open .wh-acct-chev,
.wh-acct-wrap:hover .wh-acct-chev { transform: rotate(180deg); }
.wh-acct-dropdown {
  position: absolute; top: calc(100% + 0px); right: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--wh-line); border-radius: 4px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  padding: 6px 0; z-index: 1002;
}
.wh-acct-wrap:hover .wh-acct-dropdown,
.wh-acct-wrap.is-open .wh-acct-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.wh-acct-greet { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; border-bottom: 1px solid var(--wh-line); }
.wh-acct-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--wh-sage); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--wh-head-font); font-weight: 600;
}
.wh-acct-greet-hi { color: var(--wh-heading); font-family: var(--wh-head-font); font-weight: 600; font-size: 14px; }
.wh-acct-nav { display: flex; flex-direction: column; padding: 6px 0; }
.wh-acct-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px;
  color: var(--wh-text); text-decoration: none; font-size: 14px;
  transition: background .15s, color .15s, transform .15s;
}
.wh-acct-nav a i { width: 16px; text-align: center; color: var(--wh-sage); }
.wh-acct-nav a:hover { background: var(--wh-grey); color: var(--wh-dark); transform: translateX(2px); }
.wh-acct-divider { height: 1px; background: var(--wh-line); margin: 6px 0; }
.wh-acct-section-label { padding: 4px 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--wh-muted); }
.wh-acct-logout { color: var(--wh-sage-text); font-weight: 600; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wh-nav-h);
  background: var(--wh-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  transition: height .3s, background .3s;
}
#navbar.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.25); }

/* Legibility block — a solid, semi-transparent dark block sits just below the
   bar so the oversized "breakout" logo stays readable over the hero. Stays put
   on scroll (the logo never shrinks back into the bar). */
#navbar::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0;
  height: 40px; pointer-events: none; z-index: 1;
  background: rgba(34,34,34,.5);
}

/* Logo always breaks out below the bar (big + legible over the hero, helped by
   the block); no shrink on scroll. */
.nav-logo { display: flex; align-items: flex-start; height: 100%; position: relative; z-index: 2; }
.nav-logo img { max-height: 112px; width: auto; margin-top: 12px; }

.nav-links { display: flex; align-items: center; height: 100%; gap: 0; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 15px;
  color: var(--wh-nav-text); text-decoration: none;
  font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color .2s, box-shadow .2s;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: #fff; box-shadow: inset 0 -3px 0 var(--wh-sage-light); }
.nav-arrow { font-size: 9px; transition: transform .2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown panels — docked to the tab, white panel */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-top: 3px solid var(--wh-sage);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
  padding: 10px 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 1001;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-link {
  display: block; padding: 9px 22px; color: var(--wh-text); text-decoration: none;
  font-size: 14px; transition: background .15s, color .15s, transform .15s;
}
.nav-drop-link:hover { background: var(--wh-grey); color: var(--wh-sage-text); transform: translateX(2px); }

/* Mega (Event Services) — full-width panel, 4 columns, no wrap (matches production) */
.nav-dropdown.mega {
  position: fixed; top: var(--wh-nav-h); left: 0; right: 0; width: 100%;
  min-width: 0; padding: 0; display: block;
}
.nav-mega-groups {
  max-width: 1180px; margin: 0 auto; padding: 42px 24px 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 40px;
}
.nav-drop-group { display: flex; flex-direction: column; }
.nav-drop-group-title {
  font-family: var(--wh-head-font); font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wh-sage-text); padding: 0 0 10px; margin-bottom: 6px;
  border-bottom: 1px solid var(--wh-line);
}
.nav-dropdown.mega .nav-drop-link { padding: 6px 0; }
.nav-mega-viewall {
  display: block; text-align: center; padding: 18px;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--wh-sage-text); text-decoration: none;
  border-top: 1px solid var(--wh-line);
}
.nav-mega-viewall:hover { background: var(--wh-grey); color: var(--wh-dark); }

/* Hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--wh-nav-text); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE DRAWER (slides from the right — non-ecom)
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1098;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }
#mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 360px; z-index: 1099;
  background: var(--wh-dark); color: #fff;
  transform: translateX(100%); transition: transform .32s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
#mobile-nav.open { transform: translateX(0); }
.mob-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mob-nav-logo { display: block; max-height: 88px; width: auto; }
.mob-nav-close { background: none; border: 0; color: var(--wh-nav-text); font-size: 22px; line-height: 1; cursor: pointer; }
.mob-nav-links { padding: 6px 0; }
.mob-item { border-bottom: 1px solid rgba(255,255,255,.08); }

/* Main items — match the desktop nav: Lato, uppercase, wide tracking */
.mob-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 22px; cursor: pointer;
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
}
.mob-link a, .mob-link span { color: var(--wh-nav-text); text-decoration: none; }
.mob-link a { flex: 1; }
.mob-chevron { font-size: 11px; color: var(--wh-sage-light); transition: transform .25s; }
.mob-item.open .mob-chevron { transform: rotate(180deg); }

.mob-submenu { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: rgba(0,0,0,.22); }
.mob-item.open .mob-submenu { max-height: 1600px; }

/* Service names — readable title-case links in the nav cream, indented 4px
   past the category labels so they nest under them; subtle divider between. */
.mob-sub-link {
  display: block; padding: 11px 30px 11px 34px;
  font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 400; letter-spacing: .2px;
  color: var(--wh-nav-text); text-decoration: none; transition: color .15s, background .15s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-sub-link:hover { color: #fff; background: rgba(255,255,255,.05); }

/* "View All" — quiet section link, no bold, aligned with the category labels */
.mob-sub-link-all {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 400; color: var(--wh-sage-light); padding: 14px 30px 8px;
}

/* Category labels (PLANNING / PROMOTION …) — small sage caps */
.mob-sub-heading {
  display: block; padding: 16px 30px 6px;
  font-family: 'Lato', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--wh-sage-light);
}
.mob-nav-footer { padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 12px; }
.mob-foot-link { color: var(--wh-nav-text); text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.mob-foot-link:hover { color: #fff; }

/* ============================================================
   BUTTONS (wh-button-* namespace)
   ============================================================ */
/* Dark-section buttons (light-on-dark) — callout bands etc. */
.wh-button-outline-light, .wh-button-solid-light {
  display: inline-block; font-family: var(--wh-head-font); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 34px; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.wh-button-outline-light { border: 1px solid var(--wh-sage-light); color: #fff; background: transparent; }
.wh-button-outline-light:hover { background: var(--wh-sage-light); color: var(--wh-dark); }
.wh-button-solid-light { background: var(--wh-sage-light); color: var(--wh-dark); border: 1px solid #fff; }
.wh-button-solid-light:hover { opacity: .85; color: var(--wh-dark); }

/* Light-section buttons (dark-on-light) — page content, globals, etc. */
.wh-button-black, .wh-button-black-outline {
  display: inline-block; font-family: var(--wh-head-font); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 34px; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
/* 1. Solid black / white text — hover dims slightly */
.wh-button-black,
.wh-button-black:visited,
.wh-button-black:focus,
.wh-button-black:active { background: #000; color: #fff; border: 1px solid #000; }
.wh-button-black:hover { background: #000; color: #fff; opacity: .8; }
/* 2. Black outline on white — hover inverts to solid black */
.wh-button-black-outline,
.wh-button-black-outline:visited,
.wh-button-black-outline:focus,
.wh-button-black-outline:active { background: #fff; color: #000; border: 1px solid #000; }
.wh-button-black-outline:hover { background: #000; color: #fff; border-color: #000; }

/* Content buttons (for light/white backgrounds) — the set the client adds to
   links in content: gold outline, sage solid, dark solid. Consistent family. */
.wh-button-outline-gold, .wh-button-sage, .wh-button-dark {
  display: inline-block; font-family: var(--wh-head-font); font-weight: 500;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 30px; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.wh-button-outline-gold { background: transparent; border: 1px solid var(--wh-gold); color: var(--wh-gold); }
.wh-button-outline-gold:hover { background: var(--wh-gold); color: #fff; }
.wh-button-sage { background: var(--wh-sage); border: 1px solid var(--wh-sage); color: #fff; }
.wh-button-sage:hover { background: #fff; color: var(--wh-sage-text); }
.wh-button-dark { background: var(--wh-dark); border: 1px solid var(--wh-dark); color: #fff; }
.wh-button-dark:hover { background: var(--wh-sage); border-color: var(--wh-sage); color: #fff; }

/* ============================================================
   1. HERO SLIDER
   ============================================================ */
.wh-hero { position: relative; width: 100%; height: 700px; overflow: hidden; background: var(--wh-dark); }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-caption {
  position: absolute; right: 0; bottom: 0; padding: 8px 22px; z-index: 3;
  background: #000; color: #fff; font-size: 14px; letter-spacing: .02em;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border: 0; cursor: pointer; border-radius: 50%;
  background: #000; color: #fff; font-size: 18px;
  transition: background .3s, opacity .3s;
}
.hero-arrow:hover { background: rgba(0,0,0,.55); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }

/* Hero text overlay (wh_slides: eyebrow / title / subtitle / button).
   Scrim only on slides that actually carry text, so image-only slides stay bright. */
.hero-slide:has(.hero-content)::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,24,32,.18) 0%, rgba(16,24,32,.52) 100%);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 48px 24px; text-align: center; color: #fff;
}
.hero-eyebrow {
  font-family: var(--wh-head-font); text-transform: uppercase; letter-spacing: .16em;
  font-size: 14px; font-weight: 600; color: #fff;
}
.hero-eyebrow::before { content: "\2014\00a0"; }
.hero-title {
  font-family: var(--wh-head-font); font-weight: 500; font-size: 48px; line-height: 1.08;
  margin: 0; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.42); max-width: 20ch;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--wh-sage-light); }
.hero-sub {
  margin: 0; font-size: 19px; line-height: 1.5; color: #fff; max-width: 48ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.42);
}
.hero-cta { margin-top: 8px; }
/* Hero button: solid black / white, slightly transparent on hover */
.hero-cta .wh-button-solid-light {
  background: #000; color: #fff; border: 1px solid #000;
  transition: opacity .3s ease;
}
.hero-cta .wh-button-solid-light:hover {
  background: #000; color: #fff; opacity: .8;
}

/* Portal hero — full-width slides, flush under the 38px top bar */
.wh-hero.portal-hero { height: 560px; }

@media (max-width: 768px) {
  .hero-content { gap: 12px; padding: 32px 20px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .wh-hero.portal-hero { height: 360px; }
  /* Hide the prev/next arrows on touch — the hero is swipeable (see child-theme-init.js). */
  .hero-arrow { display: none; }
  /* More compact hero button on small screens. */
  .hero-cta .wh-button-solid-light { padding: 8px 18px; font-size: 10px; letter-spacing: .09em; }
}

/* ============================================================
   2. PORTFOLIO CTA BAND
   ============================================================ */
.wh-cta-band { background: var(--wh-sage); color: #fff; text-align: center; padding: 56px 0 64px; }
.wh-cta-eyebrow { font-family: var(--wh-head-font); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.wh-cta-title { color: #fff; font-size: 30px; letter-spacing: .04em; margin-bottom: 26px; }

/* ============================================================
   3. INTRO + MINI SLIDER
   ============================================================ */
.wh-intro-section { background: var(--wh-grey); padding: 64px 0; }
.wh-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.wh-intro-grid.text-only { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
.wh-intro-text { font-size: 16px; color: var(--wh-text); }
.wh-intro-text h3 { font-size: 26px; }
.wh-intro-text .subtitle, .wh-intro-text p { color: var(--wh-text); }

.wh-mini-slider { position: relative; width: 100%; height: 380px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.14); user-select: none; }
.wh-mini-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease;
}
.wh-mini-slide.active { opacity: 1; visibility: visible; }
.wh-mini-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 20px; background: rgba(34,34,34,.35); color: #fff;
}
.wh-mini-title { font-family: var(--wh-head-font); font-size: 30px; font-weight: 600; }
.wh-mini-sub { font-size: 18px; }
.wh-mini-cap { position: absolute; right: 0; bottom: 0; padding: 6px 16px; background: rgba(34,34,34,.6); color: #fff; font-size: 13px; }
.wh-mini-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border: 0; cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,34,34,.45); color: #fff; font-size: 16px;
  transition: background .3s, opacity .3s;
}
.wh-mini-arrow:hover { background: var(--wh-sage); }
.wh-mini-prev { left: 14px; }
.wh-mini-next { right: 14px; }

/* ============================================================
   SINGLE / ARTICLE (services + future single CPTs)
   ============================================================ */
.wh-article-section { padding: 48px 0 72px; }
.wh-breadcrumb {
  font-family: 'Lato', sans-serif; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--wh-muted); margin-bottom: 18px;
}
.wh-breadcrumb a { color: var(--wh-sage-text); text-decoration: underline; }
.wh-breadcrumb a:hover { color: var(--wh-dark); }
.wh-breadcrumb-sep { margin: 0 8px; color: var(--wh-line); }
.wh-breadcrumb-current { color: var(--wh-muted); }
/* Page/article title — matches production (Montserrat, normal weight, 30/36) */
.wh-article-title { font-size: 30px; line-height: 36px; font-weight: 400; text-transform: none; margin-bottom: 24px; }

/* Prose — WYSIWYG body (wh_service_long_description) */
.wh-prose { color: var(--wh-text); font-size: 17px; line-height: 1.75; }
.wh-prose > *:first-child { margin-top: 0; }
.wh-prose p { margin: 0 0 1.2em; }
/* Editorial headings — scoped to post content (.wh-prose) so site chrome
   (footer, timeline labels) keeps the base heading styles. */
.wh-prose h1, .wh-prose h2, .wh-prose h3, .wh-prose h4, .wh-prose h5, .wh-prose h6 { margin: 1.6em 0 .5em; }
.wh-prose h1 { font-size: 30px; line-height: 36px; font-weight: 400; }              /* = page title */
.wh-prose h2 { font-size: 24px; font-weight: 600; }                                 /* smaller, still bold */
.wh-prose h3 { font-size: 20px; font-weight: 600; color: var(--wh-accent); }        /* burnt orange */
.wh-prose h4 { font-size: 17px; font-weight: 600; }                                 /* long dash + text */
.wh-prose h4::before { content: "\2014"; color: var(--wh-accent); margin-right: .45em; }
.wh-prose h5 { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #000; }
.wh-prose h6 { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--wh-accent); }
.wh-prose ul, .wh-prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.wh-prose li { margin-bottom: .5em; }
.wh-prose img { height: auto; border-radius: 2px; }
/* Regular prose links underline; button links keep their own styling */
.wh-prose a:not([class*="wh-button"]) { color: var(--wh-sage-text); text-decoration: underline; }
.wh-prose a:not([class*="wh-button"]):hover { color: var(--wh-dark); }

/* Gallery grid → Magnific Popup lightbox */
.wh-gallery-block { margin-top: 48px; }
/* Spacing only — the content holder's own markup (h2, button, etc.) is styled by the site's global CSS */
.wh-gallery-heading { margin-bottom: 18px; text-align: center; }
.wh-gallery-heading > *:last-child { margin-bottom: 0; }
/* Flex (not grid) so a partial last row centers under the centered heading. Items
   grow to fill full rows but cap at 320px so a 1–2 image row doesn't stretch huge. */
.wh-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Fixed basis + NO grow (flex-grow 0): every thumb is an identical size, and an odd
   last row centers in the space instead of stretching wider than the rows above it. */
.wh-gallery-item { flex: 0 1 280px; max-width: 100%; display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--wh-grey); }
.wh-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .3s; }
.wh-gallery-item:hover img { transform: scale(1.05); opacity: .92; }

/* 404 — Page Not Found */
.wh-404-inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 20px 0 40px; }
.wh-404-code { display: block; font-family: var(--wh-head-font); font-weight: 700; font-size: 88px; line-height: 1; letter-spacing: 6px; color: var(--wh-sage-light); }
.wh-404 .wh-article-title { text-align: center; margin: 6px 0 0; }
.wh-404-msg { color: var(--wh-muted); font-size: 17px; line-height: 1.6; margin: 14px 0 28px; }
.wh-404-search { display: flex; gap: 8px; max-width: 440px; margin: 0 auto 30px; }
.wh-404-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--wh-line); border-radius: 2px; font-size: 15px; color: var(--wh-text); }
.wh-404-search input:focus { outline: none; border-color: var(--wh-sage); box-shadow: 0 0 0 3px rgba(110,124,81,.15); }
.wh-404-search button { white-space: nowrap; }
.wh-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.wh-404-links a {
  color: var(--wh-sage-text); text-decoration: underline; font-family: 'Lato', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
}
.wh-404-links a:hover { color: var(--wh-dark); }

/* Info blocks (multipage CPT) — same style top & bottom for now */
.wh-infoblocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin: 32px 0;
}
.wh-ib-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--wh-line); border-radius: 3px; overflow: hidden;
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s;
}
a.wh-ib-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.wh-ib-img { aspect-ratio: 16 / 10; background: var(--wh-grey); overflow: hidden; }
.wh-ib-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.wh-ib-card:hover .wh-ib-img img { transform: scale(1.05); }
.wh-ib-body { padding: 20px 22px; }
.wh-ib-title { font-size: 19px; margin: 0 0 8px; color: var(--wh-heading); transition: color .2s; }
a.wh-ib-card:hover .wh-ib-title { color: var(--wh-sage-text); }
.wh-ib-desc { color: var(--wh-text); font-size: 15px; line-height: 1.6; }
.wh-ib-desc p:last-child { margin-bottom: 0; }

/* ============================================================
   TEAM listing (page-our-team) + STAFF profile (single-staff)
   ============================================================ */
.wh-team-section { padding: 8px 0 40px; }
.wh-team-heading { text-align: center; font-size: 24px; margin: 0 0 8px; }
.wh-team-subtitle { text-align: center; max-width: 720px; margin: 0 auto 28px; color: var(--wh-muted); }
.wh-team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 36px; }
.wh-team-card { width: 220px; display: flex; flex-direction: column; text-align: center; text-decoration: none; color: inherit; }
.wh-team-info { display: flex; flex-direction: column; gap: 2px; }
.wh-team-photo { width: 180px; height: 180px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; background: var(--wh-grey); border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.wh-team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wh-team-card:hover .wh-team-photo img { transform: scale(1.06); }
.wh-team-name { font-family: var(--wh-head-font); font-weight: 600; font-size: 18px; color: var(--wh-heading); }
.wh-team-role { font-style: italic; color: var(--wh-sage-text); font-size: 15px; }
.wh-team-company { color: var(--wh-muted); font-size: 14px; }
.wh-team-more { margin-top: 8px; font-family: 'Lato', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--wh-sage-text); }
.wh-team-card:hover .wh-team-more { color: var(--wh-dark); }
.wh-team-more i { transition: transform .2s; }
.wh-team-card:hover .wh-team-more i { transform: translateX(3px); }

/* Single staff profile */
.wh-staff-top { display: flex; gap: 32px; align-items: flex-start; }
.wh-staff-photo { flex: 0 0 auto; width: 240px; }
.wh-staff-photo img { width: 100%; height: auto; display: block; border-radius: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.wh-staff-meta { flex: 1; min-width: 0; }
.wh-staff-meta .wh-article-title { margin-bottom: 6px; }
.wh-staff-role { font-style: italic; color: var(--wh-sage-text); font-size: 18px; font-weight: 600; margin: 0 0 2px; }
.wh-staff-company { color: var(--wh-muted); font-size: 16px; margin: 0 0 14px; }
.wh-staff-contact { list-style: none; padding: 0; margin: 0; }
.wh-staff-contact li { padding: 5px 0; color: var(--wh-text); font-size: 15px; }
.wh-staff-contact i { color: var(--wh-sage); width: 18px; text-align: center; margin-right: 6px; }
.wh-staff-contact a { color: var(--wh-sage-text); text-decoration: underline; }
.wh-staff-contact a:hover { color: var(--wh-dark); }
.wh-staff-ext { color: var(--wh-muted); }
.wh-staff-bio { margin-top: 28px; }
.wh-staff-message { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--wh-line); }
.wh-staff-message h2 { font-size: 22px; margin-bottom: 16px; }
@media (max-width: 640px) {
  .wh-staff-top { flex-direction: column; }
  .wh-staff-photo { width: 200px; }
}

/* ============================================================
   GRAVITY FORMS — base restyle (staff message, contact, etc.)
   ============================================================ */
.gform_wrapper .gform_fields { margin: 0; padding: 0; }
.gform_wrapper .gfield { margin-bottom: 18px; }
.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 14px;
  color: var(--wh-heading); margin-bottom: 6px;
}
.gform_wrapper .gform-field-label--type-sub { font-weight: 400; font-size: 12px; color: var(--wh-muted); }
.gform_wrapper .gfield_required { color: var(--wh-accent); }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100%; padding: 11px 13px; font-size: 15px; font-family: var(--wh-body-font);
  color: var(--wh-text); background: #fff; border: 1px solid var(--wh-line); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  outline: none; border-color: var(--wh-sage); box-shadow: 0 0 0 3px rgba(110,124,81,.15);
}
.gform_wrapper textarea { min-height: 150px; }

/* Submit button — matches the site button aesthetic (dark, like production) */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper input.gform_button {
  display: inline-block; width: auto; cursor: pointer;
  background: var(--wh-dark); color: #fff; border: 1px solid var(--wh-dark);
  font-family: var(--wh-head-font); font-weight: 400; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; padding: 14px 36px; border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_button:hover { background: var(--wh-sage); border-color: var(--wh-sage); color: #fff; }

/* Contact page — 2-column (info left, form right), stacks on mobile */
.wh-contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.wh-contact-info { font-size: 16px; }
.wh-contact-form h2 { font-size: 24px; margin: 0 0 16px; }
@media (max-width: 768px) {
  .wh-contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ============================================================
   4. SERVICES BY CATEGORY
   ============================================================ */
.wh-services-section { padding: 72px 0; background: #fff; }
.wh-services-intro { text-align: center; max-width: 820px; margin: 0 auto 24px; font-size: 20px; line-height: 1.5; color: var(--wh-heading); }
.wh-services-intro .subtitle-written { color: var(--wh-sage-text); font-style: italic; }

/* --- cd-timeline (exact production styling, re-skinned to sage) --- */
.cd-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cd-container::after { content: ''; display: table; clear: both; }
#cd-timeline { position: relative; padding: 2em 0; }
#cd-timeline::before { content: ''; position: absolute; top: 0; left: 18px; height: 100%; width: 4px; background: #212121; }
.cd-timeline-block { position: relative; margin: 2em 0; }
.cd-timeline-block:after { content: ""; display: table; clear: both; }
.cd-timeline-block:first-child { margin-top: 0; }
.cd-timeline-block:last-child { margin-bottom: 0; }
.cd-timeline-img {
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wh-sage); color: #fff; font-size: 15px;
  box-shadow: 0 0 0 4px #f0f0f0, inset 0 2px 0 rgba(0,0,0,0.18), 0 3px 0 4px rgba(0,0,0,0.15);
}
.cd-timeline-content {
  position: relative; margin-left: 60px; background: #f0f0f0; border-radius: .25em;
  padding: 1em 1.4em; box-shadow: 0 3px 0 #212121;
}
.cd-timeline-content:after { content: ""; display: table; clear: both; }
.cd-timeline-content h6 { text-align: left; padding-bottom: 14px; font-size: 16px; letter-spacing: .06em; }
.cd-timeline-content ul { list-style: circle; margin: 0 0 0 20px; padding: 0; }
.cd-timeline-content li { padding: 5px 0; }
.cd-timeline-content a { color: var(--wh-sage-text); text-decoration: underline; transition: color .3s; }
.cd-timeline-content a:hover { color: #000; }
.cd-timeline-content .cd-date { display: inline-block; color: var(--wh-sage); }
.cd-timeline-content::before {
  content: ''; position: absolute; top: 16px; right: 100%; height: 0; width: 0;
  border: 10px solid transparent; border-right: 10px solid #f0f0f0;
}
@media only screen and (min-width: 768px) {
  .cd-timeline-content .cd-date { font-size: 18px; font-family: 'Playball', cursive; letter-spacing: 6px; }
}
@media only screen and (min-width: 1170px) {
  #cd-timeline::before { left: 50%; margin-left: -2px; }
  .cd-timeline-block { margin: 4em 0; }
  .cd-timeline-block:first-child { margin-top: 0; }
  .cd-timeline-img { width: 60px; height: 60px; font-size: 22px; left: 50%; margin-left: -30px; }
  .cd-timeline-content { margin-left: 0; padding: 1.6em; width: 45%; }
  .cd-timeline-content::before { top: 24px; left: 100%; border-color: transparent; border-left-color: #f0f0f0; }
  .cd-timeline-content .cd-date { position: absolute; width: 100%; left: 122%; top: 6px; font-size: 18px; }
  .cd-timeline-block:nth-child(even) .cd-timeline-content { float: right; }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before { top: 24px; left: auto; right: 100%; border-color: transparent; border-right-color: #f0f0f0; }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date { left: auto; right: 122%; text-align: right; }
}

/* ============================================================
   5. CLIENT-LIST CALLOUT BAND
   ============================================================ */
.wh-callout-band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.wh-callout-band::before { content: ""; position: absolute; inset: 0; background: rgba(18,28,38,.45); }
.wh-callout-inner { position: relative; z-index: 2; text-align: center; padding: 40px 20px; }

/* ============================================================
   6. FEATURED EVENTS — card grid
   ============================================================ */
.wh-featured-section { padding: 72px 0; background: #fff; }
.wh-section-title { text-align: center; font-size: 28px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 44px; }
.wh-card-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.wh-card {
  display: flex; flex-direction: column; width: 270px; background: var(--wh-grey);
  border: 1px solid var(--wh-line); text-decoration: none; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.wh-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.14); transform: translateY(-5px); }
.wh-card-img { width: 100%; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.wh-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wh-card:hover .wh-card-img img { transform: scale(1.05); }
.wh-card-body { padding: 16px 18px 20px; }
.wh-card-title { display: block; font-family: var(--wh-head-font); font-weight: 700; color: var(--wh-heading); margin-bottom: 6px; }
.wh-card-meta { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--wh-sage-text); margin-bottom: 8px; }
.wh-card-desc { display: block; font-size: 14px; line-height: 1.5; color: var(--wh-muted); }

/* ============================================================
   CLIENTS — directory (page-client-list) + single client
   ============================================================ */
.wh-client-list-block { margin: 40px 0 8px; }
.wh-client-list-title { text-align: center; font-size: 24px; font-weight: 700; color: var(--wh-heading); margin-bottom: 10px; }
.wh-client-list-subtitle { text-align: center; color: var(--wh-muted); max-width: 720px; margin: 0 auto 28px; }
.wh-client-list {
  list-style: none; margin: 0; padding: 0;
  column-width: 230px; column-gap: 44px;
}
.wh-client-list li { break-inside: avoid; margin: 0; }
.wh-client-list-item {
  display: block; padding: 9px 0; border-bottom: 1px solid var(--wh-line);
  color: var(--wh-sage-text); font-size: 15px; line-height: 1.4; text-decoration: none;
  transition: color .2s, transform .2s;
}
.wh-client-list-item:hover,
.wh-client-list-item:focus { color: var(--wh-accent); transform: translateX(2px); }

.wh-client-header { text-align: center; border-bottom: 1px solid var(--wh-line); padding-bottom: 30px; margin-bottom: 30px; }
.wh-client-header .wh-article-title { margin-bottom: 18px; }
.wh-client-events-intro { color: var(--wh-text); font-size: 17px; margin: 0 0 28px; text-align: center; }
/* Event cards on the single-client page: center the text under each image */
.wh-client-events .wh-card-body { text-align: center; }

/* ============================================================
   EVENTS — listing sub-nav, grid, pagination, empty state
   ============================================================ */
.wh-event-subnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px;
  border-bottom: 1px solid var(--wh-line); margin: 8px 0 36px; padding-bottom: 4px;
}
.wh-event-tab {
  display: inline-block; padding: 10px 4px; margin-bottom: -1px;
  font-family: var(--wh-head-font); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--wh-muted); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.wh-event-tab:hover { color: var(--wh-sage-text); }
.wh-event-tab.is-active { color: var(--wh-heading); border-bottom-color: var(--wh-sage); }
.wh-event-grid { margin-bottom: 8px; }
.wh-event-empty { text-align: center; color: var(--wh-muted); font-size: 17px; padding: 24px 0 8px; }

.wh-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 44px 0 8px; }
.wh-page-num, .wh-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 6px; border: 1px solid var(--wh-line);
  font-family: var(--wh-head-font); font-size: 14px; color: var(--wh-sage-text);
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.wh-page-num:hover, .wh-page-btn:hover { border-color: var(--wh-sage); color: var(--wh-heading); }
.wh-page-current { background: var(--wh-sage); border-color: var(--wh-sage); color: #fff; }
.wh-page-disabled { color: var(--wh-line); border-color: var(--wh-line); cursor: default; }
.wh-page-disabled:hover { color: var(--wh-line); border-color: var(--wh-line); }
.wh-page-ellipsis { display: inline-flex; align-items: flex-end; min-width: 22px; height: 40px; padding-bottom: 8px; color: var(--wh-muted); }

/* ============================================================
   EVENTS — single event detail
   ============================================================ */
.wh-event-detail::after { content: ""; display: table; clear: both; }
.wh-event-image {
  float: left; max-width: 320px; width: 45%; margin: 4px 30px 18px 0;
  border: 1px solid var(--wh-line); padding: 8px; background: #fff;
}
.wh-event-image img { display: block; width: 100%; height: auto; }
.wh-event-meta { font-size: 16px; line-height: 1.6; color: var(--wh-text); }
.wh-event-date { font-family: var(--wh-head-font); font-size: 18px; font-weight: 700; color: var(--wh-heading); margin: 0 0 4px; }
.wh-event-time { color: var(--wh-muted); margin: 0 0 16px; }
.wh-event-address { margin: 0 0 12px; }
.wh-event-extra { margin: 0 0 12px; }
.wh-event-phone { margin: 0 0 16px; }
.wh-event-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.wh-event-rule { border: 0; border-top: 1px solid var(--wh-line); margin: 32px 0; clear: both; }

@media (max-width: 640px) {
  .wh-event-image { float: none; width: auto; max-width: 100%; margin: 0 0 20px; }
}
/* Listing card text centered (matches the client list / single-client cards) */
.wh-event-grid .wh-card-body { text-align: center; }
/* Top pagination sits above the grid (different spacing than the bottom copy) */
.wh-pagination-top { margin: 8px 0 30px; }
/* Single event: tighten the whitespace between the body and the gallery (~100px) */
.wh-event-article { padding-bottom: 0; }
.wh-event-article + .wh-article-section .wh-gallery-block { margin-top: 24px; }
/* Gallery lightbox (Magnific) above the staff editor bar (z 99990) so captions show */
.mfp-bg { z-index: 100000; }
.mfp-wrap { z-index: 100001; }
/* While a lightbox is open, hide the fixed staff editor bar so it can't overlap the
   image caption (which magnific pins to the bottom strip). Bar returns on close. */
body:has(.mfp-wrap) .wh-editor-bar { display: none; }

/* Gallery caption — turn magnific's bare left-aligned text into a full-width,
   fixed bottom strip with a dark scrim behind it so the caption is always legible
   over the photo. Scoped to the gallery popup (mainClass wh-gallery-mfp) so it
   never touches the inline login popup. */
.wh-gallery-mfp .mfp-bottom-bar {
  position: fixed; top: auto; bottom: 0; left: 0; right: 0;
  width: 100%; margin: 0; box-sizing: border-box;
  padding: 15px 60px; text-align: center;
  background: rgba(18, 20, 18, .82);
  z-index: 100002;
}
.wh-gallery-mfp .mfp-title {
  color: #fff; text-align: center; padding: 0;
  font-family: var(--wh-head-font); font-size: 15px; line-height: 1.45; letter-spacing: .01em;
}
.wh-gallery-mfp .mfp-counter {
  color: rgba(255, 255, 255, .7); top: 50%; right: 20px; transform: translateY(-50%);
  font-size: 12px; letter-spacing: .04em;
}
@media (max-width: 600px) {
  .wh-gallery-mfp .mfp-bottom-bar { padding: 12px 16px 14px; }
  .wh-gallery-mfp .mfp-counter { position: static; transform: none; display: block; margin-top: 4px; }
}

/* ============================================================
   7. FACTS COUNTERS
   ============================================================ */
.wh-facts-section { background: var(--wh-grey); padding: 64px 0; }
.wh-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.wh-fact-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--wh-muted); margin-bottom: 10px; }
.wh-fact-num { font-family: var(--wh-head-font); font-size: 40px; font-weight: 700; color: var(--wh-sage-text); }
.wh-fact-line { display: block; width: 40px; height: 3px; background: var(--wh-sage); margin: 12px auto 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.rl { transform: translateX(-40px); }
.reveal.rr { transform: translateX(40px); }
.reveal.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#contact { background: var(--wh-dark); color: #cfcfc7; padding: 56px 0 0; }
.footer-grid { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h6 { color: #fff; font-family: var(--wh-head-font); font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-col h6 i { color: var(--wh-sage-light); }
.footer-col p { font-size: 14px; line-height: 1.7; margin: 0 0 6px; }
.footer-col a { color: #cfcfc7; text-decoration: none; }
.footer-col a:hover { color: var(--wh-sage-light); }
.footer-logo { max-width: 130px; height: auto; }
.fsocial { display: flex; gap: 12px; margin-bottom: 12px; }
.fsocial a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; color: var(--wh-sage-light); }
.fsocial a:hover { background: var(--wh-sage); color: #fff; border-color: var(--wh-sage); }
.footer-contact-link { font-family: var(--wh-head-font); font-size: 13px; letter-spacing: .04em; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; text-align: center; }
.footer-bottom p { font-size: 12px; letter-spacing: .03em; color: #9a9a90; margin: 0; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { color: var(--wh-sage-light); }

/* ============================================================
   STATIC EDITOR BAR (staff)
   ============================================================ */
.wh-editor-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99990;
  background: #000000; color: #f2f2ec;            /* black */
  border-top: 1px solid rgba(255,255,255,.18);    /* thin light divider above */
  font-family: var(--wh-head-font); font-size: 12px; padding: 9px 20px 10px; text-align: center;
}
.wh-editor-greet { display: block; color: #c9c7ac; }
.wh-editor-links { display: block; margin-top: 3px; }
.wh-editor-bar a { color: var(--wh-sage-light); margin: 0 6px; text-decoration: underline; font-weight: 500; }
body:has(.wh-editor-bar) #contact { padding-bottom: 62px; }
@media (max-width: 768px) {
  .wh-editor-bar { display: none; }
  body:has(.wh-editor-bar) #contact { padding-bottom: 0; }
}

/* ============================================================
   LOGIN POPUP (Magnific + Login With Ajax, login-only)
   ============================================================ */
.mfp-wrap:has(#wh-login-popup) .mfp-content,
#wh-login-popup { max-width: 460px; margin: 0 auto; }
#wh-login-popup.white-popup {
  position: relative; background: #fff; padding: 34px 34px 30px; border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.wh-login-wordmark { text-align: center; font-family: var(--wh-head-font); font-size: 20px; font-weight: 600; color: var(--wh-heading); margin-bottom: 18px; }
#wh-login-popup .lwa-title { display: none; }
#wh-login-popup label { display: block; font-family: var(--wh-head-font); font-size: 13px; color: var(--wh-heading); margin-bottom: 5px; }
#wh-login-popup input[type="text"], #wh-login-popup input[type="password"], #wh-login-popup input[type="email"] {
  width: 100%; height: auto; line-height: 1.4; letter-spacing: normal;
  padding: 11px 13px; margin-bottom: 14px;
  border: 1px solid #ccc; border-radius: 4px; font-size: 15px;
}
#wh-login-popup input[type="submit"], #wh-login-popup .lwa-submit, #wh-login-popup button {
  background: var(--wh-sage); color: #fff; border: 1px solid var(--wh-sage); border-radius: 4px;
  padding: 11px 28px; font-family: var(--wh-head-font); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; transition: opacity .3s;
}
#wh-login-popup input[type="submit"]:hover, #wh-login-popup .lwa-submit:hover, #wh-login-popup button:hover { opacity: .85; }
#wh-login-popup .lwa-remember { font-weight: 400; text-transform: none; display: flex; align-items: center; gap: 6px; }
/* Lost-password (Forgotten Password) view: full-width field, buttons below it */
#wh-login-popup form.lwa-remember { display: block; }
#wh-login-popup .lwa-remember-email,
#wh-login-popup form.lwa-remember .lwa-submit-button { display: block; width: 100%; float: none; clear: both; }
#wh-login-popup .lwa-remember-email input[type="text"] { width: 100%; }
#wh-login-popup form.lwa-remember .lwa-submit-button {
  margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
/* Close (X): the generic popup-button rule tints it sage — center the glyph in that block */
#wh-login-popup button.mfp-close,
.mfp-wrap:has(#wh-login-popup) button.mfp-close {
  width: 36px; height: 36px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: Arial, sans-serif; font-size: 22px; font-weight: 400;
  line-height: 1; letter-spacing: normal; text-transform: none; opacity: 1;
  background: var(--wh-sage); color: #fff; border: 1px solid var(--wh-sage);
  border-radius: 4px;
}
#wh-login-popup button.mfp-close:hover,
.mfp-wrap:has(#wh-login-popup) button.mfp-close:hover { opacity: .85; }

/* Portal popup only: no self-service reset (shared access code), so point
   members at Winslow instead. The public popup keeps its reset link for staff. */
.portal-login-popup .portal-login-help {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--wh-line);
  font-size: 13px; line-height: 1.5; color: var(--wh-muted); text-align: center;
}
.portal-login-popup .portal-login-help a { color: var(--wh-sage-text); text-decoration: underline; }
.portal-login-popup .portal-login-help a:hover { color: var(--wh-dark); }
/* Belt and braces: if a future LWA template ignores remember=0, the plugin's own
   rule is `.lwa-bones .lwa.lwa-login .lwa-links a { display: block !important }`,
   so the override has to match that chain. Scoped to the portal popup. */
.portal-login-popup .lwa-bones .lwa.lwa-login .lwa-links a.lwa-links-remember,
.portal-login-popup .lwa-links a.lwa-links-remember { display: none !important; }

/* ============================================================
   PASSWORD REVEAL ("EYE") TOGGLE
   Injected by js/wh-password-toggle.js around every password field:
   the LWA popup, the in-portal profile form, Woo login/reset screens.
   ============================================================ */
.wh-pw-wrap { position: relative; display: block; }
/* display:block on the field kills the inline baseline gap, so a
   height:100% button lines up with the input exactly. */
.wh-pw-wrap > input[type="password"],
.wh-pw-wrap > input[type="text"] { display: block; width: 100%; padding-right: 46px; }
.wh-pw-toggle {
  position: absolute; top: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 100%; padding: 0; border: 0;
  background: transparent;
  color: var(--wh-heading);        /* #414141 — ~9.6:1 on white, well past the 3:1 UI minimum */
  cursor: pointer; -webkit-appearance: none; appearance: none;
}
.wh-pw-toggle:hover { color: var(--wh-sage-text); }
.wh-pw-toggle svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.wh-pw-toggle:focus-visible { outline: 3px solid var(--wh-dark); outline-offset: -3px; }

/* Visually hidden live region ("Password visible." / "Password hidden.") */
.wh-sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Inside the popup the generic "#wh-login-popup button" rule paints buttons
   sage and uppercase — the toggle has to opt out of that. */
#wh-login-popup .wh-pw-toggle {
  background: transparent; border: 0; border-radius: 0; padding: 0;
  color: var(--wh-heading); text-transform: none; letter-spacing: normal;
}
#wh-login-popup .wh-pw-toggle:hover { background: transparent; opacity: 1; color: var(--wh-sage-text); }
/* The field's own 14px gap moves to the wrapper so the button spans the input only. */
#wh-login-popup .wh-pw-wrap { margin-bottom: 14px; }
#wh-login-popup .wh-pw-wrap > input[type="password"],
#wh-login-popup .wh-pw-wrap > input[type="text"] { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  :root { --wh-nav-h: var(--wh-nav-h-mob); }
  #navbar { height: var(--wh-nav-h-mob); }
  .wh-page-content-wrapper { padding-top: calc(var(--wh-nav-h-mob) + 34px); }
  body.wh-has-hero .wh-page-content-wrapper { padding-top: var(--wh-nav-h-mob); }
  /* Scaled-down breakout + block for the shorter mobile bar (no shrink) */
  .nav-logo img { max-height: 80px; margin-top: 9px; }
  #navbar::after { height: 34px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .wh-hero { height: 420px; }
  .wh-intro-grid, .wh-services-grid, .wh-facts-grid { grid-template-columns: 1fr; }
  .wh-services-grid { gap: 18px; }
  .wh-facts-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wh-callout-band { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .wh-facts-grid { grid-template-columns: 1fr; }
  .wh-hero { height: 340px; }
  h1 { font-size: 28px; }
  .wh-cta-title { font-size: 24px; }
}

/* ============================================================
   PORTAL — chrome-less event microsite (login + dashboard + pages)
   Black top bar (hamburger) → full-width slides → event header →
   desktop tab nav → neutral light content box → black footer bar.
   The hamburger opens a single right slide-in drawer (tabs + account).
   ============================================================ */
.portal-mode {
  --portal-ink: #20303f;      /* event name — deep slate */
  --portal-accent: #5f7a33;   /* date line — natural green */
  --portal-canvas: #f5f5f2;   /* neutral light-gray content box */
  --portal-gold: #c9ad74;
  margin: 0;
  padding-top: 38px;          /* clear the fixed 38px top bar */
  background: #ffffff;        /* bright white outside the content box */
  color: var(--wh-text);
}
.portal-mode.portal-drawer-open { overflow: hidden; }

/* --- Thin black top bar (hamburger when logged in / Log In when out) --- */
.portal-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 38px; background: #000;
}
.portal-topbar-inner {
  max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: flex-end;
}
.portal-topbar-login {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--wh-head-font); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  padding: 0 2px; line-height: 38px; text-decoration: none;
  transition: color .2s;
}
.portal-topbar-login:hover { color: var(--wh-sage-light); }

/* Hamburger — icon only, no label */
.portal-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 38px; padding: 0; margin-right: -6px;
  background: none; border: 0; cursor: pointer;
}
.portal-menu-bars { display: inline-flex; flex-direction: column; gap: 5px; }
.portal-menu-bars span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: background .2s;
}
.portal-menu-toggle:hover .portal-menu-bars span { background: var(--wh-sage-light); }

/* --- Right slide-in drawer: the single portal menu (dark) --- */
.portal-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 70;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.portal-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.portal-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 340px; z-index: 80;
  background: var(--wh-dark); color: #fff;
  transform: translateX(100%); transition: transform .32s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.portal-drawer.is-open { transform: translateX(0); }
.portal-drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.portal-drawer-title {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 15px;
  letter-spacing: .05em; text-transform: uppercase; color: #fff;
}
.portal-drawer-close { background: none; border: 0; color: var(--wh-nav-text); font-size: 26px; line-height: 1; cursor: pointer; }
.portal-drawer-close:hover { color: #fff; }
.portal-drawer-links { display: flex; flex-direction: column; padding: 6px 0; }
/* Tab links inside the drawer — vertical, uppercase, nav-cream on dark */
.portal-drawer-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--wh-head-font); font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--wh-nav-text); text-decoration: none; transition: background .15s, color .15s;
}
.portal-drawer-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.portal-drawer-link.is-active { background: var(--wh-sage); color: #fff; }
.portal-drawer-link .portal-tab-tick { color: var(--wh-sage-light); }
.portal-drawer-link.is-active .portal-tab-tick { color: #fff; }
/* Account block — pinned to the bottom of the drawer */
.portal-drawer-account { margin-top: auto; padding: 8px 0 12px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.portal-drawer-section {
  padding: 12px 22px 4px;
  font-family: var(--wh-head-font); font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.portal-drawer-acct-link {
  display: block; padding: 10px 22px;
  font-family: var(--wh-head-font); font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.9); text-decoration: none; transition: background .15s, color .15s;
}
.portal-drawer-acct-link:hover { background: var(--wh-sage); color: #fff; }
.portal-drawer-staff { color: rgba(255,255,255,.72); }
.portal-drawer-logout { font-weight: 700; color: var(--wh-sage-light); }
/* Clear the fixed staff editor bar so Log Out isn't hidden under it (desktop only). */
body:has(.wh-editor-bar) .portal-drawer { padding-bottom: 62px; }
@media (max-width: 768px) { body:has(.wh-editor-bar) .portal-drawer { padding-bottom: 0; } }

.portal-frame { position: relative; z-index: 1; min-height: calc(100vh - 38px); min-height: calc(100svh - 38px); display: flex; flex-direction: column; background: #fff; }
.portal-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* --- Logged-out login screen: full-bleed portal background photo --- */
/* (No slides logged out — buttons on the hero are members-only. The photo fills
   the space between the top bar and the footer bar; it disappears once logged in.) */
.portal-login-mode { background: #0f1924; }
.portal-bg {
  position: fixed; inset: 0; z-index: 0;
  background: #0f1924 center center / cover no-repeat;
}
.portal-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,25,36,.34) 0%, rgba(15,25,36,.60) 100%);
}
.portal-login-mode .portal-frame,
.portal-login-mode .portal-canvas,
.portal-login-mode .portal-body { background: transparent; }
.portal-login-mode .portal-body { border: 0; padding: 0; }
.portal-login-mode .portal-canvas { padding: 26px 0 50px; }
/* Event title band over the photo — white */
.portal-login-mode .portal-titleblock { padding: 44px 0 10px; }
.portal-login-mode .portal-event-name { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.portal-login-mode .portal-event-dates { color: var(--wh-sage-light); text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.portal-login-mode .portal-event-venue .pv-name,
.portal-login-mode .portal-event-venue .pv-loc { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
/* Login prompt over the photo */
.portal-login-mode .portal-login { color: #fff; padding: 10px 0 0; }
.portal-login-mode .portal-login-prompt { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* --- Full-width hero slides sit flush under the top bar (see .wh-hero.portal-hero) --- */

/* --- Event title band (name / dates / venue) — on white, toggleable --- */
.portal-titleblock { text-align: center; padding: 40px 0 20px; }
.portal-event-name {
  font-family: var(--wh-head-font); font-weight: 700; color: var(--portal-ink);
  font-size: 38px; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase;
  margin: 0 0 6px;
}
.portal-event-dates {
  font-family: var(--wh-head-font); font-weight: 700; color: var(--portal-accent);
  font-size: 25px; line-height: 1.2; margin: 0 0 16px;
}
.portal-event-venue { font-family: var(--wh-head-font); font-weight: 600; line-height: 1.3; }
.portal-event-venue .pv-name { display: block; color: var(--portal-ink); font-size: 20px; }
.portal-event-venue .pv-loc  { display: block; color: var(--wh-muted); font-size: 18px; }

/* --- Desktop tab nav (hidden on mobile — the drawer takes over) --- */
.portal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 6px 0 8px; }
.portal-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--wh-head-font); font-weight: 600; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--wh-heading);
  background: #fff; border: 1px solid var(--wh-line);
  padding: 11px 20px; transition: background .2s, color .2s, border-color .2s;
}
.portal-tab:hover { border-color: var(--wh-sage); color: var(--wh-sage-text); }
.portal-tab.is-active { background: var(--wh-sage); border-color: var(--wh-sage); color: #fff; }
.portal-tab.is-completed { color: var(--wh-sage-text); }
/* When a completed tab is also the current page, its green background needs white text */
.portal-tab.is-active.is-completed { color: #fff; }
.portal-tab-tick { font-size: 11px; color: var(--wh-sage); }
.portal-tab.is-active .portal-tab-tick { color: #fff; }
.portal-tab-label { cursor: default; }
@media (max-width: 900px) { .portal-nav-desktop { display: none; } }

/* --- Content canvas (white page) + neutral light-gray content box --- */
.portal-canvas { flex: 1; padding: 14px 0 56px; }
.portal-body {
  background: var(--portal-canvas);
  border: 1px solid var(--wh-line);
  padding: 48px 54px;
}

/* --- Content (post_content / dashboard) in the light content box --- */
.portal-prose { color: var(--wh-text); font-size: 17px; line-height: 1.75; }
.portal-prose > *:first-child { margin-top: 0; }
.portal-prose p { margin: 0 0 1.2em; }
/* Editorial headings — mirror the main site's .wh-prose scale/weights. */
.portal-prose h1, .portal-prose h2, .portal-prose h3,
.portal-prose h4, .portal-prose h5, .portal-prose h6 {
  font-family: var(--wh-head-font); color: var(--wh-heading); margin: 1.6em 0 .5em; line-height: 1.25;
}
.portal-prose h1 { font-size: 30px; line-height: 36px; font-weight: 400; }
.portal-prose h2 { font-size: 24px; font-weight: 600; }
.portal-prose h3 { font-size: 20px; font-weight: 600; color: var(--wh-accent); }
.portal-prose h4 { font-size: 17px; font-weight: 600; }
.portal-prose h4::before { content: "\2014"; color: var(--wh-accent); margin-right: .45em; }
.portal-prose h5 { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #000; }
.portal-prose h6 { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--wh-accent); }
.portal-prose a:not([class*="wh-button"]) { color: var(--wh-sage-text); text-decoration: underline; }
.portal-prose a:not([class*="wh-button"]):hover { color: var(--wh-dark); }
.portal-prose ul, .portal-prose ol { margin: 0 0 1.2em; padding-left: 22px; }
.portal-prose li { margin-bottom: .5em; }
.portal-prose img { max-width: 100%; height: auto; border-radius: 2px; }
/* Image alignment + captions (classic editor classes + block editor) */
.portal-prose::after { content: ""; display: table; clear: both; }   /* contain floats */
.portal-prose .alignright, .portal-prose img.alignright,
.portal-prose figure.alignright, .portal-prose .wp-caption.alignright {
  float: right; margin: 6px 0 16px 24px; max-width: 50%;
}
.portal-prose .alignleft, .portal-prose img.alignleft,
.portal-prose figure.alignleft, .portal-prose .wp-caption.alignleft {
  float: left; margin: 6px 24px 16px 0; max-width: 50%;
}
.portal-prose .aligncenter, .portal-prose img.aligncenter, .portal-prose figure.aligncenter {
  display: block; margin-left: auto; margin-right: auto;
}
.portal-prose .alignnone { margin-bottom: 16px; }
.portal-prose figure, .portal-prose .wp-caption { margin: 0 0 1.2em; max-width: 100%; }
.portal-prose figure img, .portal-prose .wp-caption img { display: block; }
.portal-prose figcaption, .portal-prose .wp-caption-text, .portal-prose .wp-element-caption {
  font-size: 13px; font-style: italic; color: var(--wh-muted);
  line-height: 1.4; margin-top: 6px; text-align: left;
}
.portal-prose hr { border: 0; border-top: 1px solid var(--wh-line); margin: 28px 0; }
.portal-prose strong { color: var(--wh-heading); }
/* Tables (e.g. AGENDA) in the light content box */
.portal-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.portal-prose th { background: var(--wh-sage); color: #fff; font-family: var(--wh-head-font); font-weight: 600; text-align: left; padding: 10px 14px; border: 1px solid var(--wh-sage); }
.portal-prose td { padding: 9px 14px; border: 1px solid var(--wh-line); vertical-align: top; }
.portal-prose tr:nth-child(even) td, .portal-prose tbody tr:nth-child(even) { background: rgba(0,0,0,.03); }

/* Gravity Forms in the light content box use the site's base .gform_wrapper styles. */

/* --- "Completed" confirmation message (shown once the tracked form is submitted) --- */
.portal-completed-msg {
  border: 1px solid var(--wh-line); border-left: 4px solid var(--wh-sage);
  background: #eef1e6; border-radius: 4px; padding: 26px 30px;
}
.portal-completed-msg > *:last-child { margin-bottom: 0; }
.portal-completed-msg .portal-completed-lead { font-size: 19px; color: var(--wh-heading); }
.portal-completed-msg .portal-completed-lead i,
.portal-completed-msg i.fa-circle-check { color: var(--wh-sage); margin-right: .45em; }

/* --- "Your Submission" read-only recap (under the completed message) --- */
.portal-submission-wrap { margin-top: 26px; }
.portal-submission {
  border: 1px solid var(--wh-line); border-radius: 4px;
  background: #fff; padding: 24px 28px;
}
.portal-submission-title {
  font-family: var(--wh-head-font); color: var(--wh-heading); font-weight: 700;
  font-size: 20px; letter-spacing: .02em; margin: 0 0 4px;
}
.portal-submission-meta {
  font-size: 13px; color: var(--wh-muted); margin: 0 0 18px;
}
.portal-submission-list { margin: 0; }
.portal-submission-row {
  display: flex; flex-wrap: wrap; gap: 4px 24px;
  padding: 11px 0; border-top: 1px solid var(--wh-line);
}
.portal-submission-row:first-child { border-top: 0; padding-top: 0; }
.portal-submission-list dt {
  flex: 0 0 220px; max-width: 100%;
  font-family: var(--wh-head-font); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: var(--wh-heading);
}
.portal-submission-list dd {
  flex: 1 1 260px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--wh-text);
  overflow-wrap: break-word;
}
.portal-submission-list dd ul { margin: 0; padding-left: 18px; }
.portal-submission-list dd img { max-width: 100%; height: auto; }
.portal-submission-list dd a { color: var(--wh-sage-text); text-decoration: underline; }
.portal-submission-list dd table { width: 100%; border-collapse: collapse; font-size: 14px; }
.portal-submission-list dd td, .portal-submission-list dd th {
  border: 1px solid var(--wh-line); padding: 6px 9px; text-align: left;
}
@media (max-width: 640px) {
  .portal-submission { padding: 20px 18px; }
  .portal-submission-list dt { flex: 1 1 100%; }
}

/* --- Login screen + private notice (centered in the content box) --- */
.portal-login, .portal-notice { text-align: center; padding: 30px 0 20px; color: var(--wh-text); }
.portal-login-prompt { font-size: 20px; letter-spacing: .02em; margin: 0 0 26px; color: var(--wh-heading); }
.portal-login-btn {
  display: inline-block; font-family: var(--wh-head-font); font-weight: 600; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--wh-sage); padding: 16px 46px; transition: background .2s, transform .2s;
}
.portal-login-btn:hover { background: #5b6745; transform: translateY(-2px); }
.portal-notice p { font-size: 18px; margin: 0 0 18px; }

/* --- In-portal Edit Profile form (inside the light content box) --- */
.portal-profile { max-width: 680px; margin: 0 auto; color: var(--wh-text); }
.portal-profile-title {
  font-family: var(--wh-head-font); color: var(--wh-heading); font-weight: 700; font-size: 26px;
  margin: 0 0 22px; text-align: center;
}
.portal-profile-form .ppf-row { display: flex; gap: 18px; }
.portal-profile-form .ppf-row .ppf-field { flex: 1; }
.portal-profile-form .ppf-field { margin-bottom: 16px; }
.portal-profile-form label {
  display: block; font-family: var(--wh-head-font); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: var(--wh-heading); margin-bottom: 6px;
}
.portal-profile-form input[type="text"],
.portal-profile-form input[type="email"],
.portal-profile-form input[type="password"] {
  width: 100%; padding: 11px 13px; font-size: 15px; line-height: 1.4;
  background: #fff; color: var(--wh-text); border: 1px solid var(--wh-line); border-radius: 4px;
}
.portal-profile-form input:focus {
  outline: none; border-color: var(--wh-sage); box-shadow: 0 0 0 3px rgba(110,124,81,.15);
}
.portal-profile-form .ppf-pass {
  border: 1px solid var(--wh-line); border-radius: 5px;
  padding: 18px 20px 6px; margin: 8px 0 22px;
}
.portal-profile-form .ppf-pass legend {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 15px; color: var(--wh-heading); padding: 0 8px;
}
.portal-profile-form .ppf-hint { font-size: 14px; color: var(--wh-muted); margin: 0 0 14px; }
.portal-profile-form .ppf-actions { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.portal-profile-save {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: var(--wh-sage);
  border: 1px solid var(--wh-sage); border-radius: 4px; padding: 14px 38px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.portal-profile-save:hover { background: #5b6745; transform: translateY(-2px); }
.portal-profile-cancel {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  color: var(--wh-sage-text); text-decoration: underline; text-underline-offset: 3px;
}
.portal-profile-cancel:hover { color: var(--wh-dark); }
/* WooCommerce notices, restyled for the light content box */
.portal-profile .woocommerce-message,
.portal-profile .woocommerce-error,
.portal-profile .woocommerce-info {
  list-style: none; margin: 0 0 22px; padding: 14px 18px; border-radius: 5px; font-size: 15px;
  border-left: 4px solid var(--wh-sage); background: #eef1e6; color: var(--wh-text);
}
.portal-profile .woocommerce-error { border-left-color: var(--wh-accent); background: #f7ece4; }
.portal-profile .woocommerce-error li { margin: 0; }
/* Drop WooCommerce's absolutely-positioned check/icon (it overlaps our text) */
.portal-profile .woocommerce-message::before,
.portal-profile .woocommerce-error::before,
.portal-profile .woocommerce-info::before { content: none; }

/* --- Black footer bar (title → dashboard · dates · venue) --- */
.portal-footerbar { background: #000; color: #cfcfc7; padding: 22px 0; }
.portal-footerbar-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center;
}
.portal-footerbar-title {
  font-family: var(--wh-head-font); font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none;
  transition: color .2s;
}
a.portal-footerbar-title:hover { color: var(--wh-sage-light); }
.portal-footerbar-meta { font-size: 13px; letter-spacing: .02em; color: #9a9a90; }
/* Keep the fixed staff editor bar from covering the footer content (desktop only). */
body:has(.wh-editor-bar) .portal-footerbar { padding-bottom: 90px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  /* Smaller event header on mobile so it doesn't fill the screen */
  .portal-event-name { font-size: 24px; }
  .portal-event-dates { font-size: 18px; }
  .portal-event-venue .pv-name { font-size: 17px; }
  .portal-event-venue .pv-loc { font-size: 15px; }
  .portal-titleblock { padding: 26px 0 14px; }
  .portal-body { padding: 30px 20px; }
  .portal-profile-form .ppf-row { flex-direction: column; gap: 0; }
  body:has(.wh-editor-bar) .portal-footerbar { padding-bottom: 22px; }
  /* No floated images on mobile — full width, centered, stacked */
  .portal-prose .alignright, .portal-prose img.alignright,
  .portal-prose figure.alignright, .portal-prose .wp-caption.alignright,
  .portal-prose .alignleft, .portal-prose img.alignleft,
  .portal-prose figure.alignleft, .portal-prose .wp-caption.alignleft {
    float: none; max-width: 100%; margin: 0 auto 16px;
  }
  .portal-prose figure img, .portal-prose img.alignright, .portal-prose img.alignleft { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  .wh-hero.portal-hero { height: 300px; }
}
