/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra child theme for is-art.org: the ART therapist directory (#628).
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ══════════════════════════════════════════════════════════════════
   THERAPIST LIST PAGE (/realed-form-thrplist/)
   Copied from the ART site's astra-child theme
   (aia-site/rcrr/wp/themes/astra-child/style.css), with its page-ID
   scope (body.page-id-9614 and -9627) swapped for the body classes
   that functions.php gives the two directory pages: body.art-thrplist
   and body.art-thrpview.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --sky:       #2E96CE;
  --sky-deep:  #1E7BB0;
  --sky-tint:  #E9F4FB;
  --gold:      #D9A63C;
  --gold-deep: #B8862A;
  --gold-tint: #FBF3E0;
  --navy:      #0E3A5C;
  --navy-deep: #0A2942;
  --ink:       #17262F;
  --slate:     #5C6B77;
  --slate-lt:  #8797A2;
  --line:      #E4EAEE;
  --ground:    #F5F8FA;

  /* Radius scale — shared site-wide (cards/fields/pills already use these values
     in the directory; naming them makes the "rounded look" a one-line change). */
  --radius-field: 10px;
  --radius-card:  16px;
  --radius-pill:  999px;
  --radius-btn:   999px; /* buttons in this design are pill-shaped, same as --radius-pill */
}

/* Page background */
body.art-thrplist .site-content {
  background: var(--ground) !important;
  overflow-x: hidden; /* guard against full-bleed hero causing sideways scroll */
}

/* Banner flush under the site header (kill Astra's top spacing on this page) */
body.art-thrplist .site-content > .ast-container,
body.art-thrplist #primary,
body.art-thrplist #main,
body.art-thrplist .art-directory-article { padding-top: 0 !important; margin-top: 0 !important; }
body.art-thrplist .ast-separate-container .ast-article-single { padding: 0 !important; }

/* Safety: hide any stray leading heading in the directory body */
body.art-thrplist .art-directory-body > h2:first-of-type { display: none !important; }

/* ── Hero: FULL-WIDTH band (spans the whole screen, like the home page) ── */
body.art-thrplist .art-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertically center the content in the band */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  background-color: var(--navy-deep);
  background-image:
    radial-gradient(700px 260px at 12% -20%, rgba(217,166,60,.14), transparent 60%),
    linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 40%, var(--sky-deep) 78%, var(--sky) 100%);
  padding: 88px 0;   /* ~1in above the eyebrow/title and below the search form */
  box-sizing: border-box;
}
/* World map (oval projection), faded into the right side of the hero.
   Sized to fill the shorter band height (crops Antarctica + the top line —
   approved by client) rather than shrinking to fit. */
body.art-thrplist .art-hero::after {
  content: "";
  position: absolute; top: 0; right: -4%; bottom: 0;
  width: 64%;
  /* Top-anchored so Canada/North America stay in frame (crops Antarctica, per client).
     Fade shifted left (opaque by 34%) so the Americas emerge from the gradient. */
  background: url('world-map.svg') 18% top / auto 135% no-repeat;
  opacity: .24;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
          mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  pointer-events: none;
  z-index: 1;
}
/* Content stays centered within the full-width band, above the image.
   Wider than the card container so the text + search sit further left. */
body.art-thrplist .art-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
/* Gold eyebrow above the title */
body.art-thrplist .art-hero-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
body.art-thrplist .art-hero-title {
  color: #fff;
  font-size: 42px;
  font-weight: 900 !important;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
}
body.art-thrplist .art-hero-sub {
  color: #DCEAF3;
  font-size: 16px;
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 52ch;
}

/* ── Hero search bar ── */
body.art-thrplist .hero-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(10,41,66,.28);
  max-width: 760px;
  margin-top: 24px;
  overflow: hidden;
}
body.art-thrplist .hero-search .hs-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  padding: 8px 16px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
body.art-thrplist .hero-search .hs-ico { color: var(--sky); flex-shrink: 0; }
body.art-thrplist .hero-search .hs-field-body {
  display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1;
}
body.art-thrplist .hero-search .hs-field + .hs-field { border-left: 1px solid var(--line); }
body.art-thrplist .hero-search label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin: 0;
  line-height: 1.2;
}
body.art-thrplist .hero-search input,
body.art-thrplist .hero-search select {
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  width: 100%;
  padding: 0;
  height: auto;
  min-height: 0;
  box-shadow: none;
}
body.art-thrplist .hero-search select { cursor: pointer; }
body.art-thrplist .hero-search .hs-btn {
  border: none;
  background: var(--gold);
  color: #4A3208;
  font-weight: 800;
  font-size: 15px;
  padding: 0 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, color .15s;
}
body.art-thrplist .hero-search .hs-btn:hover { background: var(--gold-deep); color: #fff; }

/* Hero radius control: Radius number + km/mi unit, compact so it sits beside Location */
body.art-thrplist .hero-search .hs-field-radius { flex: 0 1 168px; }
body.art-thrplist .hero-search .hs-rad-row { display: flex; align-items: baseline; gap: 7px; }
body.art-thrplist .hero-search .hs-rad-row input { width: 44px; flex: 0 0 auto; -moz-appearance: textfield; }
body.art-thrplist .hero-search .hs-rad-row input::-webkit-outer-spin-button,
body.art-thrplist .hero-search .hs-rad-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.art-thrplist .hero-search .hs-rad-row select { width: auto; flex: 0 0 auto; font-weight: 700; color: var(--slate-lt); }

/* ── Directory body: transparent container on the page background ──
   (pills + individual white cards float on the light ground, like the mockup) */
body.art-thrplist .art-directory-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px 46px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
}

/* Result count line */
body.art-thrplist .art-count {
  font-size: 15px; color: var(--slate); margin: 0 0 14px;
}
body.art-thrplist .art-count strong { color: var(--navy); font-weight: 800; }

/* ── Quick-filter toolbar (pills + All Filters) ── */
body.art-thrplist .art-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
body.art-thrplist .art-pills { display: flex; gap: 10px; flex-wrap: wrap; }
body.art-thrplist .art-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--slate);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 17px; cursor: pointer; transition: all .14s;
}
body.art-thrplist .art-pill svg { color: var(--sky); }
body.art-thrplist .art-pill:hover { border-color: var(--sky); color: var(--navy); }
body.art-thrplist .art-pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
body.art-thrplist .art-pill.is-active svg { color: #fff; }
/* Placeholder pills (In-Person / Telehealth) — shown but not wired yet */
body.art-thrplist .art-pill-soon { border-style: dashed; color: var(--slate-lt); }
body.art-thrplist .art-pill-soon svg { color: var(--slate-lt); }
body.art-thrplist .art-pill-soon:hover { border-color: var(--slate-lt); color: var(--slate-lt); cursor: default; }
body.art-thrplist .art-allfilters {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--sky); border: none; border-radius: 999px;
  padding: 10px 20px; cursor: pointer; transition: background .14s;
}
body.art-thrplist .art-allfilters:hover { background: var(--sky-deep); }
body.art-thrplist .art-allfilters { margin-left: 4px; }

/* Clear filters (subtle text button, right side of toolbar) */
body.art-thrplist .art-clear {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--slate);
  background: transparent; border: none; border-radius: 999px;
  padding: 8px 12px; cursor: pointer; transition: color .14s, background .14s;
}
body.art-thrplist .art-clear:hover { color: var(--navy); background: var(--sky-tint); }

