/*
Theme Name: Astra Child - Crossroads / BRIDGE
Template: astra
Version: 1.9.20261125c
Description: Crossroads Therapy Clinic / The BRIDGE Speech Studio brand child theme.

2026-09-25 palette update: colors now come from Renee's "Crossroads + BRIDGE Working Color
Palette" PDF (emailed 2026-08-27, with a Loom walkthrough). This replaces the earlier sampled
pink/purple/gold palette, which she found too muted and "industrial". Her brand rules:
  - Crossroads pages: Teal + Yellow + Navy, brighter and family-friendly.
  - BRIDGE pages (framework + Speech Studio): Deep Teal -> Navy (+ White), more precise.
  - Balance: 60% white/cream, 20% navy, 12% teal family, 5% soft aqua, 3% yellow (accent only).
BRIDGE pages get a `crtc-bridge` body class from functions.php. Hardcoded hero/row/accordion
colors in each page's panels_data were remapped to the same palette in the same pass.

Contrast note: white on Crossroads Teal is 2.9:1 and teal text on white is 2.9:1, both below
WCAG AA, so buttons and link text use BRIDGE Deep Teal (4.75:1 on white). Crossroads Teal is used
where it isn't carrying small text: hero banners, borders, underlines, icons.
See PUNCH_LIST.md for history.
*/

:root {
  /* Renee's palette (2026-08-27 PDF) */
  --crtc-teal: #00A7B5;        /* Crossroads Teal - primary Crossroads color, accents */
  --crtc-teal-deep: #087F8C;   /* BRIDGE Deep Teal - BRIDGE elements, buttons/links (contrast) */
  --crtc-navy: #173B57;        /* BRIDGE Navy - headlines, navigation, footer */
  --crtc-yellow: #F4C542;      /* Crossroads Yellow - small highlights, icons, accents only */
  --crtc-aqua: #E8F5F5;        /* Soft Aqua - section backgrounds and cards */
  --crtc-cream: #FAF9F5;       /* Warm Cream - primary light background */
  --crtc-charcoal: #303B42;    /* Charcoal - body copy */
  --crtc-white: #FFFFFF;

  /* Derived (not in the PDF): a light teal for hairline borders */
  --crtc-teal-line: #B3E5E9;

  /* Pastels sampled from the header wave graphic (Oct 2026: brighter site). Each *-tint is a
     soft row/card background; the base pastels tint hero banners and the footer. --crtc-ink is
     the lavender darkened for text on pastels (>= 7:1 on every pastel below). */
  --crtc-lavender: #CFC9F5;  --crtc-lavender-tint: #ECE9FB;
  --crtc-pink: #F7C5DA;      --crtc-pink-tint: #FCE9F1;
  --crtc-butter: #F8E98F;    --crtc-butter-tint: #FFF8D9;
  --crtc-mint: #BFE9D0;      --crtc-mint-tint: #E5F6EC;
  --crtc-ink: #2E2A6E;

  --crtc-body: var(--crtc-charcoal);
  --crtc-border: #E2E2E2;
  --crtc-bg: var(--crtc-cream);

  --crtc-font-heading: 'Poppins', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --crtc-font-body: 'Questrial', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body, .ast-separate-container {
  color: var(--crtc-body);
  background-color: var(--crtc-bg);
  font-family: var(--crtc-font-body);
}

h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
  color: var(--crtc-navy);
  font-family: var(--crtc-font-heading);
  font-weight: 600;
}

