/* ==========================================================================
   AFFINITY CONSULTANTS — THEME STYLES
   Built on Bootstrap 5.3. Design tokens mapped from Figma.
   Edit a variable in :root and the whole site follows.
   --------------------------------------------------------------------------
   1. Design tokens (:root)
   2. Bootstrap variable overrides
   3. Base / typography
   4. Color utility classes
   5. Buttons
   6. Eyebrow callout (global)
   7. Header / nav
   8. Hero
   9. Trust bar
   10. Universal Problem (icon cards)
   11. Framework / What is PCM
   12. Workshops grid (square-image cards)
   13. Testimonials
   14. Blogs
   15. Podcast
   16. Videos
   17. Footer
   18. Helpers & responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
  --af-green-900: #0e562b;
  --af-green-700: #3aab69;
  --af-green-400: #a1cf77;
  --af-green-50:  #f5fff9;
  --af-gray-900:  #252c32;
  --af-gray-600:  #6b7280;
  --af-gray-400:  #9ca3af;
  --af-gray-200:  #e5e7eb;
  --af-charcoal:  #515450;
  --af-bg:        #f7f7f8;
  --af-white:     #ffffff;
  --af-yellow:    #f8c513;

  --af-pcm-blue:    #00175A;
  --af-pcm-green:   #a1cf77;
  --af-pcm-orange:  #E9B24C;
  --af-pcm-pink:    #EDBBBB;
  --af-pcm-thinker: #32a2ff;
  --af-pcm-harmonizer:  #FC7403;
  --af-pcm-persister: #7F379D;
  --af-pcm-rebel:   #FAE200;
  --af-pcm-promoter:  #FF1933;
  --af-pcm-imaginer:  #E3A88D;
  --af-pcm-purple:  #7F379D;

  --af-brand-blue:    #7fc0e5;
  --af-brand-purple:  #cb9ae5;
  --af-brand-yellow:  #F9E885;


  --af-font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --af-font-body:    "Inter", system-ui, sans-serif;
  --af-font-accent:  "Crimson Pro", Georgia, serif;

  --af-fs-display: 4rem;
  --af-fs-h1:      3rem;
  --af-fs-h2:      2.5rem;
  --af-fs-h3:      1.75rem;
  --af-fs-body-xl: 1.5rem;
  --af-fs-body-lg: 1.125rem;
  --af-fs-body:    1rem;
  --af-fs-body-sm: 0.875rem;
  --af-fs-label:   0.75rem;

  --af-radius:     8px;
  --af-radius-lg:  16px;
  --af-radius-xl:  24px;
  --af-radius-pill: 999px;

  --af-shadow-card: 0 6px 16px rgba(26, 26, 26, 0.10);
  --af-shadow-xl:   0 24px 48px rgba(20, 40, 30, 0.10);
  --af-shadow-wt:   0 24px 48px rgba(255, 255, 255, 0.90);


  --af-section-y: 5.5rem;
}

/* 2. BOOTSTRAP OVERRIDES =================================================== */
:root {
  --bs-primary: var(--af-green-900);
  --bs-primary-rgb: 14, 86, 43;
  --bs-secondary: var(--af-green-700);
  --bs-secondary-rgb: 58, 171, 105;
  --bs-body-color: var(--af-gray-900);
  --bs-body-color-rgb: 37, 44, 50;
  --bs-body-bg: var(--af-white);
  --bs-body-font-family: var(--af-font-body);
  --bs-body-font-size: var(--af-fs-body-lg);
  --bs-border-color: var(--af-gray-200);
  --bs-border-radius: var(--af-radius);
  --bs-link-color: var(--af-green-900);
  --bs-link-color-rgb: 14, 86, 43;
  --bs-link-hover-color: var(--af-green-700);
}