/* ── All Filters slide-out drawer ── */
/* Hide the old inline "Filters (N)" toggle — replaced by the drawer */
body.art-thrplist .realed-thrpsrch h3#realed-thrpsrch-title { display: none !important; }
body.art-thrplist div.realed-thrpsrch { margin: 0 !important; }

/* Active-filter count badge on the All Filters button */
body.art-thrplist .art-allfilters-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px;
  background: #fff; color: var(--sky-deep);
  border-radius: 999px; font-size: 12px; font-weight: 800;
}

/* The filter panel (wraps the whole #realed-thrp form) becomes the drawer */
body.art-thrplist #realed-thrpsrch-content {
  position: fixed; top: 0; right: 0;
  width: 720px; max-width: 92vw; height: 100vh; height: 100dvh;
  background: #fff; box-shadow: -10px 0 44px rgba(14,58,92,.22);
  z-index: 100001; overflow-y: auto;
  padding: 74px 24px 24px;
  transform: translateX(100%); transition: transform .28s ease;
  display: block !important; visibility: hidden;
}
body.art-thrplist.art-drawer-open #realed-thrpsrch-content { transform: translateX(0); visibility: visible; }

/* Fixed drawer header (injected): title + close */
body.art-thrplist .art-drawer-head {
  position: fixed; top: 0; right: 0; width: 720px; max-width: 92vw; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 22px; background: #fff; border-bottom: 1px solid var(--line);
  z-index: 100002; transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
}
body.art-thrplist.art-drawer-open .art-drawer-head { transform: translateX(0); visibility: visible; }
body.art-thrplist .art-drawer-head strong { font-size: 19px; font-weight: 800; color: var(--navy); }
body.art-thrplist .art-drawer-close {
  border: none; background: var(--ground); color: var(--slate);
  width: 34px; height: 34px; border-radius: 999px; cursor: pointer; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
body.art-thrplist .art-drawer-close:hover { background: #E6EDF1; color: var(--navy); }

/* Backdrop */
body.art-thrplist .art-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(10,41,66,.45);
  z-index: 100000; opacity: 0; visibility: hidden; transition: opacity .25s;
}
body.art-thrplist.art-drawer-open .art-drawer-backdrop { opacity: 1; visibility: visible; }

/* Lock background scroll while the drawer is open */
body.art-thrplist.art-drawer-open { overflow: hidden; }

/* Sticky "Apply" (the plugin's Search button) at the bottom of the drawer */
body.art-thrplist #realed-thrpsrch-content .realed-buttons-bot {
  position: sticky; bottom: 0; background: #fff;
  margin-top: 18px; padding: 14px 0 6px; border-top: 1px solid var(--line);
}
body.art-thrplist #realed-thrpsrch-content .realed-buttons-bot input[name="search"] {
  width: 100%; background: var(--navy); color: #fff; border: none;
  border-radius: 999px; padding: 13px; font-size: 15px; font-weight: 800; cursor: pointer;
}
body.art-thrplist #realed-thrpsrch-content .realed-buttons-bot input[name="search"]:hover { background: var(--navy-deep); }

/* ── Drawer filter groups → pill chips ── */
/* Section headings (Location / Therapist / Specialization …) */
body.art-thrplist #realed-thrpsrch-content h3 {
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin: 13px 0 5px;
}
/* Group sub-labels (Gender / Specialties / Age …) */
body.art-thrplist #realed-thrpsrch-content .realed-field > label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--slate); margin: 2px 0 4px; line-height: 16px;
}
/* Pill row */
body.art-thrplist #realed-thrpsrch-content .realed-set-items {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px;
}
/* Each set item = a pill */
body.art-thrplist #realed-thrpsrch-content .realed-set-item {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: 13.5px; color: var(--slate); background: #fff;
  cursor: pointer; user-select: none;
  transition: background .13s, border-color .13s, color .13s;
}
body.art-thrplist #realed-thrpsrch-content .realed-set-item:hover { border-color: var(--sky); color: var(--navy); }
body.art-thrplist #realed-thrpsrch-content .realed-set-item input { display: none; }
body.art-thrplist #realed-thrpsrch-content .realed-set-item.is-on {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
/* Accordion: collapsed groups show only the first 5 pills */
body.art-thrplist #realed-thrpsrch-content .realed-set-items.is-collapsed .realed-set-item:nth-child(n+6) { display: none; }
body.art-thrplist #realed-thrpsrch-content .art-viewall {
  background: none; border: none; color: var(--sky-deep);
  font-family: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; padding: 9px 2px 2px; margin: 0;
}
body.art-thrplist #realed-thrpsrch-content .art-viewall:hover { color: var(--navy); text-decoration: underline; }
/* Text + select filter fields (name, bio) */
body.art-thrplist #realed-thrpsrch-content input[type="text"],
body.art-thrplist #realed-thrpsrch-content select {
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  font-size: 14px; color: var(--ink); background: #fff; margin: 0 0 6px; max-width: 100%;
}

/* Location/Country groups are shown in the drawer (client request 2026-08) so every
   filter is adjustable in one place. The hero search bar mirrors its values into
   #realed-thrpsloc / #realed-thrpscountry, so the two stay in sync. */

/* Subtle divider between each filter group */
body.art-thrplist #realed-thrpsrch-content .realed-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-bottom: 7px;
}
body.art-thrplist #realed-thrpsrch-content .realed-group:last-of-type { border-bottom: none; }
/* Tighten per-field vertical rhythm in the drawer (overrides the base 1.5ex) */
body.art-thrplist #realed-thrpsrch-content .realed-field { margin: 4px 6px 0 0; }

/* ── Location + Country as one hero-style row (client request 2026-08-19) ── */
/* Widen the slide-out so Location · Radius · Unit · Country fit on one line. */
body.art-thrplist #realed-thrpsrch-content { width: 880px; }
/* The Location and Country groups share a single horizontal row. */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry {
  display: inline-flex; align-items: flex-end; flex-wrap: wrap; gap: 10px;
  vertical-align: bottom;
}
/* Both groups keep the same bottom box-model (from .realed-group) so their inputs
   bottom-align on the shared row; just add a gap between the two groups. */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc { margin-right: 14px; }
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc .realed-field,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry .realed-field { margin: 0; }
/* Drop the duplicate "Location" section heading (the field label already says it). */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc h3 { display: none; }
/* Match the hero exactly — drop the large "Or:" heading (the page's search bar has none),
   so Country aligns with Location/Radius/Unit on the same row. */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry h4 { display: none; }
/* Field widths mirror the hero proportions. */
body.art-thrplist #realed-thrpsrch-content #realed-thrpsloc { width: 230px; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpsrad { width: 64px; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpsunit { width: 78px; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpscountry { width: 190px; }

/* Hero-style cells: label sits INSIDE a bordered field box (client 2026-08-19).
   No group divider (cells carry the structure); equal group bottoms keep inputs aligned. */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry {
  border-bottom: none; padding-bottom: 0; margin-bottom: 16px;
}
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc .realed-field,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry .realed-field {
  border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 5px 12px;
}
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc .realed-field > label,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry .realed-field > label {
  margin: 0 0 2px; font-size: 11px; line-height: 14px;
}
/* Borderless controls with matched heights → cells are shorter and the merged
   Radius+Unit halves are the same height (no stepped border). */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc input,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc select,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpscountry select {
  border: none; padding: 0; background: transparent; margin: 0;
  height: 22px; line-height: 22px;
}