a { color: #066A76; }
a:hover, a:focus { color: var(--crtc-navy); }

.ast-container { max-width: 1200px; }

.main-header-bar, .site-header { background-color: var(--crtc-white); border-bottom: 3px solid var(--crtc-teal); }

.main-navigation ul li a { color: var(--crtc-navy); font-weight: 600; }
.main-navigation ul li a:hover { color: var(--crtc-teal-deep); box-shadow: inset 0 -3px 0 var(--crtc-yellow); }

/* Buttons */
.ast-button, button, input[type="submit"], .wp-block-button__link,
.sow-button {
  background-color: var(--crtc-teal-deep) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  border: none !important;
  font-weight: 600 !important;
  padding: 0.9em 1.8em !important;
  transition: background-color .15s ease-in-out;
}
.ast-button:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover,
.sow-button:hover {
  background-color: var(--crtc-navy) !important;
  color: #ffffff !important;
}

/* SiteOrigin Button widget and Hero widget buttons (.sowb-button) - otherwise they fall back to
   SiteOrigin's default light blue. Inside hero banners they go navy so they stand out against
   the teal banner. */
.ow-button-base a.sowb-button {
  background: var(--crtc-teal-deep) !important;
  border-color: var(--crtc-teal-deep) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}
.sow-slider-image .ow-button-base a.sowb-button {
  background: var(--crtc-ink) !important;
  border-color: var(--crtc-ink) !important;
}
.ow-button-base a.sowb-button:hover,
.sow-slider-image .ow-button-base a.sowb-button:hover {
  background: var(--crtc-navy) !important;
  border-color: var(--crtc-yellow) !important;
  box-shadow: inset 0 -3px 0 var(--crtc-yellow);
}
.ow-button-base a.sowb-button span { text-decoration: none !important; }

/* Secondary button variant: navy outline */
.crtc-btn-secondary .sow-button, .crtc-btn-secondary a {
  background-color: transparent !important;
  color: var(--crtc-navy) !important;
  border: 2px solid var(--crtc-navy) !important;
}
.crtc-btn-secondary .sow-button:hover, .crtc-btn-secondary a:hover {
  background-color: var(--crtc-navy) !important;
  color: #fff !important;
}

/* Hero banners (Oct 2026): a pastel base color from the header wave (set per page in
   panels_data) under a 40%-opacity photo, with dark "ink" text. */
.sow-slider-image .sow-slider-image-wrapper h1,
.sow-slider-image .sow-slider-image-wrapper h2,
.sow-slider-image .sow-slider-image-wrapper h3,
.sow-slider-image .sow-slider-image-wrapper p {
  color: var(--crtc-ink) !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}
/* Frosted pastel-white panel behind the hero text: guarantees >= 4.5:1 for the ink text no matter
   what the photo underneath looks like (checked on desktop and phone widths). */
.sow-slider-image .sow-slider-image-wrapper {
  background: rgba(255, 255, 255, 0.66);
  border-radius: 14px;
  padding: 1.1em 1.6em;
  box-sizing: border-box;
}

/* BRIDGE pages: lavender -> mint gradient behind the hero photo */
.crtc-bridge .sow-slider-image {
  background-image: linear-gradient(135deg, var(--crtc-lavender) 0%, var(--crtc-mint) 100%);
}

/* Section background helpers, for SiteOrigin row custom CSS classes. */
.crtc-bg-navy { background-color: var(--crtc-navy) !important; color: #fff !important; }
.crtc-bg-navy h1, .crtc-bg-navy h2, .crtc-bg-navy h3, .crtc-bg-navy p { color: #fff !important; }
.crtc-bg-aqua { background-color: var(--crtc-aqua) !important; }
.crtc-bg-cream { background-color: var(--crtc-cream) !important; }

/* Row-level color tints (panels_data grids[i].style.background) rendered as inset,
   floating cards instead of full-bleed bands: 15px buffer around the content, 8px
   rounded corners, drop shadow so the tint reads as raised off the page. Full-width-
   stretch is intentionally dropped from these rows (see tint_cards.php migration) so
   the card sits at normal container width instead of stretching to the browser edge,
   which is what makes the radius/shadow visible on all four sides. */
.crtc-tinted-row {
  box-sizing: border-box;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(23, 59, 87, 0.12);
}

/* Small color-chip badges for eyebrow labels / category tags. Optional. */
.crtc-badge {
  display: inline-block;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 0.5em;
}
.crtc-badge-teal { background-color: var(--crtc-teal-deep); }
.crtc-badge-navy { background-color: var(--crtc-navy); }
.crtc-badge-yellow { background-color: var(--crtc-yellow); color: var(--crtc-navy); }

/* Cards used in service/condition grids */
.crtc-card {
  background: #fff;
  border: 1px solid var(--crtc-border);
  border-top: 3px solid var(--crtc-teal);
  border-radius: 10px;
  padding: 1.75em;
  height: 100%;
  box-shadow: 0 1px 3px rgba(23, 59, 87, 0.08);
}
.crtc-card h3 { margin-top: 0; color: var(--crtc-navy); }
.crtc-bridge .crtc-card { border-top-color: var(--crtc-teal-deep); }

/* Placeholder-content flag, per PUNCH_LIST.md workflow */
.crtc-todo {
  display: block;
  background: #FFF6E5;
  border: 1px dashed #C98A00;
  color: #7A5300;
  padding: 1em 1.25em;
  border-radius: 6px;
  font-size: 0.92em;
  margin: 1em 0;
}
.crtc-todo strong { color: #C98A00; }

/* SiteOrigin accordion/tabs on-brand tint */
.so-widget-siteorigin-accordion .so-accordion-title,
.siteorigin-widget-tabs-nav a.active {
  color: var(--crtc-navy) !important;
}

/* Footer (Oct 2026): lavender -> pink -> butter wave echoing the header, with ink text
   (about 9:1 on every stop of the gradient). */
.site-footer, .site-below-footer-wrap, .site-footer .ast-builder-grid-row-container-inner {
  background: linear-gradient(90deg, var(--crtc-lavender) 0%, var(--crtc-pink) 55%, var(--crtc-butter) 100%) !important;
}
.site-footer { border-top: 3px solid var(--crtc-yellow); }
.site-footer, .site-footer p, .site-footer li, .site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer .ast-footer-copyright, .site-footer a { color: var(--crtc-ink) !important; }
.site-footer a { text-decoration: underline; }

/* "New Patients Start Here" button moved from the above-header row into the
   primary header's right zone, stacked above the nav menu (both are direct
   children of .site-header-primary-section-right, which is display:flex by
   default -> row layout side-by-side; column stacks the button above the
   menu instead, right-aligned to match the menu's own alignment). */
.site-header-primary-section-right.ast-grid-right-section {
  flex-direction: column;
  align-items: flex-end;
}
.site-header-primary-section-right .ast-header-button-1 {
  margin-bottom: 4px;
}

/* Section images (2026-09-25): photo column beside a section's text, per Renee's Loom
   ("words on a big blank canvas"). Added as SiteOrigin Image widgets with class crtc-section-img. */
.crtc-section-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(23, 59, 87, 0.15);
  display: block;
}
@media (max-width: 780px) {
  .crtc-section-img { margin-top: 1.25em; }
}

/* Testimonials (2026-09-25): quotes carried over from crossroadstherapyclinic.com/testimonials. */
.crtc-quote {
  position: relative;
  margin: 0.5em 0 1em;
  padding: 0.5em 0 0.5em 1.4em;
  border-left: 4px solid var(--crtc-teal);
  font-style: normal;
  color: var(--crtc-charcoal);
}
.crtc-quote::before {
  content: "\201C";
  position: absolute;
  left: 0.3em;
  top: -0.35em;
  font-family: var(--crtc-font-heading);
  font-size: 3em;
  line-height: 1;
  color: var(--crtc-yellow);
}
.crtc-quote p { margin-bottom: 0.8em; }
.crtc-quote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--crtc-navy);
}
.crtc-quote cite::before { content: "\2014\00a0"; }
.crtc-quote-more { margin-top: 0.5em; font-weight: 600; }

/* Homepage final CTA (Oct 2026 feedback) */
.crtc-final-cta { text-align: center; }
.crtc-cta-btn { display: inline-block; background: var(--crtc-yellow); color: var(--crtc-navy); font-weight: 700; padding: 0.85em 2em; border-radius: 999px; text-decoration: none; }
.crtc-cta-btn:hover { filter: brightness(0.95); color: var(--crtc-navy); }
.crtc-cta-secondary { font-size: 0.95em; }
.crtc-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 0.75em; }
.crtc-team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.crtc-team-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.sow-slider-image-cover { background-position: center 25% !important; }