/* 3. BASE / TYPOGRAPHY ===================================================== */
body {
  font-family: var(--af-font-body);
  color: var(--af-gray-900);
  background: var(--af-white);
  font-size: var(--af-fs-body-lg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
  font-family: var(--af-font-heading);
  font-weight: 700;
  color: var(--af-gray-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1,.h1 { font-size: clamp(2.25rem, 4vw, var(--af-fs-h1)); }
h2,.h2 { font-size: clamp(2rem, 3.4vw, var(--af-fs-h2)); }
h3,.h3 { font-size: var(--af-fs-h3); }
.display-title { font-size: clamp(2.5rem, 5vw, var(--af-fs-display)); line-height: 1.08; }
p { color: var(--af-gray-600); }
.lead { font-size: var(--af-fs-body-lg); color: var(--af-gray-600); }
a {-webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease;}

/* The signature serif-italic accent (e.g. "Actually Change") */
.accent { font-family: var(--af-font-accent); font-style: italic; font-weight: 500; color: var(--af-green-700); font-size:124%; }

/* 4. COLOR UTILITY CLASSES ================================================= */
.text-brand-green   { color: var(--af-green-900) !important; }
.text-bright-green  { color: var(--af-green-700) !important; }
.text-gray-secondary{ color: var(--af-gray-600) !important; }
.text-gray-tertiary { color: var(--af-gray-400) !important; }
.bg-brand-green  { background-color: var(--af-green-900) !important; color: #fff; }
.bg-bright-green { background-color: var(--af-green-700) !important; color: #fff; }
.bg-pcm-green    { background-color: var(--af-pcm-green)  !important; }
.bg-green-50     { background-color: var(--af-green-50)  !important; }
.bg-soft         { background-color: var(--af-bg)        !important; }
.bg-pcm-thinker { background-color: var(--af-pcm-thinker) !important; }
.bg-pcm-blue    { background-color: var(--af-pcm-blue)    !important; }
.bg-pcm-purple  { background-color: var(--af-pcm-purple)  !important; }
.text-pcm-thinker { color: var(--af-pcm-thinker) !important; }
.text-pcm-purple  { color: var(--af-pcm-purple)  !important; }

/* 5. BUTTONS =============================================================== */
.btn {
  font-family: var(--af-font-body);
  font-weight: 700;
  font-size: var(--af-fs-body-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--af-radius);
  padding: .85rem 1.6rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn-pill { border-radius: var(--af-radius-pill); }
.btn-brand   { background: var(--af-green-900); color: #fff; }
.btn-brand:hover { background: var(--af-green-700); color: #fff; box-shadow: var(--af-shadow-card); }
.btn-bright  { background: var(--af-green-700); color: #fff; }
.btn-bright:hover { background: var(--af-green-900); color: #fff; box-shadow: var(--af-shadow-card); }
.btn-charcoal { background: var(--af-charcoal); color: #fff; }
.btn-charcoal:hover { background: var(--af-green-900); color: #fff; box-shadow: var(--af-shadow-card); }
.btn-outline-brand { background: transparent; color: var(--af-green-900); border: 1.5px solid var(--af-gray-200); }
.btn-outline-brand:hover { background: var(--af-green-900); color: #fff; border-color: var(--af-green-900); }
/* Arrow icons glide right on hover (instead of the whole button lifting) */
.btn .material-symbols-rounded { transition: transform .2s ease; }
.btn:hover .material-symbols-rounded { transform: translateX(4px); }

/* 6. EYEBROW CALLOUT (global, matches Figma pill) ========================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--af-font-body);
  font-size: var(--af-fs-body);
  font-weight: 700;
  color: var(--af-green-900);
  background: var(--af-green-50);
  border-left: 3px solid var(--af-green-900);
  padding: .45rem 1rem;
  border-radius: 0 6px 6px 0;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow-white {
  background-color: #fff;
}
.img-responsive {
  width:100%;
  height: auto;
  border-radius: var(--af-radius);
}
.txt-center {text-align: center;}

/* 7. HEADER / NAV =========================================================
   CSS-only menu — no JavaScript. State lives in hidden checkboxes:
     #af-nav-toggle  -> opens/closes the mobile offcanvas drawer
     .af-subtoggle   -> opens/closes each submenu (injected by Affinity_Nav_Walker)
   > 1024px : horizontal bar with click-to-open dropdowns (item OR caret toggles)
   <= 1024px: offcanvas drawer that eases in/out like mmenu-light (.mm-ocd), with
              an app-style horizontal drilldown for submenus.
   ========================================================================== */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid transparent; }
.site-header .brand-mark { height: 40px; }

/* Header helpers */
#bazinga { position: absolute; top: 0; left: -99999px; }
#logo { height: 50px; width: auto; }

/* Flex row inside .container */
.af-nav { display: flex; align-items: center; gap: 1rem; width: 100%; }

/* Toggle inputs: visually hidden but kept in the DOM & focusable, so the
   :checked ~ sibling selectors and keyboard operation both work. */
.af-nav-toggle,
.af-subtoggle {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Shared list resets + link/caret base */
.af-menu, .af-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.af-menu a, .af-menu label {
  display: block; text-decoration: none; color: var(--af-gray-900);
  font-family: var(--af-font-body); font-weight: 600; font-size: var(--af-fs-body);
}
.af-caret {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--af-gray-600); user-select: none;
}
.af-caret .material-symbols-rounded { transition: transform .25s ease; font-size: 1.4rem; line-height: 1; }
.af-subtoggle:focus-visible ~ .af-caret { outline: 2px solid var(--af-green-700); outline-offset: 2px; border-radius: 4px; }

/* ---- DESKTOP (> 1024px): horizontal bar, click-to-open dropdowns ---------- */
@media (min-width: 1025px) {
  .af-burger, .af-ocd { display: none !important; }

  .af-desktop-nav { margin-inline: auto; }
  .af-menu--desktop { display: flex; align-items: center; }
  .af-menu--desktop > li { position: relative; display: flex; align-items: center; }

  /* .af-toplink is the <a> (leaf) or the <label> (parent) — both style the same.
     On a parent it is a toggle: the item itself opens the dropdown, like the caret. */
  .af-menu--desktop > li > .af-toplink { position: relative; padding: .25rem 0; margin: 0 1rem; }
  .af-menu--desktop > li > .af-toplink--toggle { cursor: pointer; }
  .af-menu--desktop > li > .af-toplink::after {
    content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--af-green-700); transition: width .2s ease;
  }
  .af-menu--desktop > li > .af-toplink:hover,
  .af-menu--desktop > li.current-menu-item > .af-toplink { color: var(--af-green-900); }
  .af-menu--desktop > li > .af-toplink:hover::after,
  .af-menu--desktop > li.current-menu-item > .af-toplink::after,
  .af-menu--desktop > li > .af-subtoggle:checked ~ .af-toplink::after { width: 100%; }

  .af-menu--desktop > li > .af-caret { margin-left: -.5rem; margin-right: .25rem; }

  /* dropdown panel */
  .af-menu--desktop .sub-menu {
    position: absolute; top: calc(100% + .6rem); left: 0; min-width: 320px;
    background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius);
    box-shadow: var(--af-shadow-card); padding: .4rem; z-index: 1040;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .af-menu--desktop .sub-menu a { padding: .55rem .75rem; border-radius: 6px; font-weight: 500; }
  .af-menu--desktop .sub-menu a:hover { background: var(--af-green-50); color: var(--af-green-900); }

  .af-menu--desktop .af-subtoggle:checked ~ .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
  }
  .af-menu--desktop .af-subtoggle:checked ~ .af-caret .material-symbols-rounded { transform: rotate(180deg); }

  /* JS upgrades the parent <label> into a real disclosure button (role=button,
     tabindex=0). Give keyboard users a visible focus ring on it. */
  .af-menu--desktop > li > .af-toplink--toggle:focus-visible {
    outline: 2px solid var(--af-green-700); outline-offset: 3px; border-radius: 4px;
  }
}

/* ---- MOBILE / TABLET (<= 1024px): CSS offcanvas drawer + drilldown -------- */
@media (max-width: 1024px) {
  .af-desktop-nav, .af-cta-desktop { display: none !important; }

  .af-burger {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent; color: var(--af-gray-900);
    cursor: pointer; border-radius: var(--af-radius);
  }
  .af-burger .material-symbols-rounded { font-size: 1.9rem; }
  .af-nav-toggle:focus-visible ~ .af-burger { outline: 2px solid var(--af-green-700); outline-offset: 2px; }

  /* Offcanvas overlay — reproduces mmenu-light .mm-ocd easing: the panel slides
     via translateX over .32s, the backdrop fades, and on CLOSE the overlay's
     visibility flip is DELAYED so the slide-out is seen before it hides; on OPEN
     it appears instantly (delay 0 on the :checked rule). */
  .af-ocd {
    position: fixed; inset: 0; z-index: 1050; visibility: hidden;
    transition: visibility 0s linear .32s;
  }
  .af-nav-toggle:checked ~ .af-ocd { visibility: visible; transition: visibility 0s linear 0s; }

  .af-ocd__backdrop {
    position: absolute; inset: 0; background: rgba(12, 22, 16, .4);
    opacity: 0; transition: opacity .32s ease; cursor: pointer; border: 0;
  }
  .af-nav-toggle:checked ~ .af-ocd .af-ocd__backdrop { opacity: 1; }

  .af-ocd__panel {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 82%; min-width: 220px; max-width: 400px;
    display: flex; flex-direction: column;
    background: #fff; box-shadow: 6px 0 40px rgba(0, 0, 0, .2);
    overflow: hidden;            /* clip the sub-panel that slides in from the right */
    transform: translateX(-100%); transition: transform .32s ease; will-change: transform;
  }
  .af-nav-toggle:checked ~ .af-ocd .af-ocd__panel { transform: translateX(0); }

  .af-ocd__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; }
  .af-ocd__head .brand-mark { height: 34px; }
  .af-ocd__close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; cursor: pointer; color: var(--af-gray-900);
    border-radius: var(--af-radius); background: var(--af-bg);
  }

  /* App-style horizontal drilldown (mmenu-light default). The sub-menu is a
     panel that slides in from the right over the root list; a "back" row slides
     it away. The parent link still navigates; the right-hand caret drills in. */
  .af-menu--mobile { display: flex; flex-direction: column; padding: 0 1.25rem; }
  .af-menu--mobile > li { border-bottom: 1px solid var(--af-gray-200); }
  .af-menu--mobile .af-toplink { padding: .95rem .25rem; }

  .af-menu--mobile > li.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .af-menu--mobile > li.menu-item-has-children > .af-toplink { flex: 1 1 auto; }
  .af-menu--mobile > li > .af-caret {
    flex: 0 0 auto; width: 3.25rem; align-self: stretch;
    border-left: 1px solid var(--af-gray-200); color: var(--af-gray-600);
  }
  .af-menu--mobile > li > .af-caret .material-symbols-rounded { font-size: 1.6rem; }

  .af-menu--mobile .sub-menu {
    position: absolute; inset: 0; z-index: 3;
    background: #fff; padding: 0 1.25rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .af-menu--mobile .af-subtoggle:checked ~ .sub-menu { transform: translateX(0); }
  .af-menu--mobile .sub-menu > li { border-bottom: 1px solid var(--af-gray-200); }
  .af-menu--mobile .sub-menu a { display: block; padding: .95rem .25rem; font-weight: 500; color: var(--af-gray-900); }

  .af-sub-head { border-bottom: 1px solid var(--af-gray-200); }
  .af-back {
    display: flex; align-items: center; gap: .35rem;
    padding: 1.05rem .1rem; cursor: pointer; font-weight: 700; color: var(--af-green-900);
  }
  .af-back .material-symbols-rounded { font-size: 1.5rem; }

  .af-ocd__cta { margin: 1.25rem; align-self: flex-start; }

  /* Lock page scroll while the drawer is open (CSS-only, needs :has support). */
  html:has(.af-nav-toggle:checked) { overflow: hidden; }
}

/* Respect reduced-motion: no slide/fade, just show/hide. */
@media (prefers-reduced-motion: reduce) {
  .af-ocd, .af-ocd__panel, .af-ocd__backdrop,
  .af-menu .sub-menu, .af-caret .material-symbols-rounded { transition: none !important; }
}

/* 8. HERO (white bg; image + 2 feature cards overlapping at diagonal corners,
      mirroring the reference product-cta image column) ====================== */
.hero { background: #fff; padding-top: 1rem; padding-bottom: 3rem; }
.hero h1 { color: var(--af-gray-900); }
.hero .lead { color: var(--af-gray-600); }
/* media wrap keeps cards able to extend past the image edges */
.hero-media-wrap { position: relative; overflow: visible; }
.hero-media { aspect-ratio: 1 / 1; border-radius: var(--af-radius-xl); overflow: hidden; box-shadow: var(--af-shadow-card); }
.hero-media img, .hero-media-tall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media-tall { aspect-ratio: 9 / 16; border-radius: var(--af-radius-xl); overflow: hidden;}
.stat-card {
  border-radius: var(--af-radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--af-shadow-xl);
  width: 210px;
}
.stat-card .stat-num { font-family: var(--af-font-heading); font-weight: 800; font-size: 2.5rem; line-height: 1; margin-bottom: .35rem; }
.stat-card .stat-label { font-size: var(--af-fs-body-sm); line-height: 1.35; opacity: .95; }
.hero-stat-top, .hero-stat-bottom { margin-top: 1rem; }
@media (min-width: 992px) {
  .position-lg-absolute { position: absolute; margin-top: 0; z-index: 2; }
  /* 40+ top-left (extends left over the gap); 100+ bottom-right (extends right) */
  .hero-stat-top { top: 1.5rem; left: -2.5rem; }
  .hero-stat-bottom { bottom: 1.5rem; right: -2rem; }
}

/* Hero image column — clip-path SVG with two stat cards seated in the cut-out
   corners (adapted from the product-cta component). The card backgrounds are the
   SVG <rect>s; the .product-cta-card elements are positioned text overlays.
   Card text scales with the image via container-query units. */
.product-cta-image-column { display: flex; justify-content: center; align-items: center; width: 100%; }
.product-cta-image-container { position: relative; width: 100%; max-width: 100%; display: block; container-type: inline-size; }
.product-cta-plot-svg { width: 100%; height: auto; display: block; }
.product-cta-card {
  position: absolute; z-index: 10; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(.85rem, 4cqw, 1.6rem);
}
.product-cta-card-top-left { width: 53.29%; height: 30.44%; top: 0; left: 0; }
.product-cta-card-bottom-right { width: 53.26%; height: 28.97%; top: 70.56%; left: 46.75%; }
.product-cta-card-top-left .product-cta-card-content p { color: var(--af-green-900); }
.product-cta-card-bottom-right .product-cta-card-content p { color: #fff; }
.product-cta-card-content { pointer-events: auto; }
.product-cta-card-content p { margin: 0; padding: 0; }
.product-cta-card-title {
  font-family: var(--af-font-heading); font-weight: 800; line-height: 1;
  font-size: clamp(1.5rem, 9cqw, 2.6rem); margin-bottom: auto; padding-block-end: .3rem;
}
.product-cta-card-description { font-size: clamp(.7rem, 3.4cqw, .92rem); font-weight: 400; line-height: 1.3; }

/* 9. TRUST BAR (white card straddling a green-top / gray-bottom band) ====== */
.trust-section { background: linear-gradient(to bottom, var(--af-green-900) 0, var(--af-green-900) 50%, var(--af-bg) 50%, var(--af-bg) 100%); padding: 3rem 0; }
.trust-bar { background: #fff; border: 0; border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-xl); padding: 2rem 2.5rem; }
.trust-bar .trust-title { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-green-900); font-size: var(--af-fs-h3); }
.trust-bar .trust-sub { font-size: var(--af-fs-body-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--af-gray-600); }
.trust-bar .trust-col + .trust-col { border-left: 1px solid var(--af-gray-200); }

/* 10. UNIVERSAL PROBLEM — icon cards ====================================== */
.problem-section { background: var(--af-bg); }
.icon-card {
  background: #fff;
  border-radius: var(--af-radius-lg);
  padding: 3.25rem 1.75rem 1.75rem;
  text-align: center;
  /* height + margin must equal the column: subtract the badge-clearance margin
     so the card doesn't overflow its column (which eats the next element's margin). */
  height: calc(100% - 40px);
  margin-top: 40px;
  position: relative;
  box-shadow: var(--af-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.icon-card .icon-badge {
  width: 76px; height: 76px; border-radius: 50%;
  position: absolute; top: -38px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--af-shadow-card);
  transition: background-color .25s ease;
}
.icon-card .icon-badge .material-symbols-rounded { font-size: 2rem; }
.icon-card h4 { font-size: 1.25rem; margin-bottom: .5rem; }
.icon-card p { color: var(--af-gray-600); font-size: var(--af-fs-body); margin-bottom: 0; }
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--af-shadow-xl); }
.icon-card:hover .icon-badge { background: var(--af-green-700) !important; }
/* default icon colors */
.icon-relationships .icon-badge { background: var(--af-pcm-green); }
.icon-work .icon-badge { background: var(--af-brand-purple); }
.icon-home .icon-badge { background: var(--af-brand-blue); }

/* 11. FRAMEWORK / WHAT IS PCM ============================================= */
.framework-section { background: #fff; }
.pcm-panel { background: var(--af-green-50); border-radius: var(--af-radius-lg); padding: 3rem; height: 100%; }
.pcm-stat-box { background: var(--af-bg); border-radius: var(--af-radius-lg); padding: 1.6rem 1.75rem; height: 100%; }
.pcm-stat-box .num { font-family: var(--af-font-heading); font-weight: 800; font-size: 2.25rem; color: var(--af-green-900); line-height: 1; }
.pcm-stat-box .cap { font-size: var(--af-fs-body-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--af-gray-600); margin-top: .5rem; }
.pcm-figure { border-radius: var(--af-radius-lg); overflow: hidden; }
.pcm-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 12. WORKSHOPS — square-image cards ====================================== */
.workshops-section { background: var(--af-bg); }
.workshop-card {
  background: #fff;
  border: 1px solid var(--af-gray-200);
  border-radius: var(--af-radius-lg);
  padding: 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.workshop-card .ws-thumb {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover;
  margin-bottom: 1.25rem; position: relative; z-index: 2;
}
.workshop-card h4 { font-size: 1.2rem; margin-bottom: .5rem; position: relative; z-index: 2; transition: color .3s ease; }
.workshop-card p { color: var(--af-gray-600); font-size: var(--af-fs-body); margin-bottom: 0; position: relative; z-index: 2; transition: color .3s ease; }
/* enlarged, screened-back image revealed on hover */
/* Standard green hover — no screened-back image overlay. */
.workshop-card:hover {
  background: var(--af-green-700); border-color: var(--af-green-700);
  transform: translateY(-4px); box-shadow: var(--af-shadow-card);
}
.workshop-card:hover h4 { color: #fff; }
.workshop-card:hover p { color: #fff; opacity: .92; }

/* 13. TESTIMONIALS ======================================================== */
.testimonials-section { background: #fff; }
.testimonial-item[hidden] { display: none; }
.testimonial-stars { color: var(--af-yellow); font-size: 1.15rem; letter-spacing: .15rem; }
.testimonial-quote { font-size: var(--af-fs-body-lg); color: var(--af-gray-900); line-height: 1.7; min-height: 9.5em; }
.testimonial-author .name { font-weight: 700; color: var(--af-gray-900); }
.testimonial-author .role { font-size: var(--af-fs-body-sm); color: var(--af-gray-600); }
.testimonial-gallery img { border-radius: var(--af-radius); width: 100%; height: 100%; object-fit: cover; }
.testimonial-control {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--af-gray-200);
  background: #fff; color: var(--af-gray-900); display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.testimonial-control:hover { background: var(--af-green-900); color: #fff; border-color: var(--af-green-900); }

/* 14. BLOGS =============================================================== */
.blogs-section { background: var(--af-bg); }
.blog-card { background: #fff; border-radius: 0 0 var(--af-radius) var(--af-radius); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.blog-card .blog-thumb-link { display: block; }
.blog-card .blog-thumb { aspect-ratio: 16/11; object-fit: cover; width: 100%; display: block; border-radius: var(--af-radius-lg) var(--af-radius-lg) 0 0; }
.blog-card .blog-body { padding: 1.25rem; }
.blog-card .blog-cat { font-size: var(--af-fs-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--af-green-700); }
.blog-card .blog-cat a { color: inherit; text-decoration: none; }
.blog-card .blog-cat a:hover, .blog-card h5 a:hover { color:var(--af-pcm-thinker); }
.blog-card h5 { font-size: 1.05rem; margin: .4rem 0 .5rem; }
.blog-card h5 a { color: inherit; text-decoration: none; }
.blog-card p { font-size: var(--af-fs-body-sm); color: var(--af-gray-600); margin: 0; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--af-shadow-card); }

/* 15. PODCAST ============================================================= */
.podcast-section { background: #fff; }
.podcast-art { border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-card); width: 100%; }
.store-badge img { height: 44px; width: auto; }

/* 16. VIDEOS (styled like blogs) ========================================== */
.videos-section { background: var(--af-bg); }
.video-card { position: relative; border-radius: var(--af-radius-lg); overflow: hidden; aspect-ratio: 16/9; display: block; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.video-card .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-card .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--af-green-900); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-card:hover .play span { transform: scale(1.1); }

/* 17. FOOTER ============================================================== */
.site-footer { background: var(--af-green-900); color: rgba(255,255,255,.8); padding: 4rem 0 2.5rem; }
.site-footer h5 { color: #fff; font-size: var(--af-fs-body-lg); margin-bottom: 1rem; }
.site-footer a { color: var(--af-green-400); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links li { margin-bottom: .6rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--af-green-700); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-right: .5rem; }
.footer-social a:hover { background: #fff; color: var(--af-green-900); }
.newsletter-field { background: #fff; border-radius: var(--af-radius); padding: .35rem .35rem .35rem 1rem; display: flex; align-items: center; }
.newsletter-field input { border: 0; outline: 0; flex: 1; font-size: var(--af-fs-body); color: var(--af-gray-900); background: transparent; }
.newsletter-field button { border: 0; width: 40px; height: 40px; border-radius: 8px; background: var(--af-green-700); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Gravity Forms newsletter (form 4) rendered as the footer pill.
   Scoped to .newsletter-field so no other Gravity Form on the site is affected.
   !important is used deliberately to win over the enqueued Gravity Forms theme CSS. */
.newsletter-field .gform_wrapper { flex: 1; width: 100%; margin: 0 !important; padding: 0 !important; }
.newsletter-field .gform_wrapper form,
.newsletter-field form.gform_form { display: flex; align-items: center; gap: .35rem; margin: 0 !important; padding: 0 !important; }
.newsletter-field .gform-body,
.newsletter-field .gform_body { flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; }
.newsletter-field .gform_fields { display: block !important; grid-template-columns: none !important; grid-gap: 0 !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; }
.newsletter-field .gfield { margin: 0 !important; padding: 0 !important; }
/* Hide the empty heading block (title=false) and labels/required/validation chrome
   inside the pill. The heading block is the main source of the extra top space. */
.newsletter-field .gform_heading,
.newsletter-field .gform_title,
.newsletter-field .gfield_label,
.newsletter-field .gfield_required,
.newsletter-field .gform_required_legend,
.newsletter-field .gfield_description,
.newsletter-field .gform_validation_errors,
.newsletter-field .gfield_validation_message,
.newsletter-field .validation_message,
.newsletter-field .gform_fileupload_rules { display: none !important; }
/* Email input: transparent, borderless, fills the pill. */
.newsletter-field .ginput_container { margin: 0 !important; }
.newsletter-field .ginput_container_email input,
.newsletter-field input[type="email"] {
	width: 100% !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: var(--af-font-body);
	font-size: var(--af-fs-body);
	color: var(--af-gray-900);
	padding: .55rem .25rem !important;
	min-height: 40px;
}
.newsletter-field .ginput_container_email input::placeholder,
.newsletter-field input[type="email"]::placeholder { color: var(--af-gray-400); opacity: 1; }
/* Submit button: 40x40 green rounded square with a white send icon. */
.newsletter-field .gform_footer { flex: 0 0 auto; margin: 0 !important; padding: 0 !important; width: auto !important; }
.newsletter-field .gform_footer input[type="submit"],
.newsletter-field .gform_button {
	width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background-color: var(--af-green-700) !important;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cline%20x1='22'%20y1='2'%20x2='11'%20y2='13'/%3E%3Cpolygon%20points='22%202%2015%2022%2011%2013%202%209%2022%202'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 20px 20px !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: -9999px;
	cursor: pointer;
	transition: background-color .2s ease;
}
.newsletter-field .gform_footer input[type="submit"]:hover,
.newsletter-field .gform_button:hover { background-color: var(--af-green-500, #3aab69) !important; }
/* Keep the ajax spinner from stretching the pill. */
.newsletter-field .gform_ajax_spinner { width: 20px; height: 20px; margin-left: .35rem; }
/* Confirmation message (after ajax submit) shown as light text on the green footer. */
.newsletter-field .gform_confirmation_message { color: #fff; font-size: var(--af-fs-body); padding: .35rem 0; }

/* 18. HELPERS & RESPONSIVE =============================================== */
.section { padding-top: var(--af-section-y); padding-bottom: var(--af-section-y); }
.material-symbols-rounded { vertical-align: middle; line-height: 1; }
.img-ph { background: linear-gradient(135deg,#e9ecef,#dee2e6); border-radius: var(--af-radius); display: block; width: 100%; }

@media (max-width: 991.98px) {
  :root { --af-section-y: 4rem; }
  .trust-bar .trust-col + .trust-col { border-left: 0; }
  .pcm-panel { padding: 2rem; }
}
@media (max-width: 575.98px) {
  :root { --af-section-y: 3rem; }
  .btn { width: 100%; justify-content: center; }
  .hero .btn { width: auto; }
}

/* ==========================================================================
   19. WORKSHOP PAGE  (couples — reused as the template for all workshop pages)
   --------------------------------------------------------------------------
   PCM personality-type accent colors (shared by pattern + environment cards)
   ========================================================================== */
:root {
  --af-type-harmonizer: #e8853a; /* orange */
  --af-type-thinker:    #32a2ff; /* blue   */
  --af-type-rebel:      #f5c01e; /* yellow */
  --af-type-promoter:   #e8456b; /* red    */
  --af-type-persister:  #9a5cc4; /* purple */
  --af-type-imaginer:   #b89272; /* tan    */
}

/* 19a. Hero photo collage — three interlocking images (geometry measured
   from the Figma: container 523x542; main lower-left, table top-right on top,
   group along the bottom). ------------------------------------------------- */
.ws-hero { background: #fff; padding-top: 1rem; padding-bottom: 3rem; }
.ws-collage { position: relative; width: 100%; aspect-ratio: 523 / 542; }
.ws-collage img { position: absolute; object-fit: cover; border-radius: 18px; display: block; }
.ws-collage .c-main  { left: 0;     top: 6.6%;  width: 80%; height: 64.2%; z-index: 1; }
.ws-collage .c-group { left: 0;     top: 74.5%; width: 80%; height: 25.5%; z-index: 1; }
.ws-collage .c-table { right: 0; top: 0;     width: 50%; height: 37.3%; z-index: 2; box-shadow: var(--af-shadow-wt); }

/* 19b. Intro + certified trainers ----------------------------------------- */
/* Both intro and steps sit on WHITE and are separated by a hairline rule,
   matching the Figma (no white/gray background swap). */
.ws-intro { background: #fff; }
.ws-intro h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.ws-intro .lead-sub { font-size: 1.05rem; color: var(--af-gray-900); font-style: italic; font-weight: 600; line-height: 1.45; }
.ws-intro p { font-size: 0.95rem; line-height: 1.65; }
.ws-trainers-label { font-size: 1.05rem; font-weight: 600; color: var(--af-gray-900); }
.ws-trainers-label .accent { font-size: 1.2rem; }

.trainer-card { text-align: center; }
.trainer-card .t-photo { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto .85rem; box-shadow: var(--af-shadow-card); }
.trainer-card .t-name { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.05rem; }
.trainer-card .t-role { font-size: 0.7rem; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: var(--af-gray-600); margin-top: .15rem; }

/* hairline divider between stacked full-width sections */
.ws-divider { border: 0; border-top: 1px solid var(--af-gray-200); margin: 0; }

/* 19c. Steps + schedule sidebar (white section) --------------------------- */
.ws-steps { background: #fff; }
.schedule-block .sc-row { padding: .9rem 0; border-bottom: 1px solid var(--af-gray-200); }
.schedule-block .sc-row:first-child { padding-top: 0; }
.schedule-block .sc-label { font-size: var(--af-fs-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--af-green-700); }
.schedule-block .sc-value { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.25rem; margin-top: .15rem; }
.schedule-block .sc-sub { font-size: var(--af-fs-body-sm); color: var(--af-gray-600); }
.schedule-block .sched-title { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-green-700); font-size: 1.05rem; margin: 1.25rem 0 .75rem; }
.sched-agenda { list-style: none; padding: 0; margin: 0 0 1.25rem; border-bottom: 1px solid var(--af-gray-200); padding-bottom: 1.25rem; }
.sched-agenda li { font-size: 0.85rem; color: var(--af-gray-600); margin-bottom: .45rem; }
.sched-agenda li b { color: var(--af-gray-900); font-weight: 700; }
.schedule-quote .sq-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.schedule-quote .sq-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--af-gray-200); }
.schedule-quote .sq-name { font-weight: 700; color: var(--af-gray-900); font-size: 0.85rem; line-height: 1.2; }
.schedule-quote .sq-loc { font-size: 0.75rem; color: var(--af-gray-600); }
.schedule-quote .sq-stars { color: var(--af-yellow); letter-spacing: .1rem; font-size: .95rem; margin-bottom: .5rem; }
.schedule-quote .sq-text { font-size: 0.9rem; color: var(--af-gray-900); font-style: italic; line-height: 1.55; margin: 0; }
/* Upcoming events list (Event Genius query example) — matches the sidebar look */
.schedule-events { margin-top: 1.25rem; }
.schedule-events .event-card + .event-card { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--af-gray-200); }
.schedule-events .event-title { font-family: var(--af-font-heading); font-weight: 700; font-size: 1rem; margin: 0 0 .5rem; }
.schedule-events .event-title a { color: var(--af-gray-900); text-decoration: none; }
.schedule-events .event-title a:hover { color: var(--af-green-900); }
.schedule-events .event-fields { list-style: none; padding: 0; margin: 0; }
.schedule-events .event-fields li { font-size: 0.82rem; color: var(--af-gray-600); line-height: 1.45; margin-bottom: .35rem; }
.schedule-events .event-fields li b { color: var(--af-gray-900); font-weight: 700; }
.schedule-events .event-fields a { color: var(--af-green-700); }
.schedule-events .event-addr { color: var(--af-gray-600); }

/* Each step = a light-gray card (number + title + body) beside a square photo */
.step-row { display: grid; grid-template-columns: 1fr 200px; gap: 1.5rem; align-items: stretch; }
.step-row + .step-row { margin-top: 1.5rem; }
.step-card { background: var(--af-bg); border-radius: var(--af-radius-lg); padding: 1.6rem 1.75rem; }
.step-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.step-num { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-900); display: flex; align-items: center; justify-content: center; font-family: var(--af-font-heading); font-weight: 800; font-size: 1.15rem; border: 2px solid var(--af-green-400); }
.step-head h4 { font-size: 1.2rem; margin: 0; }
.step-card p { color: var(--af-gray-600); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.step-photo { border-radius: var(--af-radius-lg); overflow: hidden; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575.98px) {
  .step-row { grid-template-columns: 1fr; }
  .step-photo { aspect-ratio: 16/10; }
}

/* 19d. PCM Profile (blueprint) — pale-green section ------------------------ */
.ws-profile { background: #eef8f1; }
/* On the green tint the eyebrow pill flips to a white fill (Figma) */
.ws-profile .eyebrow { background: #fff; }
/* Large display heading (Figma) */
.ws-profile h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.12; }
.ws-profile .check-list { list-style: none; padding: 0; margin: 1.75rem 0; }
.ws-profile .check-list li { display: flex; gap: .75rem; line-height:1; margin-bottom: 1rem; color: var(--af-gray-900); font-weight: 600; }
.ws-profile .check-list .material-symbols-rounded { color: var(--af-green-900); font-variation-settings: 'FILL' 1; font-size: 1.5rem; flex: 0 0 auto; }
.ws-profile .profile-figure { background: #fff; border-radius: var(--af-radius-lg); overflow: hidden; box-shadow: var(--af-shadow-card); }
.ws-profile .profile-figure img { width: 100%; display: block; }
.ws-profile .chart-row + .chart-row { margin-top: 1.1rem; }
.ws-profile .chart-type { font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1f2d4d; }
.ws-profile .chart-tag { float: right; font-size: 0.78rem; font-weight: 700; color: #1f2d4d; text-transform: none; letter-spacing: 0; }
.ws-profile .chart-track { position: relative; height: 22px; border-radius: var(--af-radius-pill); background: #eef0f4; overflow: hidden; margin-top: .2rem; }
.ws-profile .chart-fill { position: absolute; inset: 0 auto 0 0; height: 100%; border-radius: var(--af-radius-pill); display: flex; align-items: center; justify-content: flex-end; }
.ws-profile .chart-fill span { font-size: 0.72rem; font-weight: 800; color: #1f2d4d; padding-right: .55rem; }
.ws-profile .chart-desc { font-size: 0.72rem; color: var(--af-gray-600); margin-top: .25rem; }

/* 19f. The Pattern (plain photo + two-column copy, light-gray section) ----- */
.ws-pattern { background: var(--af-bg); }
.ws-pattern .eyebrow { background: #fff; }
.ws-pattern h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.12; }
.ws-pattern-img { border-radius: var(--af-radius-lg); overflow: hidden; }
.ws-pattern-img img { width: 100%; display: block; aspect-ratio: 40 / 9; object-fit: cover; }
.ws-pattern p { color: var(--af-gray-600); font-size: 1.05rem; line-height: 1.7; }

/* 19g. What You Will Learn — REUSES the home .icon-card component ---------
   Same centered card + floating circular badge as the home "Universal Problem"
   section (sec. 10). Differences here: white section / gray cards, and the
   hover state turns the whole card dark green with white text (per Figma). */
.ws-learn { background: #fff; }
.ws-learn h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.12; }
.ws-learn .icon-card { background: var(--af-bg); box-shadow: none; }
/* per-badge colors (extends the 3 defined for the home problem section) */
.ws-learn .icon-tool-1 .icon-badge { background: var(--af-pcm-green); }
.ws-learn .icon-tool-2 .icon-badge { background: var(--af-brand-blue); }
.ws-learn .icon-tool-3 .icon-badge { background: var(--af-brand-purple); }
.ws-learn .icon-tool-4 .icon-badge { background: var(--af-brand-yellow); }
.ws-learn .icon-tool-5 .icon-badge { background: var(--af-pcm-pink); }
.ws-learn .icon-tool-6 .icon-badge { background: var(--af-pcm-imaginer); }
.ws-learn .icon-tool-7 .icon-badge { background: var(--af-pcm-green); }

/* hover: whole card -> dark green, text -> white (default stays gray) */
.ws-learn .icon-card:hover { background: var(--af-green-900); box-shadow: var(--af-shadow-xl); }
.ws-learn .icon-card:hover h4, .ws-learn .icon-card:hover p { color: #fff; }

/* 19h. What's Actually Happening — white cards (2-col) + tall photo --------
   Default cards are white; the HOVER state turns a card dark green with white
   text and reveals a left border in that type's PCM color (Figma showed this
   as the navy "Harmonizer" card; brand calls for green, not navy). */
.ws-patterns { background: var(--af-bg); }
.ws-patterns .eyebrow { background: #fff; }
.ws-patterns h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.12; }
.pattern-card { background: #fff; border-radius: var(--af-radius-lg); padding: 1.6rem 1.75rem; height: 100%; border-left: 4px solid transparent; box-shadow: var(--af-shadow-card); transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pattern-card h4 { font-size: 1.2rem; margin-bottom: .6rem; }
.pattern-card p { color: var(--af-gray-600); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.pattern-card .pc-note { margin-top: 1rem; font-style: italic; font-size: 0.85rem; color: var(--af-gray-600); }
.pattern-card .pc-note b { color: var(--af-gray-900); }
.pattern-card:hover { background: var(--af-green-900); transform: translateY(-4px); box-shadow: var(--af-shadow-xl); }
.pattern-card:hover h4, .pattern-card:hover p, .pattern-card:hover .pc-note, .pattern-card:hover .pc-note b { color: #fff; }
.pc-harmonizer:hover { border-left-color: var(--af-type-harmonizer); }
.pc-thinker:hover    { border-left-color: var(--af-type-thinker); }
.pc-persister:hover  { border-left-color: var(--af-type-persister); }
.pc-promoter:hover   { border-left-color: var(--af-type-promoter); }
.pc-rebel:hover      { border-left-color: var(--af-type-rebel); }
.pc-imaginer:hover   { border-left-color: var(--af-type-imaginer); }
.patterns-photo { height: 100%; min-height: 320px; border-radius: var(--af-radius-lg); overflow: hidden; }
.patterns-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 19i. Green CTA bands (Join / others) ------------------------------------ */
.ws-cta-band { background: var(--af-green-900); border-radius: var(--af-radius-xl); padding: 3rem; color: #fff; }
/* "Join the Workshop" reuses the home trust-bar layout: the solid green card
   straddles a 50/50 two-tone band (gray top, white bottom). */
.ws-join-section { background: linear-gradient(to bottom, var(--af-bg) 0, var(--af-bg) 50%, #fff 50%, #fff 100%); padding: 3rem 0; }
.ws-cta-band h2 { color: #fff; }
.ws-cta-band p { color: rgba(255,255,255,.85); }
.ws-cta-band .accent { color: var(--af-green-400); }

/* 19j. Environment pill cards --------------------------------------------- */
/* White section, gray cards. The type pill floats above the card top edge.
   Default cards are neutral; on hover the card tints with the type color and
   the headline recolors to it. */
.ws-environment { background: #fff; }
.env-card { position: relative; background: var(--af-bg); border-radius: var(--af-radius-lg); padding: 2.75rem 1.75rem 1.75rem; height: calc(100% - 18px); text-align: center; margin-top: 18px; transition: background-color .25s ease; }
.env-pill { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: var(--af-fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-radius: var(--af-radius-pill); padding: .4rem 1.15rem; white-space: nowrap; }
.env-card .env-statement { font-family: var(--af-font-heading); font-weight: 700; font-size: 1.2rem; color: var(--af-gray-900); margin-bottom: .6rem; transition: color .25s ease; }
.env-card p { color: var(--af-gray-600); font-size: var(--af-fs-body); margin: 0; }
/* per-type pill color + hover tint + hover headline color */
.env-harmonizer .env-pill { background: var(--af-type-harmonizer); }
.env-harmonizer:hover { background: color-mix(in srgb, var(--af-type-harmonizer) 14%, #fff); }
.env-harmonizer:hover .env-statement { color: var(--af-type-harmonizer); }
.env-thinker .env-pill { background: var(--af-type-thinker); }
.env-thinker:hover { background: color-mix(in srgb, var(--af-type-thinker) 14%, #fff); }
.env-thinker:hover .env-statement { color: var(--af-type-thinker); }
.env-rebel .env-pill { background: var(--af-type-rebel); }
.env-rebel:hover { background: color-mix(in srgb, var(--af-type-rebel) 18%, #fff); }
.env-rebel:hover .env-statement { color: #b3890b; }
.env-promoter .env-pill { background: var(--af-type-promoter); }
.env-promoter:hover { background: color-mix(in srgb, var(--af-type-promoter) 14%, #fff); }
.env-promoter:hover .env-statement { color: var(--af-type-promoter); }
.env-persister .env-pill { background: var(--af-type-persister); }
.env-persister:hover { background: color-mix(in srgb, var(--af-type-persister) 14%, #fff); }
.env-persister:hover .env-statement { color: var(--af-type-persister); }
.env-imaginer .env-pill { background: var(--af-type-imaginer); }
.env-imaginer:hover { background: color-mix(in srgb, var(--af-type-imaginer) 18%, #fff); }
.env-imaginer:hover .env-statement { color: #8a6748; }

/* 19k. FAQ accordion ------------------------------------------------------ */
.ws-faq { background: #fff; }
.faq-accordion .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--af-gray-200); }
.faq-accordion .accordion-button { background: transparent; box-shadow: none; font-family: var(--af-font-heading); font-weight: 600; font-size: 1.1rem; color: var(--af-gray-900); padding: 1.25rem 0; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--af-green-900); background: transparent; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { background-image: none; content: "expand_more"; font-family: "Material Symbols Rounded"; font-size: 1.5rem; width: auto; height: auto; color: var(--af-green-700); transition: transform .2s ease; }
.faq-accordion .accordion-body { padding: 0 0 1.25rem; color: var(--af-gray-600); font-size: var(--af-fs-body); }

/* 19l. Training formats — comparison table (shared workshop component) -----
   Reusable COMP-COMPARISON-TABLE: a bordered, rounded 3-column data table on a
   light-gray section. Header row uses brand green; the first column of row
   labels uses the pale-green tint. Wrap in .table-responsive for small-screen
   horizontal scroll. */
.ws-formats { background: var(--af-bg); }
.ws-formats .eyebrow { background: #fff; }
.ws-formats h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.12; }
.formats-table { width: 100%; min-width: 640px; background: #fff; border-radius: var(--af-radius-lg); overflow: hidden; box-shadow: var(--af-shadow-card); border-collapse: separate; border-spacing: 0; margin: 0; }
.formats-table th, .formats-table td { padding: 1.05rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--af-gray-200); }
.formats-table thead th { background: var(--af-green-900); color: #fff; font-family: var(--af-font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; border-bottom: 0; }
.formats-table thead th:first-child { background: var(--af-green-700); }
.formats-table tbody th { width: 168px; background: var(--af-green-50); color: var(--af-green-700); font-size: var(--af-fs-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.formats-table tbody td { color: var(--af-gray-600); font-size: 0.92rem; line-height: 1.55; }
.formats-table tbody td + td, .formats-table thead th + th { border-left: 1px solid var(--af-gray-200); }
.formats-table tbody tr:last-child th, .formats-table tbody tr:last-child td { border-bottom: 0; }
.ws-formats .table-responsive { border-radius: var(--af-radius-lg); }

@media (max-width: 991.98px) {
  .ws-collage .c-wide-row { margin-top: 1rem; padding-left: 0; }
  .ws-quoteband { min-height: 360px; }
  .ws-cta-band { padding: 2rem; }
}

/* ==========================================================================
   20. BLOG  (index / archives + single post)
   Components referenced by home.php, archive.php, single.php and the
   template-parts/blog/* partials. Built from the design tokens above.
   ========================================================================== */

/* --- archive / index header --- */
.blog-archive-head { max-width: 840px; margin-inline: auto; }
.blog-archive-intro p:last-child { margin-bottom: 0; }

/* --- sidebar: search + category list --- */
.blog-search {
  display: flex; align-items: center; gap: .5rem;
  background: var(--af-bg); border: 1px solid var(--af-gray-200);
  border-radius: var(--af-radius-pill); padding: .65rem 1.1rem; margin-bottom: 2rem;
}
.blog-search .material-symbols-rounded { color: var(--af-gray-400); font-size: 1.25rem; }
.blog-search input {
  border: 0; background: transparent; outline: 0; width: 100%;
  font-family: var(--af-font-body); font-size: var(--af-fs-body); color: var(--af-gray-900);
}
.blog-cats-title { font-family: var(--af-font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.blog-cats { list-style: none; margin: 0; padding: 0; }
.blog-cats li { border-bottom: 1px solid var(--af-gray-200); }
.blog-cats a {
  display: block; padding: .7rem 0; color: var(--af-gray-600);
  font-weight: 600; text-decoration: none; transition: color .2s ease;
}
.blog-cats a:hover, .blog-cats a.active { color: var(--af-green-900); }

/* --- post card --- */
.post-card {
  background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--af-shadow-card); }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--af-bg); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-thumb-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--af-green-50), var(--af-gray-200)); }
.align-top {object-position: top;}
.align-right {object-position: right;}
/* .post-tag is defined once, below (bottom-left, green-700). The earlier
   top-left duplicate was removed: with both present the tag inherited top AND
   bottom and stretched to full thumbnail height. */
.post-read {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(255, 255, 255, .92); color: var(--af-gray-900);
  font-size: .72rem; font-weight: 600; padding: .28rem .6rem; border-radius: var(--af-radius-pill);
}
.post-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-body h5 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; }
.post-body h5 a { color: var(--af-gray-900); text-decoration: none; }
.post-body h5 a:hover { color: var(--af-green-900); }
.post-body .excerpt { color: var(--af-gray-600); font-size: var(--af-fs-body); margin: 0 0 1.1rem; }
.post-author { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.post-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pa-name { font-weight: 700; font-size: .85rem; color: var(--af-gray-900); }
.pa-date { font-size: .78rem; color: var(--af-gray-400); }


/* --- pagination (paginate_links markup) --- */
.blog-pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .55rem;
  border: 1px solid var(--af-gray-200); border-radius: var(--af-radius);
  color: var(--af-gray-900); font-weight: 700; text-decoration: none; transition: all .2s ease;
}
.blog-pagination a.page-numbers:hover { border-color: var(--af-green-900); color: var(--af-green-900); }
.blog-pagination .page-numbers.current { background: var(--af-green-900); border-color: var(--af-green-900); color: #fff; }
.blog-pagination .page-numbers.dots { border-color: transparent; }

/* --- single: hero --- */
.article-hero { position: relative; border-radius: var(--af-radius-xl); overflow: hidden; }
.article-hero img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; }
.article-share {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .95); border-radius: var(--af-radius-pill);
  padding: .5rem .9rem; box-shadow: var(--af-shadow-card);
}
.article-share .lbl { font-size: .78rem; font-weight: 700; color: var(--af-gray-900); margin-right: .25rem; }
.article-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--af-green-50); color: var(--af-green-900); text-decoration: none; transition: all .2s ease;
}
.article-share a:hover { background: var(--af-green-900); color: #fff; }

/* --- single: sidebar --- */
.article-sidebar { position: sticky; top: 100px; }
.author-card { text-align: center; background: var(--af-bg); border-radius: var(--af-radius-lg); padding: 1.75rem 1.5rem; }
.author-card .ac-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: .75rem; }
.ac-name { font-family: var(--af-font-heading); font-weight: 700; font-size: 1.15rem; color: var(--af-gray-900); }
.ac-role { font-size: .85rem; color: var(--af-gray-600); margin-top: .15rem; }
.ac-meta { font-size: .8rem; color: var(--af-gray-400); margin-top: .5rem; }
.ac-social { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.ac-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid var(--af-gray-200); color: var(--af-green-900); text-decoration: none; transition: all .2s ease;
}
.ac-social a:hover { background: var(--af-green-900); color: #fff; border-color: var(--af-green-900); }
.side-title { font-family: var(--af-font-heading); font-weight: 700; font-size: 1rem; margin: 1.5rem 0 .6rem; }
.tag-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-pills a {
  display: inline-block; padding: .3rem .8rem; border-radius: var(--af-radius-pill);
  background: var(--af-green-50); color: var(--af-green-900); font-size: .5rem; font-weight: 600;
  text-decoration: none; transition: all .2s ease;
}
.tag-pills a:hover { background: var(--af-green-900); color: #fff !important; }
.subscribe-card { background: var(--af-green-900); color: #fff; border-radius: var(--af-radius-lg); padding: 1.5rem; margin-top: 1.75rem; }
.subscribe-card h4 { color: #fff; font-size: 1.15rem; margin: 0 0 .5rem; }
.subscribe-card p { color: rgba(255, 255, 255, .8); font-size: .88rem; margin: 0 0 1rem; }
.subscribe-card input { width: 100%; border: 0; border-radius: var(--af-radius-pill); padding: .7rem 1rem; margin-bottom: .75rem; font-family: var(--af-font-body); }

/* --- single: article body (the_content output) --- */
.article-body h1 { font-size: clamp(2rem, 3.4vw, var(--af-fs-h2)); margin-bottom: 1.25rem; }
.article-body h2 { font-size: var(--af-fs-h3); margin: 2rem 0 .9rem; }
.article-body h3 { font-size: 1.35rem; margin: 1.6rem 0 .75rem; }
.article-body p { color: var(--af-gray-600); font-size: var(--af-fs-body-lg); line-height: 1.75; margin-bottom: 1.1rem; }
.article-body a, section a { color: var(--af-pcm-thinker); text-decoration: underline; text-underline-offset: 2px; font-weight:600; }
.article-body a:hover, section a:hover { color: var(--af-green-700); }
.article-body ul:not(.type-list), .article-body ol { color: var(--af-gray-600); font-size: var(--af-fs-body-lg); line-height: 1.7; padding-left: 1.25rem; margin-bottom: 1.1rem; }
.article-divider { border: 0; border-top: 1px solid var(--af-gray-200); margin: 1.75rem 0; }
.article-body img, .inline-img { max-width: 100%; height: auto; border-radius: var(--af-radius-lg); margin: 1.5rem 0; display: block; }
.type-list { list-style: none; margin: 1.25rem 0; padding: 0; }
.type-list li { padding: 1rem 1.25rem; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius); margin-bottom: .75rem; }
.type-list .tname { display: inline-block; font-family: var(--af-font-heading); font-weight: 700; color: var(--af-green-900); margin-bottom: .25rem; }
.type-list p { margin: 0; font-size: var(--af-fs-body); color: var(--af-gray-600); }

@media (max-width: 991.98px) {
  .article-sidebar { position: static; }
  .article-body h1 { font-size: 1.9rem; }
}

/* ==========================================================================
   20. PCM VS [X] — comparison page template (sample: PCM vs DISC)
   Reuses: .eyebrow, .accent, buttons, .formats-table (comparison table),
   .ws-cta-band, .faq-accordion. New below: hero VS graphic + compare rows.
   ========================================================================== */
/* 20a. Hero VS graphic (two logo cards + blue VS badge) */
.vs-graphic { position: relative; }
.vs-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-xl); box-shadow: var(--af-shadow-card); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.vs-card--right { margin-top: 2.75rem; }
.vs-logo { max-width: 76%; max-height: 60%; width: auto; height: auto; display: block; }
.vs-disc { font-family: var(--af-font-heading); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .01em; }
.vs-disc .d { color: #E23D3D; } .vs-disc .i { color: #EAB308; } .vs-disc .s { color: #3FA45B; } .vs-disc .c { color: #3B82F6; }
.vs-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: #3b82f6; color: #fff; font-family: var(--af-font-heading); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; display: flex; align-items: center; justify-content: center; z-index: 3; border: 5px solid #fff; box-shadow: var(--af-shadow-card); }

/* 20b. Two-column "X vs Y" comparison section (heading left, body right) */
.pcmvs-compare h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.14; }
.pcmvs-compare p { color: var(--af-gray-600); font-size: 1.05rem; line-height: 1.7; }

/* 20c. Comparison table heading intro */
.pcmvs-table h2 { font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1.12; }
.pcmvs-table .eyebrow { background: #fff; }

/* 20d. CTA band eyebrow flips to a bright-green pill; ink button for contrast */
.ws-cta-band .eyebrow { background: var(--af-green-50); color: var(--af-green-700); border-left: 0; padding: .45rem 1rem; border-radius: var(--af-radius-pill); }
.btn-ink { background: #0a1f13; color: #fff; }
.btn-ink:hover { background: #143726; color: #fff; box-shadow: var(--af-shadow-card); }
.ws-cta-band a:not(.btn){color:#fff;text-decoration:underline;text-underline-offset:2px;}

/* ==========================================================================
   21. BLOG PAGES — archive + single (static HTML). Reuses .step-* (from 19c)
   for the single's "Three Steps" block, and the shared header/footer.
   ========================================================================== */
/* 21a. Blog archive ------------------------------------------------------- */
.blog-archive { background: #fff; }
.blog-archive-head .lead { max-width: 660px; margin-inline: auto; }
.blog-search { position: relative; margin-bottom: 1.5rem; }
.blog-search input { width: 100%; padding: .7rem 1rem .7rem 2.5rem; font-size: .95rem; color: var(--af-gray-900); }
.blog-search .material-symbols-rounded { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--af-gray-400); font-size: 1.25rem; }
.blog-cats-title { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.05rem; margin-bottom: .75rem; }
.blog-cats { list-style: none; padding: 0; margin: 0; }
.blog-cats li a { display: block; padding: .5rem .85rem; border-radius: 8px; color: var(--af-gray-900); font-weight: 500; text-decoration: none; font-size: .95rem; transition: background-color .18s, color .18s; }
.blog-cats li a:hover { background: var(--af-green-50); color: var(--af-green-900); }
.blog-cats li a.active { background: var(--af-green-50); color: var(--af-green-700); font-weight: 700; }
.post-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--af-shadow-card); }
.post-thumb { position: relative; aspect-ratio: 16 / 10; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-tag { position: absolute; bottom: .75rem; left: .75rem; background: var(--af-green-700); color: #fff; font-size: .7rem; font-weight: 700; padding: .3rem .7rem; border-radius: var(--af-radius-pill); }
.post-read { position: absolute; bottom: .75rem; right: .75rem; background: rgba(255,255,255,.94); color: var(--af-gray-900); font-size: .7rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--af-radius-pill); }
.post-body { padding: 1.25rem; }
.post-body h5 { font-size: 1.1rem; margin-bottom: .5rem; }
.post-body h5 a { color: var(--af-gray-900); text-decoration: none; }
.post-card:hover .post-body h5 a { color: var(--af-green-900); }
.post-body .excerpt { color: var(--af-gray-600); font-size: .92rem; margin-bottom: 1rem; }
.post-author { display: flex; align-items: center; gap: .6rem; }
.post-author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.post-author .pa-name { font-size: .85rem; font-weight: 700; color: var(--af-gray-900); line-height: 1.15; }
.post-author .pa-date { font-size: .78rem; color: var(--af-gray-400); }
.blog-pagination { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 3rem; }
.blog-pagination a { min-width: 42px; height: 42px; padding: 0 .5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--af-gray-900); font-weight: 600; border: 1px solid var(--af-gray-200); transition: all .18s; }
.blog-pagination a.active { background: var(--af-green-700); color: #fff; border-color: var(--af-green-700); }
.blog-pagination a:hover:not(.active) { background: var(--af-green-50); }

/* 21b. Blog single -------------------------------------------------------- */
.article-hero { position: relative; }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--af-radius-lg); display: block; }
.article-share { position: absolute; bottom: 1rem; right: 1rem; display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.94); border-radius: var(--af-radius-pill); padding: .4rem .5rem .4rem 1rem; box-shadow: var(--af-shadow-card); }
.article-share span.lbl { font-size: .8rem; font-weight: 600; color: var(--af-gray-900); }
.article-share a { width: 30px; height: 30px; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-900); display: inline-flex; align-items: center; justify-content: center; }
.article-body h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; margin-bottom: 1.1rem; }
.article-body h2 { font-size: 1.55rem; margin: 2.25rem 0 1rem; }
.article-body p { color: var(--af-gray-600); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.15rem; }
.article-body > p:first-of-type { font-size: 1.15rem; color: var(--af-gray-900); }
.article-body a { color: var(--af-green-700); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover {color:var(--af-pcm-thinker);}
.article-body img.inline-img { width: 100%; border-radius: var(--af-radius-lg); margin: 1.5rem 0; display: block; }
.article-divider { border: 0; border-top: 1px solid var(--af-gray-200); margin: 1.75rem 0; }
.type-list { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.type-list li { margin-bottom: 1rem; }
.type-list .tname { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-green-900); display: block; margin-bottom: .1rem; }
.type-list p { margin: 0; }
/* sidebar */
.author-card { text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--af-gray-200); }
.author-card .ac-avatar { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin: 0 auto .85rem; box-shadow: var(--af-shadow-card); }
.author-card .ac-profile-image { display: block; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--af-shadow-card); margin: 0 auto .85rem; }
.author-card .ac-name { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.1rem; }
.author-card .ac-role { font-size: .85rem; color: var(--af-gray-600); }
.author-card .ac-meta { font-size: .8rem; color: var(--af-gray-400); margin-top: .25rem; }
.author-card .ac-social { display: flex; gap: .5rem; justify-content: center; margin-top: .85rem; }
.author-card .ac-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-900); display: inline-flex; align-items: center; justify-content: center; }
.side-title { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.05rem; margin: 1.5rem 0 .75rem; }
.tag-pills a { display: inline-block; background: var(--af-green-50); color: var(--af-green-700); font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .32rem .7rem; border-radius: var(--af-radius-pill); margin: 0 .4rem .5rem 0; text-decoration: none; }
.tag-pills a:hover { background: var(--af-green-700); color: #fff; text-decoration:none; }
/* .subscribe-card is defined once, above (green-900 with white text). The
   later green-50 duplicate was removed: it overrode the background but left the
   heading white, making the h4 invisible on the light card (also on single.php). */
@media (min-width: 992px) { .article-sidebar { position: sticky; top: 90px; } }

/* ==========================================================================
   PCM comparison hub — parent/archive for the "PCM vs …" cluster
   (page-best-communication-assessment). Builds on existing components
   (.trust-section, .post-card/.post-thumb/.post-tag, .subscribe-card, .vs-*).
   Only the genuinely new bits live here: the VS thumbnail treatment, the
   MixItUp-style filter animation, and the empty state.
   ========================================================================== */

/* Branded "PCM vs X" thumbnail — a modifier on the shared .post-thumb so cards
   inherit the blog card's aspect-ratio, tag, and hover behavior. */
.post-thumb--vs { display: flex; align-items: center; justify-content: center; background-color:#fff; }
.post-thumb.post-thumb--vs img {object-fit:contain;}
.post-thumb--vs::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.12), transparent 55%); }
.cmp-vs { position: relative; z-index: 1; text-align: center; font-family: var(--af-font-heading); line-height: 1; color: #fff; }
.cmp-vs .cmp-pcm { display: block; font-weight: 700; font-size: 1.1rem; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.cmp-vs .cmp-word { display: block; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: .3rem 0; letter-spacing: .005em; }
.cmp-vs .cmp-mid { display: block; font-weight: 700; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--af-green-400); }
.post-card .cmp-more { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--af-font-heading); font-weight: 700; font-size: .9rem; color: var(--af-green-700); text-decoration: none; margin-top: auto; }
.post-card:hover .cmp-more { gap: .55rem; }

/* MixItUp-style filtering: FLIP reflow on the column, fade/scale on the card. */
.cmp-item { will-change: transform; }
.cmp-item > .post-card.is-out { opacity: 0; transform: scale(.92); transition: opacity .22s ease, transform .22s ease; }
.cmp-item > .post-card.is-in { opacity: 0; transform: scale(.92); }
.cmp-item > .post-card.is-in-active { opacity: 1; transform: scale(1); transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.3,1); }
.cmp-empty { text-align: center; padding: 3.5rem 1rem; color: var(--af-gray-600); }
.cmp-empty .material-symbols-rounded { font-size: 2.6rem; color: var(--af-gray-400); display: block; margin-bottom: .5rem; }
.cmp-empty p { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1.1rem; }
.cmp-reset { border: 1px solid var(--af-gray-200); background: #fff; color: var(--af-green-700); font-weight: 600; font-size: .9rem; padding: .5rem 1.1rem; border-radius: var(--af-radius-pill); cursor: pointer; transition: background-color .18s, color .18s; }
.cmp-reset:hover { background: var(--af-green-50); color: var(--af-green-900); }
@media (prefers-reduced-motion: reduce) {
	.cmp-item, .cmp-item > .post-card { transition: none !important; }
}

/* Workshops archive — meta line inside each workshop card (duration / format /
   price). Sits above the .cmp-more link, mirrors the blog card's .post-author slot. */
.ws-card-meta { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.ws-card-meta li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--af-gray-600); font-weight: 500; }
.ws-card-meta .material-symbols-rounded { font-size: 1.1rem; color: var(--af-green-700); }

/* ==========================================================================
   About page (page-about) — gap-section styles the theme didn't already cover:
   full-bleed photo-overlay hero, warm-sand editorial + pull-quote, credential
   bio cards, and a soft/light CTA. Everything else reuses .icon-card / .ws-learn
   / .faq-accordion / tokens. Layout structures referenced from Scott's Figma
   "Designers Builder" hero + team kits, restyled to the Affinity system.
   ========================================================================== */
.bg-sand { background-color: #f5f0e8 !important; }

/* Full-bleed hero: warm photo with the copy overlaid along the bottom. */
.about-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 62vh, 660px); overflow: hidden; }
.about-hero .about-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,34,20,.10) 0%, rgba(9,34,20,.34) 48%, rgba(9,34,20,.84) 100%); }
.about-hero .about-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 3rem; padding-bottom: 3.25rem; }
.about-hero h1 { color: #fff; }
.about-hero .about-lead { color: rgba(255,255,255,.92); }
.about-hero .eyebrow { background: #fff; }

/* Our Story — magazine pull-quote (serif italic + green rule). */
.about-quote { border-left: 4px solid var(--af-green-700); margin: 2.25rem 0; padding: .25rem 0 .25rem 1.75rem; font-family: var(--af-font-accent); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--af-green-900); }

/* Credentials — bio cards with a circular photo header, on a green tint. */
.about-credentials { background: #eef8f1; }
.credential-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-card); padding: 2rem; height: 100%; }
.credential-card .cc-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.15rem; }
.credential-card .cc-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: var(--af-shadow-card); }
.credential-card .cc-name { font-family: var(--af-font-heading); font-weight: 800; font-size: 1.35rem; color: var(--af-gray-900); line-height: 1.1; }
.credential-card .cc-role { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--af-green-700); margin-top: .45rem; }
.credential-card p { color: var(--af-gray-600); margin-bottom: 0; }

/* Soft closing CTA — warm sand with dark text (NOT the dark ws-cta-band). */
.cta-soft { background: #f5f0e8; border-radius: var(--af-radius-xl); padding: 3rem 2rem; }
.cta-soft h2 { color: var(--af-green-900); }
.cta-soft p { color: var(--af-gray-600); }
@media (max-width: 575.98px) { .cta-soft { padding: 2rem 1.25rem; } }

/* ==========================================================================
   Contact page (page-contact) — form card + NAP contact-info block.
   Two-column split (info left / form right) referenced from Scott's Figma
   "Contact Us" kit, restyled to the Affinity system. Reuses .faq-accordion.
   ========================================================================== */
.contact-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-card); padding: 2rem; }
.contact-card .form-label { font-family: var(--af-font-heading); font-weight: 600; color: var(--af-gray-900); font-size: .9rem; margin-bottom: .35rem; }
.contact-card .form-control, .contact-card .form-select { border: 1px solid var(--af-gray-200); border-radius: 10px; padding: .7rem .9rem; font-size: .95rem; color: var(--af-gray-900); }
.contact-card .form-control::placeholder { color: var(--af-gray-400); }
.contact-card .form-control:focus, .contact-card .form-select:focus { border-color: var(--af-green-700); box-shadow: 0 0 0 .2rem rgba(58,171,105,.18); }
.contact-card .req { color: var(--af-green-700); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-info { list-style: none; padding: 0; margin: 1.9rem 0 0; }
.contact-info li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.contact-info .ci-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-700); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-info .ci-badge .material-symbols-rounded { font-size: 1.5rem; }
.contact-info .ci-label { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: 1rem; line-height: 1.2; }
.contact-info .ci-value { color: var(--af-gray-600); font-size: .95rem; }
.contact-info a.ci-value { text-decoration: none; }
.contact-info a.ci-value:hover { color: var(--af-green-700); }

/* What Happens Next — arrow link list */
.next-links { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.next-links li + li { border-top: 1px solid var(--af-gray-200); }
.next-links a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; text-decoration: none; color: var(--af-gray-900); font-family: var(--af-font-heading); font-weight: 700; font-size: 1.05rem; transition: color .18s, padding .18s; }
.next-links a:hover { color: var(--af-green-700); padding-left: .75rem; }
.next-links a .material-symbols-rounded { color: var(--af-green-700); }

/* ==========================================================================
   What-is-PCM explainer (page-pcm) — gap components: breadcrumb chips, origin
   timeline, 6 type cards (type-color top rule), condominium building, and a
   horizontal 3-step stepper. Reuses .formats-table / .icon-card / .faq-accordion
   / .ws-cta-band. Timeline + stepper structures referenced from Scott's Figma
   How-it-works + Process-Steps kits, restyled to the Affinity system.
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; background: var(--af-green-50); color: var(--af-green-700); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .4rem .85rem; border-radius: var(--af-radius-pill); }

/* Hero "six types" preview card */
.pcm-types-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-xl); padding: 1.5rem 1.6rem; }
.pcm-types-card .ptc-title { font-family: var(--af-font-heading); font-weight: 800; color: var(--af-gray-900); font-size: 1rem; margin-bottom: 1rem; }
.pcm-types-card .ptc-row { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--af-gray-200); font-weight: 700; color: var(--af-gray-900); font-size: .98rem; }
.pcm-types-card .ptc-row:last-child { border-bottom: 0; }
.pcm-types-card .ptc-dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
.pcm-types-card .ptc-kw { margin-left: auto; font-size: .66rem; font-weight: 700; letter-spacing: .05em; color: var(--af-gray-400); text-transform: uppercase; }

/* Origin timeline (horizontal desktop → vertical mobile) */
.pcm-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.pcm-timeline::before { content: ""; position: absolute; top: 16px; left: 6%; right: 6%; height: 2px; background: var(--af-gray-200); z-index: 0; }
.tl-node { position: relative; z-index: 1; }
.tl-dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--af-green-700); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.tl-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--af-green-700); }
.tl-year { font-family: var(--af-font-heading); font-weight: 800; color: var(--af-green-900); font-size: 1.05rem; margin-bottom: .35rem; }
.tl-node p { color: var(--af-gray-600); font-size: .92rem; margin: 0; }
@media (max-width: 767.98px) { .pcm-timeline { grid-template-columns: 1fr; gap: 1.75rem; } .pcm-timeline::before { top: 0; bottom: 0; left: 16px; right: auto; width: 2px; height: auto; } }

/* 6 type cards — type-color top rule (uses --af-type-* tokens) */
.type-card { background: #fff; border: 1px solid var(--af-gray-200); border-top: 4px solid var(--tc, var(--af-green-700)); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-card); padding: 1.65rem 1.5rem; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.type-card:hover { transform: translateY(-4px); box-shadow: var(--af-shadow-xl); }
.type-card h3 { font-family: var(--af-font-heading); font-weight: 800; font-size: 1.3rem; color: var(--af-gray-900); margin: 0 0 .5rem; }
.type-card .tc-tags { font-size: .68rem; font-weight: 800; letter-spacing: .07em; color: var(--tc, var(--af-green-700)); margin-bottom: .85rem; }
.type-card p { color: var(--af-gray-600); font-size: .92rem; line-height: 1.6; margin: 0; }
.tc-thinker { --tc: var(--af-type-thinker); } .tc-harmonizer { --tc: var(--af-type-harmonizer); } .tc-persister { --tc: var(--af-type-persister); }
.tc-rebel { --tc: var(--af-type-rebel); } .tc-imaginer { --tc: var(--af-type-imaginer); } .tc-promoter { --tc: var(--af-type-promoter); }

/* Condominium — six stacked floors, base highlighted, hover lift */
.condo { border-radius: var(--af-radius-lg); overflow: hidden; box-shadow: var(--af-shadow-xl); border: 1px solid var(--af-gray-200); }
.condo-floor { display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.25rem; border-bottom: 2px solid rgba(255,255,255,.55); color: #fff; font-family: var(--af-font-heading); font-weight: 700; transition: filter .18s ease, transform .18s ease; }
.condo-floor:last-child { border-bottom: 0; }
.condo-floor:hover { filter: brightness(1.07); transform: translateX(4px); }
.condo-floor .cf-num { font-size: .78rem; opacity: .85; width: 1.4rem; text-align: center; }
.condo-floor .cf-tag { margin-left: auto; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.28); padding: .25rem .6rem; border-radius: var(--af-radius-pill); }
.condo-floor.is-base { box-shadow: inset 0 0 0 3px rgba(255,255,255,.65); }

/* Horizontal 3-step stepper */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.stepper::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 2px; background: var(--af-gray-200); }
.step-item { position: relative; z-index: 1; text-align: center; }
.step-item .st-num { width: 54px; height: 54px; border-radius: 50%; background: var(--af-green-700); color: #fff; font-family: var(--af-font-heading); font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: var(--af-shadow-card); }
.step-item h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.step-item p { color: var(--af-gray-600); font-size: .92rem; margin: 0; }
@media (max-width: 767.98px) { .stepper { grid-template-columns: 1fr; } .stepper::before { display: none; } }

/* PCM comparison table — highlight the PCM column */
.formats-table thead th.pcm-col { background: var(--af-green-700); }
.formats-table tbody td.pcm-col { background: var(--af-green-50); color: var(--af-gray-900); font-weight: 600; }

/* ==========================================================================
   PCM assessment lead-gen page (page-pcm-assessment) — mock report preview,
   vertical stepper, audience icon-list. Reuses .icon-card / .type-card /
   .formats-table / .faq-accordion / .contact-card (embedded lead form).
   Report + stepper structures referenced from Scott's Figma Product-Specs +
   Process-Steps kits, restyled to the Affinity system.
   ========================================================================== */
.report-preview { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-xl); overflow: hidden; }
.report-preview .rp-top { background: var(--af-green-900); color: #fff; padding: 1.1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; }
.report-preview .rp-title { font-family: var(--af-font-heading); font-weight: 800; font-size: 1.05rem; }
.report-preview .rp-tag { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.report-preview .rp-body { padding: 1.4rem; }
.report-preview .rp-row { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.report-preview .rp-name { width: 84px; font-size: .68rem; font-weight: 700; color: var(--af-gray-600); text-transform: uppercase; letter-spacing: .04em; flex: 0 0 auto; }
.report-preview .rp-track { display: block; flex: 1; height: 14px; border-radius: var(--af-radius-pill); background: #eef0f4; overflow: hidden; }
.report-preview .rp-fill { display: block; height: 100%; border-radius: var(--af-radius-pill); }
.report-preview .rp-foot { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--af-gray-200); }
.report-preview .rp-skel { height: 9px; border-radius: 6px; background: var(--af-gray-200); margin-bottom: .55rem; }

/* Vertical 4-step stepper */
.v-stepper { position: relative; }
.v-step { position: relative; padding: 0 0 2rem 3.9rem; }
.v-step:last-child { padding-bottom: 0; }
.v-step::before { content: ""; position: absolute; left: 26px; top: 54px; bottom: -2px; width: 2px; background: var(--af-gray-200); }
.v-step:last-child::before { display: none; }
.v-step .vs-num { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--af-green-700); color: #fff; font-family: var(--af-font-heading); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--af-shadow-card); }
.v-step h4 { margin: .45rem 0 .5rem; font-size: 1.2rem; }
.v-step p { color: var(--af-gray-600); margin: 0; }

/* Audience icon list (leading badge + title + desc + link) */
.audience-item { display: flex; gap: 1rem; }
.audience-item .ai-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-700); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.audience-item .ai-badge .material-symbols-rounded { font-size: 1.5rem; }
.audience-item h4 { font-size: 1.15rem; margin: .1rem 0 .35rem; }
.audience-item p { color: var(--af-gray-600); font-size: .95rem; margin: 0 0 .4rem; }
.audience-item a.ai-link { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-green-700); text-decoration: none; font-size: .88rem; display: inline-flex; align-items: center; gap: .3rem; }
.audience-item a.ai-link:hover { gap: .55rem; }

/* "What It Measures" surface cards: white on the soft section so they read as
   distinct cards (ws-learn's default gray blends into a bg-soft section).
   Keep the green hover state from ws-learn. */
.ws-learn.bg-soft .icon-card { background: #fff; box-shadow: var(--af-shadow-card); }
.ws-learn.bg-soft .icon-card:hover { background: var(--af-green-900); box-shadow: var(--af-shadow-xl); }

/* ==========================================================================
   Testimonials page (page-testimonials) — review cards with star ratings.
   Builds on the existing .schedule-quote pattern; layout referenced from
   Scott's Figma Testimonials / Reviews kits, restyled to the Affinity system.
   ========================================================================== */
.review-card { background: #fff; border: 1px solid var(--af-gray-200); border-radius: var(--af-radius-lg); box-shadow: var(--af-shadow-card); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--af-shadow-xl); }
.review-stars { color: var(--af-yellow); letter-spacing: .1rem; font-size: 1.05rem; line-height: 1; margin-bottom: .9rem; }
.review-quote { color: var(--af-gray-900); font-size: 1.02rem; line-height: 1.65; margin: 0 0 1.4rem; }
.review-quote::before { content: "\201C"; color: var(--af-green-400); font-family: var(--af-font-accent); font-size: 1.6rem; line-height: 0; vertical-align: -.35rem; margin-right: .15rem; }
.review-foot { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--af-green-50); color: var(--af-green-700); display: flex; align-items: center; justify-content: center; font-family: var(--af-font-heading); font-weight: 800; font-size: .95rem; flex: 0 0 auto; }
.review-name { font-family: var(--af-font-heading); font-weight: 700; color: var(--af-gray-900); font-size: .98rem; line-height: 1.2; }
.review-meta { font-size: .82rem; color: var(--af-gray-600); }
.review-tag { display: inline-block; margin-top: .45rem; background: var(--af-green-50); color: var(--af-green-700); font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: var(--af-radius-pill); }
.review-hero-stars { color: var(--af-yellow); font-size: 1.5rem; letter-spacing: .18rem; }

/* ============================================================
   Blog subscribe card — MailPoet form (id 1) styling
   Scoped to .subscribe-card in single.php sidebar. !important
   overrides MailPoet's inline/editor styles. Added 2026-08-10.
   ============================================================ */
.subscribe-card { padding: 2rem; border-radius: 24px; }
.subscribe-card h4 { font-size: 1.6rem; line-height: 1.2; font-weight: 700; margin: 0 0 .6rem; }
.subscribe-card p  { font-size: 1.02rem; line-height: 1.5; color: rgba(255,255,255,.8); margin: 0 0 1.4rem; }

.subscribe-card .mailpoet_form { margin: 0 !important; padding: 0 !important; background: transparent !important; }
.subscribe-card .mailpoet_paragraph { margin: 0 0 .9rem; }
.subscribe-card .mailpoet_paragraph:last-of-type { margin-bottom: 0; }
.subscribe-card .mailpoet_message { margin-top: .75rem; }

/* Email input -> white pill */
.subscribe-card .mailpoet_text {
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--af-radius-pill) !important;
	background: #fff !important;
	color: var(--af-green-900) !important;
	padding: 1rem 1.4rem !important;
	font-family: var(--af-font-body) !important;
	font-size: 1.02rem !important;
	line-height: 1.4 !important;
}
.subscribe-card .mailpoet_text::placeholder { color: #7a8790 !important; opacity: 1; }
.subscribe-card .mailpoet_text:focus { outline: 2px solid var(--af-green-400); outline-offset: 2px; }

/* Submit -> solid green pill, full width */
.subscribe-card .mailpoet_submit {
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--af-radius-pill) !important;
	background: var(--af-green-700) !important;
	color: #fff !important;
	padding: 1rem 1.4rem !important;
	font-family: var(--af-font-body) !important;
	font-weight: 700 !important;
	font-size: .98rem !important;
	letter-spacing: .06em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background .2s ease;
}
.subscribe-card .mailpoet_submit:hover { background: var(--af-green-900) !important; }

/* Validation messages on dark card */
.subscribe-card .mailpoet_validate_success { color: #d9f7e6 !important; }
.subscribe-card .mailpoet_validate_error   { color: #ffdada !important; }

/* ============================================================
   Footer newsletter — MailPoet form (id 1) inline in .newsletter-field
   Compact white pill: transparent email input + green icon send button.
   Scoped to .newsletter-field so the blog .subscribe-card layout is
   unaffected (same form id, two layouts). Added 2026-08-10.
   ============================================================ */
.newsletter-field .mailpoet_form { width: 100%; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.newsletter-field form.mailpoet_form,
.newsletter-field .mailpoet_form form { display: flex; align-items: center; gap: .4rem; width: 100%; margin: 0 !important; padding: 0 !important; }
/* collapse MailPoet's paragraph wrappers so input + submit are flex siblings */
.newsletter-field .mailpoet_paragraph { display: contents; margin: 0 !important; padding: 0 !important; }

/* email input -> transparent, fills the pill */
.newsletter-field .mailpoet_text {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	box-sizing: border-box !important;
	border: 0 !important;
	outline: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--af-gray-900) !important;
	font-family: var(--af-font-body) !important;
	font-size: var(--af-fs-body) !important;
	padding: .5rem .25rem !important;
}
.newsletter-field .mailpoet_text::placeholder { color: var(--af-gray-400) !important; opacity: 1; }

/* submit -> compact green icon (send) button */
.newsletter-field .mailpoet_submit {
	flex: 0 0 auto !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
	background-color: var(--af-green-700) !important;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23ffffff'%3E%3Cpath%20d='M2.01%2021L23%2012%202.01%203%202%2010l15%202-15%202z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 20px 20px !important;
	transition: background-color .2s ease;
}
.newsletter-field .mailpoet_submit:hover { background-color: var(--af-green-900) !important; }

/* confirmation / error message drops below the pill */
.newsletter-field .mailpoet_message { flex-basis: 100%; margin: .5rem 0 0 !important; }
.newsletter-field .mailpoet_validate_success { color: #fff !important; font-size: var(--af-fs-body) !important; }
.newsletter-field .mailpoet_validate_error { color: #ffdada !important; font-size: var(--af-fs-body) !important; }

.newsletter-field { border-radius: 14px; }

/* --- Footer newsletter fix: email fills width, send button flush right ---
   MailPoet wraps each field in a .mailpoet_paragraph; those are the flex
   items, so grow the email wrapper and auto-margin the submit wrapper. --- */
.newsletter-field .mailpoet_form form,
.newsletter-field form.mailpoet_form {
	display: flex !important;
	align-items: center !important;
	gap: .4rem !important;
	flex-wrap: wrap !important;
	width: 100% !important;
}
.newsletter-field .mailpoet_paragraph { display: block !important; margin: 0 !important; padding: 0 !important; }
.newsletter-field .mailpoet_paragraph:has(.mailpoet_text)   { flex: 1 1 auto !important; min-width: 0 !important; }
.newsletter-field .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto !important; margin-left: auto !important; }
.newsletter-field .mailpoet_text { width: 100% !important; box-sizing: border-box !important; }

/* --- Footer newsletter: remove empty-message gap under the row --- */
.newsletter-field .mailpoet_form,
.newsletter-field form.mailpoet_form { margin: 0 !important; padding: 0 !important; }
.newsletter-field .mailpoet_message { margin: 0 !important; padding: 0 !important; }
.newsletter-field .mailpoet_message:empty { display: none !important; }
.newsletter-field .mailpoet_message:not(:empty) { flex-basis: 100%; margin-top: .45rem !important; }
/* confirmation/error must be readable on the white pill */
.newsletter-field .mailpoet_validate_success { color: var(--af-green-900) !important; }
.newsletter-field .mailpoet_validate_error { color: #b3261e !important; }

/* --- FIX (verified via DOM): the empty .mailpoet_message wrapper was
   forcing a wrapped flex line (flex-basis:100% + margin + row-gap),
   adding ~14px below the row. It has hidden children so :empty never
   matched. display:contents removes its box from the flex flow; the
   actual validation messages still wrap below the row when MailPoet
   reveals them. --- */
.newsletter-field .mailpoet_message { display: contents !important; }
.newsletter-field .mailpoet_validate_success,
.newsletter-field .mailpoet_validate_error { flex-basis: 100% !important; margin-top: .4rem !important; }

/* ---- Pull quotes / callouts (converted from content [Layout:] markers) ---- */
.af-pullquote{
	border-left:4px solid #1f3a5f;
	background:#f1f5f9;
	border-radius:6px;
	padding:1.25rem 1.5rem;
	margin:2rem 0;
	font-style:italic;
	font-size:1.2rem;
	line-height:1.55;
	color:#1f2937;
}
.af-pullquote p{margin:0;}
.af-pullquote cite{
	display:block;
	margin-top:.6rem;
	font-style:normal;
	font-weight:600;
	font-size:.95rem;
	color:#1f3a5f;
}