/* ── Description joins the Therapist (First/Last name) row (client 2026-08-19) ── */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsfirst,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsbio {
  display: inline-flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; vertical-align: bottom;
}
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsfirst { margin-right: 14px; }
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsfirst .realed-field,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsbio .realed-field { margin: 0; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpsfirst { width: 175px; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpslast { width: 175px; }
body.art-thrplist #realed-thrpsrch-content #realed-thrpsbio { width: 250px; }
/* Drop the First/Last field labels (client 2026-08-19) — the "Search by Therapist Name"
   heading covers them; the inputs keep their placeholders. */
body.art-thrplist #realed-thrpsrch-content .realed-field-thrpsfirst > label,
body.art-thrplist #realed-thrpsrch-content .realed-field-thrpslast > label { display: none; }
/* "Search by Therapist Name" and "Description" as identical headers on the same level,
   so they align (the inputs bottom-align via flex-end; matched header boxes align the tops). */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsfirst h3,
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsbio .realed-field-thrpsbio > label {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 6px; padding: 0; line-height: 16px; white-space: nowrap;
}

/* (Location-cell icons removed per client request 2026-08-20.) */

/* ── Merge Radius + Unit into one cell like the hero (client 2026-08-20) ── */
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc .realed-field-thrpsrad {
  border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; padding-right: 4px;
}
body.art-thrplist #realed-thrpsrch-content .realed-group-thrpsloc .realed-field-thrpsunit {
  margin-left: -10px; border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0;
  padding-left: 6px;
}
/* Hide the "Unit" label text but keep its height so the merged cell stays aligned. */
body.art-thrplist #realed-thrpsrch-content .realed-field-thrpsunit > label { visibility: hidden; }

/* ── Lighter placeholder ("sample") text in the drawer (client 2026-08-20) ── */
body.art-thrplist #realed-thrpsrch-content input::placeholder {
  color: #9AA7B2; opacity: 1;
}

/* ── Cards ── (high specificity beats any stale inline block) */
body.art-thrplist div.realed-thrp {
  display: flex; align-items: flex-start; gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
  max-width: none;
  box-shadow: 0 1px 3px rgba(14,58,92,.07), 0 1px 2px rgba(14,58,92,.04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
body.art-thrplist div.realed-thrp:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14,58,92,.10), 0 2px 6px rgba(14,58,92,.06);
  border-color: #CFE3EF;
}