/* CAS + Feeding service pages (Oct 2026 developer guides): signs list, lead/pull lines,
   featured highlight box (soft aqua / navy+teal text / yellow accent), 3-step graphic,
   infant tongue-tie before/after cards, About team photo. */
.crtc-signs { list-style: none; margin: 1em 0 1.25em; padding: 0; }
.crtc-signs li { position: relative; padding: 0.15em 0 0.15em 1.6em; margin-bottom: 0.6em; }
.crtc-signs li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--crtc-yellow); box-shadow: 0 0 0 3px var(--crtc-aqua); }
.crtc-signs strong { color: var(--crtc-navy); }
.crtc-lead { font-weight: 700; color: var(--crtc-navy); font-size: 1.1em; }
.crtc-pullline { margin: 1.25em 0; padding: 0.6em 0 0.6em 1em; border-left: 4px solid var(--crtc-yellow); font-family: var(--crtc-font-heading); font-weight: 600; font-size: 1.15em; color: var(--crtc-teal-deep); }
.crtc-feature-h { margin-top: 1.5em; padding-top: 0.6em; border-top: 3px solid var(--crtc-yellow); color: var(--crtc-teal-deep); }
.crtc-callout { position: relative; margin: 2em 0; padding: 2.4em 1.5em 2em; background: #E8F5F5; border-radius: 14px; text-align: center; box-shadow: 0 6px 20px rgba(23, 59, 87, 0.12); }
.crtc-callout::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 72px; height: 6px; border-radius: 0 0 6px 6px; background: #F4C542; }
.crtc-callout p { margin: 0; font-family: var(--crtc-font-heading); font-weight: 700; font-size: clamp(1.25rem, 3.2vw, 1.9rem); line-height: 1.35; }
.crtc-callout-1 { color: #173B57; }
.crtc-callout-2 { color: #087F8C; }
.crtc-steps { display: flex; align-items: stretch; justify-content: center; gap: 0.75em; margin: 1.5em 0 0.5em; }
.crtc-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3em; padding: 1.1em 0.8em; background: #fff; border-top: 4px solid var(--crtc-yellow); border-radius: 10px; box-shadow: 0 4px 14px rgba(23, 59, 87, 0.12); color: var(--crtc-charcoal); }
.crtc-step strong { font-family: var(--crtc-font-heading); font-size: 1.15em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--crtc-navy); }
.crtc-step-num { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%; background: var(--crtc-teal-deep); color: #fff; font-weight: 700; }
.crtc-step-arrow { align-self: center; font-size: 1.8em; color: var(--crtc-teal-deep); }
.crtc-steps-goal { text-align: center; font-weight: 600; color: var(--crtc-navy); margin-bottom: 1.5em; }
@media (max-width: 680px) {
  .crtc-steps { flex-direction: column; }
  .crtc-step-arrow { transform: rotate(90deg); line-height: 1; }
}
.crtc-card-ba { height: 100%; border-top-color: var(--crtc-yellow); background: #fff; }
.crtc-fineprint { font-size: 0.92em; }
.crtc-team-photo img { border-radius: 14px; }

/* Oct 22 2026: Who We Help / What to Expect / Occupational Therapy pages */
.crtc-hcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1em; margin-top: 1.25em; }
.crtc-hcard { display: flex; flex-direction: column; gap: 0.35em; padding: 1.4em 1.4em 1.2em; background: #fff; border-top: 4px solid var(--crtc-teal-deep); border-radius: 12px; box-shadow: 0 4px 14px rgba(23, 59, 87, 0.12); text-decoration: none; color: var(--crtc-charcoal); transition: transform .15s, box-shadow .15s; }
.crtc-hcard:hover, .crtc-hcard:focus { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(23, 59, 87, 0.2); color: var(--crtc-charcoal); }
.crtc-hcard h3 { margin: 0.2em 0 0; color: var(--crtc-navy); font-size: 1.2em; }
.crtc-hcard p { margin: 0; flex: 1; }
.crtc-hcard-more { font-weight: 700; color: var(--crtc-teal-deep); }
.crtc-bridge-feature { padding: 1.5em; background: #fff; border-radius: 12px; border-left: 6px solid var(--crtc-yellow); }
.crtc-bridge-feature h2 { margin-top: 0; }
.crtc-textlink { font-weight: 700; color: var(--crtc-teal-deep); }
.crtc-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin: 1em 0; }
.crtc-cards3 .crtc-card h3 { font-size: 1.05em; }
.crtc-signblocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; margin: 1.25em 0; }
.crtc-sign-block { padding: 1.1em 1.2em; background: #fff; border-radius: 10px; border-left: 4px solid var(--crtc-teal-deep); box-shadow: 0 3px 10px rgba(23, 59, 87, 0.08); }
.crtc-sign-block h3 { margin: 0 0 0.3em; font-size: 1.05em; color: var(--crtc-navy); }
.crtc-sign-block p { margin: 0; }
.crtc-sign-primary { border-left-color: var(--crtc-yellow); box-shadow: 0 5px 16px rgba(23, 59, 87, 0.14); }
.crtc-panel { margin: 1.5em 0 0.5em; padding: 1.5em; background: #E8F5F5; border-radius: 12px; border-top: 5px solid var(--crtc-yellow); }
.crtc-panel h3 { margin-top: 0; color: var(--crtc-navy); }
.crtc-panel p:last-child { margin-bottom: 0; }
.crtc-steps-6 { flex-wrap: wrap; gap: 0.5em; }
.crtc-steps-6 .crtc-step { flex: 1 1 90px; padding: 0.8em 0.4em; }
.crtc-steps-6 .crtc-step strong { font-size: 0.95em; letter-spacing: 0.03em; }
@media (max-width: 680px) {
  .crtc-hcards, .crtc-cards3, .crtc-signblocks { grid-template-columns: 1fr; }
  .crtc-steps-6 { flex-direction: column; flex-wrap: nowrap; }
}

/* Oct 23 2026: Speech & Language Therapy treatment categories */
.crtc-slt-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1em; margin-top: 1.25em; }
.crtc-slt-cat { padding: 1.3em 1.4em; background: #fff; border-radius: 12px; border-top: 4px solid var(--crtc-teal-deep); box-shadow: 0 4px 14px rgba(23, 59, 87, 0.12); }
.crtc-slt-cat h3 { margin: 0 0 0.4em; color: var(--crtc-navy); font-size: 1.2em; }
.crtc-slt-cat-linked { border-top-color: var(--crtc-yellow); }
.crtc-slt-cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.crtc-slt-link { margin: 0.8em 0 0; padding-top: 0.7em; border-top: 1px solid var(--crtc-border); }
@media (max-width: 680px) { .crtc-slt-cats { grid-template-columns: 1fr; } }

/* Oct 23 2026: Professional Education page - THE BRIDGE master-logo palette, editorial layout */
.crtc-pe {
  --pe-navy: #061F4B; --pe-teal-deep: #006B87; --pe-teal: #1598A6; --pe-aqua: #74C9D0; --pe-pale: #EAF6F6;
  background: #fff;
}
.crtc-pe .site-content { background: #fff; }
.crtc-pe h1, .crtc-pe h2, .crtc-pe h3 { color: var(--pe-navy); }
.crtc-pe a { color: var(--pe-teal-deep); }
.crtc-pe a:focus-visible { outline: 3px solid var(--pe-teal); outline-offset: 2px; }
.crtc-pe-row { padding: 2.2em 1.5em; border-radius: 8px; margin-bottom: 1.5em !important; }
.crtc-pe-hero { padding: 3em 2em; border-radius: 0 0 16px 16px; margin-bottom: 1.5em !important; background: linear-gradient(135deg, var(--pe-pale) 0%, #fff 70%); border-bottom: 4px solid var(--pe-teal); }
.crtc-pe-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin: 0.2em 0; }
.crtc-pe-hero-h2 { font-size: 1.4em; color: var(--pe-teal-deep) !important; margin: 1em 0 0.3em; }
.crtc-pe-hero-lead { font-size: 1.15em; color: var(--pe-navy); }
.crtc-pe-hero .crtc-section-img img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; max-width: 320px; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(6, 31, 75, 0.2); }
.crtc-pe-cred { font-weight: 700; color: var(--pe-teal-deep); margin: 0; }
.crtc-pe-eyebrow { font-family: var(--crtc-font-heading); font-size: 0.8em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pe-teal-deep); margin-bottom: 0.4em; }
.crtc-pe-narrow { max-width: 760px; margin: 0 auto; font-size: 1.05em; }
.crtc-pe-pull { margin: 1.4em 0 0; padding-left: 1em; border-left: 4px solid var(--pe-teal); font-family: var(--crtc-font-heading); font-weight: 600; font-size: 1.15em; color: var(--pe-navy); }
.crtc-pe-sub { font-size: 1.1em; font-style: italic; color: var(--pe-teal-deep); }
.crtc-pe-btn { display: inline-block; margin: 0.25em 0.4em 0.25em 0; padding: 0.8em 1.6em; border-radius: 999px; background: var(--pe-teal-deep); color: #fff !important; font-weight: 700; text-decoration: none; }
.crtc-pe-btn:hover, .crtc-pe-btn:focus { background: var(--pe-navy); color: #fff !important; }
.crtc-pe-status { display: inline-block; padding: 0.3em 0.9em; border-radius: 999px; border: 2px solid var(--pe-aqua); color: var(--pe-navy); background: var(--pe-pale); font-size: 0.8em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1em; }
.crtc-pe-note { font-size: 0.95em; font-style: italic; }
/* Dark navy rows: signature Master Series block + closing CTA */
.crtc-pe-dark { background: var(--pe-navy); color: #E6EEF5; }
.crtc-pe-dark h2, .crtc-pe-dark h3, .crtc-pe-dark strong { color: #fff !important; }
.crtc-pe-dark .crtc-pe-eyebrow, .crtc-pe-dark .crtc-pe-sub { color: var(--pe-aqua); }
.crtc-pe-dark .crtc-pe-status { background: transparent; color: #fff; }
.crtc-pe-dark .crtc-pe-btn { background: var(--pe-aqua); color: var(--pe-navy) !important; }
.crtc-pe-dark .crtc-pe-btn:hover, .crtc-pe-dark .crtc-pe-btn:focus { background: #fff; }
.crtc-pe-signature { max-width: 820px; margin: 0 auto; padding: 1em 0; }
.crtc-pe-signature h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0.1em 0; }
.crtc-pe-signature h3 { margin-top: 0; }
#master-series { scroll-margin-top: 100px; }
#courses { scroll-margin-top: 100px; margin-top: 1.5em; }
.crtc-pe-feature { padding: 1.8em; border-radius: 14px; background: var(--pe-pale); border-left: 6px solid var(--pe-teal); margin-bottom: 1em; }
.crtc-pe-feature h2 { margin-top: 0; }
.crtc-pe-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin: 1em 0; }
.crtc-pe-card { display: flex; flex-direction: column; justify-content: space-between; gap: 0.8em; min-height: 120px; padding: 1.2em; border-radius: 12px; background: #fff; border: 1px solid #D5E9EC; border-top: 4px solid var(--pe-teal); box-shadow: 0 4px 14px rgba(6, 31, 75, 0.08); text-decoration: none; font-family: var(--crtc-font-heading); font-weight: 600; color: var(--pe-navy) !important; transition: transform .15s, box-shadow .15s; }
.crtc-pe-card:hover, .crtc-pe-card:focus { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(6, 31, 75, 0.16); }
.crtc-pe-card-go { color: var(--pe-teal-deep); font-size: 1.3em; }
.crtc-pe-qs { list-style: none; padding: 0; margin: 1em 0; }
.crtc-pe-qs li { position: relative; padding: 0.35em 0 0.35em 1.6em; color: var(--pe-navy); font-weight: 600; }
.crtc-pe-qs li::before { content: "?"; position: absolute; left: 0; top: 0.35em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--pe-teal); color: #fff; font-size: 0.85em; line-height: 1.2em; text-align: center; }
/* Ascending-bars progression motif echoing the logo; the process stays readable as text */
.crtc-pe-steps { list-style: none; margin: 1em 0 0; padding: 0; display: flex; align-items: flex-end; gap: 6px; }
.crtc-pe-steps li { flex: 1; height: calc(4em + var(--h) * 1.4em); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.5em; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--pe-teal) 0%, var(--pe-teal-deep) 100%); }
.crtc-pe-steps li:nth-child(1) { background: #0F7F92; }
.crtc-pe-steps li:nth-child(5) { background: var(--pe-navy); }
.crtc-pe-steps span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-family: var(--crtc-font-heading); font-weight: 700; font-size: 0.85em; letter-spacing: 0.05em; }
.crtc-pe-joined { margin-top: -1.5em !important; padding-top: 0.5em; border-radius: 0 0 8px 8px; }
.crtc-pe-block { height: 100%; padding: 1.6em; border-radius: 14px; border-top: 5px solid var(--pe-teal); background: var(--pe-pale); }
.crtc-pe-block h2 { margin-top: 0; font-size: 1.5em; }
.crtc-pe-studio { max-width: 760px; margin: 0 auto; padding: 1.4em 1.6em; border: 2px dashed var(--pe-aqua); border-radius: 14px; }
.crtc-pe-studio h2 { margin-top: 0; }
.crtc-pe-close { max-width: 760px; margin: 0 auto; text-align: center; padding: 1em 0; }
.crtc-pe-actions { margin-top: 1.4em; }
@media (max-width: 900px) { .crtc-pe-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .crtc-pe-cards { grid-template-columns: 1fr; }
  .crtc-pe-hero { padding: 2em 1em; }
  .crtc-pe-row { padding: 1.6em 1em; }
}
/* Whole-card links: drop the content-area link underline on card text */
.crtc-hcard, .crtc-hcard *, .crtc-pe-card, .crtc-pe-card *, .crtc-pe-btn { text-decoration: none !important; }
/* Mobile menu toggle: the global teal button background hid the teal hamburger/close icon */
.ast-header-break-point .menu-toggle .ahfb-svg-iconset svg, .menu-toggle .ahfb-svg-iconset svg { fill: #fff !important; color: #fff !important; }

/* Who We Help: BRIDGE feature card with logo (2026-11-20) */
.crtc-bridge-feature--logo { display: flex; align-items: center; gap: 1.75em; }
.crtc-bridge-feature--logo .crtc-bridge-logo { flex: 0 0 34%; max-width: 34%; height: auto; }
.crtc-bridge-feature--logo .crtc-bridge-text { flex: 1; }
@media (max-width: 768px) {
  .crtc-bridge-feature--logo { flex-direction: column; align-items: stretch; gap: 1em; }
  .crtc-bridge-feature--logo .crtc-bridge-logo { max-width: 260px; margin: 0 auto; }
}
.crtc-bridge-feature--logo .crtc-bridge-logo, .crtc-pe img[src*="the-bridge-final-master-logo"] { mix-blend-mode: multiply; }

/* Mobile usability fixes (2026-11-25) */
.crtc-mobile-actions { display: flex; }
.crtc-mobile-actions a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.3em 0.5em; font-family: var(--crtc-font-heading); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; background: var(--crtc-navy); color: #fff; }
.crtc-mobile-actions a:hover, .crtc-mobile-actions a:focus { color: #fff; text-decoration: underline; }
.crtc-mobile-actions a:focus-visible { outline: 3px solid var(--crtc-teal); outline-offset: -3px; }
.crtc-mobile-actions a.crtc-mobile-actions-appt { background: var(--crtc-yellow); color: var(--crtc-navy); }
@media (max-width: 921px) {
  /* Submenu arrows were 70px tall in 44px rows and overlapped the row below */
  .ast-mobile-header-content .menu-item-has-children > .ast-menu-toggle { height: 44px !important; min-height: 0 !important; line-height: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  /* Small uppercase labels: 11.5px -> 13px */
  .crtc-badge, .crtc-pe-eyebrow, .crtc-pe-status { font-size: 13px; }
  /* Team name links: full-size tap targets */
  .crtc-card h3 > a { display: flex; align-items: center; min-height: 44px; }
  .crtc-team-links li { margin: 0; }
  .crtc-team-links li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 60%; }
}
@media (max-width: 921px) {
  .entry-content a[href^="tel:"] { display: inline-block; padding: 0.75em 0; }
  .entry-content a[href*="google.com/maps"] { display: inline-block; padding: 0.3em 0; }
}
/* Phone heroes: 50vh was a fixed height, so longer headings/buttons were clipped. Let it grow. */
@media (max-width: 780px) {
  .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper { height: auto !important; min-height: 50vh; padding-top: 2.5em !important; padding-bottom: 2.5em !important; }
}