/* Portrait */
body.art-thrplist div.realed-thrp-img { flex: 0 0 120px; }
body.art-thrplist div.realed-thrp-img img {
  width: 120px !important; height: 158px !important; min-height: 158px !important;
  object-fit: cover !important; object-position: top !important;
  border-radius: 12px; display: block;
}
body.art-thrplist div.realed-thrp-noimg {
  width: 120px; height: 158px; border-radius: 12px;
  background: linear-gradient(150deg, #4FB0E4, #1E7BB0);
  display: flex; align-items: center; justify-content: center;
  color: #fff !important; font-size: 34px; font-weight: 800; letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.18);
}

/* Info column */
body.art-thrplist div.realed-thrp-info { flex: 1 1 auto; min-width: 0; }
body.art-thrplist div.realed-thrp-sec1 {
  font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 0;
}
body.art-thrplist div.realed-thrp-sec1 a { color: var(--navy); text-decoration: none; }
body.art-thrplist div.realed-thrp-sec1 a:hover { text-decoration: underline; }

/* Level badge container + pills */
body.art-thrplist div.realed-thrp-sec {
  margin: 7px 0 0; padding: 0; font-size: inherit; font-weight: normal;
  text-transform: none; letter-spacing: normal; color: inherit;
}
body.art-thrplist span.realed-thrp-level {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
body.art-thrplist span.realed-thrp-level-trained { background: var(--sky-tint);  color: var(--sky-deep); }
body.art-thrplist span.realed-thrp-level-master  { background: var(--gold-tint); color: var(--gold-deep); }
body.art-thrplist span.realed-thrp-level-trainer { background: var(--navy); color: #fff; }

/* Contact rows (location / website) */
body.art-thrplist div.realed-thrp-cont {
  font-size: 14px; color: var(--slate); margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
}
body.art-thrplist div.realed-thrp-cont i.fa-map-marker { color: #E0663A; }
body.art-thrplist div.realed-thrp-cont i.fa-globe { color: var(--sky); }
body.art-thrplist div.realed-thrp-cont a { color: var(--sky-deep); text-decoration: none; }
body.art-thrplist div.realed-thrp-cont a:hover { text-decoration: underline; }

/* Bio */
body.art-thrplist div.realed-thrp-bio {
  font-size: 14px; color: var(--slate); margin-top: 12px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Actions column */
body.art-thrplist div.realed-thrp-actions {
  flex: 0 0 168px; display: flex; flex-direction: column; gap: 9px; align-items: stretch; padding-top: 2px;
}
body.art-thrplist div.realed-thrp-phone {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 16px; font-weight: 700; padding: 2px 0 6px;
  font-variant-numeric: tabular-nums;
}
body.art-thrplist div.realed-thrp-phone a { color: var(--sky-deep) !important; text-decoration: none; }
body.art-thrplist div.realed-thrp-phone a:hover { color: var(--navy) !important; }
body.art-thrplist div.realed-thrp-phone i { color: #2AA84F; }

body.art-thrplist div.realed-thrp-actions a.realed-thrp-email-btn,
body.art-thrplist div.realed-thrp-actions a.realed-thrp-details-btn {
  display: flex !important; align-items: center; justify-content: center; gap: 7px;
  font-size: 14px !important; font-weight: 700 !important;
  padding: 10px 14px !important; border-radius: 999px !important;
  text-decoration: none !important; cursor: pointer;
  border: 1.5px solid transparent !important; transition: all .14s; box-sizing: border-box;
}
body.art-thrplist div.realed-thrp-actions a.realed-thrp-email-btn {
  background: #fff !important; border-color: var(--line) !important; color: var(--ink) !important;
}
body.art-thrplist div.realed-thrp-actions a.realed-thrp-email-btn:hover {
  border-color: var(--sky) !important; background: var(--sky-tint) !important; color: var(--navy) !important;
}
body.art-thrplist div.realed-thrp-actions a.realed-thrp-details-btn {
  background: var(--sky) !important; color: #fff !important;
}
body.art-thrplist div.realed-thrp-actions a.realed-thrp-details-btn:hover {
  background: var(--sky-deep) !important;
}

/* Specialty pills (if used) */
body.art-thrplist span.realed-thrp-set {
  display: inline-block; background: var(--sky-tint); color: var(--sky-deep);
  border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 600;
  margin: 2px 4px 2px 0; white-space: nowrap;
}

body.art-thrplist :focus-visible { outline: 3px solid rgba(46,150,206,.5); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  body.art-thrplist div.realed-thrp { transition: none; }
}

/* Responsive */
@media (max-width: 720px) {
  body.art-thrplist .art-hero { min-height: auto; padding: 44px 0; }
  body.art-thrplist .art-hero-title { font-size: 28px; }
  body.art-thrplist .hero-search { flex-direction: column; }
  body.art-thrplist .hero-search .hs-field + .hs-field { border-left: none; border-top: 1px solid var(--line); }
  /* Stacked, the desktop 168px flex-basis would make the Radius row 168px tall */
  body.art-thrplist .hero-search .hs-field-radius { flex: 0 0 auto; }
  body.art-thrplist .hero-search .hs-btn { padding: 14px; justify-content: center; }
  body.art-thrplist div.realed-thrp { flex-direction: column; }
  body.art-thrplist div.realed-thrp-img { flex-basis: auto; }
  body.art-thrplist div.realed-thrp-img img { width: 100% !important; height: 200px !important; }
  body.art-thrplist div.realed-thrp-noimg { width: 100%; height: 200px; }
  body.art-thrplist div.realed-thrp-actions { flex-basis: auto; flex-direction: row; flex-wrap: wrap; }
  body.art-thrplist div.realed-thrp-phone { flex: 1 1 100%; }
  body.art-thrplist div.realed-thrp-actions a { flex: 1; }
}

/* ══════════════════════════════════════════════════════════════════
   THERAPIST DETAIL / PROFILE PAGE (/realed-form-thrpview/)
   Psychology-Today-style two-column profile: main (photo, bio,
   attribute pills, large photo) + sidebar (Let's Connect, At a Glance).
   ══════════════════════════════════════════════════════════════════ */
body.art-thrpview .site-content {
  background: linear-gradient(170deg, #CFE4F3 0%, #E4EEF6 55%, #F2F4F6 100%) !important;
  /* NB: do NOT set overflow here — overflow-x:hidden makes overflow-y compute to
     auto, creating a scroll container that breaks the sidebar's position:sticky. */
}
/* Keep inner containers transparent so the gradient shows through */
body.art-thrpview .entry-content,
body.art-thrpview .ast-container,
body.art-thrpview article { background: transparent !important; }

/* Banner flush under the site header */
body.art-thrpview .site-content > .ast-container,
body.art-thrpview #primary,
body.art-thrpview #main { padding-top: 0 !important; margin-top: 0 !important; }

/* Hide Astra's WP page title + any empty heading */
body.art-thrpview .entry-header,
body.art-thrpview .entry-content > h2:empty { display: none !important; }

/* Content container */
body.art-thrpview .entry-content {
  max-width: 1040px; margin: 0 auto; padding: 30px 20px 64px; box-sizing: border-box;
}

/* Therapist name (in-card, next to the portrait) */
body.art-thrpview .art-prof-name {
  font-size: 28px; font-weight: 800; color: var(--navy);
  letter-spacing: -.01em; line-height: 1.15; margin: 0 0 8px;
}

/* Back-to-directory link (injected) */
body.art-thrpview .art-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--sky-deep);
  text-decoration: none; margin: 0 0 14px;
}
body.art-thrpview .art-back:hover { color: var(--navy); text-decoration: underline; }

/* ── Two-column layout ── */
body.art-thrpview .realed-thrp {
  display: flex; align-items: flex-start; gap: 24px;
  background: transparent; border: none; box-shadow: none; padding: 0;
}
body.art-thrpview .art-prof-main {
  flex: 1 1 auto; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; box-shadow: 0 4px 22px rgba(14,58,92,.07);
}
body.art-thrpview .art-prof-side {
  flex: 0 0 320px; display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 20px; align-self: flex-start;
}

/* Main: header row (photo + badge/title) */
body.art-thrpview .art-prof-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
body.art-thrpview .realed-thrp-img { flex: 0 0 150px; }
body.art-thrpview .realed-thrp-img img {
  width: 150px !important; height: 150px !important; object-fit: cover !important;
  object-position: top !important; border-radius: 12px; display: block;
}
body.art-thrpview .realed-thrp-noimg {
  width: 150px; height: 150px; border-radius: 12px;
  background: linear-gradient(150deg, #4FB0E4, #1E7BB0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 40px; font-weight: 800;
}
body.art-thrpview .art-prof-headinfo { flex: 1 1 auto; min-width: 0; }
body.art-thrpview .realed-thrp-sec1 { margin: 0 0 8px; }
body.art-thrpview span.realed-thrp-level {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
body.art-thrpview span.realed-thrp-level-trained { background: var(--sky-tint);  color: var(--sky-deep); }
body.art-thrpview span.realed-thrp-level-master  { background: var(--gold-tint); color: var(--gold-deep); }
body.art-thrpview span.realed-thrp-level-trainer { background: var(--navy); color: #fff; }
body.art-thrpview .art-prof-protis { font-size: 15px; color: var(--slate); font-weight: 600; margin: 0 0 10px; }

/* Bio */
body.art-thrpview .realed-thrp-bio {
  font-size: 15px; line-height: 1.7; color: var(--ink);
  margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}

/* ── Attribute grid: two tidy columns instead of one long ladder ── */
body.art-thrpview .art-prof-attrs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px;
}
body.art-thrpview .art-attr { min-width: 0; }
/* wpautop leaves a stray <br> as the first grid child; it would take cell 1 */
body.art-thrpview .art-prof-attrs > br { display: none; }
body.art-thrpview .realed-thrp-sec {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 10px;
}
body.art-thrpview .realed-thrp-sec i { color: var(--sky); font-size: 12px; }
body.art-thrpview .art-attr-vals { font-size: 15px; color: var(--ink); line-height: 1.6; }
body.art-thrpview span.realed-thrp-set {
  display: inline-block; background: var(--sky-tint); color: var(--sky-deep);
  border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600;
  margin: 0 6px 7px 0; white-space: nowrap; transition: transform .12s, box-shadow .12s;
}
body.art-thrpview .art-attr-vals span.realed-thrp-set:hover {
  transform: translateY(-1px); box-shadow: 0 3px 8px rgba(30,123,176,.18);
}

/* Favorite quote — full-width, set off below the attributes */
body.art-thrpview .art-prof-favquote {
  display: flex; gap: 12px; margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.6; color: var(--slate); font-style: italic;
}
body.art-thrpview .art-prof-favquote i { color: var(--gold); font-size: 20px; flex-shrink: 0; }

/* ── Sidebar cards ── */
body.art-thrpview .art-side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: 0 4px 22px rgba(14,58,92,.07);
}
body.art-thrpview .art-side-label {
  font-size: 13px; font-weight: 700; color: var(--slate); margin-bottom: 10px;
}
body.art-thrpview .art-side-title {
  font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 14px;
}
body.art-thrpview .art-side-phone {
  font-size: 22px; font-weight: 800; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
body.art-thrpview .art-side-phone i { color: #2AA84F; font-size: 17px; margin-right: 6px; }
body.art-thrpview .art-side-phone a { color: var(--navy) !important; text-decoration: none; }
body.art-thrpview .art-side-phone a:hover { color: var(--sky-deep) !important; }
/* Email Me button (uses the plugin emailbtn output) */
body.art-thrpview .art-side-emailwrap a.realed-thrp-email-btn {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100%; box-sizing: border-box;
  background: var(--sky) !important; color: #fff !important;
  border: none !important; border-radius: 999px !important;
  padding: 13px 16px !important; font-size: 15px !important; font-weight: 800 !important;
  text-decoration: none !important; transition: background .15s;
}
body.art-thrpview .art-side-emailwrap a.realed-thrp-email-btn:hover { background: var(--sky-deep) !important; }

/* At-a-glance rows */
body.art-thrpview .art-glance {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; color: var(--ink); line-height: 1.5;
  padding: 11px 0; border-top: 1px solid var(--line);
}
body.art-thrpview .art-glance:first-of-type { border-top: none; padding-top: 0; }
body.art-thrpview .art-glance i { color: var(--sky); margin-top: 3px; flex-shrink: 0; }
body.art-thrpview .art-glance a { color: var(--sky-deep); text-decoration: none; word-break: break-all; }
body.art-thrpview .art-glance a:hover { text-decoration: underline; }
/* Modality pills inside glance rows */
body.art-thrpview .art-glance span.realed-thrp-set {
  background: var(--sky-tint); color: var(--sky-deep);
  border-radius: 999px; padding: 3px 10px; font-size: 12.5px; margin: 0 5px 4px 0;
}

/* Responsive: sidebar drops below main */
@media (max-width: 860px) {
  body.art-thrpview .realed-thrp { flex-direction: column; }
  body.art-thrpview .art-prof-side { flex-basis: auto; width: 100%; position: static; }
  body.art-thrpview .art-prof-name { font-size: 23px; }
}
@media (max-width: 620px) {
  body.art-thrpview .art-prof-attrs { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  body.art-thrpview .art-prof-head { flex-direction: column; align-items: flex-start; }
}

/* Personal quote in the sidebar glance card */
body.art-thrpview .art-glance-quote span { font-style: italic; color: var(--slate); }
body.art-thrpview .art-glance-quote i { color: var(--gold); }


/* ══════════════════════════════════════════════════════════════════
   SITE-WIDE: match is-art.org as it looked under BuddyBoss (#628)
   Astra brought its own saved fonts and sizes (Rufina 64px headings).
   These rules restore BuddyBoss's: Playfair Display headings, Lato
   text, measured on live is-art.org on 2026-10-22.  The two directory
   pages keep their own design, so they are left out.
   ══════════════════════════════════════════════════════════════════ */
body:not(.art-thrplist):not(.art-thrpview),
body:not(.art-thrplist):not(.art-thrpview) button,
body:not(.art-thrplist):not(.art-thrpview) input,
body:not(.art-thrplist):not(.art-thrpview) select,
body:not(.art-thrplist):not(.art-thrpview) textarea {
  font-family: 'Lato', sans-serif;
}
body:not(.art-thrplist):not(.art-thrpview) h1,
body:not(.art-thrplist):not(.art-thrpview) .entry-content h1,
body:not(.art-thrplist):not(.art-thrpview) h1.elementor-heading-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
}
body:not(.art-thrplist):not(.art-thrpview) h2,
body:not(.art-thrplist):not(.art-thrpview) .entry-content h2,
body:not(.art-thrplist):not(.art-thrpview) h2.elementor-heading-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}
body:not(.art-thrplist):not(.art-thrpview) h3,
body:not(.art-thrplist):not(.art-thrpview) .entry-content h3,
body:not(.art-thrplist):not(.art-thrpview) h3.elementor-heading-title {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
/* Smaller headings were Astra's Montserrat (the year headings on Recorded Consultations). */
body:not(.art-thrplist):not(.art-thrpview) h4,
body:not(.art-thrplist):not(.art-thrpview) h5,
body:not(.art-thrplist):not(.art-thrpview) h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

/* Keep RealEd form fields inside the page on narrow screens.  The forum's Subject and
   Message boxes have fixed widths (the Message box is 80 columns), and each sits in an
   inline-block .realed-field that grows to fit it, so on a phone both ran past the edge. */
.realed-field {
  max-width: 100%;
}
.realed-field input,
.realed-field select,
.realed-field textarea {
  max-width: 100%;
  box-sizing: border-box;
}

/* The same for fields in a results table, such as the Account page's occ[0], which carry an
   inline width and sit outside any .realed-field.  A results table's rows are table rows
   with no table box of their own, so it cannot shrink below its content; scroll a table
   that is still too wide inside the card rather than past it. */
.realed-result-td input,
.realed-result-td select,
.realed-result-td textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.realed-section .realed-result-tbody {
  max-width: 100%;
  overflow-x: auto;
}

/* The license Type select on Register and Account grows to its longest option (about 590px),
   which pushed Expiration and the row buttons out of a 973px card on desktop.  280px keeps the
   whole row in view; the open list still shows each type in full. */
.realed-result-pair-occ select {
  width: 280px;
}

/* Live Consultations (/sessions/live-consultations/) is a LearnDash course with no steps, kept
   only for its Zoom join buttons, so its "0% COMPLETE 0/0 Steps" bar means nothing. */
body.postid-100003252 .learndash-wrapper .ld-course-status {
  display: none;
}

/* One button style outside the directory: the blue and 7px corners of the WPBakery buttons.
   Astra's global buttons (RealEd's forms, block buttons) were its palette blue with 4px
   corners.  Hover matches Astra's global setting: white text on #084AF3.  Mixed case, as on
   the old site, not Astra's spaced capitals (#1057). */
body:not(.art-thrplist):not(.art-thrpview) .button,
body:not(.art-thrplist):not(.art-thrpview) .ast-button,
body:not(.art-thrplist):not(.art-thrpview) .wp-block-button__link,
body:not(.art-thrplist):not(.art-thrpview) input[type="submit"]:not(.search-submit),
body:not(.art-thrplist):not(.art-thrpview) input[type="button"] {
  background-color: #385DFF;
  border-color: #385DFF;
  border-radius: 7px;
  text-transform: none;
  letter-spacing: normal;
}
body:not(.art-thrplist):not(.art-thrpview) .button:hover,
body:not(.art-thrplist):not(.art-thrpview) .ast-button:hover,
body:not(.art-thrplist):not(.art-thrpview) .wp-block-button__link:hover,
body:not(.art-thrplist):not(.art-thrpview) input[type="submit"]:not(.search-submit):hover,
body:not(.art-thrplist):not(.art-thrpview) input[type="button"]:hover {
  background-color: #084AF3;
  border-color: #084AF3;
  color: #fff;
}

/* Phone header: Astra draws the logo 74px wide, too small to read the wordmark, and once the
   page scrolls its sticky header fills the menu button with blue.  Keep the logo readable
   and the button as it is at the top of the page. */
#ast-mobile-header .custom-logo-link img,
#ast-mobile-header .sticky-custom-logo img {
  width: 160px;
  max-width: 160px;
}
body[class*="-sticky-header-active"] .ast-header-sticked [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill {
  background-color: var(--ast-global-color-5);
  color: rgb(16, 18, 24);
}

/* Phone menu: the account links (Log In, Account, Dashboard, Cart, Log Out) look like the main
   menu items: same size, no grey background, light dividers. */
#secondary_menu-site-navigation-mobile .main-header-menu {
  background-color: transparent;
}
#secondary_menu-site-navigation-mobile .menu-link {
  font-size: 17px;
  text-decoration: none;
  border-bottom-color: #EAEAEA;
}

/* Keep the footer's email address on one line; it broke at the hyphen. */
.isart-nowrap {
  white-space: nowrap;
}

/* Home page hero on phones: keep the subject's face in view, not just her hand. */
@media (max-width: 544px) {
  .isart-hero {
    background-position: 0% 0%, 72% 50%;
  }
}

/* RealEd forms on phones: one field width, each field on its own line.  RealEd's own form
   styles set div.realed-field inline-block and its controls to their natural widths. */
@media (max-width: 544px) {
  body:not(.art-thrplist):not(.art-thrpview) div.realed-field {
    display: block;
  }
  body:not(.art-thrplist):not(.art-thrpview) div.realed-field input:not([type="radio"]):not([type="checkbox"]),
  body:not(.art-thrplist):not(.art-thrpview) div.realed-field select {
    width: 100%;
  }
  /* Results rows (the license rows) too: RealEd puts the label in the left half and the
     field in the right half on phones. */
  body:not(.art-thrplist):not(.art-thrpview) .realed-result-th,
  body:not(.art-thrplist):not(.art-thrpview) .realed-result-td {
    float: none;
    width: 100%;
  }
  body:not(.art-thrplist):not(.art-thrpview) .realed-result-td input:not([type="radio"]):not([type="checkbox"]):not(.button),
  body:not(.art-thrplist):not(.art-thrpview) .realed-result-td select {
    width: 100%;
  }
}

/* A checkbox set's items (the profile's "Insurances accepted") stay inside the page; RealEd
   keeps each label on one line, and the longest ran past a phone screen. */
.realed-set-item {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
}
.realed-set-item label {
  white-space: normal;
}

/* "Licenses" styled like a field label, not a page heading. */
body:not(.art-thrplist):not(.art-thrpview) .realed-section-acct-lic > h2,
body:not(.art-thrplist):not(.art-thrpview) .realed-section-reg-lic > h2 {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

/* Site-wide styling from Nick's review (#1057). */

/* Underline links in page content and the footer, which are near the body text's color.
   Header menus and buttons keep no underline; the directory keeps its own design. */
body:not(.art-thrplist):not(.art-thrpview) .entry-content a:not(.button):not(.vc_btn3):not(.wp-block-button__link):not(.ast-button),
#colophon a {
  text-decoration: underline;
}

/* Space around a RealEd form's button row, and between its buttons. */
body:not(.art-thrplist):not(.art-thrpview) div.realed-buttons-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

/* Space above a form section's heading, such as "Licenses" under the Emergency contact
   fields. */
body:not(.art-thrplist):not(.art-thrpview) .realed-section > h2 {
  margin-top: 30px;
}

/* Compact Add buttons (in a section heading) and row buttons (Delete, Up, Down), in mixed
   case rather than Astra's spaced capitals. */
.realed-section > h2 .button,
.realed-rowbtns .button {
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}
.realed-rowbtns {
  white-space: nowrap;
}
.realed-section-acct-lic .realed-rowbtns,
.realed-section-reg-lic .realed-rowbtns {
  white-space: normal;
}
@media (max-width: 544px) {
  .realed-rowbtns {
    white-space: normal;
  }
}
.realed-rowbtns .button {
  margin: 2px;
}
.realed-section > h2 .button {
  margin-left: 8px;
  vertical-align: middle;
}

/* Fields in a results row (license rows, the cart's Quantity) at the height of the main
   fields: RealEd's form styles give only div.realed-field controls 3px top and bottom
   padding. */
.realed-result-td input:not([type="radio"]):not([type="checkbox"]):not(.button),
.realed-result-td select {
  padding-top: 3px;
  padding-bottom: 3px;
}

/* Post titles on the blog, category and search lists: Playfair 30px, as on live.  Astra
   sets Montserrat on the title's link itself, so the link needs its own rule. */
body.blog h2.entry-title,
body.blog .entry-title a,
body.archive h2.entry-title,
body.archive .entry-title a,
body.search h2.entry-title,
body.search .entry-title a {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 400;
}

/* Hide Scroll-to-Top.  functions.php turns off Astra's button, but Astra Pro adds a
   second one, drawn huge by its saved 15rem size.  Astra's script sets the button's
   display when the page scrolls, so hide it with visibility instead. */
#ast-scroll-top {
  visibility: hidden;
}

/* Header menu: Lato 14px in dark text, as BuddyBoss's white header bar showed it. */
#masthead .main-header-menu .menu-link {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

/* Header menu items 6px apart on each side, not Astra's 14px, so a logged-in non-member's
   five items (Become A Member and Resources both show) fit on one row. */
#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  padding-left: 6px;
  padding-right: 6px;
}

/* Below 1261px those five items wrap, so show the phone header there instead.  Astra swaps
   the two headers at its tablet breakpoint (921px), which also drives every other tablet
   layout, so the swap for 922px to 1260px is done here.  functions.php raises
   astra_header_break_point to match, which sets the phone menu's body class. */
@media (min-width: 922px) and (max-width: 1260px) {
  #ast-desktop-header {
    display: none;
  }
  #ast-mobile-header {
    display: block;
  }
}

/* The isart-claude-editor plugin's footer links: functions.php now adds them to the
   copyright line, so hide the plugin's copy until the plugin is removed at launch. */
.cwe-footer-link {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════
   PAGE LOOK: navy title banner, light blue page, white panels
   (#901, #906).  Moved here from each page's WPBakery Custom CSS.
   A page opts in with WPBakery classes on its rows and columns:
   isart-banner on the title row (isart-hero on the home page),
   isart-panel on a white section, and the classes below.  Rules
   used by one page only are scoped to that page's body class.
   ══════════════════════════════════════════════════════════════════ */

/* Light blue page under the banner, as on the live site */
body:has(.isart-banner),
body:has(.isart-hero) {
  background-color: #AEC6FC;
}
body:has(.isart-banner) .site-content #primary,
body:has(.isart-hero) .site-content #primary {
  margin-top: 0;
}

/* Navy title banner (a full-width row) */
.isart-banner {
  background: #001850;
  padding: 70px 0 50px;
  margin-bottom: 50px;
}
.isart-banner h1 {
  color: #ffffff;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 0;
}

/* White section panel */
.isart-panel {
  margin-bottom: 40px;
}
.isart-panel > .wpb_column > .vc_column-inner {
  background: #ffffff;
  border-radius: 16px 16px 48px 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
  padding: 40px;
}
.isart-panel .isart-sec-title {
  color: #001850;
  margin: 0 0 16px;
}
.isart-panel .wpb_content_element:last-child {
  margin-bottom: 0;
}

/* Photo beside the text */
.isart-photo img {
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.18);
}

/* Buttons */
.isart-join-btn .vc_btn3,
.isart-panel .isart-link-btn .vc_btn3 {
  border-radius: 7px;
  font-weight: 700;
}
.isart-panel .isart-link-btn {
  display: inline-block;
  margin: 0 12px 12px 0;
}
.isart-btns {
  margin-bottom: 8px;
}
.isart-btns p {
  font-weight: 700;
  color: #001850;
}

/* Check-mark list */
ul.isart-checks {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
ul.isart-checks li {
  background: #EEF3FF;
  border-left: 6px solid #001850;
  border-radius: 12px;
  padding: 16px 20px 16px 52px;
  position: relative;
}
ul.isart-checks li::before {
  content: "\2713";
  position: absolute;
  left: 20px;
  top: 14px;
  color: #385DFF;
  font-weight: 700;
  font-size: 20px;
}

/* Numbered steps, with navy number circles */
ol.isart-steps {
  list-style: none;
  counter-reset: isartstep;
  margin: 24px 0;
  padding: 0;
}
ol.isart-steps li {
  counter-increment: isartstep;
  position: relative;
  background: #EEF3FF;
  border-radius: 12px;
  padding: 16px 20px 16px 72px;
  margin-bottom: 12px;
  min-height: 56px;
  overflow-wrap: anywhere;
}
ol.isart-steps li::before {
  content: counter(isartstep);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: #001850;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}
.isart-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #385DFF;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}
.isart-sub {
  color: #001850;
  font-size: 20px;
}

/* Pale blue tiles with a navy top edge */
.isart-tiles {
  margin-bottom: 30px;
}
.isart-tile > .vc_column-inner {
  background: #EEF3FF;
  border-top: 6px solid #001850;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
}
.isart-tile .wpb_content_element {
  margin-bottom: 0;
}
.isart-tile h3 {
  color: #001850;
  font-size: 20px;
  margin: 0 0 10px;
}
.isart-tile p {
  margin: 0;
}

/* Policy pages: section headings and lists */
.isart-policy {
  overflow-wrap: anywhere;
}
.isart-policy h2 {
  color: #001850;
  margin: 32px 0 12px;
}
.isart-policy ul {
  margin-left: 1.2em;
}
.isart-policy li {
  margin-bottom: 8px;
}
.isart-policy p:last-child {
  margin-bottom: 0;
}
.isart-cert .isart-note {
  font-size: 14px;
  color: #4a5470;
  margin: 0;
}

/* Past conference pages: badge and facts */
.isart-past {
  margin-bottom: 12px;
}
.isart-badge {
  display: inline-block;
  background: #001850;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
}
.isart-facts h2,
.isart-facts h3 {
  color: #001850;
  margin: 0 0 8px;
}
.isart-pdf iframe {
  width: 100%;
  height: 900px;
  border: 1px solid #D6D9DD;
  border-radius: 8px;
}

/* Cards with a navy title strip (Training and Certification, Research) */
.isart-cards .isart-card > .vc_column-inner {
  background: #ffffff;
  border-radius: 16px 16px 48px 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
  overflow: hidden;
  padding: 0;
  height: 100%;
}
.isart-cards .isart-card > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.isart-cards .isart-card-title {
  background: #001850;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 20px;
  padding: 24px;
}
.isart-cards .isart-card-days {
  margin: 0 24px 16px;
}
.isart-cards .isart-card-days p {
  display: inline-block;
  background: #AEC6FC;
  color: #001850;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 14px;
  margin: 0;
}
.isart-cards .isart-card-body {
  margin: 0 24px 8px;
  color: #5A5A5A;
  font-size: 15px;
  line-height: 1.6;
}
.isart-cards .isart-card-body p {
  margin: 0 0 14px;
}
.isart-cards .isart-card-body strong {
  color: #001850;
}
.isart-cards .isart-card-btn {
  margin: auto 24px 28px;
  padding-top: 8px;
}
.isart-cards .isart-card-btn .vc_btn3 {
  border-radius: 7px;
  font-weight: 700;
}

/* Home page: hero, navy bands */
.isart-hero {
  background: linear-gradient(rgba(16, 18, 24, 0.45), rgba(16, 18, 24, 0.45)), url("/wp-content/uploads/2021/02/life-coach-hero-img-bg.jpg") center / cover no-repeat;
  padding: 150px 0 120px;
  margin-bottom: 50px;
}
.isart-hero h1 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 28px;
  max-width: 620px;
}
.isart-eyebrow p {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.isart-navy {
  background: #001850;
  padding: 70px 0;
  margin-bottom: 40px;
}
.isart-navy,
.isart-navy p {
  color: #ffffff;
}
.isart-navy .isart-sec-title {
  color: #ffffff;
  margin: 0 0 16px;
}
.isart-navy .isart-tile p {
  color: #5A5A5A;
}
.isart-navy .isart-tile > .vc_column-inner {
  border-top-color: #385DFF;
}
body.home .isart-join-btn {
  margin: 10px 0 0;
}
body.home .isart-tile p {
  font-size: 15px;
}

/* Membership: the join band at the bottom */
.isart-cta .isart-sec-title {
  margin-bottom: 24px;
}
.isart-cta-band {
  background: #001850;
  padding: 60px 0;
  margin-top: 20px;
}
.isart-cta-band .isart-cta-title {
  color: #ffffff;
  margin: 0 0 24px;
}
body.page-id-8359 .isart-join-btn {
  margin-bottom: 0;
}
body.page-id-8359 .isart-join-btn .vc_btn3 {
  padding: 18px 40px;
  font-size: 18px;
}

/* Research and Evidence: jump buttons and publication cards */
.isart-research .isart-sec-title {
  color: #001850;
}
body.page-id-8356 h2.isart-sec-title {
  margin: 20px 0 10px;
}
body.page-id-8356 h3.isart-sec-title {
  margin: 30px 0 20px;
  font-family: "Playfair Display", serif;
}
.isart-jump .wpb_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.isart-jump .vc_btn3-container {
  margin: 30px 0;
}
.isart-jump .vc_btn3 {
  border-radius: 7px;
  font-weight: 700;
}
.isart-pubs {
  margin-bottom: 30px;
}
.isart-pubs .isart-pub > .vc_column-inner {
  background: #ffffff;
  border-left: 6px solid #001850;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 24, 80, 0.10);
  padding: 24px;
  height: 100%;
}
.isart-pubs .isart-pub .wpb_content_element {
  margin-bottom: 0;
}
.isart-pubs .isart-pub-title {
  color: #001850;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}
.isart-pubs .isart-pub p {
  font-size: 15px;
  margin: 0 0 12px;
}
.isart-pubs .isart-pub-link a {
  font-weight: 700;
}
.isart-pubs .isart-pub-link a::after {
  content: " \2192";
}
#peer-review,
#art-related {
  scroll-margin-top: 100px;
}

/* Board of Advisors: one white card per advisor */
.isart-board {
  margin-bottom: 30px;
}
.isart-board .isart-member > .vc_column-inner {
  display: flex;
  flex-direction: column;
}
.isart-member > .vc_column-inner > .wpb_wrapper {
  flex: 1;
  background: #ffffff;
  border-radius: 16px 16px 48px 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
  padding: 32px 24px;
}
.isart-member-photo {
  margin-bottom: 0;
}
.isart-member-photo img,
.isart-contact-photo img {
  border: 4px solid #EEF3FF;
}
.isart-member h3 {
  color: #001850;
  text-align: center;
  font-size: 20px;
  margin: 16px 0 4px;
}
.isart-member .isart-role {
  text-align: center;
  color: #385DFF;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.isart-member ul {
  margin: 0 0 0 1.1em;
  font-size: 15px;
}
.isart-member li {
  margin-bottom: 6px;
}
.isart-member .isart-contact {
  font-size: 14px;
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.isart-member .wpb_content_element:last-child {
  margin-bottom: 0;
}

/* Contact Us: Sue's photo, the office box, the form's button */
.isart-contact-photo {
  margin-bottom: 0;
}
.isart-contact-name {
  color: #001850;
  font-size: 18px;
  margin-bottom: 8px;
}
.isart-office .wpb_wrapper > .wpb_text_column {
  background: #EEF3FF;
  border-left: 6px solid #001850;
  border-radius: 12px;
  padding: 20px 24px;
}
.isart-office p {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.isart-office p:last-child {
  margin-bottom: 0;
}
.isart-panel .gform_wrapper .gform_footer input[type="submit"] {
  background: #385DFF;
  border-radius: 7px;
  font-weight: 700;
}

/* FAQ / Support: a card with a navy logo strip, as on the ART site's Contact Us */
.isart-faq {
  margin-bottom: 40px;
}
.isart-form-card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
}
.isart-form-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 32px;
  background: #001850;
}
.isart-form-head img {
  flex-shrink: 0;
  width: 120px;
  min-width: 120px;
  height: auto;
}
.isart-form-head p {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}
.isart-form-body {
  padding: 24px 32px 28px;
}
.isart-faq .gfield--type-select label {
  color: #001850;
  font-weight: 700;
}
.isart-faq .gfield--type-select select {
  border: 2px solid #001850;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 48px;
}
.isart-faq .gfield--type-html {
  background: #EEF3FF;
  border-left: 6px solid #001850;
  border-radius: 12px;
  padding: 20px 24px;
  overflow-wrap: anywhere;
}
.isart-faq .gfield--type-html p:last-child {
  margin-bottom: 0;
}
.isart-faq .gform_footer input[type="submit"],
.isart-faq .gform_footer button {
  background: #385DFF;
  border-radius: 7px;
  font-weight: 700;
}

/* CE Credits: logo pills that jump to each approving body */
.isart-ce-nav {
  margin-bottom: 24px;
}
.isart-ce-nav .wpb_text_column {
  margin-bottom: 15px;
}
.isart-ce-nav .wpb_text_column p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  margin: 0;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 24, 80, 0.12);
}
.isart-ce-nav img {
  max-height: 36px;
  width: auto;
}
.isart-ce-nav a {
  color: #001850;
  font-weight: 700;
  text-decoration: none;
}
.isart-ce-nav a:hover {
  color: #385DFF;
}
.isart-ce-btn {
  margin-bottom: 30px;
}
.isart-ce-btn .vc_btn3 {
  background: #385DFF;
  color: #ffffff;
  border-radius: 7px;
  font-weight: 700;
}
.isart-ce-sec {
  scroll-margin-top: 120px;
}
.isart-ce-sec img.alignnone {
  vertical-align: middle;
  margin: 0 14px 8px 0;
}
.isart-ce-sec ul {
  margin-left: 1.2em;
}
.isart-ce-sec li {
  margin-bottom: 8px;
}
.isart-ce-sec .wpb_text_column {
  overflow-wrap: anywhere;
}

/* Resources: section headings and the video */
body.page-id-100001246 .isart-panel .isart-sec-title {
  margin: 28px 0 14px;
}
.isart-video .wpb_video_wrapper {
  border-radius: 12px;
  overflow: hidden;
}

/* 404 page: a white panel on the light blue page (functions.php sets its wording and adds
   the Return Home button) */
body.error404 {
  background-color: #AEC6FC;
}
body.error404 .ast-404-layout-1 {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #ffffff;
  border-radius: 16px 16px 48px 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
  text-align: center;
}
body.error404 .ast-separate-container .ast-article-single,
body.error404 .ast-separate-container #primary {
  background: transparent;
  padding: 0;
}
body.error404 .ast-404-layout-1 .page-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  color: #001850;
  margin-bottom: 12px;
}
body.error404 .ast-404-layout-1 .page-sub-title {
  font-size: 17px;
  color: #5A5A5A;
  margin-bottom: 28px;
}
body.error404 .ast-404-search .search-form {
  max-width: 460px;
  margin: 0 auto;
}
body.error404 .isart-404-home {
  margin: 24px 0 0;
}
body.error404 .isart-404-home .ast-button {
  display: inline-block;
  background: #385DFF;
  color: #ffffff;
  border-radius: 7px;
  font-weight: 700;
  padding: 12px 28px;
}

/* RealEd pages (the RealEd Wrapper page, 100003794: Dashboard, Account, Cart, Log In, Forums,
   Recorded Consultations and the rest): the navy title banner and white card of the other
   pages.  The page title becomes the banner; a box-shadow carries its navy to the window
   edges without widening the page. */
body.page-id-100003794 {
  background-color: #AEC6FC;
}
body.page-id-100003794 .site-content #primary {
  margin-top: 0;
}
body.page-id-100003794.ast-separate-container .ast-article-single {
  background: transparent;
  padding: 0;
}
body.page-id-100003794 .entry-header {
  background: #001850;
  box-shadow: 0 0 0 100vmax #001850;
  clip-path: inset(0 -100vmax);
  padding: 70px 0 50px;
  margin-bottom: 50px;
}
body.page-id-100003794 .entry-header .entry-title {
  color: #ffffff;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 0;
}
body.page-id-100003794 .entry-content {
  background: #ffffff;
  border-radius: 16px 16px 48px 16px;
  box-shadow: 0 6px 24px rgba(0, 24, 80, 0.12);
  padding: 40px;
  margin-bottom: 40px;
}
@media (max-width: 544px) {
  body.page-id-100003794 .entry-content {
    padding: 24px;
  }
}

/* Dashboard: Master's "How it works" and "What it gives you" as small subheads, not the size
   of a certification's name. */
body.page-id-100003794 .realed-section-gen-dashmast h4 {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  font-weight: 700;
}

/* Dashboard: "Your Certifications" is a results table with an empty label column, which left
   an empty row on phones and a short top border under the heading on desktop.  One full-width
   block per certification instead.  On desktop, RealEd shows the first row's label cell with a
   more specific rule, so the selector names it too. */
.realed-section-gen-dashcert .realed-result-th,
.realed-section-gen-dashcert .realed-result-tbody > .realed-result-tr:first-of-type .realed-result-th {
  display: none;
}
.realed-section-gen-dashcert .realed-result-tr {
  display: block;
  border-top: 0;
}
.realed-section-gen-dashcert .realed-result-tr + .realed-result-tr {
  border-top: 1px solid #E2E8F0;
  padding-top: 16px;
  margin-top: 16px;
}
.realed-section-gen-dashcert .realed-result-td {
  float: none;
  width: 100%;
}

/* Dashboard status pill ("Certified"), in the directory's level-pill style, in its gold. */
body.page-id-100003794 span.realed-dash-mark {
  display: inline-flex;
  align-items: center;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  background: #FBF3E0;
  color: #B8862A;
  vertical-align: middle;
}

/* Four advisors across is too narrow on small screens: two by two */
@media (max-width: 1100px) {
  .isart-board.vc_column-gap-30 {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .isart-board .vc_col-sm-3 {
    width: 50%;
    margin-bottom: 30px;
  }
}

/* Phones */
@media (max-width: 767px) {
  .isart-panel > .wpb_column > .vc_column-inner {
    padding: 24px;
  }
  /* WPBakery's column gap rows stick out past the screen edge */
  .vc_row.vc_column-gap-15,
  .vc_row.vc_column-gap-30 {
    margin-left: 0;
    margin-right: 0;
  }
  .isart-photo {
    margin: 24px 0;
  }
  .isart-panel .isart-link-btn {
    display: block;
    margin-right: 0;
  }
  .isart-panel .isart-link-btn .vc_btn3 {
    width: 100%;
    white-space: normal;
  }
  ul.isart-checks {
    grid-template-columns: 1fr;
  }
  ol.isart-steps li {
    padding-left: 64px;
  }
  .isart-tile {
    margin-bottom: 20px;
  }
  .isart-tiles {
    margin-bottom: 0;
  }
  .isart-cards .isart-card {
    margin-bottom: 30px;
  }
  .isart-pubs .isart-pub {
    margin-bottom: 20px;
  }
  .isart-pubs {
    margin-bottom: 0;
  }
  .isart-pdf {
    display: none;
  }
  .isart-navy {
    padding: 50px 0;
  }
  .isart-hero {
    padding: 80px 0 60px;
  }
  .isart-hero h1 {
    font-size: 30px;
  }
  .isart-member {
    margin-bottom: 24px;
  }
  .isart-contact-photo {
    margin-bottom: 20px;
  }
  .isart-office {
    margin-bottom: 24px;
  }
  .isart-form-head {
    gap: 14px;
    padding: 10px 18px;
  }
  .isart-form-head img {
    width: 84px;
    min-width: 84px;
  }
  .isart-form-head p {
    font-size: 16px;
  }
  .isart-form-body {
    padding: 18px;
  }
  .isart-faq .gfield--type-html {
    padding: 16px 18px;
  }
  body.error404 .ast-404-layout-1 {
    padding: 32px 20px;
  }
  body.error404 .ast-404-layout-1 .page-title {
    font-size: 28px;
  }
}

/* reCAPTCHA is a fixed 304px wide: shrink it to fit a phone */
@media (max-width: 420px) {
  .isart-panel .ginput_recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}
