/* ============================================
   Site-wide layout — sections with backgrounds extend edge-to-edge on the
   viewport; content inside each .container stays capped at Bootstrap's
   1320px xxl width for readability. No page_wrapper max-width so section
   backgrounds bleed out to the browser edges as the user asked.
   ============================================ */
:root { --mn-page-max: 100vw; }
.page_wrapper { max-width: none; margin: 0; background: #fff; overflow-x: hidden; }
/* Site header is position:fixed by the template; span the full viewport. */
.site_header { left: 0; right: 0; transform: none; width: 100%; max-width: none; }
/* Backtotop element was removed from base.njk on 2026-08-26 per user request;
   defensive rule keeps any lingering reference invisible. */
.backtotop { display: none !important; }

/* ---- Uniform section spacing ----
   Vendor's section_space_lg was 150/160 desktop, 100/110 tablet, 70/80 mobile
   — too much gap between sections. Tightened to symmetric, uniform values.
   !important needed to beat the vendor stylesheet loaded before this one. */
/* ---- Global text alignment ---- */
.section_heading.text-center .section_heading_text,
.section_heading.text-center .section_heading_description { text-align: center !important; }
.btn_wrap { text-align: center; }

/* ---- Mobile-only: titles center, body justify, buttons center ---- */
@media (max-width: 991px) {
  .mn-abouthero__title,
  .mn-assess__title,
  .mn-banner__title,
  .mn-changing__title,
  .mn-corpcard__title,
  .mn-corpintro__title,
  .mn-corpsvc__title,
  .mn-corpwhyus__title,
  .mn-creds__title,
  .mn-doc__title,
  .mn-facts__title,
  .mn-helpband__title,
  .mn-hiw__title,
  .mn-join__title,
  .mn-moreways__title,
  .mn-panel__title,
  .mn-pract__title,
  .mn-story__title,
  .mn-svcfaq__title,
  .mn-topics__title,
  .mn-founder__title,
  .mn-howitworks__title,
  .mn-makers__name,
  .mn-makers__role,
  .mn-makers__tagline,
  .mn-makers__creds,
  /* 2026-09-10 — the /team/ heading block. Its wrapper is .text-start, which
     is not responsive, so "Meet the panel" and the paragraph under it were
     the only section heading on the site still running left at phone and
     tablet widths while every other one centres here.

     Fixed in CSS rather than by putting Bootstrap's .text-lg-start.text-center
     back on the wrapper, which is what the markup used to carry. That pair
     cannot work while the unconditional rule at the top of this file paints
     .section_heading.text-center with `text-align: center !important` at
     every width — it would win at 992px too and the heading could never go
     left again. Presumably why someone swapped the wrapper to .text-start in
     the first place.

     Only /team/ and /ta/குழு/ carry .section_heading.text-start, so this
     needs no page scoping to stay off everything else. */
  .section_heading.text-start .section_heading_text,
  .section_heading.text-start .section_heading_description,
  /* 2026-09-10 — moved out of the justified group below. Stacked, the help
     band centres its children: the title is centred by this same rule and the
     CTA by its own, so a justified body between them was the one line in the
     panel that started hard against the left edge. It is a single short
     sentence of qualifiers, not a paragraph of prose, so justification was
     buying nothing to begin with. Mobile and tablet only — from 992px the
     band is a row with the text block on the left, where left-aligned is
     right. */
  .mn-helpband__body { text-align: center !important; }

  .mn-abouthero__lede,
  .mn-assess__body,
  .mn-banner__lede,
  .mn-concernhelp__body,
  .mn-corpcard__body,
  .mn-corpintro__body,
  .mn-creds__body,
  .mn-doc__body,
  .mn-facts__body,
  .mn-hiw__body,
  .mn-hiw__lede,
  .mn-join__body,
  .mn-makers__para,
  .mn-moreways__lede,
  .mn-pract__body,
  .mn-story__body,
  .mn-topics__lede,
  .mn-types__desc,
  .mn-founder__body,
  .mn-howitworks__body { text-align: justify !important; }

  .mn-svcfaq .col-lg-5,
  .mn-topics--split .col-lg-7,
  .mn-corpintro .col-md-7,
  .mn-corpintro .col-lg-7,
  .mn-corpintro .col-lg-6,
  .mn-corpsvc,
  .mn-corpwhyus,
  .mn-corpcard,
  .mn-assess,
  .mn-facts,
  .mn-flow,
  .mn-moreways,
  .mn-join,
  .mn-creds,
  .mn-helpband__inner,
  .mn-pract,
  .mn-makers__body { text-align: center; }
  .mn-topics__chips { justify-content: center !important; }
  .mn-svcfaq .col-lg-5 svg { display: block; margin: 0 auto; }
}

.section_space_lg { padding-top: 80px !important; padding-bottom: 80px !important; }
@media (max-width: 1440px) { .section_space_lg { padding-top: 64px !important; padding-bottom: 64px !important; } }
@media (max-width: 991px) { .section_space_lg { padding-top: 48px !important; padding-bottom: 48px !important; } }
@media (max-width: 575px) { .section_space_lg { padding-top: 40px !important; padding-bottom: 40px !important; } }

/* Content max-width — keep visible content within the current 1440 cap even
   though section backgrounds now bleed edge-to-edge. Overrides Bootstrap's
   .container xxl width of 1320px so nothing feels narrower than before. */
@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl { max-width: 1440px; }
}

/* ============================================
   Header sizing + full-width layout. The template's 3/6/3 column split runs
   out of room for 6 nav items + Book Now button around 1200-1400px, so the
   nav wraps to a second row. We use container-fluid + a 2/8/2 split with
   flex-nowrap so the row never breaks, and pad the container edges instead
   of letting a max-width squeeze the middle.
   ============================================ */
/* Glass navbar — heavier blur + saturation, translucent cream tint, subtle
   hairline underneath so the header sits crisply on top of scrolling content. */
.site_header {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(251, 249, 240, 0.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(41, 48, 57, 0.06);
  box-shadow: 0 1px 24px rgba(41, 48, 57, 0.06);
}
.site_header .container-fluid { padding-left: 32px; padding-right: 32px; }
.site_header .site_logo img { max-height: 44px; width: auto; }
.site_header .header_btns_group .btn { padding: 8px 14px; font-size: 13px; white-space: nowrap; line-height: 1.2; }
.site_header .header_btns_group .btn .btn_icon { width: 14px; height: 14px; margin-left: 4px; font-size: 11px; }
.site_header .header_btns_group .btn .btn_icon i { font-size: 11px; }
.site_header .main_menu_list > li > .nav-link { padding: 8px 12px; white-space: nowrap; font-size: 15px; }
.site_header .main_menu_list { gap: 4px; }
@media (max-width: 1200px) {
  .site_header .container-fluid { padding-left: 20px; padding-right: 20px; }
  .site_header .main_menu_list > li > .nav-link { padding: 8px 8px; font-size: 14px; }
}

/* Keep Book Now CTA visible on mobile (template hides the parent <li>).
   Mobile users need a one-tap path to the booking flow. Shrink padding +
   hide the arrow icon so it fits alongside the hamburger.

   Also rebalance the row grid so the hamburger + CTA fit on one line: the
   template ships col-5 / col-2 / col-5, and 5/12 of a 390px viewport (~145px)
   can't hold a 44px hamburger + 8px gap + a ~120px CTA — the row wraps and
   the header grows to ~125px tall, then the fixed .main_menu dropdown (top:69px)
   opens *inside* the header. .main_menu is position:fixed on mobile so its
   column doesn't need row space; give the actions column what's left. */
@media (max-width: 991.98px) {
  .site_header .row { flex-wrap: nowrap; }
  .site_header .row > .col-5:first-child { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; }
  .site_header .row > .col-2 { flex: 0 0 0; width: 0; max-width: 0; padding-left: 0; padding-right: 0; overflow: visible; }
  .site_header .row > .col-5:last-child { flex: 0 0 auto; width: auto; max-width: none; }
  .site_header .site_logo { min-width: 0; }
  .site_header .site_logo .site_link { display: inline-block; max-width: 100%; }
  .site_header .site_logo img { max-width: 100%; height: auto; }
  /* :not(.d-none) matters — without it this !important overrode Bootstrap's
     own d-none, which is why the "Book Now" item kept appearing on phones
     even though its <li> is marked d-none d-lg-block in header.njk. */
  .site_header .header_btns_group > li:not(.d-none) { display: inline-flex !important; }
  .site_header .header_btns_group .btn:not(.mn-header-cta) { display: inline-flex !important; padding: 8px 12px; font-size: 12px; }
  .site_header .header_btns_group .btn .btn_icon { display: none; }
  .site_header .header_btns_group { gap: 8px; flex-wrap: nowrap; }
  /* Mobile dropdown sits just below the header; the template's top:69px was
     calibrated for its original padding. Our row uses a 44px min-height on the
     tap targets (hamburger + CTA) plus 14px vertical padding each side, so the
     header lands at 72–73px on all mobile widths. */
  .site_header .main_menu { top: 73px; }
  /* The open menu lives inside the fixed header, so once its dropdowns
     (Services, Concerns, Resources) are expanded it runs past the bottom
     of a phone screen and the page cannot be scrolled to reach the rest.
     Cap it to the space under the header and let it scroll on its own.
     dvh where supported, so the browser's own toolbars are accounted for. */
  .site_header .main_menu_inner.navbar-collapse {
    max-height: calc(100vh - 89px);
    max-height: calc(100dvh - 89px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* Hero eyebrow + accent + soft CTA (typographic hierarchy above the fold) */
.hero_eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1F5A55; background: #EDF4F3; border: 1px solid rgba(15,83,80,0.24);
  padding: 6px 14px; border-radius: 100px; margin: 0 0 20px;
}
.hero_eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0F5350;
}
/* Hero H1 on phones. The template ships no .hero_title size, so the h1 falls
   back to Bootstrap's fluid calc(1.375rem + 1.5vw) — ~34px at 767px down to
   ~28px at 390px, which reads too heavy above the fold on a phone. Subtract
   6px from that same fluid value so the scale is kept, just smaller. The
   unitless heading line-height follows the font-size down on its own. */
@media (max-width: 767.98px) {
  .hero_title { font-size: calc(1.375rem + 1.5vw - 6px); }
}

.hero_title__accent {
  color: #0F5350;
  background: linear-gradient(180deg, transparent 62%, rgba(124, 166, 115, 0.32) 62%);
  padding: 0 4px;
  border-radius: 3px;
}
/* Hero CTA row — two buttons on row 1, soft check-in link on row 2 aligned
   to the primary button's left edge. Works from 320px up. */
.hero_content .btn_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-bottom: 0;
  margin: 0;
}
.hero_content .btn_wrap > .btn { margin: 0; }

.hero_soft_cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: #51565D; font-weight: 600; font-size: 14px;
  /* 44px minimum tap target (WCAG 2.5.5). The height comes from real padding
     rather than line-height so the whole area is actually clickable. */
  min-height: 44px;
  padding: 11px 0; margin: 0;
  text-decoration: none;
  flex-basis: 100%; /* always drop to its own row so left-edge aligns to Book */
}
.hero_soft_cta:hover { color: var(--mn-teal-text); }
.hero_soft_cta .btn_text { border-bottom: 1px dashed currentColor; padding-bottom: 2px; }
.hero_soft_cta .btn_icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #EDF4F3; color: var(--mn-teal-text); font-size: 11px;
  transition: transform 0.15s ease;
}
.hero_soft_cta:hover .btn_icon { transform: translateX(2px); }

/* Below 480px, let the two primary buttons stack full-width for easier tap */
@media (max-width: 480px) {
  .hero_content .btn_wrap > .btn { flex: 1 1 100%; justify-content: center; }
}

/* Section-heading accent (replaces <mark> yellow-bg contrast fail) */
.mn-accent {
  color: #1F5A55;
  background: linear-gradient(180deg, transparent 60%, rgba(124, 166, 115, 0.28) 60%);
  padding: 0 2px;
}

/* Defensive default for any residual <mark> tags — ensure contrast passes.
   Browser default is yellow bg + inherit text (often light) → fails contrast.
   Force dark ink and give it a subtle amber underline instead. */
mark {
  background: linear-gradient(180deg, transparent 60%, rgba(124, 166, 115, 0.32) 60%);
  color: #293039;
  padding: 0 2px;
}

/* Hero funfact strip (3 counters horizontal — template's default UL kept bullets).
   Sits above the CTA row now (2026-08-27 layout swap: stats then buttons). */
.hero_funfact { list-style: none; padding-left: 0; display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 0 20px; margin: 24px 0 28px; }
.hero_funfact > li { flex: 0 0 auto; min-width: 0; padding-right: 20px; border-right: 1px solid rgba(41, 48, 57, 0.12); }
.hero_funfact > li:last-child { border-right: none; padding-right: 0; }
/* Number and label sit side by side on one baseline ("9 Verified professionals")
   rather than the template's stacked number-over-caption. */
.hero_funfact .counter_item { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.hero_funfact .counter_value { font-size: 30px; line-height: 1.1; font-weight: 800; color: #7CA673; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.hero_funfact .counter_value .odometer { font-family: inherit; }
.hero_funfact .counter_title { font-size: 13px; color: #51565D; margin-top: 0; font-weight: 600; white-space: nowrap; }
/* The strip used to wrap (flex-wrap + 140px min-width) and dropped
   "Credential-checked" onto its own line. Columns now shrink instead of
   wrapping, with the type stepped down as the hero column narrows. */
@media (max-width: 1399.98px) {
  .hero_funfact { gap: 0 14px; }
  .hero_funfact > li { padding-right: 14px; }
  .hero_funfact .counter_value { font-size: 26px; }
  .hero_funfact .counter_title { font-size: 12px; }
}
/* Below the hero's two-column breakpoint three inline pairs can no longer share
   a line without shrinking to unreadable type, so stack them — each pair still
   reads as one line ("9 Verified professionals"). */
@media (max-width: 991.98px) {
  .hero_funfact { flex-direction: column; gap: 8px 0; }
  .hero_funfact > li { flex: 0 0 auto; width: 100%; padding-right: 0; border-right: none; }
  .hero_funfact .counter_value { font-size: 24px; }
  .hero_funfact .counter_title { font-size: 13px; }
}

/* Team funfact + about counter strip — same treatment */
.team_funfact { list-style: none; padding-left: 0; display: inline-flex; gap: 32px; margin: 0; }
.team_funfact > li { padding: 0; }
.team_funfact .counter_value { font-size: 36px; font-weight: 800; color: #7CA673; display: flex; align-items: baseline; gap: 2px; }
.team_funfact .counter_title { font-size: 13px; color: #51565D; }

/* =============================================================
   Compact pro-card (2026-08-27) — horizontal layout with square
   thumbnail on the left and content on the right. Initials avatar
   drawn as ::before so cards never flash empty while photos load.
   ============================================================= */
.mn-pro-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #E8ECEE;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
  min-height: 180px;
  align-items: stretch;
}
.mn-pro-card:hover {
  border-color: var(--mn-teal-text);
  box-shadow: 0 12px 28px rgba(15, 83, 80, 0.10);
  transform: translateY(-2px);
}

.mn-pro-card .mn-pro-card__image {
  width: 96px; height: 96px;
  overflow: hidden; border-radius: 12px;
  background: linear-gradient(135deg, #EDF4F3 0%, #DAE7E6 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex: none; align-self: start;
}
.mn-pro-card .mn-pro-card__image::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--bs-font-heading), inherit;
  font-size: 36px; font-weight: 800; color: var(--mn-teal-text);
  letter-spacing: -0.02em; line-height: 1;
  z-index: 0;
}
.mn-pro-card .mn-pro-card__image::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(15,83,80,0.08), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(124,166,115,0.06), transparent 40%);
  pointer-events: none;
}
.mn-pro-card .mn-pro-card__image img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

.mn-pro-card__body {
  display: flex; flex-direction: column; min-width: 0;
  height: 100%; flex: 1;
}
.mn-pro-card__meta { min-height: 32px; }

/* ============================================
   Equal-height + equal-width cards across every section grid.
   Bootstrap's row already gives equal widths via .col-* classes; we add
   flex-column to each column so its child card stretches to the row's
   tallest card, then set every card partial to fill its column via
   height: 100%. Applied per-section so we don't accidentally stretch
   non-card content (e.g. .about_section image + copy row).
   ============================================ */
.service_section .row > [class*="col-"],
.pricing_section .row > [class*="col-"],
.testimonial_section .row > [class*="col-"],
.blog_section .row > [class*="col-"],
.process_section .row > [class*="col-"],
.certificate_section .row > [class*="col-"],
.team_section .row > [class*="col-"],
.book_section .row > [class*="col-"],
.contact_section .row > [class*="col-"],
.mn-howitworks .row > [class*="col-"] {
  display: flex; flex-direction: column;
}
.service_section .row > [class*="col-"] > *,
.pricing_section .row > [class*="col-"] > *,
.testimonial_section .row > [class*="col-"] > *,
.blog_section .row > [class*="col-"] > *,
.process_section .row > [class*="col-"] > *,
.certificate_section .row > [class*="col-"] > *,
.team_section .row > [class*="col-"] > *,
.book_section .row > [class*="col-"] > *,
.contact_section .row > [class*="col-"] > *,
.mn-howitworks .row > [class*="col-"] > * { flex: 1; }

/* Card partials fill their column completely — canonical h-100. */
.service_item,
.pricing_item,
.testimonial_item,
.blog_item,
.process_item,
.contact_info_item,
.mn-pro-card { height: 100%; }

/* SUPERSEDED — see "Service cards — bright treatment" at the foot of this
   file, which redefines .service_item, .service_item__illustration and
   .item_icon at the same specificity and therefore wins on load order.
   Kept only so the original duotone technique is on record; edits here will
   have no effect.

   Service card layout: illustration hero on top, body (icon chip + copy + CTA)
   below. Illustration uses a monotone teal filter chain so the vendored
   stock JPGs shed their cream/black/tan palette and read as brand teal. */
.service_item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #E8ECEE;
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service_item:hover {
  border-color: var(--mn-teal-text);
  box-shadow: 0 22px 40px rgba(15, 83, 80, 0.10);
  transform: translateY(-3px);
}

/* Duotone illustration hero. The trick:
     1. Container gets a solid dark-teal background.
     2. Image is grayscaled and set to mix-blend-mode: screen — that means
        pure black areas in the image become "transparent" and show the
        teal background, while lighter areas print on top in near-white.
     3. A subtle mint gradient at the bottom fades the illustration into
        the card body below.
   Result: dark silhouettes read as brand teal, backgrounds read cream/mint. */
.service_item__illustration {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0F5350;
}
.service_item__illustration img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  mix-blend-mode: screen;
  opacity: 0.94;
}
.service_item:hover .service_item__illustration img {
  transform: scale(1.03);
}
/* Mint bottom fade so the illustration hands off to the card body */
.service_item__illustration::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.35) 100%);
  pointer-events: none;
}

.service_item__body {
  padding: 24px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}

.service_item .item_icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #EDF4F3;
  color: var(--mn-teal-text);
  margin: -50px 0 6px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 83, 80, 0.10);
  align-self: flex-start;
  transition: transform 0.25s ease;
}
.service_item:hover .item_icon { transform: rotate(-4deg); }
.service_item .item_icon svg { width: 32px; height: 32px; display: block; }
.service_item .item_icon i { font-size: 24px; color: var(--mn-teal-text); }

.service_item .item_title {
  font-size: 20px; font-weight: 700; color: #1B160C; margin: 0;
}
.service_item .item_contact p {
  color: #51565D; font-size: 15px; line-height: 1.55; margin: 8px 0 14px;
}

/* Certificate boxes on About also stretch */
.certificate_section .contact_info_item { height: 100%; }

.mn-pro-card__head { margin-bottom: 6px; }
.mn-pro-card__name {
  font-family: var(--bs-font-heading), inherit;
  font-size: 16px; font-weight: 700; color: #1B160C;
  line-height: 1.25; margin: 0;
}
.mn-pro-card__cat {
  font-size: 12px; color: var(--mn-teal-text); font-weight: 600;
  letter-spacing: 0.02em; margin-top: 2px;
}

.mn-pro-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding-top: 10px; margin-top: auto;
  border-top: 1px dashed #E8ECEE;
}
.mn-pro-card__fee {
  font-family: var(--bs-font-heading), inherit;
  font-size: 15px; font-weight: 800; color: #1B160C;
  line-height: 1;
}
.mn-pro-card__fee small {
  font-size: 10px; font-weight: 500; color: #51565D; margin-left: 2px;
}
.mn-pro-card__book {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 100px;
  background: var(--mn-teal-text); color: #fff;
  font-size: 12px; font-weight: 700;
  transition: background 0.15s ease;
}
.mn-pro-card__book:hover,
.mn-pro-card__book:focus { background: #0A3B39; color: #fff; }
.mn-pro-card__book i { font-size: 10px; }

/* SAMPLE ribbon nudged to fit new compact frame */
.mn-pro-card > .mn-sample-ribbon {
  top: 8px; right: 8px;
  font-size: 9px; padding: 3px 6px;
}

/* Narrow viewports (below ~380px) — stack image over content */
@media (max-width: 380px) {
  .mn-pro-card { grid-template-columns: 1fr; }
  .mn-pro-card .mn-pro-card__image { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .mn-pro-card .mn-pro-card__image::before { font-size: 56px; }
}

/* Downgraded testimonial name (was h4, now p) — preserve template look */
.testimonial_item .testimonial_name {
  font-family: var(--bs-font-heading), inherit;
  font-weight: 700;
}

/* CTA-form reassure line under submit button.
   It was a one-line pill (border-radius 100px). The text is now three
   sentences and wraps, more so in Tamil, and a full pill radius cut the
   corners off a multi-line block so the words ran outside the tint. A
   modest radius, a left-aligned text column and an icon pinned to the first
   line hold any length. */
.cta-form__reassure {
  display: inline-flex; align-items: flex-start; justify-content: center; gap: 8px;
  max-width: 100%; box-sizing: border-box;
  font-size: 13px; line-height: 1.55; text-align: left; color: #51565D;
  background: rgba(15,83,80,0.06); border-radius: 14px;
  padding: 10px 16px;
}
.cta-form__reassure i { color: #0F5350; flex: 0 0 auto; margin-top: 4px; }
.cta-form__reassure span { min-width: 0; overflow-wrap: anywhere; }

/* "How it actually works" — 3-step process strip on home */
.mn-howitworks__steps {
  display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr);
  list-style: none; padding: 0; margin: 0; counter-reset: none;
}
@media (max-width: 767px) { .mn-howitworks__steps { grid-template-columns: 1fr; } }
.mn-howitworks__steps > li {
  position: relative; padding: 32px 24px 24px;
  background: #fff; border: 1px solid #ECECEC; border-radius: 20px;
  transition: all 0.25s ease;
}
.mn-howitworks__steps > li:hover {
  border-color: #0F5350;
  box-shadow: 0 20px 40px rgba(15,83,80,0.10);
  transform: translateY(-2px);
}
.mn-howitworks__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #EDF4F3; color: var(--mn-teal-text);
  font-family: var(--bs-font-heading), inherit; font-weight: 800; font-size: 18px;
  margin-bottom: 16px;
}
.mn-howitworks__title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 18px; font-weight: 700; color: #293039; margin: 0 0 8px;
}
.mn-howitworks__body {
  font-size: 14px; line-height: 1.55; color: #51565D; margin: 0;
}
/* Subtle connector dots between steps on desktop */
@media (min-width: 768px) {
  .mn-howitworks__steps > li:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -14px;
    width: 8px; height: 8px; border-radius: 50%; background: #0F5350; opacity: 0.35;
  }
}

/* Suppress the template's hover-slide double-text on our header CTA */
.site_header .btn::before,
.site_header .btn .btn_text::before,
.site_header .btn .btn_text::after { display: none !important; content: none !important; }

/* ============================================
   Contrast. This block used to introduce a darker "text-safe" teal because
   the old brand teal #26ABA3 failed AA on white (2.82:1). The palette now
   comes from the logo, and the logo teal is dark enough to be used directly
   as a foreground colour — so --mn-teal-text is simply the brand colour and
   is kept only as an alias for the many rules that already reference it.
   Measured ratios (target: 4.5:1 AA normal / 3:1 AA large):
     white on #0F5350          → 8.85  ✓
     #0F5350 on white          → 8.85  ✓
     #0F5350 on #EDF4F3 (tint) → 7.94  ✓
     #0F5350 on #DAE7E6        → 6.97  ✓
   Sage #7CA673 is 2.78:1 and is a FILL ONLY; use --mn-sage-text (#466E40,
   5.89:1) whenever sage carries type. See the BRAND PALETTE block at the
   foot of this file for the token definitions.
   ============================================ */
:root { --mn-teal-text: #0F5350; }

/* Primary button — darker teal bg so white text passes contrast */
.btn.btn-primary,
.btn.btn-primary:visited { background: var(--mn-teal-text); border-color: var(--mn-teal-text); color: #fff; }
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active { background: #0A3B39; border-color: #0A3B39; color: #fff; }
.btn.btn-primary .btn_text,
.btn.btn-primary .btn_icon { color: #fff; }

/* Outline button — darken text color for AA */
.btn.btn-outline-primary,
.btn.btn-outline-primary:visited { color: var(--mn-teal-text); border-color: var(--mn-teal-text); }
.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active { background: var(--mn-teal-text); color: #fff; border-color: var(--mn-teal-text); }
.btn.btn-outline-primary .btn_text { color: inherit; }

/* Small link buttons (btn-link) — teal-on-white AA */
.btn-link,
.btn-link:visited { color: var(--mn-teal-text); }
.btn-link:hover { color: #0A3B39; }

/* Nav-link active / hover — darker teal for AA on mint header bg */
.site_header .main_menu_list > li.active > .nav-link,
.site_header .main_menu_list > li > .nav-link:hover,
.site_header .main_menu_list > li > .nav-link:focus,
.site_header .main_menu_list .dropdown-menu > li > a:hover { color: var(--mn-teal-text); }

/* Wizard CTA + booking pick states — same darker teal */
.wizard-cta { background: var(--mn-teal-text); }
.wizard-cta:hover { background: #0A3B39; }
.wizard-pick:hover,
.wizard-pick[aria-pressed="true"] { border-color: var(--mn-teal-text); }

/* Testimonial + pro card small text that used bright teal for icons — icons keep
   bright teal (they're graphic, not text). Text elements only get the darker one. */

/* Section-heading .mn-accent — text is on white; use darker teal */
.mn-accent { color: var(--mn-teal-text); }

/* Hero eyebrow uppercase text — was #1F5A55 already, keep. Fine. */
/* Hero funfact counter values — amber orange, keep. Fine. */

/* Push inner-page banner + home hero below our actual header height.
   The offset must equal the header, not exceed it, or the difference shows
   as a gap under the header on every inner page. Measured from the header's
   own rules: 14px + 14px padding, tallest child is the CTA pill, plus the
   1px bottom hairline.
     desktop  28 + 40 (btn_text 9+10 padding, 14px/1.5 text) + 1 = 69
     <=991px  28 + 37 (btn_text 8+9  padding, 13px/1.5 text) + 1 = 66
     <=575px  28 + 35 (btn_text 8+9  padding, 12px/1.5 text) + 1 = 64
   Kept !important to beat the template's own .page_banner offsets, which
   include media-query variants at 90/68/62px. */
.page_banner { margin-top: 69px !important; }
/* Header grows to 28px padding + 44px CTA + 1px hairline = 73px once the
   CTA meets the 44px tap-target floor, so both touch offsets move with it. */
@media (max-width: 991.98px) { .page_banner { margin-top: 73px !important; } }
@media (max-width: 575.98px) { .page_banner { margin-top: 73px !important; } }
/* The template ships no .page_hero_section rule at all, so this selector is
   the hero's only vertical padding. It had a top value and no bottom, which
   left the hero content — including the 620px image — sitting flush on the
   top edge of the mint section below it. Give it a bottom to match. */
.page_hero_section { padding-top: 130px; padding-bottom: 64px; }
@media (max-width: 991.98px) {
  .page_hero_section { padding-top: 110px; padding-bottom: 48px; }
}
@media (max-width: 575.98px) {
  .page_hero_section { padding-top: 96px; padding-bottom: 40px; }
}
/* Wizard topbar (already non-fixed) — no adjustment needed. */
.wizard-main .wizard-shell { margin-top: 30px; }
@media (max-width: 767.98px) { .wizard-main .wizard-shell { margin-top: 12px; } }

/* Compatibility variables — some legacy templates + wizard.js inline styles
   reference these; map them onto the new template palette so nothing breaks. */
:root {
  --forest: #0F5350;
  --sage: #7CA673;
  --cream: #FBF9F0;
  --cream-soft: #EDF4F3;
  --ink: #293039;
  --ink-warm: #1B160C;
  --muted: #51565D;
  --line: #ECECEC;
  --line-emphasis: #0F5350;
  --danger: #B33A2A;
  --focus-ring: 0 0 0 3px rgba(15, 83, 80, 0.25);
  --dur-fast: 0.2s;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --step-0: 16px;
  --step-1: 18px;
  --step-2: 22px;
  --font-display: var(--bs-font-heading);
  --space-l: 32px;
}

/* MindNalam layered overrides on top of the vendored template.
   Keep this file small — only additions/overrides for MN-specific UX that the
   base template does not ship (sample ribbons, live-availability chip, voice
   intro widget, wizard commit screen, legal page mini-TOC). Never redefine
   template variables here; if a token needs to change, edit style.css directly. */

/* ============================================
   Utility: sample ribbon for pre-launch stub data
   ============================================ */
.mn-sample-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #7CA673;
  color: #1B160C;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ============================================
   Pro card additions — meta chips, availability chip, voice intro
   (fee + book CTA styling live above in the compact block)
   ============================================ */
.mn-pro-card__meta {
  display: flex;
  gap: 4px 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #51565D;
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
}
.mn-pro-card__meta li { display: inline-flex; align-items: center; gap: 4px; }
.mn-pro-card__meta i { color: var(--mn-teal-text); font-size: 11px; }

.mn-pro-card__slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EDF4F3;
  color: #1F5A55;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin: 2px 0 8px;
  align-self: flex-start;
}
.mn-pro-card__slot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mn-teal-text);
}
.mn-pro-card__slot[data-state="no-slots"] { background: #EFF5EC; color: #7A5108; }
.mn-pro-card__slot[data-state="no-slots"] .mn-pro-card__slot-dot { background: #7CA673; }

.mn-pro-card__voice {
  margin: 4px 0 8px;
  display: flex;
}
.mn-pro-card__voice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--mn-teal-text);
  color: var(--mn-teal-text);
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mn-pro-card__voice-btn:hover { background: var(--mn-teal-text); color: #fff; }
.mn-voice-pause { display: none; }
.mn-pro-card__voice-btn[data-playing] .mn-voice-play { display: none; }
.mn-pro-card__voice-btn[data-playing] .mn-voice-pause { display: inline; }

/* ============================================
   Pricing card (extends template pricing pattern)
   ============================================ */
.pricing_item {
  position: relative;
  background: #fff;
  border: 1px solid #C9CED3;
  border-radius: 24px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.3s ease;
}
.pricing_item:hover { box-shadow: 0px 20px 40px 0px rgba(43, 171, 160, 0.08); }
.pricing_item--featured {
  background: #EDF4F3;
  border-color: #0F5350;
  border-width: 2px;
}
.pricing_badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F5350;
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pricing_head { text-align: center; padding-bottom: 20px; border-bottom: 1px dashed #C9CED3; margin-bottom: 22px; }
.pricing_name { font-size: 20px; margin-bottom: 12px; color: #293039; }
.pricing_price { margin: 0; display: inline-flex; align-items: baseline; gap: 2px; }
.pricing_prefix { font-size: 15px; color: #51565D; font-weight: 600; margin-right: 2px; }
.pricing_currency { font-size: 20px; color: #0F5350; font-weight: 700; }
.pricing_value { font-size: 42px; font-weight: 800; color: #293039; }
.pricing_price sub { font-size: 14px; color: #51565D; font-weight: 500; margin-left: 4px; }
.pricing_features { margin: 0 0 24px; }
.pricing_features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.pricing_features .info_icon { color: #0F5350; font-size: 16px; flex: none; margin-top: 3px; }
.pricing_foot { text-align: center; }

/* ============================================
   Work process step (template calls it that)
   ============================================ */
.process_item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
  height: 100%;
  border: 1px solid #ECECEC;
  transition: all 0.3s ease;
}
.process_item:hover { border-color: #0F5350; box-shadow: 0px 20px 40px 0px rgba(43, 171, 160, 0.08); }
.process_number {
  flex: none;
  font-size: 42px;
  font-weight: 800;
  color: #7CA673;
  line-height: 1;
  font-family: var(--bs-font-heading);
}
.process_title { font-size: 20px; margin-bottom: 8px; color: #293039; }

/* ============================================
   Testimonial slide
   ============================================ */
.testimonial_item {
  position: relative;
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  padding: 32px;
  margin: 12px;
}
.testimonial_item--sample { background: #FFFDF6; }
/* The template only styles `.rating_star li` (line-height:1, font-size:14px),
   but our partial renders bare <i> glyphs, so those rules never applied — the
   stars inherited the card's body line-height and sat low in an oversized line
   box, crowding the quote beneath. Flex the row and pin the glyph metrics. */
.rating_star {
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
  color: #7CA673;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.rating_star > i {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}
.rating_star--empty { color: #E2E4E7; }
.testimonial_quote p { font-size: 17px; line-height: 27px; color: #293039; font-style: italic; margin-bottom: 20px; }
.testimonial_name { font-size: 16px; margin-bottom: 2px; color: #293039; }
.testimonial_role { font-size: 13px; color: #51565D; }

/* ============================================
   Contact info box
   ============================================ */
.contact_info_item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 16px;
  height: 100%;
}
.contact_info_item .item_icon {
  width: 44px;
  height: 44px;
  flex: none;
  background: #EDF4F3;
  color: #0F5350;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact_info_item .item_title { font-size: 16px; margin-bottom: 4px; color: #293039; }
.contact_info_item p { font-size: 14px; margin: 0; }
.contact_info_item a,
.contact_info_item a:visited { color: var(--mn-teal-text); }
.contact_info_item a:hover { color: #0A3B39; }

/* FAQ accordion button — Bootstrap ships teal-on-white in expanded state which
   fails AA. Force darker teal for the button text. Use both high-specificity
   selectors + custom Bootstrap CSS var override. */
.accordion .accordion-item .accordion-button:not(.collapsed),
.faq_section .accordion-button:not(.collapsed) {
  color: var(--mn-teal-text) !important;
  --bs-accordion-active-color: var(--mn-teal-text);
}
.accordion .accordion-item .accordion-button:not(.collapsed)::after { filter: brightness(0.65); }

/* Prose links (post/legal bodies) — teal-on-white needs darkening too */
.post_body a,
.mn-legal-body a { color: var(--mn-teal-text); }
.post_body a:hover,
.mn-legal-body a:hover { color: #0A3B39; }

/* Footer crisis line links + mint-TOC + mn-toc — same treatment */
.mn-toc a { color: #293039; }
.mn-toc a:hover { color: var(--mn-teal-text); }

/* ============================================
   Blog card
   ============================================ */
.blog_item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ECECEC;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog_item:hover { box-shadow: 0px 20px 40px 0px rgba(43, 171, 160, 0.1); }
.blog_image { aspect-ratio: 16/9; overflow: hidden; background: #EDF4F3; }
.blog_image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog_item:hover .blog_image img { transform: scale(1.05); }
.blog_content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog_meta { display: flex; gap: 14px; margin-bottom: 12px; font-size: 12px; color: #51565D; }
.blog_meta i { margin-right: 4px; color: #0F5350; }
.blog_title { font-size: 20px; line-height: 1.35; margin-bottom: 10px; }
.blog_title a { color: #293039; }
.blog_title a:hover { color: #0F5350; }
.blog_content > p { flex: 1; font-size: 15px; margin-bottom: 14px; }

/* ============================================
   Consultation / enquiry form
   ============================================ */
.consultation_form .form_item { margin-bottom: 12px; }
.consultation_form .row { --bs-gutter-y: 0; }
/* .mn-enqmodal__form is listed alongside .consultation_form rather than
   given the class: the vendor's own .consultation_form rule adds
   `padding: 120px 35px`, which is right for a full-width section and absurd
   inside a modal. Only the field styling is wanted here. */
.consultation_form input,
.consultation_form select,
.consultation_form textarea,
.mn-enqmodal__form input,
.mn-enqmodal__form select,
.mn-enqmodal__form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #C9CED3;
  border-radius: 12px;
  background: #fff;
  /* 16px, not 15px — iOS Safari auto-zooms any focused form control below
     16px. See the global floor at the foot of this file. */
  font-size: 16px;
  font-family: inherit;
  color: #293039;
  transition: border-color 0.2s ease;
}
.consultation_form input:focus,
.consultation_form select:focus,
.consultation_form textarea:focus,
.mn-enqmodal__form input:focus,
.mn-enqmodal__form select:focus,
.mn-enqmodal__form textarea:focus {
  outline: none;
  border-color: #0F5350;
  box-shadow: 0 0 0 3px rgba(15, 83, 80, 0.15);
}
.mn-enquiry-form__status:empty { display: none; }
.mn-enquiry-form__status[data-state="ok"] { color: #1F5A55; }
.mn-enquiry-form__status[data-state="error"] { color: #B33A2A; }
/* /apply/: a required field the applicant missed or the API turned down
   (initApplicationForms in main.js). The declaration checkbox has no border
   of its own, so its bordered wrapper takes the mark; that wrapper's border
   is an inline style, hence !important. */
.mn-enquiry-form [aria-invalid="true"]:not([type="checkbox"]),
.mn-enquiry-form .mn-field-invalid { border-color: #B33A2A !important; box-shadow: 0 0 0 3px rgba(179, 58, 42, 0.12); }

/* ---- Enquiry modal (partials/enquiry-modal.njk) ----

   Form left, image right, the image column flush to the panel edge. Bootstrap
   supplies the show/hide and the backdrop; everything below is presentation. */
.mn-enqmodal__content {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
}
/* The two columns are equal height so the photo fills its side rather than
   ending partway down beside a taller form. */
.mn-enqmodal__row { align-items: stretch; }
.mn-enqmodal__body { padding: 40px; }
.mn-enqmodal__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--mn-brand-dark);
  /* Room for the close button, which is positioned over this corner. */
  padding-right: 28px;
}
.mn-enqmodal__lede {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: #51565D;
}
.mn-enqmodal__form .form_item { margin-bottom: 14px; }
.mn-enqmodal__submit { margin-top: 6px; }
.mn-enqmodal__status { margin-top: 14px; font-size: 14px; }

/* Sits over the form column, not the image, so it is legible whatever the
   photo happens to be behind it. */
.mn-enqmodal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}
.mn-enqmodal__image {
  display: block;
  width: 100%;
  height: 100%;
  /* The asset is a tall portrait; cover crops it to whatever the form's height
     makes this column, rather than letterboxing or stretching it. */
  object-fit: cover;
  object-position: center 35%;
}

@media (max-width: 991.98px) {
  /* The image column is d-none below lg, so the form has the panel to itself
     and the padding comes down with the width. */
  .mn-enqmodal__body { padding: 32px 24px; }
  .mn-enqmodal__title { font-size: 22px; }
}

/* ============================================
   Booking wizard shell + shared step primitives
   ============================================ */
.wizard-main { padding: 40px 20px 80px; }
.wizard-shell { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 40px; border: 1px solid #ECECEC; }
.wizard-shell--wide { max-width: 900px; }
@media (max-width: 767.98px) {
  .wizard-main { padding: 24px 14px 60px; }
  .wizard-shell { padding: 24px 18px; border-radius: 16px; }
}
.wizard-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #0F5350; margin: 0 0 10px; }
.wizard-h1 { font-size: 28px; line-height: 1.3; color: #293039; font-weight: 800; margin: 0 0 24px; }

.wizard-picks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 16px 0; }
.wizard-pick {
  appearance: none; font-family: inherit; text-align: left; cursor: pointer;
  padding: 20px; border: 2px solid #ECECEC; border-radius: 16px; background: #fff;
  display: flex; flex-direction: column; gap: 6px;
  transition: all 0.2s ease;
}
.wizard-pick:hover { border-color: #0F5350; background: #EDF4F3; }
.wizard-pick[aria-pressed="true"] { border-color: #0F5350; background: #EDF4F3; }
.wizard-pick__title { font-weight: 700; color: #293039; font-size: 17px; }
.wizard-pick__body { font-size: 14px; color: #51565D; }

.wizard-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: #0F5350; color: #fff; border: 0; border-radius: 100px;
  font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 16px;
  transition: all 0.2s ease;
}
.wizard-cta:hover { background: #1F8B84; }
.wizard-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.wizard-alert {
  padding: 12px 14px; background: #EFF5EC; border-left: 4px solid #7CA673;
  border-radius: 6px; color: #7A5108; font-size: 14px; margin-top: 16px;
}

.otp-block { margin-top: 20px; }
.otp-block__row { display: flex; gap: 10px; align-items: stretch; }
.otp-block__row input { flex: 1; min-width: 0; }
.otp-block__status { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.otp-block__status--info { background: #EDF4F3; color: #1F5A55; }
.otp-block__status--ok { background: #E7F6EF; color: #1F5A55; }
.otp-block__status--error { background: #FCE9E4; color: #7B2A1D; }

/* ============================================
   Calendar + time slot picker (step 2)
   ============================================ */
.calendar-shell { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; margin: 20px 0; }
@media (max-width: 720px) { .calendar-shell { grid-template-columns: 1fr; } }
.calendar { border: 1px solid #ECECEC; border-radius: 16px; padding: 18px; }
.calendar__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar__month { font-weight: 700; color: #293039; font-size: 16px; }
.calendar__navbtn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ECECEC;
  background: #fff; color: #0F5350; font-size: 18px; cursor: pointer;
}
.calendar__navbtn:hover { background: #EDF4F3; }
.calendar__navbtn:disabled { opacity: 0.35; cursor: not-allowed; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar__wk { text-align: center; font-size: 10px; font-weight: 700; color: #51565D; padding: 6px 0; letter-spacing: 0.05em; }
.calendar__day {
  aspect-ratio: 1; border-radius: 8px; border: 0; background: transparent; color: #C9CED3;
  font-size: 14px; font-weight: 600; cursor: not-allowed; padding: 0;
}
.calendar__day.is-available { color: #293039; cursor: pointer; background: #EDF4F3; }
.calendar__day.is-available:hover { background: #0F5350; color: #fff; }
.calendar__day.is-selected { background: #0F5350; color: #fff; }

.times-panel { border: 1px solid #ECECEC; border-radius: 16px; padding: 18px; background: #FBFBF9; }
.times-panel__head { font-weight: 700; color: #293039; font-size: 15px; margin: 0 0 4px; }
.times-panel__meta { font-size: 13px; color: #51565D; margin: 0 0 12px; }
.times-panel__tz { font-size: 10px; color: #C9CED3; letter-spacing: 0.1em; margin: 12px 0 0; }
.times-panel__empty { font-size: 14px; color: #51565D; margin: 12px 0 0; }
.times-grid { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); }
.times-grid__slot {
  padding: 10px 8px; border: 1px solid #ECECEC; border-radius: 8px; background: #fff;
  font-size: 13px; font-weight: 600; color: #293039; cursor: pointer;
  transition: all 0.15s ease;
}
.times-grid__slot:hover { border-color: #0F5350; background: #EDF4F3; }
.times-grid__slot.is-selected { background: #0F5350; color: #fff; border-color: #0F5350; }

/* ============================================
   Plan-tabs + plan-cards (wizard step 3)
   ============================================ */
.plan-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #EDF4F3; border-radius: 100px; margin-bottom: 20px; }
.plan-tab {
  padding: 8px 20px; border: 0; background: transparent; border-radius: 100px;
  font-weight: 600; color: #51565D; cursor: pointer; font-family: inherit; font-size: 14px;
}
.plan-tab.is-active { background: #0F5350; color: #fff; }
.plan-cards { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.plan-cards--single { grid-template-columns: 1fr; max-width: 320px; }
@media (max-width: 640px) { .plan-cards { grid-template-columns: 1fr; } }
.plan-card {
  padding: 22px; border: 2px solid #ECECEC; border-radius: 16px; background: #fff;
  cursor: pointer; text-align: left; font-family: inherit; transition: all 0.2s ease;
}
.plan-card:hover { border-color: #0F5350; background: #EDF4F3; }
.plan-card__sessions { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: #0F5350; }
.plan-card__total { font-size: 26px; font-weight: 800; color: #293039; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.plan-card__strike { font-size: 14px; font-weight: 500; color: #C9CED3; text-decoration: line-through; }
.plan-card__unit-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-size: 13px; color: #51565D; }
.plan-card__unit { font-weight: 700; color: #293039; }

/* ============================================
   Your-details form (step)
   ============================================ */
.wizard-form { display: grid; gap: 16px; }
.wizard-form label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0F5350; margin-bottom: 6px; }
.wizard-form input { width: 100%; padding: 12px 14px; border: 1.5px solid #ECECEC; border-radius: 10px; font-size: 16px; font-family: inherit; color: #293039; }
.wizard-form input:focus { outline: none; border-color: #0F5350; box-shadow: 0 0 0 3px rgba(15, 83, 80, 0.15); }
.wizard-field { position: relative; }
.wizard-field__hint { display: block; margin-top: 6px; font-size: 12px; color: #51565D; }
.wizard-field__hint--warn { color: #B33A2A; }

/* ============================================
   Confirm screen (ticket + bill layout)
   ============================================ */
/* align-items: start so the ticket keeps its own height; without it the
   grid row stretches the ticket to match the left column, which leaves a
   blank block inside it once the confidentiality panel is opened. */
.confirm-shell { display: grid; gap: 24px; grid-template-columns: 1.2fr 1fr; align-items: start; margin: 20px 0; }
@media (max-width: 780px) { .confirm-shell { grid-template-columns: 1fr; } }

.bill { border: 1px solid #ECECEC; border-radius: 16px; padding: 20px; background: #EDF4F3; margin-bottom: 20px; }
.bill__caption { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: #0F5350; margin: 0 0 12px; }
.bill__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed rgba(15, 83, 80, 0.2); }
.bill__row:last-child { border-bottom: none; }
.bill__row--total { font-weight: 800; color: #293039; font-size: 16px; padding-top: 12px; border-top: 2px solid #0F5350; border-bottom: none; margin-top: 6px; }

.consent { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: #EDF4F3; border-radius: 12px; margin-bottom: 20px; font-size: 14px; color: #293039; line-height: 1.5; }
.consent input { margin-top: 5px; }
.consent a { color: #0F5350; text-decoration: underline; }

.ticket { background: #fff; border: 1px solid #ECECEC; border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px rgba(15, 83, 80, 0.08); }
.ticket__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed #ECECEC; margin-bottom: 14px; }
.ticket__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.ticket__pro-name { font-weight: 700; color: #293039; font-size: 16px; }
.ticket__pro-cat { font-size: 12px; color: #51565D; }
.ticket__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.ticket__row-label { color: #51565D; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; font-weight: 700; }
.ticket__row-value { color: #293039; font-weight: 600; }
.ticket__slot { display: flex; margin-top: 16px; padding-top: 16px; border-top: 1px dashed #ECECEC; }
.ticket__slot-col { flex: 1; }
.ticket__slot-col--r { text-align: right; }
.ticket__slot-caption { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #51565D; font-weight: 700; margin-bottom: 4px; }
.ticket__slot-value { display: block; font-size: 15px; font-weight: 700; color: #293039; }
.ticket__slot-rule { width: 1px; background: #ECECEC; margin: 0 14px; }

/* Dark commit screen — invert palette (isCommitScreen: true on confirm step) */
.wizard-body--dark { background: #143C3A; color: #EDF4F3; }
.wizard-body--dark .wizard-shell { background: #1D5551; color: #EDF4F3; border-color: #266560; }
.wizard-body--dark .wizard-sub { color: #7CA673; }
.wizard-body--dark .wizard-note { color: #C9DCD8; }
.wizard-urgent { max-width: 960px; margin: 8px auto 40px; padding: 0 12px; }
.wizard-wellnessnote { max-width: 960px; margin: 0 auto 8px; padding: 0 12px; }
.wizard-urgent .mn-urgent { padding: 0; }
.wizard-body--dark .wizard-urgent .mn-urgent__card { background: #1D5551; border-color: #266560; }
.wizard-body--dark .wizard-urgent .mn-urgent__heading, .wizard-body--dark .wizard-urgent .mn-urgent__body { color: #EDF4F3; }
.wizard-body--dark .wizard-h1 { color: #EDF4F3; }
.wizard-body--dark .bill { background: #143C3A; border-color: #266560; }
.wizard-body--dark .bill__caption { color: #7CA673; }
.wizard-body--dark .bill__row { color: #D1E8D5; border-bottom-color: rgba(124, 166, 115, 0.25); }
.wizard-body--dark .bill__row--total { color: #fff; border-top-color: #7CA673; }
.wizard-body--dark .ticket { background: #FBF9F0; color: #143C3A; border-color: transparent; }
.wizard-body--dark .consent { background: #143C3A; color: #EDF4F3; }
.wizard-body--dark .consent a { color: #7CA673; }
.wizard-body--dark .btn-link { color: #EDF4F3; text-decoration: none; font-weight: 600; }
.wizard-body--dark .btn-link:hover { color: #7CA673; }
.wizard-body--dark .btn-link .btn_icon i { color: #EDF4F3; }
/* The CTA kept its light-screen #0F5350 on the #1D5551 card, so it all but
   vanished — doubly so at 0.6 opacity before the consent box is ticked —
   and only showed on hover (request 2026-10-01). On the dark screen it is
   the cream of the ticket with dark text; before consent it stays a
   visible light pill, just quieter, so people can see what they unlock. */
.wizard-body--dark .wizard-cta { background: #FBF9F0; color: #143C3A; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.wizard-body--dark .wizard-cta:hover:not(:disabled),
.wizard-body--dark .wizard-cta:focus-visible { background: #7CA673; color: #143C3A; }
.wizard-body--dark .wizard-cta:focus-visible { outline: 2px solid #FBF9F0; outline-offset: 3px; }
.wizard-body--dark .wizard-cta:disabled { background: #FBF9F0; color: #143C3A; opacity: 0.55; box-shadow: none; }

/* Done screen */
.done-shell { max-width: 520px; padding: 48px 40px; }
.done-shell__glyph { width: 72px; height: 72px; border-radius: 50%; background: #7CA673; margin: 0 auto 24px; position: relative; }
.done-shell__glyph::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 28px; height: 14px;
  border-left: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(-45deg) translate(4px, -6px);
}

/* ============================================
   Wizard bits (phase indicator, dark commit screen)
   ============================================ */
.wizard-topbar .phase-indicator {
  display: inline-flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.phase-indicator__dot {
  width: 32px;
  height: 4px;
  background: #E2E4E7;
  border-radius: 100px;
}
.phase-indicator__dot.is-done { background: #7CA673; }
.phase-indicator__dot.is-active { background: #0F5350; }

.wizard-body--dark { background: #1F3E3A; color: #EDF4F3; }
.wizard-body--dark .site_header,
.wizard-body--dark .wizard-topbar { background: transparent; }
.wizard-body--dark .site_logo img { filter: brightness(0) invert(1); }
.wizard-body--dark .page_title { color: #EDF4F3; }
.wizard-body--dark a { color: #7CA673; }

.wizard-body--dark .commit-ticket {
  background: #FBF9F0;
  color: #293039;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Wizard topbar spacing + back button + responsiveness */
.wizard-topbar {
  padding: 12px 0;
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: clip;
}
.wizard-topbar .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-left: -6px !important;
  margin-right: -6px !important;
}
.wizard-topbar .row > [class*="col-"] {
  padding-left: 6px !important;
  padding-right: 6px !important;
  min-width: 0 !important;
}
.wizard-topbar .site_logo {
  display: flex;
  align-items: center;
}
.wizard-topbar .site_logo img {
  max-height: 30px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}
.wizard-topbar .btn-link {
  font-weight: 600; font-size: 14px; white-space: nowrap !important;
  color: #293039; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 100%;
}
.wizard-topbar .btn-link:hover { color: #0F5350; }
.wizard-body--dark .wizard-topbar .btn-link,
.wizard-body--dark .wizard-topbar .btn-link .btn_icon,
.wizard-body--dark .wizard-topbar .btn-link .btn_icon i,
.wizard-body--dark .wizard-topbar .btn-link .btn_text { color: #EDF4F3 !important; }
.wizard-body--dark .wizard-topbar .btn-link:hover,
.wizard-body--dark .wizard-topbar .btn-link:hover .btn_text { color: #7CA673 !important; }

@media (max-width: 575.98px) {
  .wizard-topbar { padding: 10px 0; }
  .wizard-topbar .site_logo img { max-height: 24px !important; }
  .wizard-topbar .btn-link { font-size: 13px; gap: 4px; }
  .wizard-topbar .btn-link .btn_icon { font-size: 12px; }
  .wizard-topbar .phase-indicator { gap: 5px !important; }
  .phase-indicator__dot { width: 18px !important; height: 3.5px !important; }
}

/* Page body overflow containment — stop horizontal wobbling/scroll */
html, body {
  max-width: 100%;
}
html:has(.wizard-body) {
  overflow-x: clip;
  max-width: 100vw;
}
.wizard-body {
  min-height: 100vh;
  overflow-x: clip !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}
.wizard-body--dark {
  min-height: 100vh;
  overflow-x: clip !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================
   Concern / legal page mini-TOC
   ============================================ */
.mn-toc {
  position: sticky;
  top: 100px;
  padding: 20px;
  background: #EDF4F3;
  border-radius: 16px;
  font-size: 14px;
}
.mn-toc h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: #0F5350; margin-bottom: 12px; }
.mn-toc ul { list-style: none; padding: 0; margin: 0; }
.mn-toc li { margin-bottom: 8px; }
.mn-toc a { color: #293039; }
.mn-toc a:hover { color: #0F5350; }

/* ============================================
   Legal page meta block (dl at foot of each legal page)
   ============================================ */
.mn-legal-meta {
  margin: 40px 0 0;
  padding: 24px;
  background: #EDF4F3;
  border-radius: 16px;
  font-size: 14px;
  color: #293039;
}
.mn-legal-meta > div { display: grid; grid-template-columns: 200px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dashed rgba(15, 83, 80, 0.2); }
.mn-legal-meta > div:last-child { border-bottom: none; }
.mn-legal-meta dt { font-weight: 700; color: #0F5350; margin: 0; }
.mn-legal-meta dd { margin: 0; color: #293039; }
@media (max-width: 640px) { .mn-legal-meta > div { grid-template-columns: 1fr; gap: 2px; } }

/* ============================================
   Draft-review amber band (used on some legal pages)
   ============================================ */
.mn-draft-band {
  background: #EFF5EC;
  border: 1px solid #7CA673;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 14px;
  color: #7A5108;
}
.mn-draft-band strong { color: #513500; }

/* ============================================
   Prose (long-form article body inside .post_body / legal content)
   ============================================ */
.post_body p,
.mn-legal-body p { font-size: 17px; line-height: 28px; margin-bottom: 18px; }
.post_body h2,
.mn-legal-body h2 { margin-top: 36px; margin-bottom: 14px; font-size: 28px; color: #293039; }
.post_body h3,
.mn-legal-body h3 { margin-top: 28px; margin-bottom: 10px; font-size: 22px; color: #293039; }
.post_body ul,
.post_body ol,
.mn-legal-body ul,
.mn-legal-body ol { margin: 0 0 20px 20px; }
.post_body li,
.mn-legal-body li { margin-bottom: 8px; line-height: 26px; }
.post_body a,
.mn-legal-body a { color: #0F5350; text-decoration: underline; }

/* ============================================
   Radio-card grid (used across wizard + check-in)
   ============================================ */
.mn-radio-card-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mn-radio-card {
  position: relative;
  padding: 22px;
  border: 2px solid #ECECEC;
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
  display: block;
}
.mn-radio-card:hover { border-color: #0F5350; }
.mn-radio-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.mn-radio-card:has(input:checked),
.mn-radio-card.is-selected { border-color: #0F5350; background: #EDF4F3; }
.mn-radio-card__title { font-weight: 700; color: #293039; display: block; margin-bottom: 6px; }
.mn-radio-card__desc { font-size: 14px; color: #51565D; margin: 0; }

/* ============================================
   Footer menu tweaks (template ships a heavier pattern; ours is simple)
   ============================================ */
/* ============================================
   Mega footer — dark teal (#0A3B39) with brand block + 4 grouped columns
   ============================================ */
.site_footer.bg_primary,
.mn-mega-footer { background: #0A3B39; color: #fff; }
/* The footer is a .container now, like every section above it, so its side
   padding is the site's own 15px and its edges line up with the content it
   sits under. The old .container-fluid override (40px / 24px) is gone with it.

   Top and bottom are one value, so the band is symmetrical: the space under
   the last link matches the space above the logo.

   60px rather than the reference's 78: the whole footer has to land inside
   one screenful, and the Concerns column is nine links deep. See the
   max-height block at the end of this section, which tightens it again on
   short viewports. */
.mn-mega-footer { padding: 60px 0; }
@media (max-width: 991.98px) {
  .mn-mega-footer { padding: 48px 0; }
}

.mn-mega-footer__top { margin-bottom: 0; }

/* Build credit. Sits under the columns on a hairline, quieter than any link
   above it so it reads as a footnote rather than as navigation. The top
   margin is the footer's own rhythm; the rule is the same 0.15 white as the
   old copyright divider. */
.mn-mega-footer__credit {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
/* The developer name is the only link in this line, so it is underlined to
   say so — at 60% white against a 60% white sentence, colour alone would not
   have carried it. Brightens to full white on hover and focus. */
.mn-mega-footer__credit a,
.mn-mega-footer__credit a:visited {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.mn-mega-footer__credit a:hover,
.mn-mega-footer__credit a:focus { color: #fff; }

/* Brand column — white logo, phone/email, address, socials, CTA */
.mn-mega-footer__brand { max-width: 380px; }
/* 34px, down from 44px. The reference's wordmark is about 37px tall on a
   1900px screen and ours is a wider lockup (1356x233, so 5.8:1 against its
   4.8:1) — at 44px it ran 256px wide and dominated the column. display:block
   drops the inline line-box padding under it, so the gap below the logo is
   the margin and nothing else, which is what lets the column headings line up
   with it. */
.mn-mega-footer__logo { display: block; margin-bottom: 18px; }
/* The sign-off replaces the logo below lg; above it, the logo stands and this
   is not rendered. Hidden rather than left out of the markup because the swap
   is a breakpoint, which the template cannot see. */
.mn-mega-footer__signoff { display: none; }
.mn-mega-footer__logo img {
  display: block;
  max-height: 34px; width: auto;
  filter: brightness(0) invert(1);
}
.mn-mega-footer__contact { list-style: none; padding: 0; margin: 0; }
.mn-mega-footer__contact li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.9); font-size: 15px;
  padding: 6px 0;
}
.mn-mega-footer__contact i {
  width: 16px; text-align: center;
  color: #7CA673; font-size: 13px; flex: none;
}
.mn-mega-footer__contact a,
.mn-mega-footer__contact a:visited { color: #fff; }
.mn-mega-footer__contact a:hover { color: #7CA673; }

/* Grouped link grid — one track per nav.footer group */
.mn-mega-footer__grid { row-gap: 24px; }

/* The columns are marked col-md-3, which fits exactly four per row. A fifth
   group ("Partnership programs") would drop to a row of its own and sit
   alone under the others.

   Swapped for a grid, so the row takes however many groups the data holds and
   re-flows on its own; adding a sixth group later needs no CSS change.

   Gated at lg, not md: below 992px the groups are accordion rows rather than
   columns (see the block after this one), so the grid must not be in force
   there — a tablet showed four cramped tracks where the reference shows four
   full-width rows. */
@media (min-width: 992px) {
  .mn-mega-footer__grid {
    display: grid;
    /* Equal tracks, not auto-fit: the reference spaces its columns evenly
       whatever their content length, and auto-fit sized them off the widest
       label so "Partnership programs" got a wider track than "Services".

       The count is set inline by footer.njk from nav.footer.groups, so the
       row always has exactly as many tracks as there are groups. */
    grid-template-columns: repeat(var(--mn-footer-cols, 4), minmax(0, 1fr));
    column-gap: 24px;
  }
  /* Neutralise the Bootstrap column box so the grid controls the track. */
  .mn-mega-footer__grid > [class*="col-"] {
    width: 100%;
    max-width: none;
    flex: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ---- Footer groups: columns on desktop, accordion below lg ----

   The markup is a <button> over a Bootstrap .collapse at every width, because
   the template cannot branch on viewport. These two blocks decide which of
   the two it behaves as. */

/* Desktop: the button is the heading it was. The panel is forced open, so
   Bootstrap's collapse state is irrelevant here; initFooterAccordion in
   assets/js/main.js reports aria-expanded="true" to match. */
@media (min-width: 992px) {
  .mn-mega-footer__toggle {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: default;
  }
  .mn-mega-footer__chevron { display: none; }
  /* height/visibility as well as display: .collapsing carries an inline
     height mid-animation, which would otherwise clip the list if the window
     is widened while a panel is animating. */
  .mn-mega-footer__panel {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
}

/* Phone and tablet: one full-width row per group, heading left, chevron
   right, a hairline between each — the reference's treatment. */
@media (max-width: 991.98px) {
  /* The vendor sheet has `.site_footer { text-align: center }` at
     max-width:991px — the same breakpoint as this block — which centred every
     accordion link, the address and the CTA. Undone here for the footer only.
     .mn-mega-footer__credit keeps its own `text-align: center`: a rule on the
     element beats one inherited from an ancestor. */
  .mn-mega-footer { text-align: left; }

  /* The link groups come first and the brand block follows, as in the
     reference. .mn-mega-footer__top is a Bootstrap .row, so it is already
     flex and only needs the order. */
  .mn-mega-footer__top > .col-lg-3 { order: 2; }
  .mn-mega-footer__top > .col-lg-9 { order: 1; }

  .mn-mega-footer__grid { row-gap: 0; }
  /* Bootstrap's col-sm-6 would pair these two-up from 576px. Full width at
     every size below lg instead. */
  .mn-mega-footer__group {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Two class names deep on purpose. The unscoped .mn-mega-footer__heading
     block further down this file (the desktop styling) sets
     `margin: 3px 0 18px` at the same specificity but LATER in source, so a
     single-class rule here loses to it and 21px of margin stayed on every
     heading at every width. That margin is what kept the accordion rows from
     tightening no matter what padding the toggle was given. */
  .mn-mega-footer .mn-mega-footer__heading { margin: 0; font-size: 0; }
  .mn-mega-footer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    /* 7px top and bottom, set deliberately. The 27px line plus 14px of
       padding is 41px, which is under the 44px minimum tap target these rows
       would normally have to clear — the reason the padding was 20px
       originally, then 12px, then 9px. Chosen for density over that
       allowance; if the rows prove fiddly to tap on a phone, add height back
       here rather than anywhere else. */
    padding: 9px 0;
    min-height: 44px;
    border: 0;
    background: none;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
  }
  .mn-mega-footer__chevron {
    flex: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 200ms ease;
  }
  /* Bootstrap puts .collapsed on the button whenever its panel is shut, so
     the chevron points down closed and up open with no JS of our own. */
  .mn-mega-footer__toggle:not(.collapsed) .mn-mega-footer__chevron {
    transform: rotate(180deg);
  }

  /* The gap under an open panel's last link, before the next heading's
     border. 7px, to match the toggle padding and the spacing between the
     links themselves. */
  .mn-mega-footer__panel .mn-mega-footer__linklist { padding-bottom: 7px; }
  .mn-mega-footer__linklist li { padding: 6px 0; }
  .mn-mega-footer__linklist a,
  .mn-mega-footer__linklist a:visited {
    font-size: 16px;
    color: #fff;
    /* Underlined, as in the reference: inside an opened panel these are the
       only interactive things, and colour alone does not mark them. */
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  /* The desktop hover nudge would fire on tap here and shift the row. */
  .mn-mega-footer__linklist a:hover { padding-left: 0; }

  /* Logo out, sign-off in. */
  .mn-mega-footer__logo { display: none; }
  .mn-mega-footer__signoff {
    display: block;
    margin: 0 0 12px;
    font-family: var(--bs-font-heading), inherit;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
    text-align: center;
  }

  /* The brand block sits under the last accordion row, so it needs some of
     the space the row gap used to give it — but 32px reopened the gap the
     tighter rows above had just closed. */
  .mn-mega-footer__brand { padding-top: 20px; }

  /* Below the icons: the credit line carried 40px of margin plus 24px of
     padding above its rule, 64px in all, which on a phone left the social row
     stranded well clear of everything under it. Halved to 32px total. Two
     class names so this cannot be undone by the unscoped .mn-mega-footer__credit
     block earlier in the file — the same cascade trap the headings hit. */
  .mn-mega-footer .mn-mega-footer__credit {
    margin-top: 20px;
    padding-top: 12px;
  }

  /* And the footer's own floor under the credit line. */
  .mn-mega-footer { padding-bottom: 32px; }

  /* Phone, email and postal address come out below lg. All three are one tap
     away from the social row directly underneath (WhatsApp, mail, call), so
     on a phone they were the same three details listed twice. Desktop keeps
     them, where there is room and no icon row alternative. */
  .mn-mega-footer__contact,
  .mn-mega-footer__address { display: none; }

  /* Reorder to tagline -> CTA -> icons. The CTA is last in the DOM because
     that is the desktop order; flex `order` moves it without a second copy
     in the markup. */
  /* The 380px cap is a desktop measure — it keeps the brand column narrow
     next to the link columns. Below lg the column is full width, so that cap
     left the whole centred stack (sign-off, CTA, icons) sitting in a 380px
     box pinned to the left edge: centred inside itself, visibly off-centre on
     the page. `margin-inline: auto` centres the box, so the stack lines up
     with the middle of the footer. The cap itself stays — without it the
     sign-off would run the full width of a tablet. */
  .mn-mega-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
  .mn-mega-footer__logo    { order: 1; }
  .mn-mega-footer__signoff { order: 2; }
  .mn-mega-footer__cta     { order: 3; margin-top: 0; }
  .mn-mega-footer__social  { order: 4; margin-top: 22px; }

  /* align-self, not width: the CTA is inline-flex and would otherwise stretch
     to the full column now that it is a flex child. Centred, with the icon
     row under it centred too. The tagline above stays left-aligned — it is a
     sentence, and centring a line of prose here would leave a ragged edge
     against the link columns above. */
  .mn-mega-footer__cta { align-self: center; }
  .mn-mega-footer__social { justify-content: center; }
}
/* Brand column, laid out to the client's reference: the address under the
   contact list, then the social row, then the CTA. */
.mn-mega-footer__address {
  margin: 16px 0 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
/* Bare glyphs on the ground, not 38px bordered tiles. The reference sets its
   icons straight on the background at about 22px; the boxed version read as a
   row of buttons and was the heaviest thing in the column. */
.mn-mega-footer__social {
  display: flex;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.mn-mega-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1;
  transition: color 160ms ease;
}
.mn-mega-footer__social a:hover {
  color: #7CA673;
}
/* The reference's pill button, in our palette: solid on the brand ground so
   it reads as the one action in the column. */
.mn-mega-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 30px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.mn-mega-footer__cta:hover,
.mn-mega-footer__cta:focus { background: #FFECBE; color: var(--mn-brand-dark); }

/* Reference treatment: a plain white heading at reading size, no rule under
   it, no uppercasing. The old 13px green all-caps label with a border made
   each column look like a boxed widget rather than a list with a title.
   The font family is still ours.

   3px of top margin optically centres the 27px heading line against the 34px
   logo beside it, so the five column titles sit on the wordmark's midline —
   the alignment the reference has. */
.mn-mega-footer__heading {
  font-family: var(--bs-font-heading), inherit;
  font-size: 20px; font-weight: 700;
  text-transform: none; letter-spacing: 0;
  color: #fff;
  margin: 3px 0 18px;
  padding-bottom: 0;
  border-bottom: 0;
}
/* The reference runs a 50px pitch on 19px links — about 2.6x the type size.
   9px of padding on a 15px/1.5 line gives the same ratio at our scale, which
   is what makes the columns breathe the way they do there. */
.mn-mega-footer__linklist { list-style: none; padding: 0; margin: 0; }
.mn-mega-footer__linklist li { padding: 7px 0; }
.mn-mega-footer__linklist a,
.mn-mega-footer__linklist a:visited {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}
.mn-mega-footer__linklist a:hover {
  color: #7CA673;
  padding-left: 4px;
}

/* Narrower desktop: the tracks tighten, so the heading comes down a step —
   20px next to a 15px link reads as a title in a wide column and as a shout
   in a narrow one.

   Floored at 992px. It used to be an open-ended max-width, which reached
   below lg as well and, sitting later in the file than the accordion block
   above, quietly put 18px back under every accordion heading and undid the
   `margin: 0` there. Below lg the button owns its own type and spacing. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .mn-mega-footer__heading { font-size: 18px; margin-bottom: 18px; }
}

/* Short viewports — a 1366x768 laptop leaves roughly 640px of page once the
   browser chrome is off. The values above put the footer at about 510px,
   which fits, but only just; these take it to about 440px so the whole band
   lands in one screenful with room to spare.

   Keyed on height, not width, because that is the actual constraint: a wide
   but short window is the case that fails. Width-gated to desktop so it never
   fights the stacked mobile layout, where the footer is tall by design and
   scrolling it is expected. */
@media (min-width: 992px) and (max-height: 820px) {
  .mn-mega-footer { padding: 44px 0; }
  .mn-mega-footer__heading { font-size: 18px; margin-bottom: 14px; }
  .mn-mega-footer__linklist li { padding: 5px 0; }
  .mn-mega-footer__logo { margin-bottom: 14px; }
  .mn-mega-footer__contact li { padding: 5px 0; }
  .mn-mega-footer__address { margin-top: 14px; }
  .mn-mega-footer__social { margin-top: 16px; }
  .mn-mega-footer__cta { margin-top: 18px; height: 44px; }
  /* The credit line adds ~85px of its own; trimmed here too, or it would
     undo the saving the rest of this block makes. */
  .mn-mega-footer__credit { margin-top: 26px; padding-top: 16px; }
}

.social_icons_group { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social_icons_group a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.social_icons_group a:hover { background: #7CA673; color: #1B160C; }

/* Wizard body's dark commit variant — keep footer subordinate */
.wizard-body--dark .site_footer { background: #0A3B39; }

/* .mn-footer-crisis — removed 2026-08-27 per user request. Emergency
   context is still surfaced via /contact/ "If it's an emergency" section
   and the /legal/emergency/ page. */

/* ============================================
   Cover image on blog cards without an image asset yet
   ============================================ */
.blog_item:not(:has(.blog_image)) .blog_content { padding-top: 32px; }

/* Small-viewport nav dropdown collapse (Bootstrap default falls short here) */
@media (max-width: 991.98px) {
  .main_menu_list { padding: 20px 0; }
  .main_menu_list .dropdown-menu { display: none; position: static; float: none; box-shadow: none; margin: 0 0 0 20px; padding-left: 0; border: 0; background: transparent; }
  .main_menu_list .dropdown.show .dropdown-menu { display: block; }
  /* Touch fix (2026-09-29). The theme opens a dropdown on :hover, and a
     phone keeps the tapped row in its hover state after the tap, so a
     submenu that Bootstrap had just closed stayed on screen and the next
     tap landed on the wrong row. Below lg, hover never shows a menu; only
     Bootstrap's .show does. */
  .main_menu_list .dropdown:hover > .dropdown-menu:not(.show) { display: none; }
}

/* ============================================
   Pro card — name + photo now deep-link to /team/{slug}/, and the foot
   carries two actions (outlined Profile, filled Book) instead of one.
   ============================================ */
.mn-pro-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mn-pro-card__name a:hover,
.mn-pro-card__name a:focus { color: var(--mn-teal-text); }

.mn-pro-card__actions { display: inline-flex; align-items: center; gap: 6px; }

.mn-pro-card__profile {
  display: inline-flex; align-items: center;
  padding: 6px 11px; border-radius: 100px;
  border: 1px solid var(--mn-teal-text);
  color: var(--mn-teal-text);
  font-size: 12px; font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}
.mn-pro-card__profile:hover,
.mn-pro-card__profile:focus { background: var(--mn-teal-text); color: #fff; }

/* ============================================
   Therapist profile page — /team/{slug}/  (prefix: .mn-tp)
   Layout mirrors the reference profile the client shared: grid-paper page,
   sticky left spec-card (labelled name/specialty + cut-out portrait + an
   experience strip), then a white panel holding "Concerns I can help with"
   (tilted list card), "Issues I can help with" (chips), the bio, and the FAQ.
   Palette + type are MindNalam's, not the reference site's.
   ============================================ */
.mn-tp {
  /* No .page_banner on this template, so clear the fixed header here. */
  padding: 118px 0 56px;
  background-color: #EDF4F3;
  background-image:
    linear-gradient(rgba(15, 83, 80, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 83, 80, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mn-tp__inner {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* ---------- left column ---------- */
.mn-tp__aside {
  width: 352px; flex: none;
  position: sticky; top: 110px; align-self: flex-start;
  display: flex; flex-direction: column; gap: 12px;
}

.mn-tp__cardwrap { position: relative; }

.mn-tp__card {
  position: relative;
  transform: rotate(-1deg);
  min-height: 200px;
  background: #fff;
  border: 0.5px solid #F0F3F3;
  border-radius: 12px;
  padding: 16px 14px 46px;
  box-shadow: 0 14px 34px rgba(15, 83, 80, 0.10);
  overflow: hidden;
}
.mn-tp__brand {
  font-family: var(--bs-font-heading), inherit;
  font-size: 16px; font-weight: 600; color: #1B160C;
  line-height: 1.2; margin: 0 0 12px;
}
.mn-tp__cardrow { display: flex; align-items: flex-start; gap: 12px; }
.mn-tp__fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mn-tp__field { display: flex; flex-direction: column; gap: 6px; }

.mn-tp__label {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--mn-teal-text);
  margin: 0;
}
.mn-tp__value {
  font-family: var(--bs-font-heading), inherit;
  font-size: 16px; font-weight: 700; color: #1B160C;
  line-height: 1.2; letter-spacing: 0.02em;
  margin: 0;
}

.mn-tp__photo {
  position: relative; flex: none;
  width: 97px; aspect-ratio: 34 / 37;
  border: 2px solid var(--mn-teal-text);
  border-radius: 4px;
  background: #EFF5EC;
  overflow: hidden;
}
.mn-tp__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.mn-tp__photo > .mn-sample-ribbon {
  top: 4px; right: 4px; font-size: 8px; padding: 2px 4px; border-radius: 3px;
}

.mn-tp__strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 9px 14px;
  background: linear-gradient(270deg, #DAE7E6 -78%, var(--mn-teal-text) 103%);
  color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  line-height: 1.2;
}

.mn-tp__sticker {
  position: absolute; right: 26px; top: -18px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #7CA673; color: #1B160C;
  font-size: 16px;
  transform: rotate(-10deg);
  box-shadow: 0 8px 16px rgba(14, 18, 27, 0.14);
  border: 2px solid #fff;
}

.mn-tp__meta {
  background: #fff;
  border: 0.5px solid #F0F3F3;
  border-radius: 12px;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 8px 22px rgba(15, 83, 80, 0.06);
}
.mn-tp__metavalue {
  font-size: 15px; font-weight: 400; color: #171717;
  line-height: 1.35; margin: 0;
}
.mn-tp__verified {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px;
  font-size: 11px; font-weight: 700; color: var(--mn-teal-text);
  white-space: nowrap;
}
.mn-tp__verified i { font-size: 11px; }
/* Item 14: the badge reads as a badge, not a text link. */
.mn-tp__verifydetails--badge > summary.mn-tp__verified {
  margin: 8px 0 0; padding: 8px 12px; border-radius: 999px;
  background: rgba(30,74,56,0.08); border: 1px solid rgba(30,74,56,0.18);
  font-size: 12px; white-space: normal; line-height: 1.3;
}
.mn-tp__verifydetails--badge > summary.mn-tp__verified:hover { background: rgba(30,74,56,0.14); }
.mn-tp__verifydetails--badge[open] > summary.mn-tp__verified { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mn-tp__regstatus { margin: 2px 0 0; font-size: 12px; color: #51565D; }
.mn-tp__regstatus--registered { color: var(--mn-teal-text); }
.mn-tp__regstatus--pending { color: #a65b00; }
.mn-verified-chip {
  display: inline-flex; align-items: center; gap: 5px; margin: 6px 6px 0 0;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: rgba(30,74,56,0.08); color: var(--mn-teal-text); text-decoration: none;
  border: 1px solid rgba(30,74,56,0.18);
}
.mn-verified-chip:hover { background: rgba(30,74,56,0.14); color: var(--mn-teal-text); }
.mn-tp__field[data-pro-slug] .mn-pro-card__slot-label { font-weight: inherit; }

.mn-tp__voice .mn-pro-card__voice-btn { width: 100%; justify-content: center; }

.mn-tp__book {
  display: flex; align-items: center; justify-content: center;
  height: 47px; padding: 12px 32px;
  border-radius: 32px;
  background: var(--mn-teal-text); color: #fff;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s ease;
}
.mn-tp__book:hover, .mn-tp__book:focus { background: #0A3B39; color: #fff; }

.mn-tp__back {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #51565D;
  transition: color 0.15s ease;
}
.mn-tp__back:hover, .mn-tp__back:focus { color: var(--mn-teal-text); }
.mn-tp__back i { font-size: 11px; }

/* ---------- right panel ---------- */
.mn-tp__panel {
  flex: 1; min-width: 0;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 40px;
  box-shadow: 0 14px 34px rgba(15, 83, 80, 0.06);
}
.mn-tp__section { display: flex; flex-direction: column; gap: 16px; }

.mn-tp__h2 {
  font-family: var(--bs-font-heading), inherit;
  font-size: 17px; font-weight: 700; color: #1B160C;
  line-height: 1.3; margin: 0;
}

.mn-tp__list {
  position: relative;
  transform: rotate(-1deg);
  display: flex; flex-direction: column;
  border: 1px solid #CEDFCA;
  border-radius: 12px;
  background: linear-gradient(125deg, #FFF 36%, rgba(255, 250, 235, 0.2) 163%);
  padding: 8px 12px;
}
.mn-tp__listrow {
  padding: 16px 8px;
  border-bottom: 1px solid rgba(254, 235, 167, 0.6);
}
.mn-tp__listrow:last-of-type { border-bottom: 0; }
.mn-tp__listrow p {
  margin: 0;
  font-size: 14px; font-weight: 500; color: #1B160C; line-height: 1.35;
}

.mn-tp__heart {
  position: absolute; right: 27px; bottom: -11px;
  width: 47px; height: 47px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #EFF5EC; color: #466E40;
  font-size: 17px;
  transform: rotate(1.371deg);
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(14, 18, 27, 0.10);
}

.mn-tp__chips { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.mn-tp__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 0.5px solid #E4EAEA;
  background: #fff;
  font-size: 14px; font-weight: 500; color: #1B160C;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mn-tp__chip i { color: var(--mn-teal-text); font-size: 12px; transition: color 0.15s ease; }
.mn-tp__chip:hover, .mn-tp__chip:focus {
  border-color: var(--mn-teal-text);
  background: var(--mn-teal-text);
  color: #fff;
}
.mn-tp__chip:hover i, .mn-tp__chip:focus i { color: #fff; }

.mn-tp__bio {
  margin: 0;
  font-size: 15px; line-height: 1.7; color: #293039;
}

.mn-tp__faq .accordion-item { border-radius: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .mn-tp { padding-top: 104px; }
  .mn-tp__inner { flex-direction: column; gap: 24px; }
  .mn-tp__aside {
    position: static; width: 100%; max-width: 420px;
  }
  .mn-tp__panel { width: 100%; }
}

@media (max-width: 575.98px) {
  .mn-tp { padding-top: 92px; background-size: 22px 22px; }
  .mn-tp__inner { padding: 0 16px; }
  .mn-tp__panel { padding: 24px 20px; gap: 32px; border-radius: 14px; }
  .mn-tp__photo { width: 84px; }
  .mn-tp__value { font-size: 15px; }
  .mn-tp__strip { font-size: 11px; letter-spacing: 0.07em; }
  .mn-tp__heart { right: 12px; width: 40px; height: 40px; font-size: 15px; }
}
/* ============================================
   Header CTA — render identically to the home-hero "Book a session" button
   (src/index.njk). The header block further up deliberately shrinks every
   .btn (padding 8px 14px, 13px text, 14px icon) and kills the template's
   hover text-slide; those rules are undone here for this one button, so it
   gets the full template treatment: padding 0 40px, arrow icon at 8px, and
   the label sliding up to reveal its data-text duplicate on hover.
   Selectors carry 4 classes to outrank the shrink rules, and !important to
   beat the `display:none !important` suppression on .btn_text::before.
   ============================================ */
.site_header .header_btns_group .btn.mn-header-cta {
  /* Same treatment as the hero button, scaled down for the header bar:
     the hero's 0 40px / 12px-14px would stand ~48px tall and crowd the nav. */
  padding: 0 24px;
  height: auto;
  border-radius: var(--bs-border-radius-lg);
  background: var(--mn-teal-text);
  border-color: var(--mn-teal-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  overflow: hidden;
}
.site_header .header_btns_group .btn.mn-header-cta:hover,
.site_header .header_btns_group .btn.mn-header-cta:focus {
  background: #0A3B39;
  border-color: #0A3B39;
  transform: translateY(-4px);
}
.site_header .header_btns_group .btn.mn-header-cta .btn_text {
  padding: 9px 0 10px;
  color: #fff;
  letter-spacing: normal;
  text-transform: none;
}
/* Re-enable the template's hover text-slide that the header block suppressed. */
.site_header .header_btns_group .btn.mn-header-cta .btn_text::before {
  display: block !important;
  content: attr(data-text) !important;
  top: 100%;
  left: 50%;
  width: 100%;
  position: absolute;
  transform: translateX(-50%);
}
.site_header .header_btns_group .btn.mn-header-cta:hover .btn_text {
  transform: translateY(-76%);
}
.site_header .header_btns_group .btn.mn-header-cta .btn_icon {
  width: auto; height: auto;
  margin-left: 7px;
  font-size: 12px;
  color: #fff;
}
.site_header .header_btns_group .btn.mn-header-cta .btn_icon i { font-size: 12px; }

/* Below the nav breakpoint the button shares the bar with the burger menu,
   so step it down again rather than let it push the logo. */
/* Below the nav breakpoint the header carries the logo, the language globe
   and the burger, and the CTA is dropped: the row was tight enough on small
   phones that it needed its own shrinking rules at three breakpoints, and
   "Book Now" is the first item in the menu behind the burger anyway.

   Every rule that sized it down for touch widths went with it — they only
   existed to keep a button that no longer renders here. */
@media (max-width: 991.98px) {
  .site_header .site_logo img { max-height: 28px; }
  .site_header .header_btns_group .btn.mn-header-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    min-height: 44px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 22px;
    white-space: nowrap;
    line-height: 1;
  }
  .site_header .header_btns_group .btn.mn-header-cta .btn_icon { display: none; }
  .site_header .header_btns_group .btn.mn-header-cta .btn_text { padding: 0; }
  .site_header .header_btns_group .btn.mn-header-cta .btn_text::before { display: none !important; }
}
@media (max-width: 575.98px) {
  .site_header .container-fluid { padding-left: 12px; padding-right: 12px; }
  .site_header .site_logo img { max-height: 24px; }
  .site_header .header_btns_group { gap: 6px; }
  .site_header .header_btns_group .btn.mn-header-cta {
    padding: 0 12px;
    min-height: 44px;
    font-size: 11.5px;
  }
}
@media (max-width: 400px) {
  .mn-langswitch-slot { display: none !important; }
  .site_header .header_btns_group .btn.mn-header-cta {
    padding: 0 10px;
    min-height: 36px;
    font-size: 10px;
    border-radius: 18px;
    letter-spacing: 0;
  }
  .site_header .site_logo img { max-height: 20px; min-width: 60px; }
  .site_header .header_btns_group { gap: 4px; }
  .site_header .container-fluid { padding-left: 8px; padding-right: 8px; }
}

/* The logo is the only flexible item in the mobile header row, so every
   overflow anywhere else is paid for out of it. In Tamil that bill is large:
   Book Now reads "இப்போது முன்பதிவு", roughly 40% wider than the English
   pill, and on a 390px row already carrying a burger and the language globe
   the mark was squeezed down to an unreadable sliver.

   Two halves to the fix, and both are needed: a floor under the logo so it
   can no longer be the release valve, and a smaller Tamil pill so the row
   still fits once it cannot. Setting only the floor would push the actions
   group off the edge instead, because the row is flex-nowrap. */
@media (max-width: 575.98px) {
  .site_header .site_logo img { min-width: 80px; }

  html[lang="ta-IN"] .site_header .header_btns_group .btn.mn-header-cta {
    padding: 6px 10px;
    font-size: 10.5px;
  }
}

/* 320px (iPhone SE-class) in Tamil is the tightest row on the site, and the
   floor above is not free: holding the logo at 104px left the actions group
   24px over the row. Give back a little of each - the logo drops to 88px,
   still legible, and the pill to 10.5px in a 6px inset - rather than taking
   it all from one
   and reintroducing the squashed mark this block exists to prevent. */
@media (max-width: 359.98px) {
  .site_header .site_logo img { min-width: 64px; max-height: 22px; }

  html[lang="ta-IN"] .site_header .header_btns_group .btn.mn-header-cta {
    padding: 5px 8px;
    font-size: 9.5px;
  }
}

/* ============================================================
   Team card v2 — replaces the compact horizontal card defined earlier in
   this file. Structure follows the reference marketplace card (see
   partials/pro-card.njk): stacked card, portrait bleeding off the right
   edge, scrollable specialisation chips, stat triplet, availability chip,
   and two actions of unequal weight. Later in the file = wins on equal
   specificity, so the earlier .mn-pro-card block is intentionally overridden
   rather than deleted (the wizard and concern pages still reference some of
   its child classes).
   ============================================================ */
.mn-pro-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 0;
  border-radius: 16px;
  border: 1px solid #E4EAEA;
}

.mn-pro-card__top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 0 20px;
  background: linear-gradient(180deg, #EDF4F3 0%, #FFFFFF 100%);
}
/* The portrait sets the row height, so the name block is centred against it
   rather than pinned to the top — otherwise the leftover height reads as a
   gap under the name. */
.mn-pro-card__id {
  min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 14px;
}

.mn-pro-card__name {
  font-family: var(--bs-font-heading), inherit;
  font-size: 19px; font-weight: 700; color: #1B160C;
  line-height: 1.2; margin: 0 0 4px;
}
.mn-pro-card__cat {
  font-size: 13px; font-weight: 600; color: var(--mn-teal-text);
  margin: 0;
}

/* Portrait bleeds to the right edge and sits on the card floor. */
.mn-pro-card .mn-pro-card__image {
  flex: none;
  width: 104px; height: 104px;
  align-self: flex-end;
  margin-right: -1px;
  border-radius: 0;
  overflow: hidden;
  background: none;
  display: flex; align-items: flex-end; justify-content: center;
}
.mn-pro-card .mn-pro-card__image::before { font-size: 40px; opacity: 0.35; }
.mn-pro-card .mn-pro-card__image::after { content: none; }
.mn-pro-card .mn-pro-card__image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

/* Specialisation chips — horizontally scrollable, no wrap. */
.mn-pro-card__tags {
  display: flex; flex-wrap: nowrap; gap: 6px;
  list-style: none; margin: 0; padding: 12px 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.mn-pro-card__tags::-webkit-scrollbar { display: none; }
.mn-pro-card__tags li {
  flex: none;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid #DCE8E7;
  background: #F6FAFA;
  font-size: 12px; font-weight: 600; color: #293039;
  white-space: nowrap;
}

.mn-pro-card__voice { padding: 12px 20px 0; }
.mn-pro-card__wave {
  display: inline-flex; align-items: flex-end; gap: 2px; height: 12px;
}
.mn-pro-card__wave i {
  width: 2px; border-radius: 1px; background: currentColor; opacity: 0.55;
}
.mn-pro-card__wave i:nth-child(1) { height: 5px; }
.mn-pro-card__wave i:nth-child(2) { height: 9px; }
.mn-pro-card__wave i:nth-child(3) { height: 12px; }
.mn-pro-card__wave i:nth-child(4) { height: 7px; }
.mn-pro-card__wave i:nth-child(5) { height: 11px; }
.mn-pro-card__wave i:nth-child(6) { height: 6px; }
.mn-pro-card__wave i:nth-child(7) { height: 9px; }

/* Stat triplet — experience / languages / price. */
.mn-pro-card__stats {
  display: flex; align-items: stretch;
  list-style: none; margin: 16px 20px 0; padding: 12px 0 0;
  border-top: 1px solid #EFF3F3;
  gap: 0;
}
.mn-pro-card__stats li {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding-right: 10px;
  border-right: 1px solid #EFF3F3;
}
.mn-pro-card__stats li + li { padding-left: 10px; }
.mn-pro-card__stats li:last-child { border-right: 0; padding-right: 0; }
.mn-pro-card__stats strong {
  font-family: var(--bs-font-heading), inherit;
  font-size: 14px; font-weight: 800; color: #1B160C;
  line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mn-pro-card__stats span {
  font-size: 10px; font-weight: 700; color: #7A8287;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.mn-pro-card__slot { margin: 14px 20px 0; }

/* Two actions, deliberately unequal weight. */
.mn-pro-card__foot {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 20px 20px 20px;
  padding-top: 0;
  border-top: 0;
}
.mn-pro-card__profile,
.mn-pro-card__book {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 12px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mn-pro-card__profile {
  border: 1px solid var(--mn-teal-text);
  color: var(--mn-teal-text);
  background: #fff;
}
.mn-pro-card__profile:hover,
.mn-pro-card__profile:focus { background: #DAE7E6; color: var(--mn-teal-text); }
.mn-pro-card__book {
  border: 1px solid var(--mn-teal-text);
  background: var(--mn-teal-text);
  color: #fff;
}
.mn-pro-card__book:hover,
.mn-pro-card__book:focus { background: #0A3B39; border-color: #0A3B39; color: #fff; }

.mn-pro-card > .mn-sample-ribbon { top: 10px; right: 10px; }

@media (max-width: 380px) {
  .mn-pro-card { grid-template-columns: none; }
  .mn-pro-card .mn-pro-card__image { width: 96px; height: 96px; }
  .mn-pro-card__stats strong { font-size: 13px; }
}

/* ============================================
   Nav fits 7 top-level items (Concerns was added 2026-08-27). The earlier
   header block sized the row for 6; tighten link padding and the gap so the
   menu still holds on one line through the 1200–1400px range it was warned
   about, and let the long Concerns dropdown scroll rather than overflow.
   ============================================ */
@media (min-width: 992px) {
  .site_header .main_menu_list { gap: 0; }
  .site_header .main_menu_list > li > .nav-link { padding: 8px 9px; font-size: 14px; }
}

/* Tamil nav labels run about half as long again as their English
   counterparts: measured on one line, the seven top-level items need 825px
   in Tamil against 559px in English. English therefore clears every width
   with 124-591px to spare, while Tamil is fighting for the last 30px at
   1440. Trimming its link padding and half a point of type buys back ~50px,
   which is the difference between one row and two from about 1400px up.

   It does NOT rescue 1024-1366px, where Tamil is 90-215px short however the
   type is tuned - no amount of tightening fits 825px of labels into 725px.
   That band needs a structural answer (fewer top-level items, or an earlier
   burger for Tamil), not a smaller font. */
@media (min-width: 992px) {
  html[lang="ta-IN"] .site_header .main_menu_list > li > .nav-link {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 13.5px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site_header .main_menu_list > li > .nav-link { padding: 8px 6px; font-size: 13px; }
  .site_header .container-fluid { padding-left: 16px; padding-right: 16px; }
}
.site_header .main_menu_list .dropdown-menu {
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

/* ============================================
   Enquiry CTA — the template's .section_heading has margin-bottom: 40px and
   the form adds .mt-4 (24px) on top, so heading-to-first-field was 64px on
   every page that includes partials/cta-form.njk. Halve it. Scoped to the
   consultation section so section headings elsewhere keep their rhythm.
   ============================================ */
.consultation_section .section_heading { margin-bottom: 0; }
/* The form itself carries Bootstrap .mt-4 (24px, !important) — that plus the
   heading margin was the whole gap under the description line. Cut it too. */
.consultation_section .mn-enquiry-form { margin-top: 14px !important; }
@media (max-width: 767.98px) {
  .consultation_section .mn-enquiry-form { margin-top: 10px !important; }
}

/* ============================================
   Therapist grid on concern pages — "Professionals experienced in {topic}".
   Matches the reference concern page's .oppam-card: tinted image panel with
   the portrait contained rather than cropped, centred name + role, a next-slot
   badge, filled Book now pill, underlined View profile beneath. Reference
   metrics kept (180px image, 20px radius, 20px gap, 4/3/2/1 columns); colours
   are MindNalam's — amber panel and badge, teal button.
   ============================================ */
.mn-ther-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.mn-ther-card {
  position: relative;
  background: #FBFBFB;
  border: 1px solid #EFF3F3;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.mn-ther-card:hover {
  border-color: var(--mn-teal-text);
  box-shadow: 0 14px 30px rgba(15, 83, 80, 0.10);
  transform: translateY(-3px);
}

.mn-ther-card__img {
  display: block;
  background: #EFF5EC;
  padding: 16px 16px 0;
}
.mn-ther-card__img img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
.mn-ther-card > .mn-ther-card__img > .mn-sample-ribbon { top: 10px; right: 10px; }

.mn-ther-card__content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 1;
}
.mn-ther-card__content h3 {
  font-family: var(--bs-font-heading), inherit;
  font-size: 15px; font-weight: 700; line-height: 1.25;
  margin: 0;
}
.mn-ther-card__content h3 a {
  color: #1B160C;
  transition: color 0.15s ease;
}
.mn-ther-card__content h3 a:hover,
.mn-ther-card__content h3 a:focus { color: var(--mn-teal-text); }

.mn-ther-card__role { font-size: 14px; color: #555; margin: 0; }

.mn-ther-card__slot { margin: 10px 0; font-size: 13px; color: #1B160C; }
.mn-ther-card__slot .mn-pro-card__slot-label {
  display: inline-block;
  background: #DBE8D7;
  padding: 4px 8px;
  border-radius: 6px;
  color: #1B160C;
  font-weight: 600;
}
.mn-ther-card__slot[data-state="no-slots"] .mn-pro-card__slot-label {
  background: #EFF3F3; color: #51565D;
}

.mn-ther-card__book {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: auto;
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--mn-teal-text);
  color: #fff;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mn-ther-card__book:hover,
.mn-ther-card__book:focus { background: #0A3B39; color: #fff; }
.mn-ther-card__book i { font-size: 11px; }

.mn-ther-card__profile {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  font-size: 13px;
  color: var(--mn-teal-text);
  text-decoration: underline;
}
.mn-ther-card__profile:hover,
.mn-ther-card__profile:focus { color: #0A3B39; }

@media (max-width: 1200px) {
  .mn-ther-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 881px) {
  .mn-ther-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .mn-ther-grid { grid-template-columns: 1fr; }
  .mn-ther-card__img img { height: 150px; }
}

/* ============================================
   Form spacing — the template's .btn_wrap is padding: 50px 0. Every form
   applies .pb-0, which kills the bottom but leaves 50px above the submit
   button; the reassurance and status paragraphs then add Bootstrap .mt-3
   (16px, !important) on top. Tighten both.

   Scoped with `form` so the hero and section .btn_wrap keep their 50px
   rhythm — only in-form button wraps shrink. The paragraph rules need
   !important to beat Bootstrap's own !important on .mt-3.
   ============================================ */
form .btn_wrap { padding-top: 24px; }

form .cta-form__reassure,
form .mn-enquiry-form__status { margin-top: 10px !important; }

@media (max-width: 767.98px) {
  form .btn_wrap { padding-top: 18px; }
  form .cta-form__reassure,
  form .mn-enquiry-form__status { margin-top: 8px !important; }
}

/* ============================================
   FAQ accordion — the template renders it flush: 24px type with
   `padding: 24px 0 23px` (no horizontal padding at all) and only a bottom
   hairline, so it reads as a bare list rather than a component, and any
   padding set on the item has nothing to act on. Rebuild it as cards.

   Selectors mirror the template's own `.accordion .accordion-item ...` shape
   so specificity matches; this file loads after style.css, so these win —
   including over the template's media-query variants at 20px/18px.
   Applies to all three FAQ accordions: home, concern pages, profile pages.
   ============================================ */
.accordion .accordion-item {
  background: #fff;
  border: 1px solid #E8ECEE;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accordion .accordion-item:last-child { margin-bottom: 0; }
.accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--mn-teal-text);
  box-shadow: 0 10px 26px rgba(15, 83, 80, 0.08);
}

.accordion .accordion-item .accordion-button {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: #1B160C;
  background-color: transparent;
  text-align: left;
}
.accordion .accordion-item .accordion-button:not(.collapsed) {
  color: var(--mn-teal-text);
  background-color: #EDF4F3;
  padding-bottom: 14px;
}
.accordion .accordion-item .accordion-button::after {
  flex: none;
  margin-left: auto;
  font-size: 15px;
  line-height: 1.45;
}

.accordion .accordion-item .accordion-body {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #51565D;
  background: #EDF4F3;
}

@media (max-width: 767.98px) {
  .accordion .accordion-item .accordion-button {
    padding: 15px 16px;
    font-size: 15px;
    gap: 12px;
  }
  .accordion .accordion-item .accordion-button:not(.collapsed) { padding-bottom: 12px; }
  .accordion .accordion-item .accordion-body { padding: 0 16px 15px; font-size: 14px; }
}

/* ============================================
   Contact page layout fix.

   The equal-height card rule further up this file lists .contact_section
   among the card-grid sections:

     .contact_section .row > [class*="col-"]      { display:flex; flex-direction:column }
     .contact_section .row > [class*="col-"] > *  { flex: 1 }

   That is right for a row of cards, but the form row's column holds a
   .section_heading AND a <form>, so both were given flex:1 and each stretched
   to half the column height — the heading floating in dead space above a
   squashed form. Opt the form row out; the info-box rows still get it.
   ============================================ */
.contact_section .mn-contact-main > [class*="col-"] { display: block; }
.contact_section .mn-contact-main > [class*="col-"] > * { flex: none; }

/* Apply page layout & aside cards alignment fix */
.contact_section .mn-apply-main > [class*="col-"] { display: flex; flex-direction: column; }
.contact_section .mn-apply-main > [class*="col-"] > * { flex: none; }

.mn-apply-aside-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.mn-apply-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.mn-apply-aside .contact_info_item {
  height: auto !important;
  flex: none !important;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ECECEC;
  box-shadow: 0 4px 16px rgba(15, 83, 80, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mn-apply-aside .contact_info_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 83, 80, 0.1);
}

.mn-apply-aside .contact_info_item .item_icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mn-apply-aside .contact_info_item .item_content {
  flex: 1;
  min-width: 0;
}

.mn-apply-aside .contact_info_item .item_title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #293039;
}

.mn-apply-aside .contact_info_item p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #51565D;
}

/* Aside column: stacked cards, natural height (not stretched to match form). */
.mn-contact-aside { display: flex; flex-direction: column; gap: 16px; }
.mn-contact-aside__card { height: auto; }
.mn-contact-aside__card .item_content p { line-height: 1.6; }
.mn-contact-aside__card small { color: #7A8287; }

/* Info-box row across the top — four equal cards. */
.mn-contact-boxes { margin-bottom: 8px; }
.mn-contact-boxes .contact_info_item { height: 100%; }

@media (max-width: 991.98px) {
  .mn-contact-aside { gap: 14px; }
  .mn-apply-aside { gap: 14px; margin-top: 16px; }
}

/* ============================================
   Contact page — colour + depth pass.
   Accent chips per contact method, a raised white form panel on the mint
   section, tinted aside cards, a framed map, and an amber crisis band so the
   emergency block reads as distinct from the mint sections around it.
   `--accent` variants are opt-in via info.accent, so /about/ and /apply/
   keep the original teal chip.
   ============================================ */
.contact_info_item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mn-contact-boxes .contact_info_item:hover {
  border-color: #D8E6E4;
  box-shadow: 0 14px 30px rgba(15, 83, 80, 0.10);
  transform: translateY(-3px);
}

/* Accent chips */
.contact_info_item--teal  .item_icon { background: #DAE7E6; color: #0F5350; }
.contact_info_item--sage  .item_icon { background: #EFF5EC; color: #466E40; }
.contact_info_item--clay  .item_icon { background: #DAE7E6; color: #0F5350; }
.contact_info_item--amber .item_icon { background: #EFF5EC; color: #466E40; }

/* Raised form panel */
.mn-contact-panel {
  background: #fff;
  border: 1px solid #E8ECEE;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 44px rgba(15, 83, 80, 0.08);
}
.mn-contact-panel__badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 100px;
  background: #DAE7E6;
  color: var(--mn-teal-text);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
}
.mn-contact-panel__badge i { font-size: 11px; }
.mn-contact-panel .section_heading { margin-bottom: 0; }
.mn-contact-panel .form_item input,
.mn-contact-panel .form_item select,
.mn-contact-panel .form_item textarea { background: #FBFDFD; }

/* Aside cards — tinted, with a left accent rule */
.mn-contact-aside__card {
  border-left: 3px solid #E8ECEE;
}
.mn-contact-aside__card--teal  { background: #EDF4F3; border-left-color: #0F5350; }
.mn-contact-aside__card--teal  .item_icon { background: #DAE7E6; color: #0F5350; }
.mn-contact-aside__card--sage  { background: #F3FAF5; border-left-color: #466E40; }
.mn-contact-aside__card--sage  .item_icon { background: #EFF5EC; color: #466E40; }
.mn-contact-aside__card--amber { background: #F3F8F1; border-left-color: #7CA673; }
.mn-contact-aside__card--amber .item_icon { background: #EFF5EC; color: #466E40; }

/* Framed map instead of a raw edge-to-edge iframe */
.mn-map { padding: 56px 0; background: #fff; }
.mn-map__wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #E8ECEE;
  box-shadow: 0 18px 44px rgba(15, 83, 80, 0.08);
  line-height: 0;
}
.mn-map__frame { border: 0; display: block; width: 100%; }

/* Crisis band — amber, so emergency info reads apart from the mint sections */
.mn-crisis {
  background: #F3F8F1;
  border-top: 1px solid #D7E4D3;
  border-bottom: 1px solid #D7E4D3;
}
.mn-crisis .contact_info_item { border-color: #D7E4D3; }

@media (max-width: 767.98px) {
  .mn-contact-panel { padding: 22px 18px; border-radius: 16px; }
  .mn-map { padding: 40px 0; }
  .mn-map__wrap { border-radius: 16px; }
}

/* The four contact-method cards are equal-height (h-100), so with the base
   `align-items: flex-start` the icon + text sat at the top with dead space
   beneath in whichever card was shorter. Centre the pair vertically.
   Scoped to .mn-contact-boxes: the crisis row and the /about/ and /apply/
   boxes keep top alignment, which suits their multi-line bodies. */
.mn-contact-boxes .contact_info_item { align-items: center; }

/* ============================================
   .consultation_form vertical padding.

   style.css:2735 sets `padding: 120px 35px` because the template used this
   class as a self-contained decorated panel (background + shape_leaf
   graphics). Our three forms sit inside their own sections/panels and carry
   no background, so that 120px top and bottom is pure dead space — and the
   responsive variants (_responsive.scss: 80px, 70px/80px, 60px) only soften
   it. Trim it to a 15px breathing gap; the surrounding section or panel
   supplies the rest of the rhythm.

   This rule sits after style.css and matches its specificity, so it also
   beats the media-query variants. Horizontal padding is left alone.
   ============================================ */
.consultation_form { padding-top: 15px; padding-bottom: 15px; }

/* ============================================
   Inner-page banner — matches the reference about-us banner: a tall tinted
   band with a centred eyebrow chip above a large centred headline.
   Reference metrics kept: 120px vertical padding (100/90/60 stepping down),
   15px gap between stacked items, headline 54px/62px at weight 700 capped at
   708px (40px/45px and 591px → 524px on smaller screens).
   Their coral #FF9D92 + SVG becomes a MindNalam mint band with the pattern
   drawn in CSS, so no new image asset is needed.
   The home page uses .page_hero_section and is untouched by any of this.
   ============================================ */
.page_banner.mn-banner {
  padding: 120px 0;
  overflow: hidden;
  position: relative;
  /* Backdrop SVG over the mint base, same treatment as the reference
     (centred, no-repeat, full width). banner-pattern.svg is ours — arcs and
     blooms in brand teal/amber, authored rather than lifted. The gradient
     underneath keeps the band from looking flat where the SVG runs out on
     very wide or very short viewports.

     The SVG fills the band in both axes rather than sitting at `100% auto`.
     At its natural 1440x416 ratio a band taller than the artwork left flat
     mint strips along the top and bottom edges — the same failure the
     <=991px block below describes, which only showed up here once /careers/
     added a banner lede and made the band taller than every other page's.
     `cover` would crop the two corner blooms out (they sit at x=150 and
     x=1300 of 1440), so the artwork is scaled instead: at real banner
     heights that is under 10% of vertical stretch on low-opacity arcs and
     soft blooms, which is not perceptible, and nothing is lost off the
     edges. */
  background-color: #DAE7E6;
  background-image:
    url("/assets/images/banner-pattern.svg"),
    radial-gradient(circle at 50% 118%, rgba(15, 83, 80, 0.14) 0%, transparent 60%);
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
}
.mn-banner__inner { position: relative; z-index: 1; }

.mn-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.mn-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 83, 80, 0.16);
  color: var(--mn-teal-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mn-banner__chip i { font-size: 7px; }

.page_banner .mn-banner__title {
  max-width: 708px;
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 62px;
  color: #1B160C;
}

.mn-banner__lede {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #3F4A4E;
}

.mn-banner__crumbs {
  margin: 6px 0 0;
  font-size: 13px;
}
.mn-banner__crumbs > li { color: #51565D; font-size: 13px; }
.mn-banner__crumbs > li a { color: var(--mn-teal-text); }

@media (max-width: 1199.98px) {
  .page_banner.mn-banner { padding: 100px 0; }
  .page_banner .mn-banner__title { max-width: 591px; font-size: 44px; line-height: 50px; }
}
@media (max-width: 991.98px) {
  .page_banner.mn-banner { padding: 90px 0; }
  .page_banner .mn-banner__title { max-width: 524px; font-size: 40px; line-height: 45px; }
  /* banner-pattern.svg is 1440x416 (3.46:1). At `100% auto` a narrow viewport
     renders it as a short strip — 390px wide yields only ~113px of artwork
     inside a ~320px band, so it floats in the middle and most of the banner
     reads as flat mint, nothing like the desktop treatment.
     `cover` would fix the height but crop the two corner blooms out entirely
     (they live at x=150 and x=1300 of 1440), so instead: scale the arcs up and
     pin them to the bottom edge where they belong, and redraw the amber and
     teal blooms as CSS gradients at the same relative corner positions the SVG
     puts them. Same composition as desktop — blooms top left/right, arcs
     rising from the bottom — with no distortion and no cropping. */
  .page_banner.mn-banner {
    background-image:
      url("/assets/images/banner-pattern.svg"),
      radial-gradient(ellipse 62% 46% at 10% 18%, rgba(247, 171, 30, 0.30) 0%, transparent 70%),
      radial-gradient(ellipse 62% 50% at 90% 22%, rgba(38, 171, 163, 0.28) 0%, transparent 70%),
      radial-gradient(circle at 50% 118%, rgba(15, 83, 80, 0.14) 0%, transparent 60%);
    background-position: center bottom, center center, center center, center center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 150% auto, cover, cover, cover;
  }
}
@media (max-width: 575.98px) {
  .page_banner.mn-banner { padding: 60px 0; }
  .page_banner .mn-banner__title { font-size: 30px; line-height: 36px; }
  .mn-banner__lede { font-size: 15px; }
}

/* ============================================
   BRAND PALETTE — the two colours in the logo.

   The two logo colours, as supplied by the client:
     deep teal  #0F5350   buttons, links, fills, type
     sage       #7CA673   secondary accent

   Contrast (vs white): #0F5350 = 8.85:1, comfortably AA/AAA, so unlike the
   old #26ABA3 (2.82:1) it needs no separate text-safe variant — hence
   --mn-teal-text now resolves to the brand colour itself.
   #7CA673 is 2.78:1, so it is a FILL ONLY. Use --mn-sage-text (#466E40,
   5.90:1) wherever sage carries text.

   These override the template's own :root in style.css, which shipped
   --bs-primary #26ABA3 / --bs-secondary #F7AB1E; redefining them here means
   every vendor rule that reads the variables follows the logo palette too,
   without touching style.css.
   ============================================ */
:root {
  --bs-primary: #0F5350;
  --bs-primary-rgb: 15, 83, 80;
  --bs-primary-bg-subtle: #EDF4F3;
  --bs-secondary: #7CA673;
  --bs-secondary-rgb: 124, 166, 115;
  --bs-secondary-bg-subtle: #EFF5EC;

  /* MindNalam tokens */
  --mn-brand: #0F5350;
  --mn-brand-dark: #0A3B39;
  --mn-brand-tint: #DAE7E6;
  --mn-brand-bg: #EDF4F3;
  --mn-sage: #7CA673;
  --mn-sage-text: #466E40;
  --mn-sage-dark: #3B5C36;
  --mn-sage-bg: #EFF5EC;

  /* Legacy alias kept so existing rules keep resolving. */
  --mn-teal-text: #0F5350;
}

/* Legacy compatibility vars further up this file are remapped by the same
   swap; these two are re-stated so the intent is explicit. */
:root {
  --forest: #0F5350;
  --sage: #7CA673;
  --line-emphasis: #0F5350;
  --focus-ring: 0 0 0 3px rgba(15, 83, 80, 0.25);
}

/* Sage is a fill, never a text colour — anywhere it previously carried text,
   step to the darker sage so AA holds. */
.contact_info_item--sage .item_icon,
.mn-contact-aside__card--sage .item_icon { color: var(--mn-sage-text); }

/* ============================================
   Home "How it actually works" — laid out like the reference
   "Why Oppam Matters" block. Reference metrics kept: centred 54px/62px
   heading (40/45 down), 55px to the grid, grid repeat(3,1fr) with a 20px
   gap, cards at 8px radius and 30px/17px padding (20/15 down), 100px icon
   (70 down), 20px card title (18 down), 16px/26px body (15 down).
   Their card fill #00E4A9 becomes MindNalam sage; dark ink on sage measures
   6.48:1, so the card type stays AA.
   ============================================ */
.mn-hiw__title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 42px;
  font-weight: 800;
  line-height: 50px;
  color: #1B160C;
  text-align: center;
  margin: 0 auto 14px;
  max-width: 18ch;
}
.mn-hiw__lede {
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
  color: #3F4A4E;
  margin: 0 auto;
  max-width: 56ch;
}

.mn-hiw__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 55px 0 0;
  padding: 0;
  counter-reset: none;
}

.mn-hiw__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 17px;
  border-radius: 8px;
  /* White card type was requested. On the light sage #7CA673 white measures
     only 2.78:1, well under AA, so the fill is deepened to #4E7A46 (5.00:1)
     — same hue family, still clearly the sage card, but legible. */
  background: #4E7A46;
  color: #fff;
}
/* The old numbered-step markup drew its own counter bullet; make sure the
   list item shows none of that. */
.mn-hiw__card::before,
.mn-hiw__card::marker { content: none; }

.mn-hiw__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
  font-size: 38px;
}

.mn-hiw__step {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.mn-hiw__card-title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 8px;
}
.mn-hiw__body {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.90);
  margin: 0;
}

@media (max-width: 991.98px) {
  .mn-hiw__title { max-width: none; }
  .mn-hiw__grid { grid-template-columns: repeat(2, 1fr); margin-top: 38px; }
  .mn-hiw__card { padding: 20px 15px; }
  .mn-hiw__icon { width: 70px; height: 70px; font-size: 28px; border-radius: 14px; }
  .mn-hiw__card-title { font-size: 18px; }
  .mn-hiw__body { font-size: 15px; line-height: 24px; }
}
@media (max-width: 575.98px) {

  .mn-hiw__lede { font-size: 15px; }
  .mn-hiw__grid { grid-template-columns: 1fr; }
}

/* ============================================
   Home "What people say" — white section, 3-up slick slider.
   Card sizing is the trimmed grid version; spacing comes from per-slide
   padding rather than the .testimonial_item 12px margin, and slick's track
   is flexed so cards in a row match height.
   ============================================ */
.mn-quotes { background: #fff; }

.mn-quotes__slider .testimonial_item {
  height: 100%;
  margin: 0;                /* was 12px, for carousel slide spacing */
  padding: 26px 24px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mn-quotes__slider .testimonial_item:hover {
  border-color: var(--mn-brand-tint);
  box-shadow: 0 14px 30px rgba(15, 83, 80, 0.08);
  transform: translateY(-3px);
}
/* Centre the card contents vertically. The quote previously carried flex:1,
   which stretched it to fill the card and pinned the footer to the bottom —
   the opposite of centring. With it back to auto height, justify-content on
   the card centres the star / quote / attribution block as a group, so the
   shorter quotes no longer sit top-heavy against the tallest card in the row. */
.mn-quotes__slider .testimonial_item { justify-content: center; }
.mn-quotes__slider .testimonial_quote { flex: 0 0 auto; }
.mn-quotes__slider .testimonial_quote p {
  font-size: 15.5px;
  line-height: 26px;
  margin-bottom: 16px;
}
.mn-quotes__slider .testimonial_footer {
  padding-top: 14px;
  border-top: 1px dashed #ECECEC;
}
/* THE overlap fix. style.css:2719 sets
     .testimonial_item .rating_star { position:absolute; top:80px; right:60px }
   — coordinates meant for the template's original 60px-padded card. In our
   trimmed card that drops the star row straight on top of the quote text.
   Two classes beats the single-class .rating_star rule further up this file,
   which is why margin tweaks never moved it. Put it back in normal flow. */
.testimonial_item .rating_star {
  position: static;
  top: auto;
  right: auto;
  margin-bottom: 16px;
}

@media (max-width: 575.98px) {
  .mn-quotes__slider .testimonial_item { padding: 22px 20px 20px; }
  .mn-quotes__slider .testimonial_quote p { font-size: 15px; line-height: 25px; }
}

/* Slider mechanics: slick floats slides, so flex the track to get equal
   heights, and space slides with padding + a negative track margin instead
   of the 12px slide margin the old carousel relied on. */
.mn-quotes__slider .slick-track { display: flex; margin-left: 0; }
.mn-quotes__slider .slick-list { margin: 0 -10px; }
.mn-quotes__slider .slick-slide { height: auto; padding: 0 10px; }
.mn-quotes__slider .slick-slide > div { height: 100%; }
.mn-quotes__slide { height: 100%; }
/* Room for the dots beneath. */
.mn-quotes__slider .slick-dots { margin-top: 26px; }

/* ============================================
   Contact info card — overflow fix (site-wide) + "Where to find us" polish.

   .contact_info_item is display:flex, and .item_content had no min-width.
   Flex items default to min-width:auto, so an unbreakable string — the email
   address — sets a min-content floor the card cannot shrink below, and the
   text pushes out past the border. min-width:0 lets it shrink; overflow-wrap
   gives it somewhere to break. Applies everywhere the partial is used:
   home, /contact/, /about/, /apply/.
   ============================================ */
.contact_info_item .item_content {
  min-width: 0;
  flex: 1;
}
.contact_info_item .item_content p,
.contact_info_item .item_content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============================================
   Service cards — bright treatment.
   Used by "Three focused practices" on /services/, "What we help with" on
   home and /about/. Replaces the dark teal overlay card that home was using,
   so all three pages now render the same card.

   Bright = a mint-to-white card face, a light mint illustration panel with the
   art printed dark on it (multiply, not the old screen-on-dark-teal), a sage
   gradient icon chip, and a teal CTA row. Nothing is dark except the type.
   ============================================ */
.service_item {
  display: flex;
  flex-direction: column;
  /* Vendor style.css sets .service_item padding at three breakpoints:
     60px 60px 53px, 45px (<=1440), 35px (<=425). Each is reduced by 20px
     here; the responsive steps are mirrored below so the reduction holds at
     every width, not just the largest. */
  padding: 40px 40px 33px;
  background: linear-gradient(180deg, #EDF4F3 0%, #FFFFFF 46%);
  border: 1px solid #DAE7E6;
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service_item:hover {
  border-color: var(--mn-brand);
  box-shadow: 0 22px 44px rgba(15, 83, 80, 0.13);
  transform: translateY(-4px);
}

/* Illustration panel: light mint ground, art multiplied onto it so the
   silhouettes read dark-on-light instead of the previous light-on-dark. */
.service_item__illustration {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #DAE7E6;
}
.service_item__illustration img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(1.06);
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: transform 0.35s ease;
}
.service_item:hover .service_item__illustration img { transform: scale(1.04); }
.service_item__illustration::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(237,244,243,0.9) 100%);
  pointer-events: none;
}

/* No padding here — .service_item above now supplies the inset. Leaving 25px
   on the body as well would stack, putting the content 50px+ from the card
   edge, which is the extra space that was showing. */
.service_item__body {
  padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}

/* Sage gradient chip — the brightest element on the card. */
.service_item .item_icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: linear-gradient(145deg, #8FB887 0%, #6E9C66 100%);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(124, 166, 115, 0.35);
  margin: -42px 0 2px;
  align-self: flex-start;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.service_item:hover .item_icon { transform: translateY(-2px) rotate(-4deg); }
.service_item .item_icon svg { width: 28px; height: 28px; display: block; }
.service_item .item_icon i { font-size: 22px; color: #fff; }

/* Icon-only cards (/services/, /about/) have no illustration to overlap. */
.service_item:not(:has(.service_item__illustration)) .item_icon { margin-top: 0; }

.service_item .item_title {
  font-size: 20px; font-weight: 700; color: #1B160C; margin: 0;
}
.service_item .item_contact p {
  color: #46525A; font-size: 15px; line-height: 1.55; margin: 5px 0 12px;
}
.service_item .item_contact { display: flex; flex-direction: column; flex: 1; }
.service_item .item_contact .btn-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #DAE7E6;
  color: var(--mn-brand);
  font-size: 13px; font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}
.service_item .item_contact .btn-link:hover,
.service_item .item_contact .btn-link:focus {
  background: var(--mn-brand); color: #fff;
}
.service_item .item_contact .btn-link .btn_icon { font-size: 11px; }

@media (max-width: 575.98px) {

  .service_item .item_icon { width: 46px; height: 46px; margin-top: -38px; }
  .service_item .item_title { font-size: 18px; }
}

/* .service_item padding — vendor values minus 20px, at the vendor's own
   breakpoints so the reduction applies responsively too:
     vendor 60px 60px 53px  ->  40px 40px 33px   (base, set above)
     vendor 45px (<=1440)   ->  25px
     vendor 35px (<=425)    ->  15px
   The illustration is a child, so it insets with the padding; a radius keeps
   it looking deliberate inside the padded card rather than a square block. */
@media screen and (max-width: 1440px) {
  .service_item { padding: 25px; }
}
@media screen and (max-width: 425px) {
  .service_item { padding: 15px; }
}
.service_item__illustration { border-radius: 14px; }

/* ============================================
   "How it works" on /services/ — 4-up variant of the .mn-hiw card used on
   the home page, so the two process sections match. The step number is the
   tile rather than a separate row.
   ============================================ */
.mn-hiw__grid--4 { grid-template-columns: repeat(4, 1fr); }

.mn-hiw__icon--num {
  font-family: var(--bs-font-heading), inherit;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* This grid sits under a centred .section_heading, which already carries its
   own bottom margin — so it needs less top margin than the home variant. */
.mn-hiw__grid--4 { margin-top: 0; }

@media (max-width: 1199.98px) {
  .mn-hiw__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .mn-hiw__grid--4 { grid-template-columns: 1fr; }
  .mn-hiw__icon--num { font-size: 24px; }
}

/* ============================================
   "How it works" on /services/ — connected journey.
   Numbered nodes on a dashed spine instead of four separate cards, so the
   section reads as a sequence. The spine is drawn per-step with ::after so
   it never runs past the last node, and it is hidden on the vertical layout
   where a left-hand spine takes over.
   ============================================ */
/* One equal column per step, however many there are. This was
   repeat(4, 1fr), which suited /services/ but left /careers/ — three steps —
   with an empty fourth column, so the row sat against the left edge with all
   the slack on the right. grid-auto-flow lets the child count decide, so a
   step added or removed stays centred without touching the CSS. */
.mn-flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0 22px;
  list-style: none;
  padding: 0;
  margin: 46px 0 0;
}

.mn-flow__step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
/* Dashed connector to the next node, stopping short of both circles. */
.mn-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  left: calc(50% + 48px);
  right: calc(-50% + 48px);
  border-top: 2px dashed #BBD3CF;
}

.mn-flow__node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--mn-brand);
  color: var(--mn-brand);
  font-size: 26px;
  margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
/* Step number rides the rim of the circle. */
.mn-flow__num {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--mn-sage);
  border: 2px solid #fff;
  color: #1B160C;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mn-flow__step:hover .mn-flow__node {
  background: var(--mn-brand);
  color: #fff;
  transform: translateY(-4px);
}

.mn-flow__title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 18px;
  font-weight: 700;
  color: #1B160C;
  margin: 0 0 6px;
  text-align: left;
}
.mn-flow__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: #46525A;
  margin: 0;
  text-align: left;
}

/* Vertical timeline: spine on the left, node and copy side by side. */
@media (max-width: 767.98px) {
  .mn-flow {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }
  .mn-flow__step {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    text-align: left;
    padding: 0 0 26px;
  }
  /* Connector becomes the vertical spine between nodes. */
  .mn-flow__step:not(:last-child)::after {
    top: 82px;
    bottom: 8px;
    left: 36px;
    right: auto;
    width: 0;
    border-top: 0;
    border-left: 2px dashed #BBD3CF;
  }
  .mn-flow__node { margin-bottom: 0; width: 64px; height: 64px; font-size: 22px; }
  .mn-flow__content { padding-top: 8px; }
}

/* ============================================
   Founder section — /about/.
   Portrait card on the left (sticky on desktop so it stays with the copy on a
   long read), story on the right, with a pull quote for the closing belief.
   ============================================ */
.mn-founder__card {
  margin: 0;
  background: #fff;
  border: 1px solid #DAE7E6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(15, 83, 80, 0.10);
}
@media (min-width: 992px) {
  .mn-founder__card { position: sticky; top: 100px; }
}

.mn-founder__photo {
  aspect-ratio: 1 / 1;
  background: #DAE7E6;
  overflow: hidden;
}
.mn-founder__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.mn-founder__caption {
  padding: 20px 22px 22px;
  border-top: 3px solid var(--mn-sage);
}
.mn-founder__name {
  font-family: var(--bs-font-heading), inherit;
  font-size: 22px; font-weight: 800; color: #1B160C;
  margin: 0 0 2px;
}
.mn-founder__role {
  font-size: 14px; font-weight: 700; color: var(--mn-brand);
  margin: 0 0 10px;
}
.mn-founder__tagline {
  font-size: 13.5px; line-height: 1.6; color: #51565D; margin: 0;
}

.mn-founder__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.16);
  color: var(--mn-brand);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mn-founder__eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mn-sage);
}

/* Matches the sitewide section-heading scale (42/50 stepping to 36/30/24). */
.mn-founder__title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 42px; font-weight: 800; line-height: 50px;
  color: #1B160C; margin: 0 0 8px;
}
.mn-founder__credentials {
  font-size: 15px; font-weight: 600; color: var(--mn-sage-text);
  margin: 0 0 22px;
}
.mn-founder__body p {
  font-size: 16px; line-height: 1.75; color: #3F4A4E; margin: 0 0 16px;
}

.mn-founder__quote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--mn-sage);
  border-radius: 0 14px 14px 0;
  background: #fff;
}
.mn-founder__quote p {
  margin: 0;
  font-family: var(--bs-font-heading), inherit;
  font-size: 19px; font-weight: 600; line-height: 1.55;
  color: var(--mn-brand);
}

@media screen and (max-width: 1440px) {
  .mn-founder__title { font-size: 36px; line-height: 42px; }
}
@media screen and (max-width: 1199px) {
  .mn-founder__title { font-size: 30px; line-height: 38px; }
}
@media (max-width: 991.98px) {
  .mn-founder__card { max-width: 420px; }
}
@media screen and (max-width: 375px) {
  .mn-founder__title { font-size: 24px; line-height: 34px; }
  .mn-founder__quote { padding: 16px 18px; }
  .mn-founder__quote p { font-size: 17px; }
}

/* ============================================
   "What we check, before a profile goes live" — /about/.
   Accreditation marks: the acronym is the badge, full name and description
   beneath, centred. No card boxes — the marks carry the section.
   ============================================ */
.mn-creds__item {
  height: 100%;
  text-align: center;
  padding: 8px 12px;
}

.mn-creds__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 92px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #EDF4F3;
  border: 2px solid var(--mn-brand);
  color: var(--mn-brand);
  font-family: var(--bs-font-heading), inherit;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.mn-creds__item:hover .mn-creds__mark {
  background: var(--mn-brand);
  color: #fff;
  transform: translateY(-4px);
}

.mn-creds__title {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  font-family: var(--bs-font-heading), inherit;
  font-size: 17px; font-weight: 700; color: #1B160C;
  margin: 0 0 6px;
}
.mn-creds__flag {
  background: var(--mn-sage);
  color: #1B160C;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 4px;
}
.mn-creds__body {
  font-size: 14px; line-height: 1.6; color: #51565D;
  margin: 0 auto;
  max-width: 30ch;
}

@media (max-width: 575.98px) {
  .mn-creds__mark { min-width: 78px; height: 78px; font-size: 21px; margin-bottom: 12px; }
  .mn-creds__title { font-size: 16px; }
}

/* .mn-hiw__title follows the template's .section_heading_text scale
   (42/50 -> 36/42 -> 30/38 -> 24/34) so the home process heading stays in
   step with every other section heading at each width. */
@media screen and (max-width: 1440px) {
  .mn-hiw__title { font-size: 36px; line-height: 42px; }
}
@media screen and (max-width: 1199px) {
  .mn-hiw__title { font-size: 30px; line-height: 38px; }
}
@media screen and (max-width: 375px) {
  .mn-hiw__title { font-size: 24px; line-height: 34px; }
}

/* ============================================
   Home "What we help with" — full-bleed image cards.
   The illustration becomes the card background and the content sits on top.
   Scoped to .mn-services so /services/ and /about/ keep the icon-only card.

   Two things this has to get right, both learned the hard way:
   1. The illustration uses mix-blend-mode, and a card with position:relative
      + z-index:auto is NOT a stacking context — the blend group escapes and
      compositing above it is unreliable. isolation:isolate plus explicit
      z-index (image 0, content 3) pins the order.
   2. The content block fills roughly the lower half of a square card, so the
      scrim must be near-solid well before the text starts, or white type
      lands on light image and disappears.
   ============================================ */
.mn-services .service_item {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0F5350;
  box-shadow: 0 18px 40px rgba(15, 83, 80, 0.16);
}
.mn-services .service_item:hover {
  border: 0;
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(15, 83, 80, 0.24);
}

.mn-services .service_item__illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
  background: #0F5350;
}
.mn-services .service_item__illustration img {
  filter: grayscale(1) contrast(1.18) brightness(1.12);
  mix-blend-mode: screen;
  opacity: 1;
}
.mn-services .service_item__illustration::after {
  /* Lighter than before so the illustration stays visible: fully clear to
     42%, and topping out at 0.86 rather than 0.97. Still dark enough under
     the text block, which starts around 60%. */
  background: linear-gradient(
    180deg,
    rgba(15, 83, 80, 0) 42%,
    rgba(15, 83, 80, 0.30) 60%,
    rgba(12, 66, 63, 0.68) 78%,
    rgba(10, 59, 57, 0.86) 100%
  );
}

.mn-services .service_item__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 0 22px 22px;
  gap: 8px;
  flex: none;
}

/* Glass chip, sitting inside the image rather than overlapping its edge. */
.mn-services .service_item .item_icon {
  width: 42px; height: 42px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
  color: #fff;
}
.mn-services .service_item .item_icon svg { width: 22px; height: 22px; }
.mn-services .service_item .item_icon i { font-size: 18px; color: #fff; }

.mn-services .service_item .item_title {
  color: #fff; font-size: 20px; line-height: 1.25;
  text-shadow: 0 1px 10px rgba(6, 40, 38, 0.55);
}
.mn-services .service_item .item_contact { flex: none; }
.mn-services .service_item .item_contact p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px; line-height: 1.55; margin: 6px 0 12px;
  text-shadow: 0 1px 8px rgba(6, 40, 38, 0.5);
}
.mn-services .service_item .item_contact .btn-link {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #fff;
}
.mn-services .service_item .item_contact .btn-link:hover,
.mn-services .service_item .item_contact .btn-link:focus {
  background: #fff; color: var(--mn-brand);
}

@media (max-width: 991.98px) {
  .mn-services .service_item { aspect-ratio: 4 / 3; }
}
@media (max-width: 575.98px) {
  .mn-services .service_item { aspect-ratio: 5 / 4; }
  .mn-services .service_item__body { padding: 0 18px 18px; }
}

/* ============================================
   Service detail pages — shared blocks.
   "Why choose MindNalam?" six trust cards, and the concern tile grid.
   Used by individual-therapy, couple-therapy and intimacy-sexual-wellness.
   ============================================ */
.mn-why6__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mn-why6__item {
  background: #fff;
  border: 1px solid #DAE7E6;
  border-radius: 18px;
  padding: 26px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mn-why6__item:hover {
  border-color: var(--mn-brand);
  box-shadow: 0 18px 38px rgba(15, 83, 80, 0.10);
  transform: translateY(-3px);
}
.mn-why6__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #8FB887 0%, #6E9C66 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(124, 166, 115, 0.32);
}
.mn-why6__title {
  font-family: var(--bs-font-heading), inherit;
  font-size: 18px; font-weight: 700; color: #1B160C; margin: 0 0 6px;
}
.mn-why6__body { font-size: 14.5px; line-height: 1.6; color: #46525A; margin: 0; }

/* Concern tiles — compact, link straight into /resources/. */
.mn-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mn-topics__tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #DAE7E6;
  color: #1B160C;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.mn-topics__tile:hover {
  border-color: var(--mn-brand);
  background: #EDF4F3;
  color: var(--mn-brand);
  transform: translateY(-2px);
}
.mn-topics__icon {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #EDF4F3;
  color: var(--mn-brand);
}
.mn-topics__label { flex: 1; font-size: 15px; font-weight: 700; line-height: 1.3; }
.mn-topics__arrow { flex: none; color: var(--mn-brand); font-size: 11px; }

@media (max-width: 1199.98px) {
  .mn-why6__grid { grid-template-columns: repeat(2, 1fr); }
  .mn-topics__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .mn-topics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .mn-why6__grid { grid-template-columns: 1fr; }
  .mn-topics__grid { grid-template-columns: 1fr; }
  .mn-why6__item { padding: 20px; }
}

/* ============================================
   Service page fee + clinically-reviewed cards.
   The template ships .service_cost_info / .service_author at padding
   53px 60px with 30px margins on every child, and a :hover that moves the
   card DOWN (translateY(+4px)). Retuned here as a matched pair: tighter,
   the price treated as the headline figure, and a hover that lifts.
   ============================================ */
.service_author,
.service_cost_info {
  height: 100%;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid #DAE7E6;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 83, 80, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.service_author:hover,
.service_cost_info:hover {
  transform: translateY(-3px);          /* was +4px — it sank on hover */
  border-color: var(--mn-brand);
  box-shadow: 0 20px 40px rgba(15, 83, 80, 0.12);
}

/* Small uppercase label rather than a 30px-spaced heading. */
.service_author .details_info_title,
.service_cost_info .details_info_title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: #EDF4F3;
  color: var(--mn-brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service_author p,
.service_cost_info p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #46525A;
}

/* The fee is the point of the card — make it read as the headline. */
.service_cost_info .item_price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #E3ECEA;
}
.service_cost_info .item_price .price_value {
  font-family: var(--bs-font-heading), inherit;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--mn-brand);
}
.service_cost_info .item_price sub {
  bottom: 0;
  font-size: 13px;
  color: #6B7671;
}

.service_cost_info .btn { width: 100%; justify-content: center; }

/* Reviewer card: name and credentials as a compact stack. */
.service_author .author_name {
  font-family: var(--bs-font-heading), inherit;
  font-size: 17px; font-weight: 700; color: #1B160C;
  margin: 0 0 2px;
}
.service_author .author_designation {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mn-sage-text);
  margin-bottom: 10px;
}

/* Blog posts reuse .service_author for the "About the author" box, but
   there it sits alone under a tall article column, so the height: 100%
   meant for the service pages' equal-height card pair made it as tall as
   the column and painted it over the related posts, the call-back form
   and the emergency band. Natural height on posts. */
.blog_details_section .service_author { height: auto; }
/* On a single post the call-back form follows the tinted "More from the
   blog" band, so it goes white there (request 2026-09-29). The partial is
   shared, so this is scoped by position rather than by editing it. */
.blog_details_section ~ .consultation_section { background: #fff; }

@media (max-width: 575.98px) {
  .service_author,
  .service_cost_info { padding: 20px; }
  .service_cost_info .item_price .price_value { font-size: 26px; }
}

/* Honeypot wrapper. Off-screen rather than display:none — some bots skip
   fields that are display:none or type="hidden", but will happily fill a
   positioned text input. Never focusable (tabindex="-1" on the input). */
.mn-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================
   iOS zoom guard — 16px floor on every form control.

   Mobile Safari zooms the viewport into any <input>, <select> or <textarea>
   whose font-size is below 16px when it receives focus, and the user has to
   pinch back out after every field. On /apply/ that fired on all 15 fields.

   A global floor rather than per-form rules: it covers the enquiry CTA (43
   pages), /contact/, /apply/, the booking wizard, and anything added later.
   16px is the threshold, so this only ever raises a control that was too
   small — nothing that already met it changes size.

   Scoped to the control types that trigger the zoom; buttons, checkboxes and
   radios are excluded because they never do.
   ============================================ */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
select,
textarea {
  font-size: 16px;
}

/* The wizard's rule only covered `input`; extend it so a select or textarea
   added to a wizard step inherits the same treatment rather than falling back
   to the browser default (which is under 16px for <select>). */
.wizard-form select,
.wizard-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ECECEC;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  color: #293039;
}
.wizard-form select:focus,
.wizard-form textarea:focus {
  outline: none;
  border-color: #0F5350;
  box-shadow: 0 0 0 3px rgba(15, 83, 80, 0.15);
}

/* Hamburger is the primary nav control on mobile and shipped at 32x32 — under
   the 44px floor like the CTA beside it. Not called out in the ticket, but it
   is the same failure on the same bar, so it is raised here too. Width grows
   with the height so the target is square. */
.mobile_menu_btn {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

/* ============================================
   Mobile display-heading trim (sitewide).
   The big bold near-black headings — hero H1, page-banner H1, every
   section heading, and the two home headings that follow the same scale —
   read too heavy on a phone. Drop each by 6px below 768px. These come last
   in the file so they win over the earlier per-component mobile blocks and
   over the template's own 1199px/375px steps (overrides.css loads after
   style.css, so equal specificity is enough — no !important needed).
   The hero's own rule sits up at the top of this file with the other hero
   styles; everything else is collected here.
   ============================================ */
@media (max-width: 767.98px) {
  .page_banner .mn-banner__title { font-size: 34px; line-height: 40px; }
  .section_heading .section_heading_text { font-size: 28px !important; line-height: 32px; }
  .mn-hiw__title { font-size: 24px; line-height: 32px; }
  .mn-founder__title { font-size: 24px; line-height: 32px; }
  .wizard-h1 { font-size: 22px; }
}
@media (max-width: 575.98px) {
  .page_banner .mn-banner__title { font-size: 24px; line-height: 30px; }
  .mn-svchero__title { font-size: 26px; }
  .mn-corpintro__title { font-size: 26px; }
  .mn-abouthero__title { font-size: 26px; }
  .mn-section-title,
  .mn-story__title,
  .mn-changing__title,
  .mn-join__title { font-size: 24px; }
  .mn-svcfaq__title,
  .mn-topics__title { font-size: 24px; }
  .mn-corpwhyus__title { font-size: 24px; }
  .mn-helpband__inner { padding: 24px 16px; }
  .mn-join__card { padding: 40px 16px; }
}
@media (max-width: 400px) {
  .times-grid { grid-template-columns: repeat(2, 1fr); }
  /* Reschedule panel on /book/my/ at 320px: the calendar sits five boxes
     deep (shell, card, panel, calendar), each with its own padding, so the
     seven day columns had ~150px to share and the grid spilled past its box
     with Saturday cut off, while the time chips wrapped onto two lines.
     Shrink every layer's padding a little and let the columns shrink below
     their text (minmax(0, 1fr)); the wizard's own step-time calendar picks up
     the grid rules too, which only helps there. The card and panel paddings
     are trimmed in partials/my-bookings.njk, beside their own rules. */
  .my-cal .calendar,
  .my-cal .times-panel { padding: 12px 8px; }
  .calendar__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
  .calendar__wk { font-size: 9px; letter-spacing: 0; padding: 4px 0; }
  .calendar__day { font-size: 12px; min-width: 0; }
  .calendar__nav { gap: 6px; }
  .calendar__navbtn { width: 36px; height: 36px; flex: 0 0 auto; }
  .calendar__month { font-size: 14px; text-align: center; min-width: 0; }
  .times-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .times-grid__slot { padding: 10px 4px; font-size: 12px; white-space: nowrap; }
  .otp-block__row { flex-wrap: wrap; }
  .otp-block__row input { flex: 1 1 100%; }
  .otp-block__row .wizard-cta { width: 100%; justify-content: center; margin-top: 8px; }
  .mn-svchero__cta { white-space: normal; height: auto; padding: 12px 24px; }
  .mn-pro-card .mn-pro-card__image { width: 80px; }
  .mn-pro-card__id { max-width: calc(100% - 110px); }
}
/* Below 376px the template already steps these down to 24px, so a full 6px
   cut would leave the headings smaller than the body copy. Trim 4px instead
   and keep the hierarchy intact. */
@media (max-width: 375px) {
  .section_heading .section_heading_text { font-size: 20px; line-height: 28px; }
  .mn-hiw__title { font-size: 20px; line-height: 28px; }
  .mn-founder__title { font-size: 20px; line-height: 28px; }
}

/* Booking wizard mobile layout. Keep the header's back link inside its
   Bootstrap column and let wide step content shrink before it can create a
   horizontal page scroll. */
@media (max-width: 767.98px) {
  .wizard-body { overflow-x: hidden !important; }
  .wizard-topbar .container,
  .wizard-topbar .row,
  .wizard-topbar .row > [class*="col-"] { min-width: 0; }
  .wizard-topbar .btn-link { max-width: 100%; min-width: 0; }
  .wizard-topbar .btn-link .btn_text {
    min-width: 0;
    max-width: 7em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wizard-topbar .site_logo img { max-width: 100%; height: auto; }
  .wizard-shell,
  .wizard-shell--wide { width: 100%; max-width: 100%; min-width: 0; }
  .wizard-picks { grid-template-columns: minmax(0, 1fr); }
  .wizard-pick,
  .wizard-pick__title,
  .wizard-pick__body { min-width: 0; overflow-wrap: anywhere; }
  .wizard-form input,
  .wizard-form select,
  .wizard-form textarea { max-width: 100%; }
  .calendar-shell,
  .confirm-shell { min-width: 0; }
  .calendar,
  .ticket,
  .bill { min-width: 0; max-width: 100%; }
  .ticket__row,
  .ticket__head,
  .ticket__slot { min-width: 0; }
  .ticket__row-value,
  .ticket__pro-name,
  .ticket__pro-cat { min-width: 0; overflow-wrap: anywhere; }
}

/* ============================================
   Display font — Host Grotesk on the large bold headings only.

   Same set of headings the mobile trim above covers: hero H1, page-banner H1,
   every section heading, the two home headings on that scale, and the booking
   wizard H1. Body copy, card titles and nav keep the template's --bs-font-heading
   / --bs-font-body, so this is a deliberate display-vs-text split rather than a
   sitewide font swap. No media query — it applies at every width.
   The face is loaded from Google Fonts in layouts/base.njk and layouts/wizard.njk.
   ============================================ */
:root { --mn-font-display: "Host Grotesk", sans-serif; }

.hero_title,
.page_banner .mn-banner__title,
.section_heading .section_heading_text,
.mn-hiw__title,
.mn-founder__title,
.wizard-h1 {
  font-family: var(--mn-font-display);
}

/* ==========================================================================
   Language gate + switcher
   ==========================================================================
   The gate ships in the HTML with a `hidden` attribute and is revealed only
   when the inline head script finds no stored preference. Two consequences
   worth keeping in mind before editing:

     • Crawlers and no-JS visitors never see it — the page underneath is the
       real, indexable content, not a splash screen.
     • `[hidden]` alone would be overridden by `display:flex`, so the gate's
       display rule is scoped to the [data-mn-gate="open"] root attribute
       instead of living on .mn-langgate directly.
   ------------------------------------------------------------------------ */

.mn-langgate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  /* Deep teal at high opacity rather than neutral black: the page behind
     stays legible as *this* brand's page while the choice is pending. */
  background: rgba(15, 83, 80, 0.94);
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html[data-mn-gate="open"] .mn-langgate {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The page must not scroll behind the gate on mobile, where the overlay is
   taller than the viewport and rubber-banding reveals content underneath. */
html[data-mn-gate="open"] body { overflow: hidden; }

.mn-langgate__panel {
  background: #FFFDF7;
  border-radius: 20px;
  padding: 40px 32px 32px;
  width: 100%;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  animation: mn-langgate-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Respect a reduced-motion preference — this is the first thing a visitor
   sees, and it is not the moment to ignore an accessibility setting. */
@media (prefers-reduced-motion: reduce) {
  .mn-langgate__panel { animation: none; }
}

@keyframes mn-langgate-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.mn-langgate__logo {
  width: auto;
  max-width: 220px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

/* Tamil prompt leads. --mn-font-tamil first in the stack so the script gets
   its designed face rather than a system fallback with clipped vowel signs. */
.mn-langgate__prompt {
  font-family: var(--mn-font-tamil);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--mn-teal-text);
  margin: 0 0 6px;
}

.mn-langgate__prompt-alt {
  font-size: 15px;
  color: #51565D;
  margin: 0 0 26px;
}

.mn-langgate__actions {
  display: grid;
  /* Stacked on phones, side by side once there is room. Equal width so
     neither language reads as the "default" option. */
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 400px) {
  .mn-langgate__actions { grid-template-columns: 1fr 1fr; }
}

.mn-langgate__btn {
  font-family: var(--mn-font-tamil);
  /* 16px + 15px padding clears the 44px tap target the QA audit flagged
     elsewhere on the site; this control is the very first tap a visitor
     makes, so it is not a place to shave pixels. */
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid var(--mn-teal-text);
  background: #fff;
  color: var(--mn-teal-text);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.mn-langgate__btn:hover,
.mn-langgate__btn:focus-visible {
  background: var(--mn-teal-text);
  color: #fff;
}

.mn-langgate__btn:focus-visible {
  outline: 3px solid #7CA673;
  outline-offset: 2px;
}

.mn-langgate__btn:active { transform: translateY(1px); }

.mn-langgate__note {
  font-family: var(--mn-font-tamil);
  font-size: 13px;
  line-height: 1.6;
  color: #6B7076;
  margin: 0;
}

/* -------------------------------------------------------------- switcher

   A 40px square, identical in both locales. That equality is the point: the
   control used to be a globe plus the target language's name, so it measured
   ~64px on English pages and ~92px on Tamil ones, and the header's right-hand
   column is only wide enough for the Book Now pill plus a little. The wider
   Tamil version pushed the group over that limit, `.header_btns_group`
   wrapped, and the switcher landed on a second row ABOVE the CTA — a
   two-line header at 1024px, 1200px and 1440px alike. A control that cannot
   change width cannot reintroduce that.

   Square rather than a bare icon so it reads as a button and gets a real
   hover target; 40px is under the 44px guideline only in its box, and the
   `.header_btns_group` row is 44px tall, so the touch target still clears it
   (the ≤991.98px block below makes the box itself 44px anyway). */

.mn-langswitch {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Fixed on every axis. `flex: none` matters: this sits in a flex row, and
     without it the button would still be allowed to shrink under pressure —
     which is the exact failure being fixed. */
  flex: none;
  width: 40px;
  height: 40px;

  border: 1px solid rgba(15, 83, 80, 0.16);
  border-radius: 50%;
  background: rgba(15, 83, 80, 0.04);
  color: var(--mn-teal-text);
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.mn-langswitch i {
  font-size: 16px;
  line-height: 1;
}

.mn-langswitch:hover,
.mn-langswitch:focus-visible {
  background: rgba(15, 83, 80, 0.10);
  border-color: rgba(15, 83, 80, 0.34);
  color: #0B3F3D;
  /* No underline any more — there is no text left to underline, and the
     background shift is the affordance instead. */
  text-decoration: none;
}

.mn-langswitch:focus-visible {
  outline: 2px solid var(--mn-teal-text);
  outline-offset: 2px;
}

/* The actions group must never stack. It was only held to one line below
   992px; above that it was free to wrap, which is precisely where it did.
   Stated once, for every width. */
.site_header .header_btns_group {
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 991.98px) {
  .mn-langswitch { width: 44px; height: 44px; }
}

.mn-mobile-langswitch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(15, 83, 80, 0.12);
  margin-top: 8px;
}
.mn-mobile-langswitch .mn-langswitch {
  width: 36px; height: 36px;
  font-size: 14px;
}
.mn-mobile-langswitch__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mn-teal-text, #0F5350);
}

/* Content-sized header columns from lg up.
   ------------------------------------------------------------------------
   The template ships col-lg-2 / col-lg-8 / col-lg-2, which hands the nav a
   flat 66.7% of the row whatever it actually needs, and the logo and the
   actions a flat 16.7% each whether that fits them or not. English survives
   that; Tamil does not — its nav labels are close to twice as long, and its
   Book Now reads "இப்போது முன்பதிவு".

   Sizing all three to their content instead gives the nav every pixel the
   other two are not using, which is the difference between one row and two.
   Done in CSS rather than by editing the classes so the sub-992px layout,
   which is tuned separately just above, is left exactly as it was. */
@media (min-width: 992px) {
  .site_header .row > .col-lg-2 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .site_header .row > .col-lg-8 {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    /* A flex item will not shrink below its content without this, and the
       nav's content is a row of nowrap links. */
    min-width: 0;
  }
}

/* ============================================
   Tamil typeface — Anek Tamil (2026-09-10)

   Anek Tamil is the client's choice, and it replaces both Noto Sans Tamil
   (the original) and Catamaran (which stood here for part of the same day).
   It is the Indian Type Foundry's Tamil family, drawn for screen, and it
   answers the two things that were actually wrong with Noto here:

     • Weight. The template asks for 700 and 800 on headings. Anek Tamil
       covers the range as a variable font, so a bold Tamil heading is a
       drawn weight rather than one the browser smears on.
     • Latin in the same family. "MindNalam" is Latin and sits inside Tamil
       sentences all over the site; Anek Tamil carries a matched Latin, so
       the brand name no longer jumps out of the line.

   Scoped to Tamil pages, as asked. English pages keep Open Sans and Host
   Grotesk untouched — the only Latin this face ever draws is the Latin
   embedded in Tamil copy, plus the Tamil half of the language gate.

   Noto Sans Tamil stays next in the stack: it ships with Android and most
   Linux desktops, so it is a far better local fallback than generic
   sans-serif, which resolves to Latha on Windows — the clipped, dated face
   that made Tamil headings look unfinished in the first place.

   The vendor's --bs-font-* variables are redefined here rather than chased
   through selectors. Nearly every heading, card title and nav label in
   style.css reads var(--bs-font-heading) = "Open Sans", which carries no
   Tamil at all, so all of them fell through to the system face however the
   body font was set. Overriding the variables catches them in one move.
   html[lang="ta-IN"] (0,1,1) outranks the :root (0,1,0) definitions.
   ============================================ */
:root {
  --mn-font-tamil: "Anek Tamil", "Noto Sans Tamil", "Open Sans", system-ui, sans-serif;
}

html[lang="ta-IN"] {
  --bs-font-body: var(--mn-font-tamil);
  --bs-font-heading: var(--mn-font-tamil);
  --bs-body-font-family: var(--mn-font-tamil);
  /* Host Grotesk carries no Tamil, so the display headings it covers — hero
     H1, page banner, section headings, wizard H1 — were the worst-looking
     text on the Tamil pages. Point the same variable at the Tamil face. */
  --mn-font-display: var(--mn-font-tamil);
}

/* Tamil body copy across the site. Applied via the <html lang> attribute so
   no template needs a Tamil-specific class. */
html[lang="ta-IN"] body,
html[lang="ta-IN"] .btn,
html[lang="ta-IN"] input,
html[lang="ta-IN"] select,
html[lang="ta-IN"] textarea {
  font-family: var(--mn-font-tamil);
}

/* Tamil script sits taller than Latin at the same px size — vowel signs
   extend above and below the x-height and collide at the display sizes the
   template uses. A little extra leading buys them room. */
html[lang="ta-IN"] h1,
html[lang="ta-IN"] h2,
html[lang="ta-IN"] h3,
html[lang="ta-IN"] .section_heading_text,
html[lang="ta-IN"] .page_title { line-height: 1.45; }

/* ==========================================================================
   Mobile tap targets + iOS zoom-on-focus
   ==========================================================================
   Both findings come from the manual QA run on 2026-08-28
   (docs/qa/manual-run-2026-08-28.md), which measured them on a 375px viewport.
   ------------------------------------------------------------------------ */

/* iOS Safari zooms the whole page in whenever a focused input's font-size is
   under 16px, and does not zoom back out. Every control on /apply/ measured
   15px, so tapping any of the 15 fields threw the layout. 16px is the
   threshold, not a preference — do not lower it.

   Applied site-wide rather than at a breakpoint: 16px in a form control reads
   correctly on desktop too, and a breakpoint-scoped rule would silently
   regress the moment a field moved. */
.form_item input,
.form_item select,
.form_item textarea,
.consultation_form input,
.consultation_form select,
.consultation_form textarea {
  font-size: 16px;
}

@media (max-width: 767.98px) {
  .site_header .header_btns_group .btn.mn-header-cta {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 13px;
  }

  /* The burger sits next to it and had the same problem. */
  .site_header .mobile_menu_btn {
    min-width: 44px;
    min-height: 44px;
  }

  /* Nav links were 13px with 8px padding — comfortably tappable only by
     accident. This gives each row a real 44px hit area without changing the
     visual rhythm of the open menu much. */
  .site_header .main_menu_list > li > .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .site_header .main_menu_list .dropdown-menu > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* The "or take a 2-minute check-in" soft CTA under the hero measured 30px.
     The inline style on the anchor handles the flex; this covers the rest of
     the .btn-link instances that share the pattern. */
  .btn-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   / — the language landing page
   ==========================================================================
   A full-bleed banner, not a card on a background. The whole viewport is the
   hero: logo at the top, the choice set in display type in the middle, two
   pill actions under it. Nothing is boxed, so on a phone the type simply
   grows into the space a card would otherwise have spent on its own padding.

   Composed as a banner rather than a dialog because this page has no content
   behind it to float over — it IS the content. The overlay chooser that used
   to sit on top of inner pages is gone (base.njk now sends an undecided
   visitor here instead), so this is the single place on the whole site where
   the language decision is made, and it is styled to look like a front door
   rather than an interruption.

   This page loads NONE of the vendor CSS (no bootstrap, no template
   style.css), so every rule it needs — including the body reset and the font
   stack — has to live in this block. Do not assume a Bootstrap class works
   here.
   ------------------------------------------------------------------------ */

.mn-splash-body {
  margin: 0;
  min-height: 100vh;
  /* Fixes the iOS Safari 100vh gap where the toolbar is counted twice. */
  min-height: 100dvh;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;

  /* Three washes over the brand teal, in paint order: a sage bloom low-left,
     a warm cream haze low-right, and a lifted teal at the top. The warm note
     keeps a full screen of dark teal from reading as clinical — it is the one
     place in the palette allowed to feel like daylight. */
  background:
    radial-gradient(70% 55% at 12% 88%, rgba(124, 166, 115, 0.30) 0%, rgba(124, 166, 115, 0) 62%),
    radial-gradient(60% 50% at 92% 96%, rgba(255, 236, 190, 0.16) 0%, rgba(255, 236, 190, 0) 60%),
    radial-gradient(120% 92% at 50% -8%, #17706A 0%, rgba(23, 112, 106, 0) 58%),
    #0F5350;
  background-attachment: fixed;
  color: #FFFDF7;
}

/* The banner itself. `space-between` rather than `center`: the tagline is
   pinned to the bottom edge the way a banner's baseline sits on the fold,
   while the choice stays optically centred in what is left over. */
.mn-splash {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 18px;
  box-sizing: border-box;
  text-align: center;
}

.mn-splash__inner {
  width: 100%;
  max-width: 900px;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Both flex columns are align-items:center, which sizes a child to its
   max-content width — so one long unbreakable line (the uppercase tagline,
   or a Tamil compound in the headline) silently widens the whole page and
   the banner scrolls sideways on a narrow phone. Capping every direct child
   at the container width is what keeps that from happening; min-width:0
   is needed too, because a flex item defaults to min-width:auto and will
   refuse to shrink below its content otherwise. */
.mn-splash > *,
.mn-splash__inner > *,
.mn-splash__stage > * {
  max-width: 100%;
  min-width: 0;
}

/* The guard above matches .mn-splash__inner too — it IS a direct child of
   .mn-splash — and its max-width:100% lands later in the file at the same
   specificity as the measure above, so it silently won and let the
   banner run the full width of the screen. That is what pushed the two
   language pills to opposite edges: the actions row inherited a viewport-wide
   measure, each button took half of it, and the auto margins centred a 240px
   pill inside each oversized half. Restated here as the min() of both, so the
   measure holds on a wide screen and the container still caps it on a narrow
   one. */
.mn-splash__inner { max-width: min(100%, 900px); }

.mn-splash__prompt,
.mn-splash__note,
.mn-splash__tagline {
  overflow-wrap: break-word;
}

/* --- logo ---------------------------------------------------------------
   The supplied PNG is dark-on-transparent, so it needs a light plate to sit
   on over the teal. A pill rather than a square: at banner scale a hard
   rectangle reads as a broken image. -------------------------------------- */
.mn-splash__logo {
  display: block;
  width: 100%;
  max-width: 212px;
  height: auto;
  background: #FFFDF7;
  border-radius: 999px;
  padding: 13px 24px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

.mn-splash__kicker {
  font-family: var(--mn-font-tamil);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #C9DEC3;
  margin: 20px 0 0;
}

/* --- the choice, set as display type ------------------------------------- */

/* Not a card any more: a transparent stage that only constrains measure. */
.mn-splash__stage {
  width: 100%;
  margin: 18px 0 0;
  animation: mn-splash-in 340ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .mn-splash__stage { animation: none; }
}

@keyframes mn-splash-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Tamil leads at full display size — this is a Tamil-first platform and the
   banner is where that is most visible. clamp() so the longest Tamil line
   still fits a 320px phone. */
.mn-splash__prompt {
  font-family: var(--mn-font-tamil);
  font-size: clamp(20px, 3.4vw, 31px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #FFFDF7;
  margin: 0;
  text-wrap: balance;
}

.mn-splash__prompt-alt {
  font-size: clamp(13.5px, 1.6vw, 15.5px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 253, 247, 0.78);
  margin: 11px 0 0;
}

/* --- the two actions -----------------------------------------------------
   Pills, side by side on anything wider than a phone. Both are solid cream
   rather than one solid and one outlined: this is a choice between two equal
   options, not a primary action with an escape hatch, and an outlined second
   button would quietly rank English below Tamil (or the reverse) for anyone
   reading the shapes instead of the words.

   Cream fill with teal type is 8.85:1. The sage brand colour is deliberately
   NOT used as a button fill — at 2.78:1 it cannot legibly carry this text.
   ------------------------------------------------------------------------- */
.mn-splash__actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 30px 0 0;
}

@media (min-width: 600px) {
  .mn-splash__actions {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

}

.mn-splash__btn {
  flex: 1 1 0;
  width: 100%;
  max-width: 268px;
  margin: 0 auto;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  /* A banner CTA, and comfortably past the 44px tap minimum. */
  min-height: 58px;
  padding: 11px 26px;
  border: 2px solid transparent;
  border-radius: 999px;

  background: #FFFDF7;
  color: #0F5350;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.20);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.mn-splash__btn-lang {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.mn-splash__btn--ta .mn-splash__btn-lang {
  font-family: var(--mn-font-tamil);
  font-size: 16.5px;
}

.mn-splash__btn-verb {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(15, 83, 80, 0.72);
}

.mn-splash__btn--ta .mn-splash__btn-verb {
  font-family: var(--mn-font-tamil);
}

/* Side by side the pills must stop being flexible. `flex: 1 1 0` above hands
   each one half the stage, `max-width` caps the painted pill at 240px, and
   `margin: 0 auto` centres it inside that oversized half — so the two end up
   far further apart than `gap` says. Fixing the basis and dropping the auto
   margins makes the 12px gap the real, and only, distance between them.
   This has to sit after the base rule rather than inside the earlier
   `min-width: 600px` block: a media query adds no specificity, so the base
   rule below it would win. */
@media (min-width: 600px) {
  .mn-splash__btn {
    flex: 0 1 264px;
    margin: 0;
  }
}

.mn-splash__btn:hover,
.mn-splash__btn:focus-visible {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* Cream-on-cream would vanish, so the focus ring is sage — the one brand
   colour with enough separation from both the button and the teal behind. */
.mn-splash__btn:focus-visible {
  outline: none;
  border-color: #7CA673;
  box-shadow: 0 0 0 4px rgba(124, 166, 115, 0.45), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mn-splash__btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .mn-splash__btn,
  .mn-splash__btn:hover,
  .mn-splash__btn:focus-visible,
  .mn-splash__btn:active { transform: none; transition: none; }
}

/* --- the small print ----------------------------------------------------- */

.mn-splash__note {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 253, 247, 0.62);
  margin: 24px 0 0;
}

/* Both notes are printed, one per script, because at this point we still do
   not know which one the visitor reads. The second only needs spacing off
   the first. */
.mn-splash__note + .mn-splash__note {
  margin-top: 3px;
}

.mn-splash__note[lang="ta"] {
  font-family: var(--mn-font-tamil);
}

/* Sits on the bottom edge of the banner, outside .mn-splash__inner — which
   is why it is a child of .mn-splash and not of the stage. */
.mn-splash__tagline {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 253, 247, 0.50);
  margin: 24px 0 0;
}

/* Short viewports (landscape phones, small laptops). The banner has to fit
   the first screen without scrolling, so the gaps close up before anything
   is allowed to overflow — the type itself is already at its floor. */
@media (max-height: 700px) {
  .mn-splash { padding: 16px 20px 12px; }
  .mn-splash__logo { max-width: 168px; padding: 9px 18px; }
  .mn-splash__kicker { margin-top: 12px; }
  .mn-splash__stage { margin-top: 8px; }
  .mn-splash__actions { margin-top: 16px; }
  .mn-splash__btn { min-height: 48px; padding: 8px 22px; }
  .mn-splash__note { margin-top: 12px; }
  .mn-splash__tagline { margin-top: 14px; }
}

/* Below this the two stacked buttons plus both notes stop fitting at any
   spacing, so the Tamil note carries the message alone: the English note
   says the same thing, and its own button is right above it. */
@media (max-height: 560px) {
  .mn-splash__kicker { display: none; }
  .mn-splash__note[lang="en"] { display: none; }
}

/* --- the decorative vector layer -----------------------------------------
   The splash markup ships three inline SVGs behind the banner (see
   splash.njk). They are positioned AND animated here rather than in the
   layout so the whole arrangement — including what stops moving, and what
   disappears altogether, on a short viewport — reads in one place.

   `position: fixed` matches the body's `background-attachment: fixed`: the
   washes and the vectors are one backdrop and must not part company if the
   banner ever scrolls. `pointer-events: none` on the wrapper is what lets a
   decoration overlap a button without stealing its click.

   MOTION BUDGET. Everything here is slow (4s at the fastest, 34s at the
   slowest), small (nothing travels more than 26px or turns more than 5°),
   and low-contrast. That is not timidity, it is the brief: this is the
   front door of a mental health service, and a backdrop that pulls the eye
   off the one decision the page is asking for has failed at its job. Every
   duration is a prime-ish number of seconds so the cycles keep drifting out
   of phase instead of resynchronising into a visible pulse.

   WHAT ANIMATES WHAT. Three properties are in play and they must not
   collide, because each element carries an SVG `transform` attribute that a
   CSS `transform` property would replace outright:
     • wrapper <g> elements      → `transform` (free: no attribute on them)
     • inner placed elements     → `translate` / `rotate` / `opacity`, which
                                   compose with the attribute
     • the three SVG containers  → `transform`, reserved for the pointer
                                   parallax so the CSS keyframes above and
                                   the JS below never write the same
                                   property on the same element.
   ------------------------------------------------------------------------- */
.mn-splash-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;

  /* Pointer parallax, in the range -1..1 on each axis. The splash's inline
     script writes these; with JS off, or on a touch device, they stay 0 and
     every calc() below resolves to no offset. */
  --mn-px: 0;
  --mn-py: 0;
}

/* The banner has to win the stacking contest against the decor it sits on. */
.mn-splash {
  position: relative;
  z-index: 1;
}

/* --- the three containers, and their parallax ---------------------------
   Each layer answers the pointer by a different amount, nearest moving
   most. That difference IS the depth cue — matched offsets would just slide
   the whole picture. The transition is what smooths a jumpy pointer into a
   glide, so the JS can write raw values and stay simple. -------------------- */

.mn-splash-decor__sky,
.mn-splash-decor__hills,
.mn-splash-decor__sprig {
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mn-splash-decor__sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Furthest back, so it answers least, and against the pointer. */
  transform: translate3d(calc(var(--mn-px) * -16px), calc(var(--mn-py) * -11px), 0);
}

/* Height in vh so the ridges stay a band rather than a stripe on a tall
   phone; capped so they do not climb into the buttons on a short one. */
.mn-splash-decor__hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(110px, 24vh, 230px);
  /* Nearest, so it answers most, and with the pointer. */
  transform: translate3d(calc(var(--mn-px) * 24px), 0, 0);
}

/* Sprigs keep their own aspect ratio, so only the width is set. They are
   pulled slightly off-screen at the sides: a sprig rooted exactly on the
   edge looks placed, one that runs off it looks like it carries on. */
.mn-splash-decor__sprig {
  position: absolute;
  bottom: 0;
  width: clamp(96px, 13vw, 168px);
  height: auto;
  transform: translate3d(calc(var(--mn-px) * 11px), 0, 0);

  /* Rooted, so it pivots from where it meets the ground rather than from
     its middle. `rotate` and not `transform`, because `transform` is
     carrying the parallax — the two properties compose, and this is the one
     place on the page where both are animating the same element at once. */
  transform-origin: 50% 100%;
  animation: mn-decor-sway 13s ease-in-out infinite;
}

.mn-splash-decor__sprig--left  { left: -14px; }

.mn-splash-decor__sprig--right {
  right: -14px;
  opacity: 0.9;
  /* Offset and a touch slower, so the two corners never sway in lockstep. */
  animation-duration: 17s;
  animation-delay: -6s;
}

/* --- keyframes -----------------------------------------------------------
   All eight are written to be composable: each touches ONE property, so two
   can run on the same element without either clobbering the other. -------- */

/* Sparkles rise and settle. */
@keyframes mn-decor-drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -16px; }
}

/* The twinkle, and the dot shimmer. Opacity only — a `scale` here would
   compose OUTSIDE the element's placement transform and swing the shape
   away from where it was put, rather than growing it in place. */
@keyframes mn-decor-twinkle {
  0%, 100% { opacity: 0.34; }
  50%      { opacity: 1; }
}

/* Rings breathe. On a wrapper <g> with `transform-box: fill-box`, the
   origin is the circle's own centre, so this grows in place. */
@keyframes mn-decor-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.075); }
}

/* Hearts rise further and fade with it, so they read as lifting away
   rather than bobbing on a string. */
@keyframes mn-decor-rise {
  0%, 100% { translate: 0 5px;   opacity: 0.3; }
  50%      { translate: 0 -12px; opacity: 0.85; }
}

/* One sway, three amplitudes — the whole sprig, then its leaves on top. */
@keyframes mn-decor-sway {
  0%, 100% { rotate: -1.7deg; }
  50%      { rotate: 1.7deg; }
}

@keyframes mn-decor-leaf-sway {
  0%, 100% { transform: rotate(-3.5deg); }
  50%      { transform: rotate(4.5deg); }
}

/* The ridges. Three amplitudes rather than three speeds of the same
   distance: parallax is about how FAR a layer moves, not how fast. */
@keyframes mn-decor-swell-back  { 0%, 100% { translate: -7px 0; }  50% { translate: 7px -2px; } }
@keyframes mn-decor-swell-mid   { 0%, 100% { translate: 13px 0; }  50% { translate: -13px 3px; } }
@keyframes mn-decor-swell-front { 0%, 100% { translate: -21px 2px; } 50% { translate: 21px -4px; } }

/* --- who moves, and on what clock ---------------------------------------- */

/* Rings. `fill-box` is what puts the origin on each circle instead of on
   the 1440x900 viewBox, which is where `view-box` (the SVG default for a
   <g>) would put it — and scaling about a corner 1200px away is a swing,
   not a breath. */
.mn-decor-rings > g {
  transform-box: fill-box;
  transform-origin: center;
  animation: mn-decor-breathe 19s ease-in-out infinite;
}
.mn-decor-rings > g:nth-child(2) { animation-duration: 23s; animation-delay: -7s; }
.mn-decor-rings > g:nth-child(3) { animation-duration: 15s; animation-delay: -4s; }
.mn-decor-rings > g:nth-child(4) { animation-duration: 27s; animation-delay: -12s; }

/* Dots shimmer in columns. The grid is written in row order, so `4n + c`
   picks a column out of the 4-wide field and the wave crosses left to
   right; the 3-wide field below reuses the same buckets harmlessly. */
.mn-decor-dots circle {
  animation: mn-decor-twinkle 5.5s ease-in-out infinite;
}
.mn-decor-dots circle:nth-child(4n + 1) { animation-delay: 0s; }
.mn-decor-dots circle:nth-child(4n + 2) { animation-delay: -0.5s; }
.mn-decor-dots circle:nth-child(4n + 3) { animation-delay: -1s; }
.mn-decor-dots circle:nth-child(4n + 4) { animation-delay: -1.5s; }

/* Sparkles: drift and twinkle at once, seven clocks, no two alike. The two
   animations touch different properties, which is the only reason they can
   share an element. */
.mn-decor-sparks > g {
  animation: mn-decor-drift 11s ease-in-out infinite,
             mn-decor-twinkle 4.5s ease-in-out infinite;
}
.mn-decor-sparks > g:nth-child(2) { animation-duration: 14s, 6.5s;  animation-delay: -3s, -1.5s; }
.mn-decor-sparks > g:nth-child(3) { animation-duration: 9s,  5.5s;  animation-delay: -6s, -3s; }
.mn-decor-sparks > g:nth-child(4) { animation-duration: 13s, 7s;    animation-delay: -2s, -4.5s; }
.mn-decor-sparks > g:nth-child(5) { animation-duration: 17s, 4s;    animation-delay: -9s, -2s; }
.mn-decor-sparks > g:nth-child(6) { animation-duration: 10s, 6s;    animation-delay: -4s, -5s; }
.mn-decor-sparks > g:nth-child(7) { animation-duration: 15s, 5s;    animation-delay: -7s, -0.8s; }

.mn-decor-hearts > g {
  animation: mn-decor-rise 21s ease-in-out infinite;
}
.mn-decor-hearts > g:nth-child(2) { animation-duration: 26s; animation-delay: -11s; }

/* Leaves. `fill-box` origin at 0% 100% is the bottom-left of the leaf's own
   box — which, for a leaf drawn growing up and to the right from its stem
   joint, is that joint. So it hinges where it is actually attached. */
.mn-decor-leaf {
  transform-box: fill-box;
  transform-origin: 0% 100%;
  animation: mn-decor-leaf-sway 8s ease-in-out infinite;
}
.mn-splash-decor__sprig .mn-decor-leaf:nth-of-type(2) { animation-duration: 11s; animation-delay: -3.5s; }

.mn-decor-hill--back  { animation: mn-decor-swell-back 34s ease-in-out infinite; }
.mn-decor-hill--mid   { animation: mn-decor-swell-mid 26s ease-in-out infinite -8s; }
.mn-decor-hill--front { animation: mn-decor-swell-front 19s ease-in-out infinite -4s; }

/* Composited layers. Only the four containers get the hint — putting it on
   the ~30 individual shapes would hand each one its own layer and cost far
   more than it saves. */
.mn-splash-decor__sky,
.mn-splash-decor__hills,
.mn-splash-decor__sprig {
  will-change: transform;
}

/* --- reduced motion ------------------------------------------------------
   Everything stops, and the parallax with it: the offsets are driven by two
   custom properties, so pinning them to 0 here neutralises the JS as well,
   whatever it writes. The drawing itself stays — it is decoration, not
   animation, and a still backdrop is exactly what this preference asks for.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mn-splash-decor { --mn-px: 0 !important; --mn-py: 0 !important; }

  .mn-splash-decor *,
  .mn-splash-decor__sprig {
    animation: none !important;
    transition: none !important;
  }
}

/* Short viewports: the sprigs are the first thing to go — they occupy the
   bottom corners, which is exactly where the tagline needs room. Below the
   next step the whole layer goes, because at that height every pixel the
   banner has is spoken for. */
@media (max-height: 700px) {
  .mn-splash-decor__hills { height: clamp(90px, 18vh, 150px); }
  .mn-splash-decor__sprig { width: clamp(80px, 10vw, 118px); }
}

@media (max-height: 560px) {
  .mn-splash-decor__sprig { display: none; }
}

/* ============================================
   Home banner (2026-09-01)
   Replaces the old two-column .page_hero_section on / with the reference
   site's banner shape: one colour band bleeding edge to edge, a small static
   kicker, a large headline that rotates on a timer, and a single pill CTA.

   Layout metrics follow the reference — kicker 24px/600, headline
   32px→42px/700 with 1.28px→1.92px tracking, 16px→20px gap, and a button of
   40px height at 12px/700 uppercase with 1.2px tracking — but the colours
   are MindNalam's: a soft sage band, the sage→forest gradient on the kicker,
   a forest headline and a forest pill.

   An illustrated vector scene — palms, a rising sun, layered ridges, birds,
   drifting cloud, every part of it animated — stood behind the text from
   2026-09-01 until 2026-09-10, when the client asked for the background on
   its own. Its markup was partials/banner-scene.njk; recover it from git if
   it is ever wanted back.
   ============================================ */
.mn-banner {
  position: relative;
  /* Same gradient as .mn-abouthero. The site header is position:fixed
     (69px desktop / 73px touch), so the top padding is what clears it —
     tightened on 2026-09-15 from 192/124 so the band sits closer to the
     header and the content below. */
  background: #dae7e6;
  padding: 140px 0 80px;
  overflow: hidden;
}

.mn-banner__container { position: relative; }

.mn-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.mn-banner__kicker {
  margin: 0 auto;
  max-width: 680px;
  /* .mn-abouthero__eyebrow's type: 15px/600 in the brand colour. */
  font-size: 24px ;
  font-weight: 600;
  line-height: 1.5;
  color: var(--mn-brand);
}

@media (max-width: 767px) {
    .mn-banner__kicker {
        font-size: 18px;
    }
}
/* Rotator. Every line is in the DOM and stacked in one grid cell, so the
   box is always as tall as its tallest line and the band never jumps as the
   text changes. Only .is-active is visible. */
.mn-banner__rotator {
  display: grid;
  align-items: center;
  justify-items: center;
  /* Capped rather than left to fill the container: the Tamil lines are much
     longer than the English ones and ran the full 1440 at desktop. Wrapping
     inside the cap is safe — the lines share one grid cell, so the box is
     always as tall as the tallest and the band never jumps mid-rotation. */
  max-width: 900px;
  margin: 0 auto;
}
.mn-banner__headline {
  grid-area: 1 / 1;
  margin: 0;
  /* .mn-abouthero__title's type: 46px/700, no tracking. */
  font-size: 46px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--mn-brand-dark);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.mn-banner__headline.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mn-banner__cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.mn-banner__cta:hover,
.mn-banner__cta:focus { background: var(--mn-brand-dark); color: #fff; }
.mn-banner__cta:active { background: #072C2A; color: #fff; }

@media (max-width: 991px) {
  .mn-banner { padding: 116px 0 60px; }
  .mn-banner__inner { gap: 16px; }
  .mn-banner__headline { font-size: 32px; }
  .mn-banner__cta { margin-top: 22px; }
}

/* A rotating headline is motion the reader did not ask for, so honour the
   OS setting: the crossfade is dropped and the first line simply stays. */
@media (prefers-reduced-motion: reduce) {
  .mn-banner__headline { transition: none; }
}

/* ============================================
   Home panel — therapist section (2026-09-01)
   Laid out to the reference site's therapist block. Reference metrics kept:
   1196px content column inside a 1392px block, 56px controls on a 12px
   radius, 12px bar gap, 32px between bar and grid, 24px grid gutter, heading
   32px/600 at 1.28px tracking sitting 100px above the block and hidden below
   the lg breakpoint. Colours are MindNalam's throughout.

   Filtering toggles [hidden] on the grid items from main.js; nothing here
   depends on that having run.
   ============================================ */
.mn-panel {
  scroll-margin-top: 80px;
  padding-bottom: 56px;
}

/* /book/ reuses the filter bar but not the panel section around it: the page
   has its own heading, its own .container and its own card grid. This strips
   the section-level padding so the bar sits directly above that grid. */
.mn-panel--bare { padding-bottom: 0; }

.mn-panel__title {
  /* 48px, not the 100px this carried before (request 2026-09-28): the intro
     section above already ends on 36px of its own padding, so 100px put
     most of a screen of white between the story button and this heading. */
  margin: 48px auto 0;
  /* Typography comes from .section_heading_text like every other section. */
}
/* Shown at every width (request 2026-09-16; the reference hid it below
   992px). Only the top margin tightens on smaller screens. */
@media (max-width: 991px) {
  .mn-panel__title { margin-top: 56px; }
}
@media (max-width: 575.98px) {
  /* padding-top stops the title's margin collapsing through the section,
     so the heading gets real breathing room under the section above. */
  .mn-panel { padding-top: 8px; }
  .mn-panel__title { margin-top: 28px; }
}

.mn-panel__block {
  max-width: 1392px;
  margin: 0 auto;
  padding: 56px 24px;
  border-radius: 12px;
  background: #fff;
}

/* ---- filter bar ---- */
.mn-panel__bar {
  max-width: 1196px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mn-panel__search {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 6px 0 14px;
  border-radius: 10px;
  background: var(--mn-brand-bg);
  border: 1px solid transparent;
}
.mn-panel__search:focus-within { border-color: var(--mn-brand); background: #fff; }
.mn-panel__search-icon { color: #8A9694; font-size: 14px; margin-right: 10px; }
.mn-panel__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  line-height: 20px;
  color: #1B1B1B;
}
.mn-panel__search input::placeholder { color: #8A9694; font-weight: 400; }
/* Chrome draws its own clear button on type=search; it lands on the tinted
   field at the wrong size, so Clear filters is the only reset offered. */
.mn-panel__search input::-webkit-search-cancel-button { display: none; }

.mn-panel__sep {
  flex: none;
  width: 1px;
  height: 36px;
  background: var(--mn-brand-tint);
  margin: 0 2px;
}

/* ---- mode picker (a <details>, so it opens and closes with no JS) ---- */
.mn-panel__mode { position: relative; flex: none; }
.mn-panel__mode > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 10px 0 16px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
/* Safari draws a disclosure triangle that list-style alone will not remove. */
.mn-panel__mode > summary::-webkit-details-marker { display: none; }
.mn-panel__mode > summary:hover { background: rgba(15, 83, 80, 0.05); }
.mn-panel__mode > summary:focus-visible { outline: 2px solid var(--mn-brand); outline-offset: 1px; }
.mn-panel__mode-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mn-panel__mode-value { font-size: 14px; font-weight: 700; line-height: 1.3; color: #000; }
.mn-panel__mode-caption { font-size: 12px; line-height: 12px; color: #666; }
.mn-panel__mode > summary i { font-size: 11px; color: #666; transition: rotate 0.2s ease; }
.mn-panel__mode[open] > summary i { rotate: 180deg; }

.mn-panel__mode-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
  box-shadow: 0 16px 32px rgba(15, 83, 80, 0.14);
}
.mn-panel__mode-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 14px;
  color: #1B1B1B;
  cursor: pointer;
}
.mn-panel__mode-menu button:hover { background: var(--mn-brand-bg); }
.mn-panel__mode-menu button[aria-current="true"] {
  background: var(--mn-brand);
  color: #fff;
  font-weight: 600;
}

/* ---- specialty chips ---- */
.mn-panel__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 880px; margin: 0 auto; } /* 880px breaks the seven categories over two centred lines (request 2026-09-30) */
.mn-panel__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.mn-panel__chip i { font-size: 15px; color: var(--mn-sage-text); transition: color 0.2s ease; }
.mn-panel__chip:hover { border-color: rgba(0, 0, 0, 0.18); }
.mn-panel__chip.is-active {
  background: var(--mn-brand);
  border-color: var(--mn-brand);
  color: #fff;
}
.mn-panel__chip.is-active i { color: #fff; }

/* ---- card grid ---- */
/* minmax(0, 1fr) rather than a bare 1fr on every track: 1fr floors at the
   track's min-content, and a pro card's min-content is wide (the chip row is
   nowrap and scrolls), so bare 1fr blew the grid past its own max-width and
   pushed the third column off screen. */
.mn-panel__grid {
  max-width: 1196px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 640px) { .mn-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mn-panel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* A hidden grid item would still hold its track open, so the filter has to
   take it out of layout rather than only make it invisible. */
.mn-panel__grid > [hidden] { display: none; }
/* Home "How can we help you?" — single visible card, centred. Tier badge is
   hidden in this section only; the card partial and other pages keep it. */
.mn-panel__grid--single { grid-template-columns: minmax(0, 380px) !important; justify-content: center; }
/* Service and concern pages draw the same card into this grid; with one or
   two professionals the row is centred instead of hugging the left edge
   (pros.js toggles the class from the live count). */
.mn-panel__grid--few { grid-template-columns: repeat(auto-fit, minmax(0, 380px)) !important; justify-content: center; }
.mn-panel .mn-tier-badge { display: none; }

.mn-panel__empty {
  max-width: 1196px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
  font-size: 15px;
  color: #51565D;
}
.mn-panel__clear {
  display: inline-block;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mn-brand);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- view more ---- */
.mn-panel__more { margin-top: 40px; text-align: center; }
.mn-panel__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.mn-panel__more-btn:hover,
.mn-panel__more-btn:focus { background: var(--mn-brand-dark); color: #fff; }

/* Below lg the bar stacks and the chips become a grid: 4-up, then 2-up on a
   phone — the reference's grid-cols-2 md:grid-cols-4 lg:flex, read back. */
@media (max-width: 1023px) {
  .mn-panel { padding-bottom: 40px; }
  .mn-panel__block { padding: 32px 24px; border-radius: 0; }
  .mn-panel__bar { align-items: stretch; gap: 12px; }
  .mn-panel__search { max-width: none; height: 48px; }
  .mn-panel__sep { display: none; }
  .mn-panel__chips { flex-wrap: wrap; justify-content: center; gap: 10px; overflow-x: visible; }
  .mn-panel__chip { flex: 0 1 calc(50% - 6px); justify-content: center; padding: 0 10px; white-space: normal; height: 44px; }
}
@media (max-width: 767px) {
  .mn-panel__block { padding: 28px 16px; }
  .mn-panel__mode-menu { right: auto; left: 0; }
}

/* ============================================
   Pro card v3 (2026-09-01)
   Rebuilt block for block to the reference marketplace card — see
   partials/pro-card.njk for the anatomy. Two earlier .mn-pro-card blocks
   remain above; this one is last, so it wins on equal specificity, and they
   are left in place because the wizard and concern pages still lean on some
   of their child classes.

   Reference metrics kept: card radius 12px, header padding 16px with 64px
   at the foot, portrait 95x105 contained and bottom-aligned, body pulled up
   32px on its own 12px top radius, body padding 16px/20px on a 12px gap,
   chips 14px medium on a 6px radius, stat tiles 48px tall on a 6px radius,
   View profile 32px on a 50px radius, Book now 40px at 12px bold with 1.2px
   tracking. Colours are MindNalam's: sage-teal tint where the reference is
   yellow, forest where it is black.
   ============================================ */
.mn-pro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid #F1F5F4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 83, 80, 0.08);
}
.mn-pro-card:hover { box-shadow: 0 18px 40px rgba(15, 83, 80, 0.13); }

/* ---- header ---- */
.mn-pro-card__head {
  position: relative;
  flex: none;
  display: block;
  padding: 16px 16px 64px;
  background: var(--mn-brand-tint);
}
.mn-pro-card__id {
  display: block;
  padding: 12px 0 0;
  /* Leaves the portrait its 95px plus the gutter, so a long name truncates
     instead of running under the photo. */
  max-width: calc(100% - 130px);
}
.mn-pro-card__name {
  margin: 0 0 4px;
  font-family: var(--bs-font-heading), inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mn-brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-pro-card__name a { color: inherit; }
.mn-pro-card__name a:hover,
.mn-pro-card__name a:focus { color: var(--mn-brand); }
.mn-pro-card__cat {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #1B1B1B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Portrait is pinned to the header box, top-aligned with the name so the
   text and the photo start on one line (request 2026-09-15). object-fit:
   contain, not cover — these are cut-outs, and cover would crop them. */
.mn-pro-card .mn-pro-card__image {
  position: absolute;
  right: 16px;
  top: 28px;
  bottom: 32px;
  width: 95px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
}
.mn-pro-card .mn-pro-card__image::after { content: none; }
.mn-pro-card .mn-pro-card__image::before { font-size: 34px; opacity: 0.4; }
.mn-pro-card .mn-pro-card__image img {
  width: 100%;
  max-height: 105px;
  height: auto;
  object-fit: contain;
  object-position: top;
}

/* ---- body: a sheet lying on the header's bottom padding ---- */
.mn-pro-card__body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -32px;
  padding: 20px 16px;
  border-radius: 12px 12px 0 0;
  background: #fff;
}

.mn-pro-card__rule {
  flex: none;
  height: 1px;
  margin: 0;
  border: 0;
  background: #EBEFEE;
  opacity: 1;
}

/* ---- specialisation chips ---- */
.mn-pro-card__tagrow {
  min-height: 30px;
  display: flex;
  align-items: center;
}
.mn-pro-card__marquee {
  display: flex;
  gap: 4px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
}
/* Until main.js measures an overflow the duplicate track is out of the way
   and the real one simply scrolls, so a card with three short chips is not
   animating for nothing — and neither is one where JS never arrived. */
.mn-pro-card__marquee > .mn-pro-card__tags + .mn-pro-card__tags { display: none; }
.mn-pro-card__marquee:not(.is-marquee) { overflow-x: auto; scrollbar-width: none; }
.mn-pro-card__marquee:not(.is-marquee)::-webkit-scrollbar { display: none; }

.mn-pro-card__marquee.is-marquee > .mn-pro-card__tags + .mn-pro-card__tags { display: flex; }
.mn-pro-card__marquee.is-marquee > .mn-pro-card__tags {
  animation: mn-pro-marquee 22s linear infinite;
}
.mn-pro-card__marquee.is-marquee:hover > .mn-pro-card__tags { animation-play-state: paused; }
/* Both tracks are identical and sit side by side, so translating the pair by
   one track width lands exactly where it started. */
@keyframes mn-pro-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 4px)); }
}

.mn-pro-card__tags {
  flex: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}
.mn-pro-card__tags li {
  flex: none;
  padding: 8px 16px;
  border: 1px solid #EAF1EF;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #1B1B1B;
  white-space: nowrap;
}

/* ---- voice player + View profile ---- */
.mn-pro-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.mn-pro-card__voice {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: #F1F7F5;
}
.mn-pro-card__voice-btn {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--mn-brand);
  font-size: 12px;
  cursor: pointer;
}
.mn-pro-card__voice-btn:active { transform: scale(0.9); }
.mn-pro-card__voice-btn .mn-voice-pause { display: none; }
.mn-pro-card__voice-btn[data-playing] .mn-voice-play { display: none; }
.mn-pro-card__voice-btn[data-playing] .mn-voice-pause { display: inline; }

.mn-pro-card__wave {
  flex: 1 1 auto;
  min-width: 0;
  height: 16px;
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}
.mn-pro-card__wave i {
  flex: none;
  width: 3px;
  border-radius: 999px;
  background: #D3DEDC;
}
/* First bar reads as the playhead at rest, as on the reference. */
.mn-pro-card__wave i:first-child { background: var(--mn-brand); }

.mn-pro-card__profile {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--mn-brand-dark);
  border-radius: 50px;
  background: transparent;
  color: var(--mn-brand-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.mn-pro-card__profile:hover,
.mn-pro-card__profile:focus {
  background: var(--mn-brand);
  border-color: var(--mn-brand);
  color: #fff;
}
/* No voice intro on this professional, so View profile is alone in the row.
   Left as a small right-aligned pill it leaves a blank half-row that reads
   as a missing element; stretched, the row looks deliberate. The reference
   never hits this case because every one of its profiles has audio. */
.mn-pro-card__profile:only-child { flex: 1 1 auto; margin-left: 0; }

/* ---- stat tiles ---- */
.mn-pro-card__stats {
  display: flex;
  align-items: stretch;
  gap: 4px;
  /* The v2 block draws this as one bordered strip with divider rules between
     the cells and its own 16/20 margin. The reference uses three separate
     tiles with a 4px gap, so the strip's border and margin are cleared here
     and the separation comes from the gap instead. */
  margin: 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}
.mn-pro-card__stats > li {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: #F1F7F5;
}
.mn-pro-card__stats strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #1B1B1B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-pro-card__stats span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #5C5C5C;
  /* The v2 block above uppercases these with tracking; the reference's read
     as sentence case, so both are reset here rather than left to cascade. */
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- footer ---- */
.mn-pro-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  /* Margin, not just margin-top: the v2 block sets 16px/20px on all four
     sides, which would double up with the body's own padding. */
  margin: auto 0 0;
  padding-top: 8px;
  border-top: 0;
}
/* Overrides the v1 block's [hidden] handling: this element is always shown
   now, because it is the footer's left column rather than a chip that
   appears once a fetch lands. */
.mn-pro-card__slot {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* Two earlier blocks style this as an inline pill with its own margin and
     align-self; all of that is unwound here, because in this layout it is
     the footer's left column and nothing else. */
  align-items: flex-start;
  align-self: auto;
  text-align: left;
  gap: 2px;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.mn-pro-card__slot[data-state="no-slots"] { background: none; color: inherit; }
.mn-pro-card__slot-cap {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(27, 27, 27, 0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-pro-card__slot-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #1B1B1B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mn-pro-card__slot-dot { display: none; }

.mn-pro-card__book {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.mn-pro-card__book:hover,
.mn-pro-card__book:focus { background: var(--mn-brand-dark); color: #fff; }
/* Tamil does not uppercase and its labels are far longer, so the tracking
   and the caps that suit the English label only waste width here. */
/* Was html[lang="ta"], which never matched: the document is lang="ta-IN",
   and an attribute selector is an exact match. The rule below is the
   original intent, now actually applying. */
html[lang="ta-IN"] .mn-pro-card__book {
  text-transform: none;
  letter-spacing: 0;
  padding: 0 16px;
  font-size: 13px;
}

/* Sample ribbon sits over the tinted header. */
.mn-pro-card > .mn-sample-ribbon { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .mn-pro-card__marquee.is-marquee > .mn-pro-card__tags { animation: none; }
}

/* ============================================
   About page (2026-09-01)
   Rebuilt to the reference About page's section order and layout: hero,
   story, why-it-matters cards, what-we're-changing, change makers, join.
   Colours are MindNalam's — brand teal and sage where the reference runs
   coral, mint and yellow.

   The italic accent inside each heading is an <em> in the string tree, so a
   translator can move it to whichever phrase carries the emphasis in that
   language rather than being stuck with the English word order.
   ============================================ */
.mn-about-em,
.mn-abouthero__title em,
.mn-story__title em,
.mn-changing__title em,
.mn-join__title em,
.mn-section-title em {
  font-style: italic;
  color: var(--mn-brand);
}

/* Shared centred section heading + lede for this page. */
.mn-section-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}
.mn-section-lede {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #51565D;
}

/* ---- hero ---- */
.mn-abouthero {
  position: relative;
  /* Runs up behind the fixed header, so the top padding is what clears it.
     Deeper than the home banner's sage so the two pages do not open on the
     same colour. */
  /* Bumped from 168/76, then again. The top figure is what clears the fixed header, so
     most of the extra height goes on the bottom, where it reads as a deeper
     banner rather than as the title sitting lower. */
  padding: 192px 0 124px;
  background: #dae7e6;
  overflow: hidden;
  text-align: center;
}

.mn-abouthero__container { position: relative; }

/* The /about/ hero carries only an eyebrow and a title. Used as the shared
   inner-page banner it also has to hold a lede and a breadcrumb, so those two
   are styled here to the same centred rhythm as .mn-banner's. */
.mn-abouthero__lede {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: #3F5C58;
}
.mn-abouthero__crumbs {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #4A6A66;
}
.mn-abouthero__crumbs > li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(15, 83, 80, 0.4);
}
.mn-abouthero__crumbs a,
.mn-abouthero__crumbs a:visited { color: var(--mn-brand); }
.mn-abouthero__crumbs a:hover { text-decoration: underline; }

/* Breadcrumbs on every inner page (2026-09-13). The client wants a trail on
   each page except home so the home page is always one click away. The pages
   that carry their own hero rather than the centred banner (the four service
   pages, the concern pages, the professional profiles) use this variant so
   the trail sits on the same left edge as the heading above the copy, not
   centred under it. */
.mn-abouthero__crumbs.mn-crumbs--start {
  justify-content: flex-start;
  margin: 0 0 18px;
}
/* The profile page has no hero at all — a grid backdrop with a two-column
   block — so the trail gets its own row above that block, on the same
   column as .mn-tp__inner. */
.mn-tp__crumbs {
  max-width: 1250px;
  margin: 0 auto 22px;
  padding: 0 24px;
}

@media (max-width: 991px) {
  .mn-abouthero__lede { font-size: 16px; margin-top: 14px; }
  .mn-abouthero__crumbs { margin-top: 16px; font-size: 13px; }
  /* Heroes stack and centre their copy below lg, so the trail centres too. */
  .mn-abouthero__crumbs.mn-crumbs--start { margin: 0 0 14px; justify-content: center; }
}

/* Shared sway. Named for the home banner, which is where it was written and
   where it no longer runs, and kept alive since by callers elsewhere — the
   banner's own scene came out on 2026-09-10 and the about-hero sprigs with
   it. The /join/ panel sprigs further down this file are the last caller.
   Kept under the old name so that rule did not have to change; rename it if
   the name ever becomes actively misleading. */
@keyframes mn-banner-sway {
  0%, 100% { rotate: -1.1deg; }
  50%      { rotate: 1.1deg; }
}
.mn-abouthero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mn-brand);
}
.mn-abouthero__eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--mn-brand);
}
.mn-abouthero__title {
  max-width: 860px;
  margin: 0 auto;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--mn-brand-dark);
}

/* ---- story ---- */
/* The story section is a white band between two coloured blocks — the hero
   gradient above, the sage .mn-whycards below — so its edges are crisp and the
   vendor's uneven .section_space_lg (150 top / 160 bottom) reads as the band
   sitting 10px high in its own gap.

   Equalised on the top value at each of the three breakpoints the vendor
   defines: 150 by default, 100 under 1440px, 70 under 425px. Scoped to
   .mn-story so no other .section_space_lg on the site moves. */
.mn-story.section_space_lg { padding-top: 80px; padding-bottom: 80px; }

@media screen and (max-width: 1440px) {
  .mn-story.section_space_lg { padding-top: 64px; padding-bottom: 64px; }
}
@media screen and (max-width: 425px) {
  .mn-story.section_space_lg { padding-top: 40px; padding-bottom: 40px; }
}

.mn-story__title {
  margin: 0 0 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
  text-align: center;
}
.mn-story__body {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #51565D;
  text-align: justify;
}

/* Read more. A <details>, so the tail of the story is in the document for
   search and opens with no JS. The two labels swap on [open]. */
.mn-story__more { text-align: center; }
.mn-story__more > summary {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-top: 8px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.mn-story__more > summary::-webkit-details-marker { display: none; }
.mn-story__more > summary:hover { background: var(--mn-brand-dark); }
/* Open: the button moves below the revealed paragraphs. A summary has to be
   the first child of its details in the markup, so the reorder is visual
   only — flex column with the summary last. Paragraphs stretch back to
   full width so their justified text is unaffected. */
.mn-story__more[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mn-story__more[open] > .mn-story__body { align-self: stretch; }
.mn-story__more[open] > summary { order: 1; margin: 8px 0 0; }
.mn-story__more .mn-story__more-close,
.mn-story__more[open] .mn-story__more-open { display: none; }
.mn-story__more[open] .mn-story__more-close { display: inline; }

.mn-about-art { width: 100%; height: auto; display: block; }
@media (max-width: 991.98px) {
  .mn-story .row { --bs-gutter-y: 16px; }
  .mn-about-art { max-width: 280px; margin: 0 auto; }
}

/* ---- why it matters ---- */
.mn-whycards { background: var(--mn-sage-bg); }
.mn-whycards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mn-whycards__card {
  position: relative;
  padding: 52px 26px 30px;
  border-radius: 14px;
  background: var(--mn-brand);
  color: #fff;
  text-align: left;
}
.mn-whycards__badge {
  position: absolute;
  top: -26px;
  left: 26px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mn-brand);
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(15, 83, 80, 0.16);
}
.mn-whycards__step {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.mn-whycards__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.mn-whycards__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

/* ---- what we're changing ---- */
.mn-changing__title {
  margin: 0 0 28px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
  text-align: center;
}
.mn-changing__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mn-changing;
}
.mn-changing__list > li {
  position: relative;
  padding: 22px 0 22px 46px;
  border-bottom: 1px solid #E3ECEA;
}
.mn-changing__list > li:last-child { border-bottom: 0; }
/* Numbered from a counter rather than markup, so reordering the strings
   renumbers the list on its own. */
.mn-changing__list > li::before {
  counter-increment: mn-changing;
  content: counter(mn-changing, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-size: 20px;
  font-weight: 800;
  color: var(--mn-brand, #0F5350);
}
.mn-changing__item-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
  text-align: left;
}
.mn-changing__item-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
  text-align: left;
}

/* Rings breathe, on the splash decor's clocks. fill-box puts each origin on
   its own circle; without it they scale about the viewBox corner and swing. */
.mn-about-rings > g {
  transform-box: fill-box;
  transform-origin: center;
  animation: mn-decor-breathe 21s ease-in-out infinite;
}
.mn-about-rings > g:nth-child(2) { animation-duration: 17s; animation-delay: -5s; }
.mn-about-rings > g:nth-child(3) { animation-duration: 25s; animation-delay: -11s; }

/* ---- change makers / team alternating layout ---- */
.mn-makers {
  background: var(--mn-brand-bg);
  padding: 64px 0;
  position: relative;
}
.mn-makers--tint {
  background: var(--mn-brand-bg);
}
.mn-makers--white {
  background: #ffffff;
}
.mn-makers__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
}
/* Alternating direction for rows */
.mn-makers__list > .mn-makers__row:nth-child(even),
.mn-makers__row--reverse {
  direction: rtl;
}
.mn-makers__list > .mn-makers__row:nth-child(even) > *,
.mn-makers__row--reverse > * {
  direction: ltr;
}
.mn-makers__list > .mn-makers__row + .mn-makers__row {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid #DAE7E6;
}

.mn-makers__photo {
  position: relative;
  padding: 18px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}
/* Organic blob behind the portrait */
.mn-makers__blob {
  position: absolute;
  inset: -18px -22px -26px -14px;
  background: var(--mn-sage);
  opacity: 0.5;
  border-radius: 62% 38% 46% 54% / 54% 44% 56% 46%;
}
.mn-makers__photo img {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 32px rgba(15, 83, 80, 0.12);
  image-rendering: auto;
}

.mn-makers__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mn-makers__name {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}
.mn-makers__role {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #51565D;
}
.mn-makers__tagline {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mn-sage-text);
  max-width: 620px;
}
.mn-makers__creds {
  margin: 0 0 18px;
  font-size: 14px;
  color: #6B7278;
}
.mn-makers__para {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #51565D;
  max-width: 600px;
}
/* The responsibilities live in a dialog rather than in the row, so one long
   profile does not stretch the section past every other person's. */
.mn-makers__rolesbtn {
  margin: 6px 0 4px;
  padding: 11px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--mn-sage-text);
  background: transparent;
  border: 1.5px solid var(--mn-sage-text);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.mn-makers__rolesbtn:hover,
.mn-makers__rolesbtn:focus-visible {
  background: var(--mn-sage-text);
  color: #fff;
}
.mn-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(15, 83, 80, 0.22);
  color: #51565D;
}
.mn-modal::backdrop {
  background: rgba(15, 42, 40, 0.55);
}
.mn-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #E8EDEB;
}
.mn-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--mn-sage-text);
}
.mn-modal__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  color: #6B7278;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.mn-modal__close:hover,
.mn-modal__close:focus-visible {
  background: #F1F5F3;
  color: var(--mn-sage-text);
}
.mn-modal__body {
  padding: 18px 24px 26px;
  overflow-y: auto;
  max-height: calc(min(80vh, 760px) - 78px);
  text-align: left;
}
/* Inside the dialog these are not constrained by the row's column. */
.mn-modal__body .mn-makers__grouptitle,
.mn-modal__body .mn-makers__bullets {
  max-width: none;
}
.mn-modal__body .mn-makers__grouptitle:first-child {
  margin-top: 0;
}

/* Headings and bullets for a profile long enough to need them. Same 600px
   measure as the paragraphs, so the column edge stays straight. */
.mn-makers__subhead {
  margin: 26px 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--mn-sage-text);
  max-width: 600px;
}
.mn-makers__grouptitle {
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #3C4248;
  max-width: 600px;
}
.mn-makers__bullets {
  margin: 0 0 14px;
  padding-left: 20px;
  max-width: 600px;
  list-style: disc;
}
.mn-makers__bullets li {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
}
.mn-makers__quote {
  margin: 18px auto;
  max-width: 580px;
  padding: 14px 24px;
  border-left: 3px solid var(--mn-sage);
  border-right: 3px solid var(--mn-sage);
  background: rgba(124, 166, 115, 0.08);
  border-radius: 12px;
  text-align: center;
}
.mn-makers__quote p {
  margin: 0;
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--mn-brand-dark);
}

/* ---- join ----
   The page's closing block. Drawn as a deep brand panel rather than centred
   text on white: the reference fills this slot with a team photo, and with
   nothing in it the plain version read as a section that had failed to load.
   The empty colour band that used to sit under it is gone with it — it was
   120px of nothing between the CTA and the footer. */
.mn-join__card {
  position: relative;
  overflow: hidden;
  padding: 76px 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--mn-brand-dark) 0%, var(--mn-brand) 62%, #146B67 100%);
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 83, 80, 0.22);
}
.mn-join__decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mn-join__inner { position: relative; z-index: 1; }

.mn-join__title {
  max-width: 780px;
  margin: 0 auto 16px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  text-align: center;
}
/* The page-wide accent rule paints these brand teal, which on this panel is
   teal on teal. Cream instead — the accent the banner scene used against the
   same green, and still the one the sun-warm end of the palette supplies. */
.mn-join__title em { color: #FFECBE; }
.mn-join__body {
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}
/* Inverted against the panel — a teal button on a teal ground would have no
   edge at all. */
.mn-join__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mn-join__cta:hover,
.mn-join__cta:focus { background: #FFECBE; color: var(--mn-brand-dark); }
.mn-join__cta i { font-size: 12px; }

/* Sprigs sway from the panel floor they are rooted in. */
.mn-join__sprig {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: mn-banner-sway 15s ease-in-out infinite;
}
.mn-join__sprig + .mn-join__sprig { animation-duration: 19s; animation-delay: -7s; }

@media (max-width: 991px) {
  .mn-abouthero { padding: 148px 0 90px; }
  .mn-abouthero__title { font-size: 32px; }
  .mn-section-title,
  .mn-story__title,
  .mn-changing__title,
  .mn-join__title { font-size: 28px; }
  .mn-whycards__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .mn-makers__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* The flip is a desktop affordance; stacked, the photo always leads. */
  .mn-makers__list > .mn-makers__row:nth-child(even) { direction: ltr; }
  /* The 380px cap stops the portrait blowing up once the row stacks to one
     column, but it left the photo — and the disc behind it — pinned to the
     left of a full-width cell. Centre the box in its track. */
  .mn-makers__photo { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
  .mn-join__card { padding: 52px 22px; border-radius: 20px; }
}

/* ============================================
   Service page (2026-09-01)
   Built to the reference service page's section order and layout: hero,
   find-a-therapist, why-people-choose, concerns, why-us, help band, stories,
   FAQ. Colours are MindNalam's throughout.

   Only /services/individual-therapy/ uses these; couple and intimacy still
   run the older page-banner layout, so nothing here is scoped to a page and
   the two can adopt it by swapping their templates.

   The italic accent in each heading is an <em> in the string tree, so a
   translator can move it to whichever phrase carries the emphasis.
   ============================================ */
.mn-svchero__title em,
.mn-svcwhy .mn-section-title em,
.mn-topics__title em,
.mn-stories .mn-section-title em,
.mn-svcfaq__title em {
  font-style: italic;
  color: var(--mn-brand);
}

/* ---- hero ---- */
.mn-svchero {
  position: relative;
  overflow: hidden;
  /* Runs up behind the fixed header, so the top padding clears it. Tighter
     than the first pass, which left the block nearly 800px tall for one
     heading, one paragraph and a button. */
  padding: 124px 0 60px;
  background: linear-gradient(180deg, #F2F8EF 0%, #FFFFFF 78%);
}
.mn-svchero__art,
.mn-svchero__flecks {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
}
.mn-svchero__art { bottom: 0; height: 62%; }
.mn-svchero__flecks { top: 0; height: 100%; }
.mn-svchero__container { position: relative; z-index: 1; }
.mn-svchero__title {
  margin: 0 0 18px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}
.mn-svchero__body {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #51565D;
}
/* Shared pill — the reference repeats one button style down the whole page,
   so every CTA below reuses this class rather than defining its own. */
.mn-svchero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.mn-svchero__cta:hover,
.mn-svchero__cta:focus { background: var(--mn-brand-dark); color: #fff; }
.mn-svchero__cta i { font-size: 12px; }

/* The vendored line-art JPG is dark linework on a light pink ground. The
   service cards screen it over a dark panel; that is the wrong blend here and
   washed the drawing out to near-white on the first pass. multiply is the
   right one for dark-on-light art: the lines stay dark and the ground takes
   the panel's tint, so it reads as brand-coloured line art. */
.mn-svchero__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
  background: var(--mn-sage-bg);
  box-shadow: 0 22px 48px rgba(15, 83, 80, 0.14);
}
.mn-svchero__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Lifted rather than crushed: these four service JPGs are not one style.
     individual.jpg is fine linework, couple.jpg is a hard black silhouette,
     and the contrast boost that suited the first turned the second into a
     black blob. Flattening to grey and lightening keeps both readable. */
  filter: grayscale(1) contrast(0.92) brightness(1.18);
  mix-blend-mode: multiply;
}
/* Recolours the greyscale art to brand teal. mix-blend-mode: color takes the
   overlay's hue and saturation and the backdrop's luminance, so the whole
   image becomes a teal duotone rather than staying black-and-grey — which is
   what makes the two service heroes read as one set. */
.mn-svchero__media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--mn-brand);
  mix-blend-mode: color;
  /* Short of full strength: at 1 the pale areas of the lighter artwork go
     fully saturated and read cyan rather than brand teal. */
  opacity: 0.78;
  pointer-events: none;
}
/* Offset blob behind the frame, so the panel has depth rather than floating
   flat on the gradient. Sits outside the frame's overflow, hence the parent
   is the figure and this is drawn beyond its own box. */
.mn-svchero__blob {
  position: absolute;
  z-index: 0;
  inset: 12% 8% 8% 12%;
  background: var(--mn-sage);
  opacity: 0.35;
  border-radius: 58% 42% 48% 52% / 52% 46% 54% 48%;
}

/* ---- why people choose ---- */
.mn-svcwhy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.mn-svcwhy__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mn-svcwhy__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 16px;
}
.mn-svcwhy__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
  text-align: left;
}
.mn-svcwhy__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
  text-align: left;
}
.mn-svcwhy__cta { margin-top: 44px; text-align: center; }

/* Wellness-service benefits: keep the short checklist copy high contrast and
   leave clear breathing room below its heading. */
.mn-svcwhy--wellness .mn-section-title { margin-bottom: 32px; }
.mn-svcwhy--wellness .mn-svcwhy__grid { gap: 42px 60px; }
.mn-svcwhy--wellness .mn-svcwhy__title { color: var(--mn-brand); }
.mn-svcwhy--wellness .mn-svcwhy__body { color: #000; }

/* Category copy retains the original split-layout chip treatment. */
.mn-topics__chips--wellness span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #d6e4d3;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* Invitation for qualified wellness professionals to join the network. */
.mn-pro-network__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 52px;
  border-radius: 24px;
  background: var(--mn-brand-dark);
  box-shadow: 0 18px 40px rgba(34, 73, 31, .16);
}
.mn-pro-network__content { max-width: 760px; }
.mn-pro-network__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #d7ead3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mn-pro-network h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}
.mn-pro-network p { margin: 0; color: rgba(255, 255, 255, .88); line-height: 1.7; }
.mn-pro-network__verification {
  margin-top: 14px !important;
  color: #d7ead3 !important;
  font-size: 14px;
}
.mn-pro-network__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: transform .2s ease, background .2s ease;
}
.mn-pro-network__cta:hover { transform: translateY(-2px); background: #e8f1e6; color: var(--mn-brand-dark); }
@media (max-width: 767px) {
  .mn-pro-network__inner { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .mn-pro-network h2 { font-size: 26px; }
}

/* Scope-of-practice and emergency guidance on the wellness-services page. */
.mn-svchow { position:relative; overflow:hidden; background:linear-gradient(180deg,#f7faf7 0%,#fff 100%); }
.mn-svchow__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; list-style:none; margin:42px 0 0; padding:0; }
.mn-svchow__item { position:relative; display:flex; flex-direction:column; align-items:center; min-height:100%; padding:32px 26px 28px; border:1px solid rgba(70,110,64,.14); border-radius:20px; background:#fff; box-shadow:0 12px 30px rgba(33,59,31,.06); text-align:center; }
.mn-svchow__num { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; margin-bottom:22px; border-radius:50%; background:linear-gradient(135deg,#466e40,#6f9a68); box-shadow:0 7px 16px rgba(70,110,64,.2); color:#fff; font-weight:700; }
.mn-svchow__title { margin:0 0 10px; color:#293039; font-size:1.15rem; font-weight:700; line-height:1.3; }
.mn-svchow__body { margin:0; color:#5d6464; font-size:.95rem; line-height:1.65; }
@media (max-width:991px) { .mn-svchow__grid { grid-template-columns:repeat(2,1fr); gap:24px; } }
@media (max-width:575px) { .mn-svchow__grid { grid-template-columns:1fr; margin-top:30px; } .mn-svchow__item { padding:26px 22px 24px; } }
.mn-wellness-notice__card {
  max-width: 1050px;
  margin: 0 auto;
  padding: 46px 56px;
  border: 1px solid var(--mn-brand-dark);
  border-radius: 24px;
  background: var(--mn-brand-dark);
  text-align: center;
}
.mn-wellness-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #d7ead3;
  color: var(--mn-brand-dark);
  font-size: 22px;
}
.mn-wellness-notice h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
}
.mn-wellness-notice__content { max-width: 860px; margin: 0 auto; }
.mn-wellness-notice__content p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.7;
}
.mn-wellness-notice__content .mn-wellness-notice__emergency {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fff;
  color: #4b2600;
  font-weight: 700;
}
.mn-wellness-notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.mn-wellness-notice__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.mn-wellness-notice__button:hover { background: #d7ead3; border-color: #d7ead3; color: var(--mn-brand-dark); }
.mn-wellness-notice__button--outline { background: transparent; color: #fff; }
.mn-wellness-notice__button--outline:hover { background: #fff; border-color: #fff; color: var(--mn-brand-dark); }
@media (max-width: 575px) {
  .mn-wellness-notice__card { padding: 34px 22px; }
  .mn-wellness-notice h2 { font-size: 27px; }
  .mn-wellness-notice__actions { flex-direction: column; }
  .mn-wellness-notice__button { width: 100%; }
}

/* ---- concerns, split layout ---- */
.mn-topics__title {
  margin: 0 0 14px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}
.mn-topics__lede {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #51565D;
}
.mn-topics__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.mn-topics__chips a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--mn-sage-bg);
  border: 1px solid #DDE9D8;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mn-topics__chips a:hover,
.mn-topics__chips a:focus {
  background: var(--mn-brand);
  border-color: var(--mn-brand);
  color: #fff;
}

/* ---- help band ---- */
.mn-helpband { padding: 0 0 96px; }

/* Top padding stays 0 by default because on the concern pages the band
   follows .mn-signs, whose own 160px bottom padding already sits above it as
   white space. On the service pages it follows .mn-why6, which carries
   bg_primary_light — so that padding is inside the tint, the tint ends, and
   the band's teal panel begins against it with no gap at all.

   This modifier gives those pages a top matching the 96px below, so the panel
   sits evenly. Opt-in, so the concern pages keep the spacing they have. */
.mn-helpband--spaced { padding-top: 96px; }
.mn-helpband__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--mn-brand-dark) 0%, var(--mn-brand) 100%);
  color: #fff;
}
.mn-helpband__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.mn-helpband__body {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}
/* Inverted against the panel — a teal button on teal would have no edge. */
.mn-helpband__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--mn-brand-dark);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.mn-helpband__cta:hover,
.mn-helpband__cta:focus { background: #FFECBE; color: var(--mn-brand-dark); }
.mn-helpband__cta i { font-size: 17px; }

/* The illustration in the FAQ column. Capped rather than full-bleed:
   at 100% of a col-lg-5 it out-shouts the accordion beside it. */
.mn-faqart {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 0 26px;
}
@media (max-width: 991px) {
  .mn-faqart { max-width: 240px; margin-bottom: 20px; }
}

/* ---- team page heading block ----

   The wrapper carries text-lg-start AND text-center, so the vendor rule
   .section_heading.text-center .section_heading_description { margin: auto }
   kept applying above the lg breakpoint. The heading went left, the paragraph
   under it stayed centred inside its own 500px box, and its first character
   sat inset from the H2 above it.

   Only the left margin is reset — max-width stays, because a 500px measure is
   the right line length here and the column is barely wider. Below 992px the
   block is genuinely centred, so the rule stops there.

   .section_heading.text-lg-start is the team page alone; the only other
   text-lg-start text-center in the project is a footer column, which is not a
   .section_heading and so cannot match this. */
@media (min-width: 992px) {
  .section_heading.text-lg-start .section_heading_description {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ---- /corporate/ section 1 ----

   Copy left, image right. Sizes follow .section_heading rather than inventing
   new ones, so the page sits in the same type scale as the rest of the site. */
/* Section 1's image filled the whole col-lg-5 (about 460px at full width),
   which made it heavier than the short copy beside it. Capped and centred in
   its column.

   Scoped to .mn-corpintro, which /corporate/ and /campus/ share — the same
   .image_widget markup is used by the home FAQ block, and that one should
   keep its size. */
/* The row is col-lg-7 + col-lg-5 (58.3% / 41.7%). At a 1140px container that
   leaves the image column about 427px of usable width once the g-5 gutter is
   taken off, so a cap above that would never show. Shifting the split to
   55/45 gives it roughly 465px to work with, which is what lets the wider cap
   below actually take effect. Still sums to 100, so nothing wraps. */
@media (min-width: 768px) {
  .mn-corpintro .col-md-7 { width: 55%; }
  .mn-corpintro .col-md-5 { width: 45%; }
}

/* /campus/ opens tighter under the banner than section_space_lg's default
   150px: 80px on the first section only.

   body.page-campus is (0,3,1) here, which beats both .section_space_lg (0,1,0)
   at every breakpoint and the .mn-corpintro.section_space_lg pair (0,2,0)
   below, so one declaration covers all three breakpoints and no media query
   can put the padding back.

   Campus only. .mn-corpintro is shared with /corporate/, which keeps its own
   spacing, and nothing else on either page is touched — the rule names both
   the page and the section. */
/* Both pages now agree on 60px, so one declaration. Still named per page
   rather than on .mn-corpintro alone: the class is shared, and keeping the
   two selectors listed means either can be split off again without touching
   the other. */
body.page-campus .mn-corpintro.section_space_lg,
body.page-corporate .mn-corpintro.section_space_lg { padding-top: 60px; }

/* section_space_lg is 150/160, 100/110 and 70/80 across its breakpoints —
   never symmetric. With the banner above and a tinted section below, both
   edges of this section are visible, so the 10px difference shows. Matched to
   the top value at each breakpoint. Scoped to .mn-corpintro, so no other
   section on the site changes. */
.mn-corpintro.section_space_lg { padding-bottom: 80px; }
@media screen and (max-width: 1440px) {
  .mn-corpintro.section_space_lg { padding-bottom: 64px; }
}
@media screen and (max-width: 425px) {
  .mn-corpintro.section_space_lg { padding-bottom: 40px; }
}

.mn-corpintro .image_widget {
  /* Was 420px. The widget is right-aligned (see below), so the extra width is
     taken on its left edge — the image grows toward the copy rather than
     pushing past the container. */
  max-width: 470px;
  /* Pushed to the right edge of its column, not centred in it. Centring left
     ~20px of slack on the outside, so the image sat further from the section
     edge than the copy opposite sat from its own — the two sides did not
     match. margin-right:0 lands its edge on the container's padding, level
     with where the copy starts on the left. */
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 767px) {
  /* Only once the columns actually stack, which is now below md rather than
     below lg — tablets keep the side-by-side desktop layout. Stacked, the
     image centres again and the width comes down. */
  .mn-corpintro .image_widget {
    max-width: 340px;
    margin-right: auto;
  }
}

/* Both source photos are tall portraits — 600x778 on /corporate/, 600x900 on
   /campus/ — so at the column's ~410px of image width they ran 530px and
   615px tall and made the section deeper than the copy beside them.

   Trimmed by roughly 12% each. Cropped with object-fit rather than scaled
   down, because the width is what makes the image sit level with the copy;
   shrinking it would reopen the gap in the middle of the row. The two ratios
   differ because the two photos do — a single cap would take 12% off one and
   a quarter off the other.

   object-position sits above centre so the crop comes off the bottom of the
   frame rather than the subject's head. */
.mn-corpintro__media > img {
  width: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.mn-corpintro__media--corporate > img { aspect-ratio: 600 / 690; }
.mn-corpintro__media--campus > img { aspect-ratio: 600 / 790; }

.mn-corpintro__title {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--mn-brand-dark);
  max-width: 20ch;
}
.mn-corpintro__body {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.8;
  color: #51565D;
  /* 56ch left the copy ending well short of its column, which widened the
     band between the text and the image beside it. 64ch fills the column at
     the widths this row is read at and is still inside a comfortable measure. */
  max-width: 64ch;
}

@media (max-width: 1440px) {
  .mn-corpintro__title { font-size: 34px; }
}
@media (max-width: 991px) {
  .mn-corpintro__title { font-size: 30px; max-width: none; }
  .mn-corpintro__body { font-size: 16px; max-width: none; }
}

/* ---- /corporate/ section 2: why it matters ----

   Pre-slick fallback is a real 3-up grid, so with JS off the cards still read
   as a row rather than stacking into one tall column. slick replaces the
   layout with its own track once it initialises. */
.mn-corpwhy__slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mn-corpwhy__slider.slick-initialized { display: block; }
/* slick puts each slide in a flex row; this keeps the cards equal height
   instead of each shrinking to its own copy. */
.mn-corpwhy__slider .slick-track { display: flex; align-items: stretch; }
.mn-corpwhy__slider .slick-slide { height: auto; }
.mn-corpwhy__slider .slick-slide > div { height: 100%; }
.mn-corpwhy__slide { height: 100%; padding: 0 12px; }
.mn-corpwhy__slider:not(.slick-initialized) .mn-corpwhy__slide { padding: 0; }

.mn-corpcard {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--mn-brand-tint);
  border-radius: 18px;
  background: #fff;
}
.mn-corpcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 21px;
}
.mn-corpcard__title {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left !important;
  color: var(--mn-brand-dark);
}

@media (max-width: 768px) {
    .mn-corpwhyus__title {
        font-size: 30px;
        max-width: none;
        text-align: left !important;
    }
}
@media (max-width: 768px) {
    .mn-corpwhyus__list > li {
        font-size: 15px;
        max-width: none;
        text-align: left;
    }
    .post_body h2, .mn-legal-body h2 {
    margin-top: 0px;
    margin-bottom: 14px;
    font-size: 28px;
    color: #293039;
}
}
@media (max-width: 767px) {
  
    .post_body h2, .mn-legal-body h2 {
    margin-top: 0px;
    margin-bottom: 14px;
    font-size: 28px;
    color: #293039;
}
}
.mn-corpcard__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
}

/* Dots below the track. */
.mn-corpwhy__slider .slick-dots { margin-top: 28px; }

/* Arrows (request 2026-10-01). slick-theme draws them as a white 20px glyph
   in its own 'slick' font, 25px outside the track — white on this pale
   section, and off-screen on a phone where the container has 12px of
   gutter. They are white discs with a brand chevron instead, sitting over
   the slide gutters so they stay on screen at every width; the 12px slide
   padding plus the card's own padding keep them clear of the copy. */
.mn-corpwhy__slider .slick-prev,
.mn-corpwhy__slider .slick-next {
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
  box-shadow: 0 6px 16px rgba(15, 83, 80, 0.16);
  transition: background-color .2s ease, border-color .2s ease;
}
.mn-corpwhy__slider .slick-prev { left: -8px; }
.mn-corpwhy__slider .slick-next { right: -8px; }
.mn-corpwhy__slider .slick-prev:hover,
.mn-corpwhy__slider .slick-next:hover,
.mn-corpwhy__slider .slick-prev:focus-visible,
.mn-corpwhy__slider .slick-next:focus-visible {
  background: var(--mn-brand);
  border-color: var(--mn-brand);
}
.mn-corpwhy__slider .slick-prev:focus-visible,
.mn-corpwhy__slider .slick-next:focus-visible { outline: 2px solid var(--mn-brand); outline-offset: 3px; }
.mn-corpwhy__slider .slick-prev::before,
.mn-corpwhy__slider .slick-next::before {
  font-family: 'Font Awesome 6 Pro';
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  color: var(--mn-brand);
  opacity: 1;
}
.mn-corpwhy__slider .slick-prev::before { content: "\f053"; }
.mn-corpwhy__slider .slick-next::before { content: "\f054"; }
.mn-corpwhy__slider .slick-prev:hover::before,
.mn-corpwhy__slider .slick-next:hover::before,
.mn-corpwhy__slider .slick-prev:focus-visible::before,
.mn-corpwhy__slider .slick-next:focus-visible::before { color: #fff; }

/* The vendor draws pagination as bars — 30x4px, stretching to 90px when
   active. Round dots were asked for on these two sliders, so the button is
   squared off and given a full radius here. Scoped to this slider: the home
   testimonials keep the site's bar treatment.

   The active dot is filled brand rather than made wider, since a circle that
   grows sideways stops being a circle; padding-top comes from the vendor rule
   and is replaced by the margin above. */
.mn-corpwhy__slider .slick-dots li { margin: 0 5px; }
.mn-corpwhy__slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--mn-brand-tint);
  transition: background-color .2s ease, transform .2s ease;
}
.mn-corpwhy__slider .slick-dots li button:hover {
  background-color: var(--mn-sage-text);
}
.mn-corpwhy__slider .slick-dots li.slick-active button {
  width: 10px;
  background-color: var(--mn-brand);
  transform: scale(1.25);
}

@media (max-width: 991px) {
  .mn-corpwhy__slider { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .mn-corpwhy__slider { grid-template-columns: minmax(0, 1fr); }
  .mn-corpcard { padding: 26px 22px; }
}

/* ---- /corporate/ section 3: services, split two ways ----

   Two equal cards, each a banded header over a ticked list, with one CTA
   under both — the arrangement in the reference. */
.mn-corpsvc__card {
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
}
/* The reference band is a photograph. There is no corporate photography in
   this project, so it is the brand gradient instead — drop an <img> plus a
   dark overlay in here if photos are supplied. */
.mn-corpsvc__head {
  padding: 34px 30px;
  background: linear-gradient(120deg, var(--mn-brand-dark) 0%, var(--mn-brand) 100%);
}
.mn-corpsvc__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.mn-corpsvc__list { list-style: none; margin: 0; padding: 26px 30px 32px; }
.mn-corpsvc__list > li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
}
/* Nudged down to sit on the first line of text rather than above it. */
.mn-corpsvc__list > li > i {
  flex: none;
  margin-top: 6px;
  font-size: 15px;
  color: var(--mn-sage-text);
}
.mn-corpsvc__list strong { color: var(--mn-brand-dark); font-weight: 700; }

.mn-corpsvc__cta { margin-top: 40px; text-align: center; }

@media (max-width: 991px) {
  .mn-corpsvc__head { padding: 26px 22px; }
  .mn-corpsvc__title { font-size: 24px; }
  .mn-corpsvc__list { padding: 20px 22px 26px; }
}

/* ---- /corporate/ section 4: partner logos ----

   Greyed and lightened at rest, full colour on hover: a logo wall should sit
   behind the copy, not compete with it. The SVGs draw in currentColor, so one
   `color` value tints the whole strip. */
.mn-corppartners__head { text-align: center; }

.mn-corppartners__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}
.mn-corppartners__track.slick-initialized { display: block; }
.mn-corppartners__track .slick-track { display: flex; align-items: center; }
.mn-corppartners__slide { padding: 0 14px; }
.mn-corppartners__track:not(.slick-initialized) .mn-corppartners__slide { padding: 0; }

.mn-corppartners__logo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  color: #6B7480;
  opacity: .62;
  transition: opacity 200ms ease, color 200ms ease;
}
.mn-corppartners__logo:hover {
  color: var(--mn-brand);
  opacity: 1;
}

@media (max-width: 1200px) {
  .mn-corppartners__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .mn-corppartners__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .mn-corppartners__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- /corporate/ section 5: why us ---- */
/* One-line lede: the centred .section_heading caps descriptions at 500px,
   which breaks even a short sentence in two. Scoped to this section. */
.mn-corpwhy .section_heading_description { max-width: none; }

/* ---- /campus/ section 5: impact counters ---- */
.mn-corpimpact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mn-corpimpact__item {
  padding: 34px 26px;
  border: 1px solid var(--mn-brand-tint);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
/* The shared counter partial is sized for the team page's stat strip; these
   sit alone in a card and carry a full sentence underneath, so the figure is
   larger and the label is allowed to wrap. */
.mn-corpimpact__item .counter_value {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--mn-brand);
}
.mn-corpimpact__item .counter_title {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #51565D;
  white-space: normal;
}
.mn-corpimpact__note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--mn-brand-dark);
}

@media (max-width: 991px) {
  .mn-corpimpact__grid { grid-template-columns: minmax(0, 1fr); }
  .mn-corpimpact__item { padding: 26px 22px; }
  .mn-corpimpact__item .counter_value { font-size: 40px; }
}

/* A shallower opening for these two sections only.

   section_space_lg gives 150 / 100 / 70 across its breakpoints; this takes
   about a fifth off each. Both selectors pair the section class with
   .section_space_lg, so they score (0,2,0) and beat the vendor rule at every
   breakpoint — but each breakpoint still needs its own value, or the ≤1440
   and ≤425 sizes would be pushed back up rather than down.

   One class covers both headings: .mn-corpwhyus is "Why MindNalam in
   Workplace Wellbeing?" on /corporate/ and "Our Approach is Backed by
   Impact" on /campus/. Nothing else on either page carries it, so no other
   section moves. */
.mn-corpwhyus.section_space_lg { padding-top: 72px; }

@media screen and (max-width: 1440px) {
  .mn-corpwhyus.section_space_lg { padding-top: 56px; }
}
@media screen and (max-width: 425px) {
  .mn-corpwhyus.section_space_lg { padding-top: 36px; }
}

.mn-corpwhyus__title {
  margin: 0 0 30px;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--mn-brand-dark);
  /* 18ch broke "Why MindNalam in Workplace Wellbeing?" (37 characters) over
     three lines. 24ch is wide enough for "Workplace Wellbeing?" to sit whole
     on the second line, and still too narrow for "Workplace" to join the
     first — so it lands on two. The Tamil heading is shorter and takes two
     lines at this width as well. */
  max-width: 24ch;
}
.mn-corpwhyus__list { list-style: none; margin: 0; padding: 0; }
.mn-corpwhyus__list > li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #51565D;
  /* Was 62ch, which stopped the lines ~150px short of the column edge and
     read as a gap between the points and the illustration. 72ch fills the
     column without running the measure past what is comfortable. */
  max-width: 72ch;
}
/* Nudged onto the first line of text rather than floating above it. */
.mn-corpwhyus__list > li > i {
  flex: none;
  margin-top: 7px;
  font-size: 17px;
  color: var(--mn-sage-text);
}

@media (max-width: 1440px) {
  .mn-corpwhyus__title { font-size: 34px; }
}
@media (max-width: 991px) {
  .mn-corpwhyus__title { font-size: 30px; max-width: none; }
  .mn-corpwhyus__list > li { font-size: 15px; max-width: none; }
}

/* ---- practitioner groups (wellness page) ----

   One row per group, each an anchor target for the Services submenu. */
/* The centred .section_heading caps its description at 500px, which broke
   this one-sentence lede across two lines. Lifted for this section only, so
   every other section heading keeps its measure. */
.mn-practs .section_heading_description { max-width: none; }

/* Top padding off for the one section that follows the concerns block, which
   already closes flush against it. section_space_lg supplies 150px (100px
   under 1400px, 70px under 992px) and all three are overridden here, so the
   junction is closed at every breakpoint rather than only on desktop.

   A modifier class, not a rule on .mn-practs itself: the bottom padding is
   still section_space_lg's, and any future .mn-practs section that does not
   follow a flush block keeps its full spacing by simply not carrying this. */
.mn-practs__list {
  display: grid;
  gap: 14px;
}
.mn-pract {
  display: flex;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--mn-brand-tint);
  border-radius: 16px;
  background: #fff;
  /* The header is fixed, so a jump from the menu clears the header with comfortable clearance. */
  scroll-margin-top: 110px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.mn-pract:target {
  border-color: var(--mn-brand);
  background: var(--mn-brand-bg);
  box-shadow: 0 0 0 3px rgba(70, 110, 64, 0.18), 0 8px 24px rgba(33, 59, 31, 0.08);
}
@media (max-width: 991px) {
  .mn-pract { scroll-margin-top: 90px; }
}
.mn-pract__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 19px;
}
.mn-pract__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--mn-brand-dark);
}
.mn-pract__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #51565D;
}

@media (max-width: 575px) {
  .mn-pract { flex-direction: column; gap: 14px; padding: 20px; }
}

/* ---- header third-level submenu ----

   Only Services > "Wellness professionals & practitioners" has one. Built on
   <details> so it needs no JS, matching the mode picker and the jobs filter
   elsewhere on the site.

   The row is the link plus an absolutely-positioned chevron, so clicking the
   label still navigates to the page and only the chevron opens the list. The
   list expands in place rather than flying out sideways: these labels run to
   five words and a side panel would leave the viewport on a laptop. */
.mn-subnav { position: relative; }
/* The reserved space for the chevron.

   Written at this weight on purpose: the vendor's
   `.dropdown-menu > li > a { padding: 9px 18px }` is specificity (0,1,2), so a
   plain `.mn-subnav__link` rule (0,1,0) loses to it wherever it sits in the
   file. That is why the label kept running under the chevron — the right
   padding was silently still 18px.

   white-space is reset for the same collision: the vendor ships `nowrap`, and
   this is the longest label in the menu, so it cannot give way when the menu
   narrows — which it does when the submenu opens far enough to raise the
   dropdown's scrollbar. */
.site_header .main_menu_list .dropdown-menu > li > a.mn-subnav__link {
  display: block;
  padding-right: 40px;
  white-space: normal;
}

/* The label sits 23px from the item's left edge — 5px of .dropdown-menu > li
   padding plus 18px of link padding — so the chevron's glyph is set to finish
   23px from the right edge, and the row reads as evenly inset on both sides.
   right:16px + half the leftover width of the 24px box lands the 11px glyph
   there. Height matches the 38px row exactly (20px line-height + 18px
   padding); it cannot stretch to the li, which grows when the submenu opens. */
.mn-subnav__chev {
  position: absolute;
  top: 0;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 38px;
  cursor: pointer;
  color: var(--mn-brand);
  font-size: 11px;
  /* Kill the default disclosure triangle in every engine. */
  list-style: none;
}
.mn-subnav__chev::-webkit-details-marker { display: none; }
.mn-subnav__chev::marker { content: ""; }
.mn-subnav__chev i { transition: transform 160ms ease; }
.mn-subnav__d[open] .mn-subnav__chev i { transform: rotate(180deg); }

.mn-subnav__menu {
  list-style: none;
  margin: 2px 0 6px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--mn-brand-tint);
}
.mn-subnav__menu > li { margin: 0; }

/* No pages behind these yet, so they are text rather than links. Kept a shade
   quieter than a real menu item, so the difference reads as deliberate rather
   than as a link that failed. */
.mn-subnav__item,
.mn-subnav__menu > li > a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.45;
}
.mn-subnav__item { color: #6B7480; cursor: default; }
.mn-subnav__menu > li > a { color: var(--mn-brand-dark); }
.mn-subnav__menu > li > a:hover { color: var(--mn-brand); }

@media (max-width: 991px) {
  /* The mobile dropdown gives its links min-height 44px, so the chevron's
     row grows with them and would otherwise sit high. */
  .mn-subnav__chev { height: 44px; width: 44px; }
  /* .dropdown-menu > li > a becomes display:flex here, so the wrap has to be
     restated against that selector's weight. */
  .site_header .main_menu_list .dropdown-menu > li > a.mn-subnav__link {
    white-space: normal;
    display: block;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

/* ---- tightening one section pair ----

   Two stacked .section_space_lg blocks come to 310px between them on desktop
   (160 bottom + 150 top), which is right for unrelated sections and far too
   much where one section reads as a continuation of the one above it.

   These are opt-in on a single section rather than a change to
   .section_space_lg or to .mn-svcwhy / .mn-topics: both of those classes are
   shared with the concern pages and the other service pages, so editing
   either would move spacing on pages nobody asked about. Add the pair where
   a junction is too wide and nowhere else. */
.mn-tighten-below.section_space_lg { padding-bottom: 40px !important; }
.mn-tighten-above.section_space_lg { padding-top: 40px !important; }

/* The harder version: no top padding at all, for a section that should sit
   directly under the one above it. Separate class rather than a smaller
   .mn-tighten-above, so the two intents stay independently adjustable. */
.mn-notop.section_space_lg { padding-top: 0 !important; }
/* Its bottom-edge twin, for a section whose successor already carries
   mn-notop and should butt straight up against it. */
.mn-nobottom.section_space_lg { padding-bottom: 0 !important; }

@media (max-width: 991px) {
  .mn-tighten-below.section_space_lg { padding-bottom: 28px !important; }
  .mn-tighten-above.section_space_lg { padding-top: 28px !important; }
}

/* ---- careers application form ----

   The band that used to sit at the foot of /careers/ was a mailto: button on
   a teal panel. It is now a real form, so the panel becomes a tinted section
   behind the standard form controls rather than a coloured card — white
   inputs on the teal gradient were unreadable, and inverting every control
   for one page is more surface than this earns. */
.mn-jobapply-band {
  background: var(--mn-brand-bg);
}
.mn-jobapply-band .section_heading { margin-bottom: 22px; }

/* The file input is the one control the vendor stylesheet does not cover:
   it ships an unstyled OS button that sits a good 6px taller than the text
   inputs beside it, which is what breaks the row alignment. */
.mn-jobapply__file {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 18px 12px;
  border: 1px solid #C9CED3;
  border-radius: 12px;
  background: #fff;
}
.mn-jobapply__file > label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #293039;
}
.mn-jobapply__file input[type="file"] {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: #293039;
}
.mn-jobapply__file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mn-jobapply__file input[type="file"]::file-selector-button:hover {
  background: var(--mn-brand-dark);
}
.mn-jobapply__hint {
  font-size: 12px;
  color: #6B7480;
}

/* Printed, not linked. A second mailto here would reintroduce exactly the
   silent failure this form exists to remove. */
.mn-jobapply__fallback {
  margin: 14px 0 0;
  font-size: 13px;
  color: #6B7480;
}
.mn-jobapply__fallback strong { color: var(--mn-brand-dark); }

@media (max-width: 575px) {
  .mn-jobapply__file { padding: 10px 14px 12px; }
}

/* ---- stories ---- */
.mn-stories { background: var(--mn-sage-bg); }
/* Full-bleed: the track has to run off both edges for the loop to read as
   continuous rather than as a list that restarts. */
.mn-stories__marquee {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  overflow: hidden;
  /* Fades both ends so cards enter and leave rather than being clipped. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mn-stories__track {
  flex: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: mn-stories-scroll 48s linear infinite;
}
.mn-stories__marquee:hover .mn-stories__track { animation-play-state: paused; }
/* Both tracks are identical and sit side by side, so translating the pair by
   one track width plus the gap lands exactly where it started. */
@keyframes mn-stories-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 20px)); }
}

.mn-stories__card {
  flex: none;
  width: 340px;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E4EDE9;
  box-shadow: 0 10px 26px rgba(15, 83, 80, 0.06);
}
.mn-stories__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
  color: var(--mn-sage);
}
.mn-stories__quote {
  margin: 4px 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #3F4A48;
}
.mn-stories__who {
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: #6B7278;
}
.mn-stories__who strong { color: var(--mn-brand-dark); font-size: 14px; }
.mn-stories__flag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mn-stories__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 44px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--mn-brand-dark);
}

/* ---- FAQ ---- */
.mn-svcfaq__title {
  margin: 0 0 24px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}

@media (max-width: 991px) {
  .mn-svchero { padding: 112px 0 48px; }
  .mn-svchero__title { font-size: 30px; text-align: center; }
  /* The body keeps max-width 560px; centre the block itself as well as its
     text, otherwise it sits left of the centred title between 560px and 991px. */
  .mn-svchero__body { text-align: center; margin-left: auto; margin-right: auto; }
  .mn-svchero__container .col-lg-6:first-child { text-align: center; }
  /* Stacked, the frame is centred rather than pushed to the column edge. */
  .mn-svchero__media { margin-left: auto; margin-right: auto; max-width: 340px; }
  .mn-svcwhy__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .mn-topics__title,
  .mn-svcfaq__title { font-size: 28px; }
  .mn-helpband { padding-bottom: 64px; }
  .mn-helpband--spaced { padding-top: 64px; }
  .mn-helpband__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }
  .mn-stories__card { width: 280px; }
  .mn-stories__foot { flex-direction: column; gap: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mn-stories__track { animation: none; }
  /* Without the animation the track cannot be scrolled to, so give it back
     its own scrollbar rather than stranding the later quotes off-screen. */
  .mn-stories__marquee { overflow-x: auto; }
  .mn-stories__track[aria-hidden="true"] { display: none; }
}

/* On the rebuilt service page the two shared partials (find-a-professional
   and why-us) still head their sections with .section_heading_text, which
   accentHeading underlines. Every other heading on the page uses an italic
   <em>, so the accent span is restyled to match rather than reworking two
   partials that three pages share. */
.mn-svcpage .section_heading_text .mn-accent,
.mn-svcpage .section_heading_text u {
  font-style: italic;
  color: var(--mn-brand);
  background: none;
  text-decoration: none;
  border: 0;
}

/* ============================================
   Sexual-wellness page (2026-09-01)
   The reference gives this service its own shape rather than the one the
   other two share: a self-assessment band, an icon grid of concerns, a tag
   cloud of "more ways", and a did-you-know row. The hero, panel, stories and
   FAQ come from the shared service-page block above.
   ============================================ */
.mn-assess__title em,
.mn-moreways__title em,
.mn-helpgrid .mn-section-title em,
.mn-facts .mn-section-title em {
  font-style: italic;
  color: var(--mn-brand);
}

/* ---- self-assessment band ---- */
.mn-assess { padding: 56px 0 8px; }
.mn-assess__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--mn-sage-bg);
  border: 1px solid #DDE9D8;
}
.mn-assess__icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mn-sage-text);
  font-size: 22px;
}
.mn-assess__copy { flex: 1 1 auto; min-width: 0; }
.mn-assess__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
}
.mn-assess__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #51565D;
}
.mn-assess__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.mn-assess__cta:hover,
.mn-assess__cta:focus { background: var(--mn-brand-dark); color: #fff; }
.mn-assess__cta i { font-size: 12px; }

/* ---- concerns grid: icon over label, four across ---- */
.mn-helpgrid__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
/* An odd last card in the 4-up help grid sits centred (spans the two middle
   tracks) instead of hanging off the left edge; on the 2-up mobile grid it
   spans the full row. */
.mn-helpgrid__item:last-child:nth-child(4n + 1) { grid-column: 2 / 4; }

.mn-helpgrid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.mn-helpgrid__icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mn-sage-bg);
  color: var(--mn-brand);
  font-size: 24px;
}
.mn-helpgrid__label {
  max-width: 190px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mn-brand-dark);
}

/* ---- more ways: tinted panel holding a tag cloud ---- */
.mn-moreways { padding: 0 0 96px; }
.mn-moreways__panel {
  padding: 48px 32px;
  border-radius: 22px;
  background: var(--mn-brand-bg);
  text-align: center;
}
.mn-moreways__title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mn-brand-dark);
}
.mn-moreways__lede {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
  color: #51565D;
}
.mn-moreways__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
/* Not links: these name concerns the concern guides do not cover, so a chip
   that looked clickable would promise a page that does not exist. */
.mn-moreways__tags li {
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
  font-size: 14px;
  font-weight: 500;
  color: #3F4A48;
}

/* ---- did you know ---- */
.mn-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mn-facts__card {
  padding: 32px 26px;
  border-radius: 18px;
  background: var(--mn-sage-bg);
  border: 1px solid #DDE9D8;
}
.mn-facts__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--mn-sage-text);
  font-size: 20px;
}
.mn-facts__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
}
.mn-facts__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #51565D;
}

@media (max-width: 991px) {
  .mn-assess { padding-top: 40px; }
  .mn-assess__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .mn-assess__cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    height: auto;
    min-height: 46px;
    padding: 12px 24px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
  .mn-helpgrid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .mn-helpgrid__item:last-child:nth-child(4n + 1) { grid-column: 1 / -1; }
  .mn-helpgrid__item:last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
  .mn-moreways { padding-bottom: 64px; }
  .mn-moreways__panel { padding: 34px 20px; }
  .mn-moreways__title { font-size: 26px; }
  .mn-facts__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .mn-assess__inner {
    padding: 24px 18px;
  }
  .mn-assess__body {
    text-align: left !important;
  }
  .mn-assess__cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 14px;
  }
  .mn-helpgrid__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================
   Concern page (2026-09-01)
   Rebuilt to the reference concern page's section order. Most of it reuses
   the service-page blocks above — .mn-svchero for the hero, .mn-svcwhy__grid
   for the signs and approaches lists, .mn-helpband for the inline CTA,
   .mn-stories for the quotes — so only the blocks unique to this page are
   defined here.

   This styles all 23 concern pages, not just one.
   ============================================ */
.mn-concern__eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mn-sage-text);
}

/* ---- trust strip ---- */
/* Top padding was 0, so the trust card butted straight up against the tinted
   team_section above it with no break at all. 56px separates the two without
   opening the 150px gap a full .section_space_lg would give — these two strips
   are a related pair and should still read as one group. */
.mn-truststrip { padding: 56px 0 8px; }
.mn-truststrip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  background: var(--mn-sage-bg);
  border: 1px solid #DDE9D8;
  list-style: none;
}
.mn-truststrip__list > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.mn-truststrip__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mn-sage-text);
  font-size: 14px;
}
.mn-truststrip__list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
}
.mn-truststrip__list em {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  color: #51565D;
}

/* ---- reviewed-by ---- */
/* 24px was too tight against the trust strip once that gained its own top
   padding; 40px keeps the reviewer credit a distinct block rather than a
   footnote hanging off the card above. */
.mn-reviewedby { padding: 40px 0 0; }
.mn-reviewedby__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--mn-brand-bg);
}
.mn-reviewedby__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--mn-brand);
  font-size: 16px;
}
.mn-reviewedby__who { flex: 1 1 auto; min-width: 0; }
.mn-reviewedby__who strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--mn-brand-dark);
}
.mn-reviewedby__who em {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: #51565D;
}
.mn-reviewedby__date {
  flex: none;
  font-size: 13px;
  color: #6B7278;
}
.mn-reviewedby__flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

/* ---- how it helps ---- */
/* "How can <topic> counselling help?" sits directly above "What people tend
   to notice". Both carry .section_space_lg, so the stacked padding came to
   310px on desktop (160 bottom + 150 top) — a gap wide enough to read as the
   end of the page. Dropping this section's bottom padding leaves the next
   section's own 150px top, which is the normal rhythm everywhere else.

   Single class would be enough on source order, but pairing it with
   .section_space_lg makes the intent legible: this overrides that. */
.mn-concernhelp.section_space_lg { padding-bottom: 0; }

.mn-concernhelp__body {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  color: #51565D;
}
.mn-concernhelp__label {
  margin: 36px 0 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--mn-brand-dark);
}
.mn-concernhelp__tags { max-width: 820px; }

/* ---- causes ---- */
.mn-causes { background: var(--mn-brand-bg); }
.mn-causes__inner { max-width: 820px; margin: 0 auto; }
.mn-causes .mn-section-title { margin-bottom: 22px; }
.mn-causes__para {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: #3F4A48;
}
.mn-causes__para:last-child { margin-bottom: 0; }

/* ---- types ---- */
.mn-types__list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: mn-types;
}
.mn-types__item {
  position: relative;
  padding: 26px 0 26px 62px;
  border-bottom: 1px solid #E3ECEA;
}
.mn-types__item:last-child { border-bottom: 0; }
/* Numbered from a counter rather than markup, so reordering the data
   renumbers the list on its own. */
.mn-types__item::before {
  counter-increment: mn-types;
  content: counter(mn-types);
  position: absolute;
  left: 0;
  top: 26px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mn-sage-bg);
  color: var(--mn-sage-text);
  font-size: 14px;
  font-weight: 700;
}
.mn-types__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mn-brand-dark);
}
.mn-types__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #51565D;
}

/* ---- pricing ---- */
.mn-concernprice { background: var(--mn-sage-bg); }

/* ---- related reading ---- */
.mn-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mn-related__card {
  position: relative;
  display: block;
  padding: 26px 26px 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E4EDE9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mn-related__card:hover {
  border-color: var(--mn-brand-tint);
  box-shadow: 0 14px 32px rgba(15, 83, 80, 0.08);
}
.mn-related__card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--mn-brand-dark);
}
.mn-related__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #51565D;
}
.mn-related__go {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--mn-brand);
  font-size: 12px;
}

@media (max-width: 991px) {
  /* Desktop values are too generous once the strips stack. */
  .mn-truststrip { padding-top: 40px; }
  .mn-reviewedby { padding-top: 28px; }
  .mn-truststrip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-reviewedby__inner { flex-wrap: wrap; }
  .mn-reviewedby__date { width: 100%; padding-left: 54px; }
  .mn-concernhelp__body { text-align: left; font-size: 16px; }
  .mn-types__item { padding-left: 52px; }
  .mn-related__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .mn-truststrip__list { grid-template-columns: minmax(0, 1fr); }
}

/* A short panel — fewer professionals list this concern than the grid has
   columns. Fixed-width tracks that the row centres, rather than four equal
   columns with the tail left empty. Only concern pages set this; the service
   pages always fill their row. */
.mn-ther-grid--few {
  grid-template-columns: repeat(auto-fit, minmax(0, 292px));
  justify-content: center;
}

/* ==========================================================================
   Careers page — document download + crossroad
   ==========================================================================
   Two blocks that exist only on /careers/. Everything else on that page
   reuses .mn-svcwhy, .mn-flow and .mn-helpband from the service pages.
   ------------------------------------------------------------------------ */

/* Role-details download. A row on desktop (icon, copy, action) that stacks
   on a phone; the action column keeps its natural width so the button never
   stretches across the card. */
.mn-doc {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid #E3E7E4;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(43, 171, 160, 0.06);
}

.mn-doc__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(43, 171, 160, 0.10);
  color: #0F5350;
  font-size: 28px;
}

.mn-doc__body { flex: 1 1 280px; min-width: 0; }
.mn-doc__title { font-size: 22px; margin: 0 0 6px; color: #293039; }
.mn-doc__text { margin: 0; color: #51565D; }

.mn-doc__action { flex: 0 0 auto; text-align: center; }

@media (max-width: 575.98px) {
  .mn-doc { padding: 24px; gap: 18px; }
  .mn-doc__action { width: 100%; }
  .mn-doc__action .btn { width: 100%; justify-content: center; }
}

/* Two or more download cards in one section. */
.mn-doc-stack { display: grid; gap: 20px; }

/* ==========================================================================
   Open roles table — /careers/
   --------------------------------------------------------------------------
   A table with no rules anywhere: the columns are held apart by padding and
   the rows by a soft alternating wash, because the client asked for the
   scannability of a table without any visible lines. The header row is the
   only typographic signal that this is a table at all.

   Below 767px the columns cannot survive at readable widths, so each row
   flips to a stacked card and the [data-th] attributes written into the
   cells become the labels — the <thead> is hidden in that mode, so without
   them the type and location cells would lose their meaning.
   ========================================================================== */
.mn-jobs__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* Employment-type picker. Same <details> mechanism as the home panel's mode
   menu, so it opens, closes on Escape and closes on outside click with no
   JS at all; main.js only adds the filtering on top. */
.mn-jobs__pick { position: relative; }
.mn-jobs__pick > summary {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 232px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
  cursor: pointer;
  list-style: none;
}
.mn-jobs__pick > summary::-webkit-details-marker { display: none; }
.mn-jobs__pick > summary:hover { border-color: var(--mn-brand); }
.mn-jobs__pick > summary:focus-visible { outline: 2px solid var(--mn-brand); outline-offset: 2px; }
.mn-jobs__pick-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.mn-jobs__pick-caption {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A8189;
}
.mn-jobs__pick-value { font-size: 15px; font-weight: 700; line-height: 1.3; color: #1B1B1B; }
.mn-jobs__pick > summary i { margin-left: auto; font-size: 12px; color: #666; transition: rotate 0.2s ease; }
.mn-jobs__pick[open] > summary i { rotate: 180deg; }

.mn-jobs__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint);
  box-shadow: 0 16px 32px rgba(15, 83, 80, 0.14);
}
.mn-jobs__menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 14px;
  color: #1B1B1B;
  cursor: pointer;
}
.mn-jobs__menu button:hover { background: var(--mn-brand-bg); }
.mn-jobs__menu button[aria-current="true"] {
  background: var(--mn-brand);
  color: #fff;
  font-weight: 600;
}

/* A narrow viewport gets the stacked layout instead, so this only ever
   scrolls in the band between the table's natural width and 768px. */
.mn-jobs__scroll { overflow-x: auto; }

.mn-jobs__table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}
.mn-jobs__table th,
.mn-jobs__table td {
  border: 0;
  padding: 18px 24px;
  vertical-align: middle;
  text-align: left;
}
.mn-jobs__table thead th {
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A8189;
  background: none;
}
.mn-jobs__table tbody tr { background: transparent; transition: background 0.2s ease; }
/* Striping is positional until main.js takes over: once rows can be hidden
   by the filter, nth-child would band whatever happens to be left, so the
   script marks the visible rows itself and flags the tbody to hand over. */
.mn-jobs__table tbody tr:nth-child(odd) { background: var(--mn-brand-bg); }
.mn-jobs__table tbody.is-managed tr { background: transparent; }
.mn-jobs__table tbody.is-managed tr.is-alt { background: var(--mn-brand-bg); }
.mn-jobs__table tbody tr:hover { background: var(--mn-brand-tint); }
/* The filter hides rows with [hidden], which a display: block/table-row rule
   further down would otherwise outrank — this keeps them hidden in both the
   column and the stacked layout. */
.mn-jobs__table tbody tr[hidden] { display: none; }
.mn-jobs__table tbody tr td:first-child,
.mn-jobs__table tbody tr th:first-child { border-radius: 12px 0 0 12px; }
.mn-jobs__table tbody tr td:last-child { border-radius: 0 12px 12px 0; }

.mn-jobs__role {
  font-size: 17px;
  font-weight: 700;
  color: #1B1B1B;
}

/* Type pill. Full-time reads as the brand colour, part-time as the sage, so
   the two are separable at a glance without a legend. */
.mn-jobs__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.mn-jobs__tag--full-time { background: rgba(15, 83, 80, 0.10); color: var(--mn-brand); }
.mn-jobs__tag--part-time { background: var(--mn-sage-bg); color: var(--mn-sage-text); }

.mn-jobs__wherebox { display: block; }
.mn-jobs__where { font-size: 15px; color: #293039; }
.mn-jobs__place { display: block; font-size: 13px; color: #7A8189; margin-top: 2px; }

.mn-jobs__empty td { color: #7A8189; text-align: center; padding: 32px 24px; }
.mn-jobs__table tbody tr.mn-jobs__empty { background: transparent; }

@media (max-width: 767px) {
  .mn-jobs__bar { justify-content: flex-start; }
  .mn-jobs__pick,
  .mn-jobs__pick > summary { width: 100%; }
  .mn-jobs__scroll { overflow-x: visible; }
  .mn-jobs__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mn-jobs__table tbody tr {
    display: block;
    border-radius: 14px;
    padding: 6px 4px;
    margin-bottom: 12px;
  }
  .mn-jobs__table tbody tr:nth-child(odd) { background: var(--mn-brand-bg); }
  .mn-jobs__table tbody.is-managed tr.is-alt { background: var(--mn-brand-bg); }
  .mn-jobs__table th,
  .mn-jobs__table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    border-radius: 0 !important;
  }
  /* The heading each cell lost with the <thead>, restored from the markup. */
  .mn-jobs__table tbody td::before,
  .mn-jobs__table tbody th::before {
    content: attr(data-th);
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A8189;
  }
  .mn-jobs__wherebox { text-align: right; }
  .mn-jobs__empty td::before { content: none; }
  .mn-jobs__empty td { justify-content: center; }
}

/* ==========================================================================
   Single job page — /careers/<id>/
   ==========================================================================
   Detail in a wide column with a sticky facts card beside it. Below the lg
   breakpoint the card moves ABOVE the prose (order, not source position):
   job type and location are what someone checks first, and making them
   scroll the whole description to reach those is the wrong order on a phone.
   ------------------------------------------------------------------------ */

.mn-job__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-weight: 600;
  color: #0F5350;
  text-decoration: none;
}
.mn-job__back:hover { color: var(--mn-teal-text, #0F5350); text-decoration: underline; }
.mn-job__back i { transition: transform .18s ease; }
.mn-job__back:hover i { transform: translateX(-2px); }

.mn-job__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: start;
}

.mn-job__h {
  font-size: 24px;
  color: #293039;
  margin: 40px 0 14px;
}
.mn-job__main > .mn-job__h:first-child { margin-top: 0; }

.mn-job__lede { color: #51565D; margin: 0; }

.mn-job__list { margin: 0; padding-left: 22px; }
.mn-job__list li { color: #51565D; margin-bottom: 10px; }
.mn-job__list li::marker { color: #7CA673; }

/* Benefits: a bolded label and its explanation on one flowing line, so the
   four read as a list rather than as four more cards on a page that already
   has enough boxes. */
.mn-job__perks { list-style: none; margin: 0; padding: 0; }
.mn-job__perks li {
  margin-bottom: 14px;
  padding-left: 18px;
  border-left: 2px solid rgba(124, 166, 115, 0.45);
  color: #51565D;
}
.mn-job__perks strong { color: #293039; display: block; margin-bottom: 2px; }

.mn-job__card {
  position: sticky;
  top: 110px;              /* clears the fixed glass header */
  background: #FFFFFF;
  border: 1px solid #E3E7E4;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 12px 32px rgba(43, 171, 160, 0.06);
}

.mn-job__card-h { font-size: 18px; color: #293039; margin: 0 0 18px; }

/* dt/dd rather than rows of divs: these are genuinely name/value pairs, and
   the grid keeps them aligned without extra wrappers. */
.mn-job__facts { margin: 0; display: grid; gap: 4px 0; }
.mn-job__facts dt {
  font-size: 13px;
  color: #6B7076;
  font-weight: 500;
}
.mn-job__facts dd {
  margin: 0 0 16px;
  color: #293039;
  font-weight: 600;
}
.mn-job__facts dd:last-of-type { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .mn-job__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mn-job__side { order: -1; }
  .mn-job__card { position: static; }
}

@media (max-width: 575.98px) {
  .mn-job__h { font-size: 20px; margin-top: 32px; }
  .mn-job__card { padding: 22px 20px; }
}

/* Role cell on /careers/ — the whole cell is the link. The arrow only
   appears on hover/focus so the column stays quiet at rest. */
.mn-jobs__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.mn-jobs__link:hover,
.mn-jobs__link:focus-visible { color: #0F5350; text-decoration: underline; }
.mn-jobs__link i {
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}
.mn-jobs__link:hover i,
.mn-jobs__link:focus-visible i { opacity: 1; transform: none; }

/* Touch devices get no hover, so the arrow would never appear — show it. */
@media (hover: none) {
  .mn-jobs__link i { opacity: 1; transform: none; }
}

/* ============================================
   Pro card  text that never truncates (2026-09-09)

   The card's name, role and stat values were all `white-space: nowrap` with
   an ellipsis, sized against tracks that are only wide enough at a handful of
   viewports. Measured across /home/, /book/, /team/ and their Tamil twins,
   something was cut at 320, 360, 375, 640, 768, 900, 1024 and 1200  the card
   is narrowest at the moment a new column appears (292px at 640, 309px at
   1024), so this was never a phone-only problem, and Tamil, whose words are
   longer, was cut at every width including 1440.

   So the fix is unconditional: no media query, no page scope. Wrapping is all
   it takes  nothing here changes a size, a colour or a position. The tiles
   keep their 48px floor as a min-height and take a second line only when a
   value needs one; `align-items: stretch` on the row already levels all
   three, so the strip still reads as one band.

   The portrait beside the name block is absolutely positioned and
   bottom-aligned, so a name growing to two lines does not move it.
   ============================================ */

/* ---- header: name + role ---- */
.mn-pro-card__id {
  /* 10px more column, taken from the gutter to the portrait, which had 35px
     of slack at the narrowest card. */
  max-width: calc(100% - 120px);
}
.mn-pro-card__name,
.mn-pro-card__cat {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  /* Only bites if a single word is wider than the column; normal wrapping at
     spaces happens first. */
  overflow-wrap: break-word;
}

/* ---- verified chip on a narrow card (2026-10-05) ----
   On a 320px phone the name column is about 138px wide, and the Tamil chip
   ("MindNalam சரிபார்க்கப்பட்டது") holds one word that, with the icon and
   padding, is wider than that. It could not wrap, so it pushed out of the
   column across the gutter and onto the portrait. The portrait gives up
   11px (95 to 84) so the column can be 16px wider with a 20px gutter kept
   between them; slightly smaller type and padding bring the longest word
   inside it; the chip may wrap onto two lines, and it can never be wider
   than the column it sits in. */
@media (max-width: 400px) {
  .mn-pro-card .mn-pro-card__image { width: 84px; }
  .mn-pro-card__id { max-width: calc(100% - 104px); }
  .mn-pro-card__id .mn-verified-chip {
    max-width: 100%;
    margin-right: 0;
    padding: 3px 7px;
    gap: 4px;
    font-size: 10px;
    line-height: 1.3;
    border-radius: 12px;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .mn-pro-card__id .mn-verified-chip i { flex: 0 0 auto; }
}

/* ---- stat tiles ---- */
.mn-pro-card__stats > li {
  height: auto;
  min-height: 48px;
  /* Value over caption, both centred in the tile (request 2026-09-28):
     left-aligned they drifted apart from each other once a Tamil caption
     wrapped onto a second line. */
  align-items: center;
  text-align: center;
}
.mn-pro-card__stats strong,
.mn-pro-card__stats span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}

/* ---- footer: next-available column ---- */
/* flex: 1 1 auto with min-width: 0 already lets this column shrink; without a
   wrap that only bought it an ellipsis. BOOK NOW is flex: none and keeps its
   width, so the row just grows a line where it has to. */
.mn-pro-card__slot-cap,
.mn-pro-card__slot-label {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
}

/* ============================================
   English home page — panel/FAQ seam on mobile (2026-09-09)

   Below the "View more therapists" button the page stacked three separate
   bottom paddings before the FAQ band began: 28px inside .mn-panel__block,
   40px on .mn-panel itself, then the FAQ section's own 40px top padding —
   108px between the button and the FAQ heading, and 68px of it plain white
   with nothing in it. That reads as a hole on a phone, where it is most of a
   screen; on desktop the same stack is in proportion to everything else.

   So only the two paddings that produce the empty white run are trimmed, and
   only up to 767.98px. The FAQ section keeps its own top padding untouched:
   that one is the site-wide .section_space_lg rhythm, it sits inside the
   tinted band rather than in the white gap, and changing it here would put
   the home page out of step with every other section on the site.

   Scoped to body.page-home, which is both language trees' home page, so the
   two stay in step. Not left locale-scoped: /ta/ stacks the same way and had
   the same gap. /book/ renders .mn-panel--bare and is untouched.
   ============================================ */
@media (max-width: 767.98px) {
  body.page-home .mn-panel__block { padding-bottom: 16px; }
  body.page-home .mn-panel { padding-bottom: 0; }
}

/* ============================================
   Home panel — space under "View more therapists" (2026-09-09)

   The seam block above closed this gap to 16px, which read as the button
   being crammed against the FAQ band. Reopened to exactly the top space the
   FAQ section itself uses, so the button sits in the same rhythm as the
   heading below it: .section_space_lg is 48px down to 992 and 40px below 576,
   so those are the two values here.

   Carried entirely on .mn-panel__block, with .mn-panel's own bottom padding
   held at 0 — one padding to reason about instead of two that stack.
   Mobile and tablet only; desktop keeps the 56px it already had.
   ============================================ */
@media (max-width: 991.98px) {
  body.page-home .mn-panel__block { padding-bottom: 48px; }
  body.page-home .mn-panel { padding-bottom: 0; }
}
@media (max-width: 575px) {
  body.page-home .mn-panel__block { padding-bottom: 40px; }
}

/* ============================================
   About — "What We're Changing" top gap (2026-09-09)

   The section's own padding is already the site-wide .section_space_lg (40px
   below 576, 48px to 992) — same as every other section on the page. The
   extra space above the heading came from inside: the row is .g-5, so
   Bootstrap puts --bs-gutter-y (48px) on each column as margin-top and is
   meant to cancel the first row-line with a matching negative margin on .row.
   The vendor stylesheet overrides .row's margin to -15px, so that cancelling
   never happens and the first column keeps a stray 48px — 88px above the
   heading against the 40px that .mn-whycards and .mn-makers open with.

   Zeroing it on the first column only; the second column's copy of the same
   gutter is the gap between the emblem and the numbered list once the two
   stack, and is dealt with below.

   Mobile and tablet only, per the request; desktop keeps what it had.
   ============================================ */
/* And at the foot: every row in the list carries 22px of bottom padding to
   sit off its hairline, but :last-child drops that hairline and keeps the
   padding, so the section closed on 62px where .mn-makers closes on 40. The
   last row does not need it. */

/* 2026-09-10 — the stacked gap between the emblem and "01 Verified before
   listed" was three things end to end, none of them deliberate:

     48px  the row's uncancelled .g-5 gutter, on the second column this time
     15px  the vendor's [class*=col-]{padding:15px}
     22px  the first list row's top padding, which exists to sit it off the
           hairline *under* it — there is no hairline above it

   on top of roughly 28px of empty canvas at the foot of the emblem's own
   viewBox. About 113px of white between two things that belong together.

   The gutter drops to 16px, matching what .mn-story already runs at these
   widths, and the first row loses a top padding it never needed — the mirror
   of the :last-child rule above, which cut the same padding off the foot of
   the list for the same reason. Lands at about 59px. The column's 15px is
   left alone: it is the vendor's gutter for every column on the site, and
   this is not the place to start unpicking that.

   The list's internal 22px rhythm between rows is untouched, and so is every
   width from 992 up. Both language trees render from these same classes. */
@media (max-width: 991.98px) {
  .mn-changing > .container > .row > *:first-child { margin-top: 0; }
  .mn-changing > .container > .row { --bs-gutter-y: 16px; }
  .mn-changing__list > li:first-child { padding-top: 0; }
  .mn-changing__list > li:last-child { padding-bottom: 0; }
}

/* ============================================
   About — change-maker portrait at small-desktop widths (2026-09-09)

   The row goes two-up (5fr/7fr) from 992px. At 1024 that 5fr track is 394px
   starting at the container's 15px edge, and the blob behind the portrait
   bleeds 14px further left again — so it opened 1px from the viewport edge
   and read as clipped, with nothing balancing it on the left.

   Carrying the stacked, centred treatment that already runs below 992 up to
   the xl edge instead. Same rules, one breakpoint higher, so the portrait is
   centred at 1024 exactly as it is at 768; from 1200 the two-column layout
   has the room it was designed for and is untouched.
   ============================================ */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .mn-makers__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  /* The flip is a desktop affordance; stacked, the photo always leads. */
  .mn-makers__list > .mn-makers__row:nth-child(even) { direction: ltr; }
  .mn-makers__photo { width: 100%; max-width: 380px; margin-left: auto; margin-right: auto; }
}

/* ============================================
   Service pages — two spacing fixes on mobile/tablet (2026-09-09)

   1. The split concerns block ("Know what you're working with") opens hard
      under the CTA of the section above it, so its own .section_space_lg top
      is dead space between a button and a heading. Zeroed below 992px.
      !important because .section_space_lg sets its padding that way.
      Scoped to --split, the modifier the three service pages pass; the plain
      .mn-topics on the concern pages is untouched.

   2. .mn-svcfaq ("Any questions?") closes on 40/48px but opened on 88/96 —
      the same uncancelled .g-5 gutter the About page's .mn-changing had. The
      row's columns each take --bs-gutter-y as margin-top and Bootstrap means
      to cancel the first row-line with a negative margin on .row, which the
      vendor stylesheet overrides to -15px. Zeroing it on the first column
      only leaves top and bottom equal; the second column keeps its 48px as
      the gap between the illustration and the accordion once they stack.
   ============================================ */
@media (max-width: 991.98px) {
  /* The bulk of the gap over this heading was never the section's padding —
     mn-notop already zeroed that. It was the same uncancelled .g-5 gutter as
     above: 48px of margin-top on the first column that Bootstrap means to
     cancel on .row and the vendor's .row{margin:-15px} overrides away.
     With that gone the section opens and closes on its own padding, so
     padding-top is set back to the .section_space_lg value to match
     padding-bottom exactly. Net: 63px above the heading -> 55px, and top and
     bottom now measure the same. */
  .mn-topics--split.section_space_lg { padding-top: 48px !important; }
  .mn-topics--split > .container > .row > *:first-child { margin-top: 0; }
  .mn-svcfaq > .container > .row > *:first-child { margin-top: 0; }
}
@media (max-width: 575px) {
  .mn-topics--split.section_space_lg { padding-top: 0px !important; }
}

@media (max-width: 767px) {
    .mn-helpband--spaced {
        padding-top: 40px !important;
    }
}
@media (max-width: 767px) {
    .mn-helpband {
        padding-bottom: 40px !important;
    }
}
/* ============================================
   "Not sure what you need?" title — left on mobile/tablet (2026-09-09)

   The panel is text-align: center and the site-wide mobile block near the top
   of this file also centres .mn-moreways__title with !important, so this needs
   both !important and more specificity than that rule to win. Title only —
   the lede and the check-in button keep the panel's centring.
   ============================================ */
@media (max-width: 991.98px) {
  .mn-assess .mn-assess__card .mn-assess__title,
  .mn-assess .mn-assess__title { text-align: left !important; }
}

@media (max-width: 767px) {
    .mn-corpwhyus__title {
        font-size: 28px !important;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .mn-corpintro__title {
        font-size: 28px !important;
        max-width: none;
    }
}
/* ============================================
   Practitioner card headings — left on mobile/tablet (2026-09-09)

   Same cascade as .mn-assess__title above: the site-wide mobile block near
   the top of this file centres .mn-pract__title with !important, so beating
   it needs !important and more specificity. Headings only — the icon and the
   body copy keep the card's own treatment.
   ============================================ */
@media (max-width: 991.98px) {
  .mn-practs .mn-pract .mn-pract__title { text-align: left !important; }
}

/* ============================================
   Concern pages — three alignment/spacing fixes (2026-09-09)

   All scoped to body.page-concern, which is what /resources/<topic>/ renders,
   so the shared classes (.mn-svchero__cta runs on the service pages too, and
   .section_space_lg is site-wide) are not touched anywhere else.
   ============================================ */

/* 1. Hero eyebrow and CTA centred, to sit with the title and lede that the
      site-wide mobile block already centres between them. The eyebrow needs
      !important to beat .mn-svchero's own left alignment; the CTA is an
      inline-flex anchor, so it is centred by its container's text-align
      rather than by one of its own. Mobile and tablet only. */
@media (max-width: 991.98px) {
  body.page-concern .mn-svchero__container .mn-concern__eyebrow { text-align: center !important; }
  body.page-concern .mn-svchero__container .col-lg-7 { text-align: center; }
}

/* 2. The "Reviewed by" card reads as a record rather than a banner, so its
      lines start on one edge instead of centring each to its own width.
      Mobile only, as asked — from 576px up it keeps the centred treatment. */
@media (max-width: 575.98px) {
  body.page-concern .mn-reviewedby .mn-reviewedby__inner { text-align: left; align-items: flex-start; }
  body.page-concern .mn-reviewedby .mn-reviewedby__inner > * { text-align: left; }
  /* The 54px indent lines this up under the who-block in the centred layout;
     left-aligned it just breaks the card's single left edge. */
  body.page-concern .mn-reviewedby .mn-reviewedby__date { padding-left: 0; }
}

/* 3. "What people tend to notice" opens straight under the block above it,
      so its own section top is dead space. !important because
      .section_space_lg sets its padding that way. */
@media (max-width: 991.98px) {
  body.page-concern .mn-signs.section_space_lg { padding-top: 0 !important; }
}

/* ============================================
   /team/ funfacts centred on mobile/tablet (2026-09-09)

   The list carries justify-content-lg-end, so from 992px the two stats sit
   against the right edge under the heading block. Below that the class does
   nothing and the flex default left-aligns them, which reads as stray under
   the centred lede above. Centred instead. The list only exists on /team/
   (EN and TA), so no page scope is needed.
   ============================================ */
@media (max-width: 991.98px) {
  .team_funfact { justify-content: center; }
}

/* ============================================
   Concern pages — centre the last row of the professionals grid on tablet
   (2026-09-09)

   .mn-ther-grid steps 4 -> 3 (<=1200px) -> 2 (<=881px) -> 1 (<=575px)
   columns. The number of professionals listing a concern runs from 1 to 8,
   so on a tablet the count rarely divides evenly by the column count and the
   tail row is left hugging the left edge with empty columns beside it.

   Flex rather than grid for the two tablet steps: `justify-content: center`
   centres a short final line on its own, for every remainder, where grid
   would need a separate rule per leftover count. The basis is written to
   reproduce the track width exactly ((100% - gaps) / columns), so full rows
   land on the same widths they do now and only the tail row moves.

   Below 576px the grid is a single column and above 1200px it is the full
   four across, so both are left on the original grid. Scoped to
   body.page-concern: the four service pages use .mn-ther-grid too and always
   fill their rows.
   ============================================ */
@media (min-width: 576px) and (max-width: 1200px) {
  body.page-concern .mn-ther-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Two across — matches repeat(2, 1fr) with the grid's own 20px gap. */
  body.page-concern .mn-ther-grid > .mn-ther-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  /* --few already draws fixed 292px tracks; keep that width and let the
     flex line centre the leftover card. */
  body.page-concern .mn-ther-grid--few > .mn-ther-card {
    flex: 0 0 292px;
    max-width: 100%;
  }
}
@media (min-width: 882px) and (max-width: 1200px) {
  /* Three across — matches repeat(3, 1fr) with two 20px gaps. */
  body.page-concern .mn-ther-grid:not(.mn-ther-grid--few) > .mn-ther-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

/* ============================================
   Filter-bar mode popup — keep it on screen (2026-09-09)

   The <=767px block near .mn-panel__mode-menu flips the menu from
   right-aligned to `left: 0`. The menu is absolutely positioned against the
   mode summary, and that summary sits at the right-hand end of the search
   field, so on a narrow phone a 180px menu opened from ~176px in and ran off
   the right edge of the screen — clipped, with the last option unreadable.

   Right-aligning it is what every width above 767px already does, so this
   restores the design rather than inventing one: the menu hangs back under
   the caret that opened it and lands inside the search field's own footprint.

   Both language trees, because the markup is identical and the overflow is
   worse on /ta/ — the Tamil mode label is wider, which pushes the summary
   (and so the menu's left edge) further right still.
   ============================================ */
@media (max-width: 767px) {
  .mn-panel__mode-menu {
    left: auto;
    right: 0;
  }
}

/* ============================================
   Tamil text that was cut instead of wrapping (2026-09-09)

   The pass above brought /ta/ onto the same rules as the English tree. What
   it could not carry across is length: Tamil renders the same sentence 20-40%
   wider, so four places that never overflow in English were being clipped by
   an ancestor's `overflow: hidden` on a phone. Measured on every page in both
   trees at 320 / 375 / 768 — these four, and nothing else, differed.

     .mn-abouthero__title    345px of title in a 290px column at 320
     .mn-svchero__title      same, on the service heroes
     .mn-svchero__cta        366px of label in a 320px viewport
     .btn .btn_text          261px in a 246px button (/check-in/)
     .accordion-button       270px in a 246px item (the 9 team profiles)

   Wrapping only, in the same shape as the pro-card block further up: no size,
   colour or position changes anywhere. `overflow-wrap: break-word` does
   nothing until a single word is wider than its box, which no English string
   here is, so the English tree renders identically — verified by re-running
   the same sweep.

   The two buttons keep their 48px as a min-height rather than a fixed height,
   so a label that fits is exactly as tall as it was and only a wrapped one
   grows. .mn-svchero__cta also needs its `white-space` reset here rather than
   in the max-width:400px block up at line 4030: that block predates the
   component's own rule, which sets `nowrap` later in the file and wins, so
   the mobile rule there has never taken effect.
   ============================================ */
.mn-abouthero__title,
.mn-svchero__title,
.mn-whycards__title {
  overflow-wrap: break-word;
}

/* .accordion-button is display:flex, so the question is an anonymous flex
   item and its automatic minimum size is min-content. break-word does not
   lower min-content  anywhere does  so this one needs the stronger value. */
.accordion .accordion-item .accordion-button {
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .mn-svchero__cta,
  .mn-assess__cta {
    white-space: normal;
    height: auto;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* The label, and the hover duplicate of it: .btn .btn_text::before is an
     absolutely positioned pseudo carrying the same string via attr(data-text),
     and it was that copy  not the visible label  overflowing the button. */
  /* .btn is display:flex and carries 34px of padding a side, so the label is
     a flex item whose automatic minimum size is its longest word. As with the
     accordion, break-word does not lower min-content and anywhere does. The
     hover duplicate (.btn_text::before, content: attr(data-text)) carries the
     same string and needs the same treatment. */
  .btn .btn_text,
  .btn .btn_text::before {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ============================================
   Breadcrumbs — one separator, on one baseline (2026-09-09)

   The list carries two separator systems at once. The vendor styles
   .breadcrumb_nav > li:not(:last-child) with a 36px right padding (24px below
   376) and an absolutely positioned "\f105" chevron in "Font Awesome 5 Pro";
   the two crumb rules in this file then add their own "/" via li + li::before
   plus an 8px flex gap. Rendered, that is "Home > / Legal > / Privacy policy",
   with the chevron sitting in padding that belongs to no glyph — so the row
   read as unevenly spaced and, because the pseudo is positioned against a
   taller line box, the crumbs did not share a baseline.

   Dropping the vendor half. The "/" is the treatment these banners were
   designed around, the 8px gap is what spaces them, and align-items puts
   every crumb on one centre line. The list was already centred as a box at
   every width — it is the padding inside it that made it look off.

   Component-wide rather than per page: both banner styles render this same
   partial across the inner pages in both language trees, and fixing three
   legal pages would have left their siblings visibly different.
   ============================================ */
.mn-abouthero__crumbs,
.mn-banner__crumbs {
  align-items: center;
}
.mn-abouthero__crumbs > li,
.mn-banner__crumbs > li {
  /* Not inline-flex (2026-10-07). As a flex container the li kept its "/"
     pseudo-element as a separate item, so when a long last crumb (a Tamil
     job title at 425px) had to wrap, the slash sat alone at the left edge
     beside a two-line block of text. A plain block lets the "/" flow with
     the first word and the words wrap as one line of text. No shrinking:
     a crumb keeps its natural width and only one wider than the row wraps
     inside itself. */
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
}
/* The vendor makes every crumb link display: block, which put the inline
   "/" on a line of its own above the link. Inline, so slash and label share
   a line and wrap together. */
.mn-abouthero__crumbs > li a,
.mn-banner__crumbs > li a {
  display: inline;
}
.mn-abouthero__crumbs > li:not(:last-child),
.mn-banner__crumbs > li:not(:last-child) {
  padding-right: 0;
}
.mn-abouthero__crumbs > li:not(:last-child)::after,
.mn-banner__crumbs > li:not(:last-child)::after {
  content: none;
}

/* ============================================
   Privacy / Terms / Cancellation — banner top space on mobile+tablet
   (2026-09-09)

   .mn-abouthero runs up behind the fixed header, so its padding-top is doing
   two jobs at once: clearing the header and setting the space above the
   eyebrow. Below 992px it is 148px against a 73px header, which left 77px of
   empty band before the chip — on a phone that is most of the first screen
   spent on nothing.

   Re-derived as header + the site's own section rhythm, so the banner opens
   on the same measure every other section does: .section_space_lg is 48px
   down to 992 and 40px below 576, which makes 121px and 113px here. Gap goes
   77px -> 48px on a tablet and 77px -> 40px on a phone.

   Top only — the 90px at the foot is what gives the band its depth and is
   untouched, as is the desktop 192/124 from 992px up.

   Scoped to the five pages named  all five measured the same 77px gap. The
   same banner heads about a dozen other inner pages, and their spacing was
   not part of this request, so they keep the 148px they had.
   ============================================ */
@media (max-width: 991.98px) {
  body.page-privacy-policy .mn-abouthero,
  body.page-terms .mn-abouthero,
  body.page-cancellation-refund .mn-abouthero,
  body.page-corporate .mn-abouthero,
  body.page-campus .mn-abouthero {
    padding-top: 121px;
  }
}
@media (max-width: 575.98px) {
  body.page-privacy-policy .mn-abouthero,
  body.page-terms .mn-abouthero,
  body.page-cancellation-refund .mn-abouthero,
  body.page-corporate .mn-abouthero,
  body.page-campus .mn-abouthero {
    padding-top: 113px;
  }
}

/* ============================================
   Doc-download card heading — left on mobile/tablet (2026-09-09)

   Same cascade as .mn-assess__title and .mn-pract__title: the site-wide
   mobile block near the top of this file centres .mn-doc__title with
   !important, so beating it needs !important and more specificity. Heading
   only — the icon, body copy and download button keep their own treatment.
   ============================================ */
@media (max-width: 991.98px) {
  .mn-doc .mn-doc__body .mn-doc__title { text-align: left !important; }
}

/* ============================================
   Corporate / Campus intro — stray column gutter (2026-09-09)

   The 88px (mobile) / 96px (tablet) between the banner and the intro heading
   was not the section's own padding. 40/48px of it is .section_space_lg, the
   rhythm every section on the site opens on; the other 48px was a margin
   nobody asked for.

   Same Bootstrap fault already fixed on .mn-changing and .mn-svcfaq further
   up: the row is .g-5, so each column takes --bs-gutter-y (48px) as
   margin-top, and Bootstrap means to cancel the first row-line with a
   matching negative margin on .row. The vendor stylesheet overrides .row to
   margin: -15px, so the cancelling never happens and the first column keeps
   the full 48px. Measured here as .row margin-top -15px against .col-md-7
   margin-top 48px.

   Zeroed on the first column only. The second column keeps its 48px — once
   the two stack that margin is the gap between the copy and the image, and
   removing it would butt them together.

   Mobile and tablet only, per the request; desktop keeps what it had.
   .mn-corpintro renders on /corporate/ and /campus/ and nowhere else, in both
   language trees.
   ============================================ */
@media (max-width: 991.98px) {
  .mn-corpintro > .container > .row > *:first-child { margin-top: 0; }
}

/* ============================================
   Blog post pages — scroll offset + the two section seams (2026-09-09)

   1. THE FORM HIDING BEHIND THE HEADER
      The header is position: fixed and 73px tall (91px from 992px), and the
      document had no scroll offset at all — scroll-padding-top computed to
      0px. So anything the browser scrolls to lands underneath it: the
      "#enquire" jump, a hash link, and — the case reported — tapping a field,
      because focusing an input scrolls it into view and the header then
      covers the top of it. A half-covered input reads as a cut-off field.

      scroll-padding-top on the scroll container is the fix for exactly this,
      and it changes nothing about layout — only where a scroll comes to rest.
      Two values because the header changes height at the same breakpoint it
      always has. #enquire also gets its own scroll-margin-top so the section
      heading is in view when the anchor is followed, matching the
      scroll-margin-top the therapist panel already carries.

   2. THE TWO SEAMS
      Every band on this page is .section_space_lg, so between the article and
      the cards, and again between the cards and the form, two full paddings
      met: 40+40 on a phone and 48+48 on a tablet. 80px and 96px of empty
      white where the site's own rhythm between blocks is 40 and 48.

      Closed by dropping the trailing padding of the first band in each pair,
      so the gap is carried by the next section's top padding alone and lands
      on that same 40/48. Nothing is added anywhere; the article keeps its top
      padding, the form keeps its own.

   Scoped by .blog_details_section, which only the post layout renders — the
   .blog_section on /blog/ and the home page is not in this selector's reach.
   Mobile and tablet only, as asked.
   ============================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 89px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (min-width: 992px) {
  html { scroll-padding-top: 107px; }
}
#enquire { scroll-margin-top: 16px; }

@media (max-width: 991.98px) {
  /* !important to match the site-wide .section_space_lg block near the top of
     this file, which sets these paddings that way. */
  .blog_details_section.section_space_lg { padding-bottom: 0 !important; }
  .blog_details_section ~ .blog_section.section_space_lg { padding-bottom: 0 !important; }
}

/* ============================================
   Form fields clipped by the form's own corner (2026-09-09)

   The vendor gives .consultation_form `overflow: hidden` with a 150px
   top-left border-radius. That pairing exists to crop its two decorative
   shape_leaf images, which sit outside the box — none of our forms render
   those, so the only thing the clip catches is content.

   .row carries the vendor's margin: -15px, so the first field's top-left
   corner lands flush in the form's corner, well inside a 150px arc: at the
   field's top edge the arc cuts to x+50, which is why "Your name" lost the
   left half of its top border and its corner while every other field was
   whole. Same on /contact/, /apply/ and the job form, at every width.

   Unclipping is enough — the form has no background or border of its own, so
   the radius was drawing nothing. No breakpoint: the corner ate the field at
   every width, mobile and tablet included.
   ============================================ */
.consultation_form { overflow: visible; }

/* ============================================
   Single blog post — "More from the blog" band + 320px gutters (2026-09-09)

   1. The band ran the full .section_space_lg rhythm (80/64/48/40 top, and the
      same at the foot above 992) for what is one or two cards. Halved at every
      step. Below 992 the block above already zeroes the foot, so that stays 0
      here rather than being reopened by the wider step.

   2. On phones the card and the form sat 15px from the screen edge — the
      container's 15px, cancelled to nothing by .row's -15px and handed back
      by the column's own 15px. Lifting the container to 24px moves the whole
      stack in by 9px on each side without touching the row/column maths.

   Both scoped by .blog_details_section, which only the post layout renders,
   so the .blog_section on /blog/ and the home page and every other
   .consultation_section on the site are out of reach.
   ============================================ */
.blog_details_section + .blog_section.section_space_lg {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
@media (max-width: 1440px) {
  .blog_details_section + .blog_section.section_space_lg {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
}
@media (max-width: 991.98px) {
  .blog_details_section + .blog_section.section_space_lg {
    padding-top: 24px !important;
    /* Kept at 0 to preserve the seam rule above, not reopened. */
    padding-bottom: 0 !important;
  }
}
@media (max-width: 575px) {
  .blog_details_section + .blog_section.section_space_lg { padding-top: 20px !important; }
}

@media (max-width: 767.98px) {
  .blog_details_section + .blog_section > .container,
  .blog_details_section ~ .consultation_section > .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================
   Tamil home — search bar and card footer collisions (2026-09-09)

   1. The mode picker is flex: none, so it keeps its width and the search input
      absorbs every shortfall. Tamil's "எந்த முறையும்" makes that control 169px
      against English's 121, which left the input 73px at a 320 viewport — the
      placeholder was cut to a couple of glyphs and read as running into the
      label beside it. Tightening the summary's own padding and gap, and
      stepping the Tamil label down one size, hands the width back to the input.
      Nothing is removed: the value and its caption both still show.

   2. .mn-pro-card__slot-label is a span in a column flex box with
      align-items: flex-start, so it sizes to its own min-content. Tamil's
      "பார்க்கிறோம்…" has a min-content wider than the column, and
      `overflow-wrap: break-word` does not shrink min-content — only `anywhere`
      does. So the label pushed 72px past its column and 64px under the Book
      now button. Switching those two lines to `anywhere` lets the box shrink
      to the space the footer actually has. Not gated: it collided at 320, 640,
      768 and 1024.
   ============================================ */
.mn-pro-card__slot-cap,
.mn-pro-card__slot-label {
  max-width: 100%;
  /* break-word does not shrink min-content, so the box kept its full word
     width and overflowed; anywhere is what lets it shrink to the column. */
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .mn-panel__mode > summary { gap: 6px; padding: 0 6px 0 10px; }
  html[lang="ta-IN"] .mn-panel__mode-value { font-size: 12px; }
  html[lang="ta-IN"] .mn-panel__mode-caption { font-size: 10px; }
}

/* ============================================
   Service + concern hero — centre the lede block on tablet (2026-09-09)

   .mn-svchero__body carries `max-width: 560px` with `margin: 0 0 28px`, so
   its side margins are zero. The <=991px block above already centres the
   hero's text (`text-align: center` on the title, the body and the column)
   and centres the illustration with auto margins — but the body's own box was
   never centred, so from 768px up the 560px paragraph sat hard against the
   left of a 720px column while the heading and the CTA above and below it
   were centred on the column. Measured 70px off centre at 768, 834 and 991.

   Below 768px the container is 540px or narrower, so the paragraph is already
   narrower than its 560px cap and the margins have nothing to distribute —
   mobile renders identically with or without this rule. It is still bounded
   at `min-width: 768px` so the change provably cannot reach mobile.
   From 992px the hero is the two-column desktop layout and stays left-aligned;
   the upper bound matches the 991px used by the block that centres the text,
   so the two switch over together.

   .mn-svchero renders only on the four service sub-pages and the concern
   sub-pages, in both language trees, so no page or locale scope is needed.
   Alignment only — no size, colour, spacing or content change.
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
  .mn-svchero__body {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   Help band — Tamil content wider than the band (2026-09-09)

   Below 992 .mn-helpband__inner stacks to a column with align-items: center,
   so each child sizes to its own fit-content and nothing caps it at the
   band's width. English fits and never showed it; Tamil's title has a
   min-content of 330px against a 242px content box at 320, so the heading and
   body ran 44px past the panel on each side and were clipped by its edge.
   The CTA is a separate case — flex: none plus white-space: nowrap held it at
   300px whatever the room.

   Capping the children and letting the long words and the button label break
   is enough; the band keeps its gradient, radius, padding and centring, and
   the rules are no-ops in English where nothing was overflowing.
   ============================================ */
@media (max-width: 991.98px) {
  .mn-helpband__inner > * { max-width: 100%; }
  /* anywhere, not break-word: only anywhere reduces min-content, which is
     what was setting the 330px floor. */
  .mn-helpband__title,
  .mn-helpband__body { overflow-wrap: anywhere; }
  .mn-helpband__cta {
    max-width: 100%;
    height: auto;
    min-height: 48px;
    padding: 12px 24px;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   Pricing card "most chosen" badge in Tamil (2026-09-09)

   The badge is absolutely positioned at top: -12px, straddling the card's top
   border. The card's 32px top padding clears it while the label is one line:
   38px tall, bottom lands 6px above the plan name. Tamil's
   "அதிகம் தேர்ந்தெடுக்கப்படுவது" wraps to two lines, so the badge is 64px and
   its bottom lands 20px *inside* the name, covering the first line of it.

   Reserving the extra line on the Tamil card is enough — the badge keeps its
   position, colour and radius, and English keeps its 32px exactly. The width
   cap is a guard so the pill can never grow past the card it sits on.

   Not gated to mobile: the label wraps at 992 and 1200 as well, so the
   heading was covered there too.
   ============================================ */
/* Tamil vowel signs sit above and below the em box and ran into the pill's
   top and bottom edges at the badge's 6px padding  the label read as
   touching the border. 11px gives the ink room; the card's reserve grows by
   the same 10px so the clearance under the badge is unchanged. */
html[lang="ta-IN"] .pricing_badge { padding-top: 11px; padding-bottom: 11px; }
html[lang="ta-IN"] .pricing_item--featured { padding-top: 70px; }
.pricing_badge {
  max-width: calc(100% - 24px);
  text-align: center;
}

/* ============================================
   Floating WhatsApp button (2026-09-10)

   Rendered on every page by partials/whatsapp-float.njk, pinned to the
   bottom-right: a white speech bubble and a green disc, side by side inside
   one link, in the shape a chatbot launcher takes. The bubble asks; the disc
   says where the answer arrives.

   The green lives on .mn-wafloat__icon rather than on the link, because the
   link is now the row that holds both parts. The hover state therefore
   paints the child, not the anchor.

   z-index 1030 sits above page content and Bootstrap's sticky range, and
   deliberately *below* the language gate (2000) and the enquiry modal, so
   an open overlay covers the widget instead of floating it on top.

   The bottom offset adds env(safe-area-inset-bottom) so the button clears
   the home indicator on notched iPhones, where a flat 24px lands under the
   system gesture bar and the tap is eaten by the OS.
   ============================================ */
.mn-wafloat {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.mn-wafloat:hover,
.mn-wafloat:focus-visible { transform: translateY(-2px); }

/* The bubble. White on the page rather than green on green: a chatbot prompt
   reads as something said *to* you, and the brand colour is already carrying
   the button beside it. Dark teal on white also passes comfortably, so unlike
   the green pill this one is legible copy rather than decoration with a
   label on it. */
.mn-wafloat__bubble {
  position: relative;
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--mn-teal-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 8px 24px rgba(6, 61, 41, 0.18);
}
/* Tail, pointing right at the disc. A rotated square rather than a border
   triangle, so it inherits the bubble's own background and the two can never
   drift apart if that colour changes. It sits 4px under the bubble's corner,
   which is what hides its inner edge. */
.mn-wafloat__bubble::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
/* Tamil's prompt is longer than the English one and wraps to two lines at
   this cap; the extra leading keeps its vowel signs off each other. */
html[lang="ta-IN"] .mn-wafloat__bubble { font-size: 13px; line-height: 1.5; }

/* The disc. 56px is comfortably past the 44px tap target the QA audit holds
   the rest of the site to, and the size a floating action button is expected
   to be; the glyph runs large inside it because it is the only mark there. */
.mn-wafloat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(6, 61, 41, 0.28);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.mn-wafloat:hover .mn-wafloat__icon,
.mn-wafloat:focus-visible .mn-wafloat__icon {
  background: #1DA851;
  box-shadow: 0 14px 32px rgba(6, 61, 41, 0.34);
}
/* Ring the whole widget rather than the disc: the bubble is part of the same
   link, and a focus ring around half of it reads as a different control. */
.mn-wafloat:focus-visible {
  outline: 3px solid var(--mn-brand);
  outline-offset: 4px;
  border-radius: 16px;
}

@media (max-width: 575.98px) {
  .mn-wafloat {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  /* Held to under half a 360px screen so the widget never becomes the page.
     Both prompts still fit inside this on two lines. */
  .mn-wafloat__bubble {
    max-width: 168px;
    padding: 8px 12px;
    font-size: 13px;
  }
  html[lang="ta-IN"] .mn-wafloat__bubble { font-size: 12px; }
  .mn-wafloat__icon { width: 52px; height: 52px; font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .mn-wafloat,
  .mn-wafloat__icon { transition: none; }
  .mn-wafloat:hover,
  .mn-wafloat:focus-visible { transform: none; }
}

@media print {
  .mn-wafloat { display: none !important; }
}

/* ============================================
   Pricing card CTA — the site's pill, on mobile and tablet (2026-09-10)

   The card's button is the vendor's .btn.btn-primary: a 12px-radius block
   with 34px of side padding and a hover that slides the label up out of the
   box while a duplicate rides in from below. Every other call to action on
   the same page — .mn-svchero__cta, .mn-helpband__cta — is a 48px pill with
   24-30px of padding and no slide at all. On a 320px phone the difference
   stopped being a matter of taste: the card's content box is about 234px,
   68px of that is the button's own padding, so "Book a psychiatrist" wrapped
   to two lines and the button stood roughly 90px tall next to 48px pills.

   Matched to .mn-svchero__cta below 992px. The colours already agreed —
   .btn-primary paints --mn-teal-text and the pill paints --mn-brand, which
   are the same #0F5350 — so this is shape, size and motion only:

     · 999px radius and a 48px min-height, not a fixed height, because the
       Tamil labels wrap here at 320px and a fixed height would clip them.
       An unwrapped label is exactly 48px; only a wrapped one grows.
     · 24px of side padding rather than the pill's 30px. The pill lives in
       open page width; this one lives inside a card that has already spent
       56px on its own padding, and 30px here puts the English label back
       onto two lines at 320px.
     · The vendor's .btn_text padding zeroed, so the min-height and the flex
       centring set the height rather than a 10/12px asymmetry that exists
       only to make room for the slide.
     · Slide and lift both off — a hover that sticks on touch would otherwise
       park the label out of view.
     · The duplicate label removed outright. .btn_text::before carries the
       same string via attr(data-text) at top:100%, and the only thing that
       ever hid it was .btn{overflow:hidden} plus a box no taller than the
       label. Give the button a 48px min-height and that duplicate lands
       inside the box and simply prints, so the card read "Book a counsellor"
       twice. It exists solely to ride in as the real label slides out, and
       the slide is off here, so nothing is lost by dropping it.

   Desktop is untouched, per the request: from 992px up the card button is
   the same .btn.btn-primary as "See full panel" beside it, which is the
   consistency that matters at that width.

   Reaches all 46 pricing cards — home, /services/, and the concern pages —
   in both language trees, since they all render partials/pricing-card.njk.
   ============================================ */
@media (max-width: 991.98px) {
  .pricing_foot .btn {
    min-height: 48px;
    height: auto;
    padding: 0 24px;
    border-radius: 999px;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
  }
  .pricing_foot .btn .btn_text { padding: 0; }
  .pricing_foot .btn .btn_text::before { content: none; }
  .pricing_foot .btn .btn_icon { margin-left: 10px; font-size: 12px; }
  .pricing_foot .btn:hover,
  .pricing_foot .btn:focus { transform: none; }
  .pricing_foot .btn:hover .btn_text,
  .pricing_foot .btn:focus .btn_text { transform: none; }
}

/* ============================================
   English heading face — one family, one weight (2026-09-10)

   Every non-banner heading on the English tree renders in Open Sans at 700.
   Before this, four non-banner headings sat on the display face at 800 —
   .section_heading_text (60 uses), .mn-hiw__title, .mn-founder__title and
   .wizard-h1 (81 uses) — so a page could show two different heading faces
   and two different weights in the same scroll.

   Banner headings are deliberately untouched, as asked. The three banner
   wrappers are .page_banner, .mn-abouthero and .mn-svchero; the first keeps
   Host Grotesk because `.page_banner .mn-banner__title` (0,2,0) outranks the
   `html[lang="en-IN"] h1` (0,1,2) rule below on its own, and the other two
   already read --bs-font-heading, so none of them changes.

   Scoped to html[lang="en-IN"] so the Tamil tree keeps Anek Tamil — that
   block redefines --bs-font-heading, and nothing here reaches it.

   Size is NOT set here: the heading scale still disagrees across components
   (see the note handed back with this change), and picking one number is a
   design decision rather than a cleanup.
   ============================================ */
html[lang="en-IN"] h1,
html[lang="en-IN"] h2,
html[lang="en-IN"] h3,
html[lang="en-IN"] h4,
html[lang="en-IN"] h5,
html[lang="en-IN"] h6 {
  font-family: var(--bs-font-heading);
}

/* The four that were on the display face at 800. Class-level specificity is
   needed here: each already carries a (0,2,0) or stronger rule of its own. */
html[lang="en-IN"] .section_heading .section_heading_text,
html[lang="en-IN"] .mn-hiw__title,
html[lang="en-IN"] .mn-founder__title,
html[lang="en-IN"] .wizard-h1 {
  font-family: var(--bs-font-heading);
  font-weight: 700;
}

/* ============================================
   Tamil buttons — one style for mobile and tablet (2026-09-10)

   The Tamil wrapping fix further up this file stops at max-width: 575.98px,
   so a Tamil button changed shape at the phone/tablet line: below it the
   label wrapped and the button grew from its 48px floor; above it the label
   was held to one line in a fixed 48px pill and a long string had nowhere
   to go. .mn-helpband__cta never had this split — its own block was written
   at 991.98px — so the two CTA styles disagreed on the same tablet screen.

   Same declarations as the 575.98 block, raised to the same 991.98 line the
   help-band already uses, so mobile and tablet now render identically.

   Nothing here changes a button that already fits: `white-space: normal`
   only permits a wrap, `overflow-wrap: anywhere` only acts on a word wider
   than its box, and `min-height` holds the original 48px. That is the same
   reasoning the mobile block was written under.

   Scoped to html[lang="ta-IN"]: English labels are short enough that the
   English tree keeps its current tablet rendering untouched.

   Deliberately NOT included: .btn.mn-header-cta. Its Tamil phone sizes
   (6px/10.5px at 575.98, 5px/9.5px at 359.98) exist because "இப்போது
   முன்பதிவு" is ~40% wider than "Book Now" and overflows the header row on
   a 390px screen. Matching them to tablet would put the actions group back
   over the edge — see the note above those blocks.
   ============================================ */
@media (max-width: 991.98px) {
  html[lang="ta-IN"] .mn-svchero__cta,
  html[lang="ta-IN"] .mn-assess__cta {
    white-space: normal;
    height: auto;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
  }
  html[lang="ta-IN"] .btn .btn_text,
  html[lang="ta-IN"] .btn .btn_text::before {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ============================================
   Header actions at 320px — smaller controls so the logo keeps its room
   (2026-09-10)

   At 320px the burger was sitting on top of the wordmark. The row is
   flex-nowrap and the logo is its only flexible item, so everything the
   actions group takes comes straight out of the mark:

     ~110px  logo at its 22px cap (the wordmark's own aspect ratio; the
             64px min-width below 360 is a floor, not a cap)
      44px   burger
      44px   language globe
     ~88px   Book Now at 13px in 14px of inset
      16px   container padding, 4px x2 gap
     ------
     ~314px into a 320px row, and any rounding tips it over.

   Every one of those 44s is the tap-target floor from the QA audit, applied
   at 767.98px and below. This block steps the three controls to 36px at
   320px only. That is a deliberate trade against this site's own 44px
   convention, and worth stating plainly: 36px still clears WCAG 2.2 AA's
   24px minimum (2.5.8) comfortably, but it is under the 44px this project
   holds itself to everywhere else. At this width the alternative was a logo
   squeezed to an unreadable sliver, which the block at line 2229 exists to
   prevent.

   Placed at the end of the file on purpose. The @media (max-width: 400px)
   block up at line 2216 already tries to shrink the Book Now pill, but the
   tap-target block at line 4433 restates the same three properties on an
   identically specific selector several thousand lines later and quietly
   wins — so that shrink has never rendered. Rather than reorder either, this
   sits last and settles it.

   Tamil is left to its own rule at line 2258: html[lang] adds an attribute
   to the selector, so its 9.5px label survives this block's 11px, which is
   what that longer string needs.
   ============================================ */
@media (max-width: 359.98px) {
  .site_header .header_btns_group { gap: 4px; }

  .site_header .mobile_menu_btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 15px;
  }

  .site_header .mn-langswitch {
    width: 36px;
    height: 36px;
  }
  .site_header .mn-langswitch i { font-size: 14px; }

  .site_header .header_btns_group .btn.mn-header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
    border-radius: 18px;
  }
}

/* ---------------------------------------------------------------------------
   Clinical vs wellness tier separation (launch brief, item 1).
   Nav/footer group headings, services-hub tier bands, card badges, chip divider.
   --------------------------------------------------------------------------- */
/* Service-tier flyouts. The row is a normal dropdown link with an icon and a
   right chevron; its panel opens beside it on hover / keyboard focus. The
   parent .dropdown-menu has overflow-y:auto (max-height rule above), which
   would clip a side panel, so it is switched to visible for menus that hold
   a flyout. */
.site_header .main_menu_list .dropdown-menu:has(.mn-flyout) { overflow: visible; min-width: 270px; padding: 8px; }
.mn-flyout { position: relative; }
.site_header .main_menu_list .dropdown-menu > li > a.mn-flyout__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.mn-flyout__link > span { flex: 1 1 auto; }
.mn-flyout__chev { font-size: 10px; opacity: 0.55; flex: 0 0 auto; }
.mn-flyout__menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 55, 52, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.mn-flyout__menu > li { margin: 0; }
.mn-flyout__menu > li > a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--mn-brand-dark, #1b3b39);
  white-space: normal;
}
.mn-flyout__menu > li > a:hover,
.mn-flyout__menu > li > a:focus { background: rgba(31, 111, 107, 0.07); color: var(--mn-teal-text, #1f6f6b); }
.mn-flyout__menu > li:first-child > a { font-weight: 600; }
@media (min-width: 992px) {
  .mn-flyout__menu {
    position: absolute;
    top: -8px;
    left: calc(100% + 6px);
    display: none;
    z-index: 5;
  }
  /* Invisible bridge across the 6px gap so the pointer can cross to the panel. */
  .mn-flyout__menu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
  .mn-flyout:hover > .mn-flyout__link,
  .mn-flyout:focus-within > .mn-flyout__link { background: rgba(31, 111, 107, 0.07); color: var(--mn-teal-text, #1f6f6b); }
  .mn-flyout:hover > .mn-flyout__menu,
  .mn-flyout:focus-within > .mn-flyout__menu { display: block; }
  /* Both tiers share one panel width so the two flyouts line up. */
  .mn-flyout__menu { width: 280px; }
}
@media (max-width: 991.98px) {
  .site_header .main_menu_list .dropdown-menu:has(.mn-flyout) { padding: 4px 0 8px; }
  .mn-flyout__chev { display: none; }
  .mn-flyout__menu { box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; background: transparent; }
  .mn-flyout__menu > li > a { padding: 8px 10px; min-height: 40px; display: flex; align-items: center; }
  /* Phone fixes (2026-09-29). The desktop rules further down set nowrap on
     the tier labels and flyout items so the side panel sizes to them; on a
     phone the same nowrap sent the long Tamil labels off the right edge.
     Wrap them here. The dropdown also inherited a 520px height cap with
     visible overflow, so a tall Services list spilled over the Concerns
     row beneath it: no cap on phones, the outer menu scrolls instead. */
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link > span,
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static > span,
  .mn-flyout__menu > li > a,
  .site_header .main_menu_list .dropdown-menu > li > a { white-space: normal !important; }
  .site_header .main_menu_list .dropdown-menu { max-height: none !important; overflow: visible; }
  .site_header .main_menu_inner.navbar-collapse { background: #fff; }
}
.mn-mega-footer__subhead {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.mn-mega-footer__subhead--sep { margin-top: 12px; }

.mn-tier__head { text-align: center; margin-bottom: 20px; }
.mn-tier__title { font-size: 1.35rem; margin: 0 0 4px; display: inline-flex; align-items: center; gap: 10px; }
.mn-tier__title i { color: var(--mn-teal, #1f6f6b); }
.mn-tier__sub { margin: 0; font-size: 0.9rem; opacity: 0.75; }
.mn-tier--wellness { background: #f4f7f3; }
.mn-tier--wellness .mn-tier__title i { color: #5c8a5a; }
.mn-tier__disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 860px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border-left: 4px solid #5c8a5a;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}
.mn-tier__disclaimer i { color: #5c8a5a; margin-top: 3px; }
.mn-tier__disclaimer p { margin: 0; }
.mn-tier__disclaimer--hero { margin: 20px 0 0; background: rgba(255, 255, 255, 0.85); }
.mn-tier__disclaimer a { text-decoration: underline; font-weight: 600; }

.mn-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mn-tier-badge--clinical { background: rgba(31, 111, 107, 0.12); color: var(--mn-teal, #1f6f6b); }
.mn-tier-badge--wellness { background: rgba(92, 138, 90, 0.14); color: #4a7348; }

.mn-panel__chipsep { width: 1px; height: 24px; background: rgba(0, 0, 0, 0.15); margin: 0 4px; align-self: center; }
.mn-panel__chip--wellness { border-style: dashed; }

/* ---------------------------------------------------------------------------
   Urgent-help pathway (launch brief, item 5).
   Band partial (partials/urgent-help.njk) + the global footer strip.
   --------------------------------------------------------------------------- */
.mn-urgent { padding: 0 0 8px; }
.mn-urgent__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  margin-top: 24px;
  border-radius: 14px;
  background: #FFF4EC;
  border: 1px solid #F3C9AE;
  border-left: 6px solid #C8552E;
  box-shadow: 0 6px 20px rgba(200, 85, 46, 0.08);
}
.mn-urgent__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #C8552E;
  color: #fff;
  font-size: 20px;
}
.mn-urgent__text { flex: 1 1 auto; min-width: 0; }
.mn-urgent__heading { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; color: #7A2E13; }
.mn-urgent__body { margin: 0; font-size: 0.93rem; line-height: 1.55; color: #4A2A1C; }
.mn-urgent__actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.mn-urgent__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #C8552E;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
}
.mn-urgent__call:hover { background: #A8431F; }
.mn-urgent__more { text-align: center; font-size: 0.85rem; font-weight: 600; color: #7A2E13; text-decoration: underline; }
@media (max-width: 767.98px) {
  /* Stack and centre: icon, text, then the call button and link, all centred. */
  .mn-urgent__card { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 16px; }
  .mn-urgent__text { flex-basis: auto; width: 100%; }
  .mn-urgent__actions { flex-basis: auto; width: 100%; flex-direction: column; align-items: center; gap: 10px; }
  .mn-urgent__call { flex: 0 1 auto; width: 100%; max-width: 360px; }
}

/* Global placement: a full-width band that closes the page just above the
   footer. The card keeps its own colours; the band gets a neutral ground and
   vertical rhythm so it reads as part of the page end, not a floating alert. */
.mn-urgent--global { padding: 32px 0 36px; background: #FBF7F3; border-top: 1px solid #F0E4DA; }
.mn-urgent--global .mn-urgent__card { margin-top: 0; }
/* Phones: the band followed a section that already ends in 40px of padding,
   so 32 + 18 more read as a hole above the icon (request 2026-09-16). */
@media (max-width: 767.98px) {
  .mn-urgent--global { padding: 10px 0 22px; }
  .mn-urgent--global .mn-urgent__card { padding: 12px 16px 16px; gap: 8px; }
  .mn-urgent__icon { width: 40px; height: 40px; }
}

/* ---------------------------------------------------------------------------
   Brand positioning (launch brief, item 20).
   Trust line under the home banner CTA; positioning + trust in the footer
   brand column.
   --------------------------------------------------------------------------- */
.mn-banner__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mn-brand-dark, #0F5350);
}
.mn-banner__trust-dot { opacity: 0.45; }
/* Static first screen (launch brief, item 12). The headline reuses the
   rotator's type but is always visible; kicker shrinks to an eyebrow. */
.mn-banner__kicker { font-size: 15px; letter-spacing: 0.02em; }
.mn-banner__headline--static {
  grid-area: auto;
  max-width: 900px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: none;
}
/* Rotating second line: same weight as the static h1, brand colour, a step
   smaller so the static line stays the anchor. */
.mn-banner__headline--sub { font-size: 38px; color: var(--mn-brand); }
.mn-banner__rotator { margin-top: -6px; }
.mn-banner__cats, .mn-banner__geo { margin: 0; line-height: 1.5; }
.mn-banner__cats { font-size: 17px; font-weight: 600; color: var(--mn-brand-dark, #0F5350); }
.mn-banner__geo { font-size: 15px; color: #35524F; margin-top: -8px; }
.mn-banner__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.mn-banner__ctas .mn-banner__cta { margin-top: 0; }
.mn-banner__cta--outline { background: transparent; color: var(--mn-brand); box-shadow: inset 0 0 0 2px var(--mn-brand); }
.mn-banner__cta--outline:hover, .mn-banner__cta--outline:focus { background: var(--mn-brand); color: #fff; }
.mn-banner__trust { margin-top: 10px; }
@media (max-width: 767px) {
  .mn-banner__kicker { font-size: 13px; }
  .mn-banner__headline--static { font-size: 30px; }
  .mn-banner__headline--sub { font-size: 24px; }
  .mn-banner__cats { font-size: 15px; }
  .mn-banner__geo { font-size: 14px; margin-top: -4px; }
  .mn-banner__ctas .mn-banner__cta { width: 100%; max-width: 320px; }
}

/* ---------------------------------------------------------------------------
   "No subscription" trust line (launch brief, item 13) — partials/trust-line.njk.
   Plain, readable, non-promotional: small text, brand-dark colour, dot
   separators; wraps naturally on narrow screens.
   --------------------------------------------------------------------------- */
.mn-trustline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
  margin: 28px auto 0;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--mn-brand-dark, #0F5350);
  text-align: center;
}
.mn-trustline__dot { opacity: 0.45; }
/* Inside a fee panel, sidebar or wizard card. */
.mn-trustline--compact { justify-content: flex-start; text-align: left; margin: 14px 0 0; font-size: 13px; gap: 2px 8px; }
/* One statement per line — the profile sidebar is narrow. */
.mn-trustline--stack {
  flex-direction: column; align-items: stretch; gap: 0;
  margin-top: 16px; padding: 10px 14px;
  background: rgba(30,74,56,0.05); border: 1px solid rgba(30,74,56,0.12); border-radius: 12px;
}
.mn-trustline--stack .mn-trustline__dot { display: none; }
.mn-trustline--stack .mn-trustline__item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; font-weight: 700; font-size: 14px; line-height: 1.35;
  border-bottom: 1px solid rgba(30,74,56,0.1);
}
.mn-trustline--stack .mn-trustline__item:last-child { border-bottom: none; }
.mn-trustline--stack .mn-trustline__item::before {
  content: "✓"; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-brand-dark, #0F5350); color: #fff; font-size: 11px; font-weight: 800;
}
@media (max-width: 575.98px) {
  .mn-trustline { font-size: 13px; }
}

/* ---------------------------------------------------------------------------
   "See what we verified" expandable under the profile badge (launch brief,
   items 2 & 14). Plain <details>; matches the sidebar's small-type rhythm.
   --------------------------------------------------------------------------- */
.mn-tp__verifydetails { margin: 6px 0 14px; font-size: 13px; line-height: 1.55; }
.mn-tp__verifydetails > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--mn-brand, #0F5350);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mn-tp__verifydetails > summary::-webkit-details-marker { display: none; }
.mn-tp__verifydetails > summary::after { content: "\25BE"; font-size: 11px; transition: transform 0.2s ease; }
.mn-tp__verifydetails[open] > summary::after { transform: rotate(180deg); }
.mn-tp__verifyintro { margin: 10px 0 8px; color: #35524F; }
.mn-tp__verifylist { margin: 0 0 8px; padding: 10px 12px; border-left: 3px solid #EDF4F3; background: #F7FAF9; border-radius: 6px; }
.mn-tp__verifylist dt { font-weight: 700; color: var(--mn-brand-dark, #0F5350); margin-top: 6px; }
.mn-tp__verifylist dt:first-child { margin-top: 0; }
.mn-tp__verifylist dd { margin: 2px 0 0; color: #35524F; }
.mn-tp__verifylink { font-weight: 600; text-decoration: underline; }
/* Badge-as-summary variant: the label itself is the clickable pill. */
.mn-tp__verifydetails--badge { margin-top: 8px; }
.mn-tp__verifydetails--badge > summary.mn-tp__verified { cursor: pointer; list-style: none; text-decoration: none; }
.mn-tp__verifydetails--badge > summary.mn-tp__verified::after { content: "\25BE"; margin-left: 6px; font-size: 11px; }
.mn-tp__verifydetails--badge[open] > summary.mn-tp__verified::after { transform: rotate(180deg); display: inline-block; }
.mn-tp__verifycat { margin: 0 0 8px; color: #35524F; }
.mn-tp__verifyhead { margin: 10px 0 4px; font-weight: 700; color: var(--mn-brand-dark, #0F5350); }
.mn-tp__verifychecks { list-style: none; margin: 0 0 8px; padding: 10px 12px; background: #F7FAF9; border-left: 3px solid #EDF4F3; border-radius: 6px; }
.mn-tp__verifychecks li { margin: 4px 0; color: #35524F; }
.mn-tp__verifychecks i { color: var(--mn-brand, #0F5350); margin-right: 4px; }
.mn-tp__verifydate { margin: 0 0 8px; font-size: 12.5px; color: #51565D; }

/* Launch geography line (launch brief, item 16): footer + booking mode step. */
.mn-mega-footer__availability { margin: 10px 0 14px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.wizard-note { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: #51565D; }
@media (max-width: 991.98px) { .mn-mega-footer__availability { text-align: center; } }

/* Institutional-vs-individual note under the Corporate / Campus enquiry CTA
   (launch brief, item 15). */
.mn-corpsvc__note { margin: 14px auto 0; max-width: 640px; font-size: 13.5px; line-height: 1.55; color: #51565D; text-align: center; }
.mn-corpsvc__note a { font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Team page — 4×1 card grid (replaces the alternating full-width rows).
   --------------------------------------------------------------------------- */
.mn-teamgrid-section { padding: 56px 0 64px; }
.mn-teamgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.mn-teamcard {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 22px;
  box-shadow: 0 8px 24px rgba(15, 83, 80, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.mn-teamcard__photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: #EDF4F3;
  margin: 0 auto 16px;
}
.mn-teamcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* A member saved in admin without a photo: their initial on the tint, rather
   than a broken image. */
.mn-teamcard__initial { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.25rem; font-weight: 700; line-height: 1; color: var(--mn-brand, #0F5350); }
.mn-teamcard__name { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: var(--mn-brand-dark, #0F5350); }
.mn-teamcard__role { margin: 0; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mn-brand, #0F5350); }
.mn-teamcard__tagline { margin: 0 0 8px; font-size: 0.95rem; font-style: italic; color: #35524F; }
.mn-teamcard__creds { margin: 0 0 12px; font-size: 0.82rem; line-height: 1.5; color: #51565D; }
.mn-teamcard__more { width: 100%; margin-top: auto; text-align: left; font-size: 0.9rem; line-height: 1.6; color: #35524F; }
.mn-teamcard__more > summary {
  cursor: pointer; list-style: none; text-align: center;
  font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; text-underline-offset: 3px;
}
.mn-teamcard__more > summary::-webkit-details-marker { display: none; }
.mn-teamcard__more[open] > summary { margin-bottom: 10px; }
.mn-teamcard__para { margin: 0 0 10px; }
.mn-teamcard__quote { margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--mn-brand, #0F5350); background: #F7FAF9; border-radius: 6px; font-style: italic; }
.mn-teamcard__quote p { margin: 0; }
@media (max-width: 991.98px) { .mn-teamgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .mn-teamgrid { grid-template-columns: minmax(0, 1fr); } .mn-teamcard__photo { width: 140px; height: 140px; } }

/* Contact page — operator & grievance block (launch brief, item 18). */
.mn-operator { padding-top: 0; }
.mn-operator__card { max-width: 900px; margin: 0 auto; padding: 24px 28px; border-radius: 14px; background: #fff; border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 6px 20px rgba(15, 83, 80, 0.06); }
.mn-operator__title { margin: 0 0 14px; font-size: 1.25rem; color: var(--mn-brand-dark, #0F5350); }
.mn-operator__list { margin: 0; display: grid; gap: 12px; }
.mn-operator__list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 16px; font-size: 0.95rem; line-height: 1.6; }
.mn-operator__list dt { font-weight: 700; color: var(--mn-brand-dark, #0F5350); }
.mn-operator__list dd { margin: 0; color: #35524F; }
.mn-operator__list a { text-decoration: underline; font-weight: 600; }
@media (max-width: 575.98px) { .mn-operator__list > div { grid-template-columns: 1fr; gap: 2px; } .mn-operator__card { padding: 18px; } }

/* Flyout row without a url: same look as the link, default cursor. */
.site_header .main_menu_list .dropdown-menu > li > span.mn-flyout__link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-weight: 600; cursor: default; }

/* "Any questions?" FAQ block: no top padding — the band above it already
   carries the vertical spacing, so the two together read as one big gap. */
.mn-svcfaq.section_space_lg { padding-top: 0 !important; }

/* Profile page: tier badge under the specialty; wellness scope note in the sidebar. */
.mn-tp__tier { margin-top: 6px; }
.mn-tp__wellnessnote { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid #5c8a5a; background: #F4F7F3; border-radius: 6px; font-size: 12.5px; line-height: 1.55; color: #35524F; }
.mn-tp__wellnessnote i { color: #5c8a5a; margin-right: 4px; }

/* Profile sidebar: live next-slot value + optional admin note. */
.mn-tp__slot[data-state="live"] { color: var(--mn-brand-dark, #0F5350); font-weight: 600; }
.mn-tp__slotnote { margin-top: 2px; font-size: 12.5px; color: #51565D; }

/* Tier badges hidden on cards and profiles: "Mental health care" since
   2026-09-15, "Wellness practitioner" since 2026-10-12. Markup and data stay.
   The tier is still legible from the category line under the name
   ("Wellness Professionals") and, on the profile, from the wellness
   disclaimer, which is the part that carries the clinical caveat. */
.mn-tier-badge--clinical,
.mn-tier-badge--wellness { display: none !important; }

/* ---------------------------------------------------------------------------
   Uniform CTA sizing (request 2026-09-15).
   Every primary pill button on the site — hero, service heroes, help bands,
   panel "view all", profile "Book now", urgent-help call, corporate/campus
   and form .btn-primary/.btn-outline-primary — shares one size in English
   and Tamil and across desktop / tablet / phone. Tamil labels are longer, so
   text may wrap to two lines; the height stays fixed by min-height and the
   label centres inside it. The header "Book Now" pill is excluded: it has to
   fit the nav bar and keeps its own sizing.
   --------------------------------------------------------------------------- */
.mn-banner__cta,
.mn-svchero__cta,
.mn-helpband__cta,
.mn-panel__more-btn,
.mn-tp__book,
.mn-urgent__call,
.mn-wellness-notice__button,
.mn-corpsvc__cta .btn,
.mn-corpintro .btn,
.consultation_section .btn,
.checkin-actions .btn,
main .btn.btn-primary,
main .btn.btn-outline-primary,
main .btn.btn-secondary {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px !important;
  height: auto !important;
  min-width: 200px;
  padding: 10px 28px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  white-space: normal !important;
  text-align: center;
  border-radius: 999px !important;
}
/* The vendor button animates by sliding a duplicate label (.btn_text::before,
   content: attr(data-text), parked at top:100%) into view on hover. That only
   stays hidden while the button box is exactly one label tall. The 48px pill
   above is taller, so the duplicate printed inside it ("Send message" twice).
   Drop the duplicate and the slide; keep the 4px hover lift. */
main .btn.btn-primary .btn_text,
main .btn.btn-outline-primary .btn_text,
main .btn.btn-secondary .btn_text,
.consultation_section .btn .btn_text,
.checkin-actions .btn .btn_text,
.mn-corpsvc__cta .btn .btn_text,
.mn-corpintro .btn .btn_text { padding: 0 !important; transform: none !important; }
main .btn.btn-primary .btn_text::before,
main .btn.btn-outline-primary .btn_text::before,
main .btn.btn-secondary .btn_text::before,
.consultation_section .btn .btn_text::before,
.checkin-actions .btn .btn_text::before,
.mn-corpsvc__cta .btn .btn_text::before,
.mn-corpintro .btn .btn_text::before { display: none !important; content: none !important; }

/* Tamil: identical box; only the family differs. */
html[lang="ta-IN"] .mn-banner__cta,
html[lang="ta-IN"] .mn-svchero__cta,
html[lang="ta-IN"] .mn-helpband__cta,
html[lang="ta-IN"] .mn-panel__more-btn,
html[lang="ta-IN"] .mn-tp__book,
html[lang="ta-IN"] .mn-urgent__call,
html[lang="ta-IN"] main .btn.btn-primary,
html[lang="ta-IN"] main .btn.btn-outline-primary {
  font-size: 14px !important;
  padding: 10px 28px !important;
  min-height: 48px !important;
}
/* Tablet: unchanged from desktop. Phone: same height, full width up to 360px
   so a long Tamil label and a short English one occupy the same box. */
@media (max-width: 575.98px) {
  .mn-banner__cta,
  .mn-svchero__cta,
  .mn-helpband__cta,
  .mn-panel__more-btn,
  .mn-tp__book,
  .mn-urgent__call,
  .mn-wellness-notice__button,
  .mn-corpsvc__cta .btn,
  .mn-corpintro .btn,
  .consultation_section .btn,
  .checkin-actions .btn,
  main .btn.btn-primary,
  main .btn.btn-outline-primary,
  main .btn.btn-secondary {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    padding: 10px 20px !important;
  }
  .mn-banner__ctas .mn-banner__cta { max-width: 360px; }
}
/* Pro-card "Book now" is a compact in-card control; keep it uniform at its
   own smaller size in both languages. */
.mn-pro-card__book,
html[lang="ta-IN"] .mn-pro-card__book {
  min-height: 40px !important;
  height: auto !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Mental health care hub (/services/mental-health-care/). */
.mn-mhc__card { height: 100%; padding: 26px 24px; border-radius: 16px; background: #fff; border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 8px 24px rgba(15, 83, 80, 0.06); text-align: center; }
.mn-mhc__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #EDF4F3; color: var(--mn-brand, #0F5350); font-size: 22px; margin-bottom: 14px; }
.mn-mhc__title { margin: 0 0 8px; font-size: 1.2rem; color: var(--mn-brand-dark, #0F5350); }
.mn-mhc__body { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.6; color: #51565D; }
.mn-mhc__verify { margin: 0; padding: 10px 12px; border-radius: 8px; background: #F7FAF9; font-size: 0.85rem; line-height: 1.55; color: #35524F; text-align: left; }
.mn-mhc__verify i { color: var(--mn-brand, #0F5350); margin-right: 4px; }
.mn-mhc__availability { margin: 24px auto 0; max-width: 700px; text-align: center; font-size: 0.95rem; color: #35524F; }

/* ---- "Which professional is right for me?" on /services/mental-health-care/
   (client review doc, 2026-09-28, section 2.1). Builds on .mn-mhc__card:
   three labelled rows per card, a tinted wellness card, and a closing
   "still not sure" band with one pill. ---- */
/* The section sits on a soft mint band (same tint as the "when to consider"
   rows and the verify boxes above) so the white cards lift off the page and
   the block reads as one unit between the white "why" section and the dark
   help band. Full section_space_lg padding, not the tightened variants, so
   the tint has even breathing room above the heading and below the note. */
.mn-whichpro { scroll-margin-top: 90px; background: #F7FAF9; }
.mn-whichpro__card { display: flex; flex-direction: column; text-align: left; }
.mn-whichpro__card .mn-mhc__icon { align-self: flex-start; }
.mn-whichpro__card .mn-mhc__title { min-height: 2.6em; }
.mn-whichpro__rows { margin: 4px 0 0; }
.mn-whichpro__row { padding: 12px 0; border-top: 1px solid rgba(15, 83, 80, 0.10); }
.mn-whichpro__row dt {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mn-sage-text, #466E40);
}
.mn-whichpro__row dt i { font-size: 11px; color: var(--mn-brand, #0F5350); }
.mn-whichpro__row dd { margin: 0; font-size: 0.93rem; line-height: 1.6; color: #51565D; }
.mn-whichpro__row--when { margin-top: 4px; background: #F7FAF9; border-top: 0; border-radius: 10px; padding: 12px 12px; }
.mn-whichpro__row--when dd { color: #35524F; }
/* All five cards share the base card look; the difference shows on hover:
   the card tints sage, lifts a little, and the icon disc darkens. Motion
   is off under prefers-reduced-motion. */
.mn-whichpro__card { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.mn-whichpro__card .mn-mhc__icon, .mn-whichpro__card .mn-whichpro__row--when { transition: background-color .25s ease, color .25s ease; }
.mn-whichpro__card:hover, .mn-whichpro__card:focus-within {
  background: #F4F8F1;
  border-color: rgba(124, 166, 115, 0.55);
  box-shadow: 0 16px 36px rgba(15, 83, 80, 0.12);
  transform: translateY(-4px);
}
.mn-whichpro__card:hover .mn-mhc__icon, .mn-whichpro__card:focus-within .mn-mhc__icon { background: var(--mn-brand, #0F5350); color: #fff; }
.mn-whichpro__card:hover .mn-whichpro__row--when, .mn-whichpro__card:focus-within .mn-whichpro__row--when { background: #fff; }
@media (prefers-reduced-motion: reduce) { .mn-whichpro__card, .mn-whichpro__card .mn-mhc__icon, .mn-whichpro__card .mn-whichpro__row--when { transition: none; } .mn-whichpro__card:hover { transform: none; } }
.mn-whichpro__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 0.9rem; font-weight: 600; color: var(--mn-sage-dark, #3B5C36); text-decoration: none; }
.mn-whichpro__link:hover { color: var(--mn-brand-dark, #0A3B39); text-decoration: underline; }
.mn-whichpro__note {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: 960px; margin: 32px auto 0; padding: 22px 28px;
  border-radius: 16px; background: #EDF4F3; border: 1px solid rgba(15, 83, 80, 0.12);
}
.mn-whichpro__note-title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--mn-brand-dark, #0A3B39); }
.mn-whichpro__note-body { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #35524F; max-width: 640px; }
.mn-whichpro__cta {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  height: 44px; padding: 0 26px; border-radius: 999px;
  background: var(--mn-brand, #0F5350); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s ease;
}
.mn-whichpro__cta i { font-size: 12px; }
.mn-whichpro__cta:hover, .mn-whichpro__cta:focus-visible { background: var(--mn-brand-dark, #0A3B39); color: #fff; }
@media (max-width: 767.98px) {
  .mn-whichpro__card .mn-mhc__title { min-height: 0; }
  .mn-whichpro__note { padding: 18px 20px; }
}
.mn-notop { padding-top: 0 !important; }

/* 2026-09-16 — one accent treatment on every section heading, every page.
   Headings authored with an italic <em> (about, services, resources) now get
   the same highlighted bar as the accentHeading filter's .mn-accent, so the
   home/team pages and the rest of the site match. Excludes .mn-join__title,
   which sits on a dark band where the bar has no contrast. */
h1 em, h2 em,
.mn-section-title em, .mn-topics__title em, .mn-svcfaq__title em,
.mn-assess__title em, .mn-moreways__title em, .mn-story__title em,
.mn-changing__title em, .mn-abouthero__title em, .mn-svchero__title em,
h1 .mn-accent, h2 .mn-accent, .section_heading_text .mn-accent,
.mn-svcpage .section_heading_text .mn-accent {
  font-style: normal !important;
  color: #1F5A55 !important;
  background: linear-gradient(180deg, transparent 60%, rgba(124, 166, 115, 0.28) 60%) !important;
  padding: 0 2px;
}
.mn-join__title em { font-style: italic !important; color: #FFECBE !important; background: none !important; padding: 0; }

/* Headings on dark CTA bands: plain white, no accent bar. */
.mn-helpband__title .mn-accent,
.mn-helpband__title em,
.mn-join__title .mn-accent,
.mn-join__title em {
  color: #fff !important;
  background: none !important;
  padding: 0;
  font-style: normal !important;
}

/* 2026-09-16 — concern pages: centre the tail row on desktop too. Same flex
   approach as the tablet steps above; basis reproduces the four-across track
   width ((100% - 3 gaps) / 4) so full rows are unchanged. */
@media (min-width: 1201px) {
  body.page-concern .mn-ther-grid:not(.mn-ther-grid--few) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  body.page-concern .mn-ther-grid:not(.mn-ther-grid--few) > .mn-ther-card {
    flex: 0 0 calc((100% - 60px) / 4);
  }
}

/* ---- /team/ on phones: tighter section spacing (request 2026-09-16) ----
   .team_section carried the vendor's 120px top/bottom (no mobile override),
   and the "Want us to suggest someone?" band sat under the grid's 64px
   bottom padding plus its own 40px top, so ~100px of empty tint. Scoped to
   the team page: the grid section only exists there, and the CTA rule keys
   off being its next sibling. */
@media (max-width: 767.98px) {
  .team_section.section_space_md { padding-top: 36px; padding-bottom: 28px; }
  .mn-teamgrid-section { padding: 28px 0 28px; }
  .mn-teamgrid-section + .consultation_section.section_space_lg { padding-top: 28px !important; padding-bottom: 36px !important; }
}
@media (max-width: 575.98px) {
  .team_section.section_space_md { padding-top: 28px; padding-bottom: 20px; }
  .mn-teamgrid-section { padding: 20px 0 24px; }
}

/* ---- /book/ on phones: chips-to-cards gap (request 2026-09-16) ----
   The bare panel keeps the filter bar's 32px bottom margin, and the card
   row adds mt-4 (24px) on top of the block padding, so ~110px of white sat
   between the last chip and the first card. */
@media (max-width: 767.98px) {
  .mn-panel--bare .mn-panel__bar { margin-bottom: 0; }
  .mn-panel--bare .mn-panel__block { padding-bottom: 8px; }
  .mn-panel--bare + [data-panel-grid] { margin-top: 12px !important; }
}

/* ---- Page banner text: centred on phones/tablets (request 2026-09-16) ----
   The mobile body-justify rule near the top of this file also caught the
   banner lede, so it sat left/justified under a centred title on every
   page that uses partials/page-banner.njk (Careers, Corporate, Campus,
   About, legal pages...). Banner copy is short and centred everywhere else. */
@media (max-width: 991px) {
  .mn-abouthero__eyebrow,
  .mn-abouthero__title,
  .mn-abouthero__lede,
  .mn-abouthero__crumbs,
  .mn-banner__lede { text-align: center !important; }
  .mn-abouthero__lede { margin-left: auto; margin-right: auto; }
}

/* ---- Phones: buttons size to their label, pairs share a line ----
   (request 2026-09-16). The launch-pass rule above stretched every pill to
   360px, so "Find a Professional" + "Book a Consultation" stacked as two
   full-width bars. Now they behave like "Read more": content width, and the
   containers wrap so two short buttons sit on one line and only a long
   Tamil pair drops to two. */
@media (max-width: 575.98px) {
  .mn-banner__cta,
  .mn-svchero__cta,
  .mn-helpband__cta,
  .mn-panel__more-btn,
  .mn-tp__book,
  .mn-urgent__call,
  .mn-wellness-notice__button,
  .mn-corpsvc__cta .btn,
  .mn-corpintro .btn,
  .consultation_section .btn,
  .checkin-actions .btn,
  main .btn.btn-primary,
  main .btn.btn-outline-primary,
  main .btn.btn-secondary,
  .mn-banner__ctas .mn-banner__cta,
  .hero_content .btn_wrap > .btn {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    padding: 10px 16px !important;
    min-height: 44px !important;
  }
  /* Button groups: centred, wrapping, even gaps. */
  .mn-banner__ctas,
  .hero_content .btn_wrap,
  .btn_wrap,
  .mn-helpband__actions,
  .mn-corpsvc__cta,
  .checkin-actions,
  .mn-wellness-notice__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center;
    gap: 10px 8px !important;
  }
  /* The profile sidebar's Book Now and the form submit stay full width: one
     control on its own row, and a stretched target is the better tap there. */
  .mn-tp__book,
  .consultation_section .btn[type="submit"] { width: 100% !important; max-width: 360px !important; }
}

/* ---- Footer on phones: tighter (request 2026-09-16) ----
   Measured at 412px: 48/32px footer padding, each accordion row 76px
   (20px label + 9px toggle padding + 15px group padding each side), the
   sign-off at 20px. Everything below only applies under 768px. */
@media (max-width: 767.98px) {
  .mn-mega-footer { padding: 28px 0 20px !important; }
  .mn-mega-footer__group { padding-top: 2px !important; padding-bottom: 2px !important; }
  .mn-mega-footer__toggle { padding: 6px 0 !important; min-height: 40px !important; font-size: 16px !important; line-height: 1.3 !important; }
  .mn-mega-footer__chevron { font-size: 13px; }
  .mn-mega-footer__panel .mn-mega-footer__linklist { padding-bottom: 4px; }
  .mn-mega-footer__linklist li { padding: 4px 0; }
  .mn-mega-footer__linklist a,
  .mn-mega-footer__linklist a:visited { font-size: 14px; }
  .mn-mega-footer__subhead { font-size: 12px; }
  .mn-mega-footer__brand { padding-top: 10px !important; }
  .mn-mega-footer__brand p,
  .mn-mega-footer__tagline { font-size: 14px !important; line-height: 1.5 !important; margin-bottom: 8px !important; }
  .mn-mega-footer__signoff { font-size: 16px !important; line-height: 1.35 !important; margin-bottom: 8px !important; }
  .mn-mega-footer__contact li { font-size: 14px; }
  .mn-mega-footer__credit { margin-top: 12px !important; padding-top: 8px !important; font-size: 12px !important; line-height: 1.5 !important; }
  .mn-mega-footer__logo { margin-bottom: 10px !important; }
  .mn-mega-footer__logo img { max-height: 40px; }
}

/* ---------------------------------------------------------------------------
   Services hub, restructured (2026-09-18).
   .mn-svchub   — the two-tier board (clinical | wellness) with service rows
   .mn-svcstd   — "one standard" band with a two-column checklist
   .mn-svcsteps — four numbered step cards for "How to get a service"
   Strings are unchanged; only the arrangement is new.
--------------------------------------------------------------------------- */
.mn-svchub__board {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px;
  align-items: stretch;
}
.mn-svchub__tier {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 28px 28px 24px;
  border: 1px solid var(--mn-brand-tint, #DAE7E6);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 83, 80, 0.06);
}
.mn-svchub__tier--clinical { background: linear-gradient(180deg, #F6FAF9 0%, #fff 60%); }
.mn-svchub__tier--wellness { background: linear-gradient(180deg, var(--mn-sage-bg, #EFF5EC) 0%, #fff 70%); border-color: #D9E6D4; }
.mn-svchub__tierhead { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.mn-svchub__tiericon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; background: var(--mn-brand, #0F5350);
}
.mn-svchub__tier--wellness .mn-svchub__tiericon { background: var(--mn-sage-text, #466E40); }
.mn-svchub__tiertitle { margin: 0 0 4px; font-size: 1.35rem; line-height: 1.25; color: var(--mn-brand-dark, #0A3B39); }
.mn-svchub__tiersub { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #51565D; }
.mn-svchub__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mn-svchub__row {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.10);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.mn-svchub__row:hover, .mn-svchub__row:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 83, 80, 0.10);
  border-color: rgba(15, 83, 80, 0.28);
  color: inherit;
}
.mn-svchub__rowicon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--mn-brand, #0F5350); background: var(--mn-brand-bg, #EDF4F3);
}
.mn-svchub__tier--wellness .mn-svchub__rowicon { color: var(--mn-sage-text, #466E40); background: var(--mn-sage-bg, #EFF5EC); }
.mn-svchub__rowtext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mn-svchub__rowtitle { font-weight: 700; font-size: 1.02rem; color: var(--mn-brand-dark, #0A3B39); line-height: 1.3; }
.mn-svchub__rowblurb { font-size: 0.88rem; line-height: 1.5; color: #51565D; }
.mn-svchub__rowarrow { color: var(--mn-brand, #0F5350); font-size: 0.95rem; justify-self: end; }
.mn-svchub__tierlink {
  margin-top: auto; padding-top: 18px; align-self: flex-start;
  font-weight: 700; font-size: 0.92rem; color: var(--mn-brand, #0F5350);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.mn-svchub__tierlink:hover { text-decoration: underline; color: var(--mn-brand-dark, #0A3B39); }
.mn-svchub__note {
  margin: auto 0 0; padding-top: 18px;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; line-height: 1.55; color: #3B5C36;
}
.mn-svchub__note i { margin-top: 3px; color: var(--mn-sage-text, #466E40); }

.mn-svcstd__title { margin-bottom: 14px; }
.mn-svcstd__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px;
}
.mn-svcstd__grid li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.10); font-weight: 600; color: var(--mn-brand-dark, #0A3B39);
  line-height: 1.45;
}
.mn-svcstd__check {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff; background: var(--mn-sage, #7CA673); margin-top: 1px;
}

.mn-svcsteps__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  counter-reset: none;
}
.mn-svcsteps__card {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--mn-brand-tint, #DAE7E6);
  box-shadow: 0 8px 24px rgba(15, 83, 80, 0.06);
  display: flex; flex-direction: column; gap: 10px;
}
.mn-svcsteps__num {
  position: absolute; top: 16px; right: 18px;
  font-family: var(--mn-font-display, inherit); font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: var(--mn-brand-tint, #DAE7E6);
}
.mn-svcsteps__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--mn-brand, #0F5350); background: var(--mn-brand-bg, #EDF4F3);
}
.mn-svcsteps__title { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.35; color: var(--mn-brand-dark, #0A3B39); }
.mn-svcsteps__body { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #51565D; }

@media (max-width: 991.98px) {
  .mn-svchub__board { grid-template-columns: 1fr; }
  .mn-svcsteps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .mn-svchub__tier { padding: 22px 18px 18px; }
  .mn-svchub__row { grid-template-columns: 40px 1fr 20px; gap: 12px; padding: 12px 14px; }
  .mn-svcstd__grid { grid-template-columns: 1fr; }
  .mn-svcsteps__grid { grid-template-columns: 1fr; }
}

/* Services hub — tier bands (2026-09-18, replaces the two-column board).
   One full-width band per tier: name/sub-line/note on the left, service
   cards on the right. Clinical = three cards, wellness = one wide card. */
.mn-svctier {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2.6fr;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--mn-brand-tint, #DAE7E6);
  background: linear-gradient(135deg, #F4F9F8 0%, #FFFFFF 55%);
}
.mn-svctier + .mn-svctier { margin-top: 22px; }
.mn-svctier--wellness {
  border-color: #D9E6D4;
  background: linear-gradient(135deg, var(--mn-sage-bg, #EFF5EC) 0%, #FFFFFF 55%);
}
.mn-svctier__aside { display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }
.mn-svctier__badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; background: var(--mn-brand, #0F5350);
}
.mn-svctier--wellness .mn-svctier__badge { background: var(--mn-sage-text, #466E40); }
.mn-svctier__title { margin: 6px 0 0; font-size: 1.4rem; line-height: 1.25; color: var(--mn-brand-dark, #0A3B39); }
.mn-svctier__sub { margin: 0; font-size: 0.9rem; line-height: 1.55; color: #51565D; }
.mn-svctier__link {
  margin-top: auto; padding-top: 10px; align-self: flex-start;
  font-weight: 700; font-size: 0.92rem; color: var(--mn-brand, #0F5350);
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.mn-svctier__link:hover { text-decoration: underline; color: var(--mn-brand-dark, #0A3B39); }

.mn-svctier__cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.mn-svctier__cards--single { display: flex; flex-direction: column; gap: 14px; }
.mn-svctier__card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  height: 100%;
  padding: 20px 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.10);
  color: inherit; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.mn-svctier__card:hover, .mn-svctier__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 83, 80, 0.10);
  border-color: rgba(15, 83, 80, 0.28);
  color: inherit;
}
.mn-svctier__card--wide { flex-direction: row; align-items: center; gap: 18px; }
.mn-svctier__card--wide .mn-svctier__cardtitle { margin-top: 0; }
.mn-svctier__card--wide .mn-svctier__cardblurb { flex: 1; }
.mn-svctier__cardicon {
  width: 46px; height: 46px; border-radius: 12px; flex: 0 0 46px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--mn-brand, #0F5350); background: var(--mn-brand-bg, #EDF4F3);
}
.mn-svctier--wellness .mn-svctier__cardicon { color: var(--mn-sage-text, #466E40); background: var(--mn-sage-bg, #EFF5EC); }
.mn-svctier__cardtitle { margin-top: 6px; font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--mn-brand-dark, #0A3B39); }
.mn-svctier__cardblurb { font-size: 0.88rem; line-height: 1.55; color: #51565D; }
.mn-svctier__cardmore {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--mn-brand, #0F5350); background: var(--mn-brand-bg, #EDF4F3);
}
.mn-svctier__card--wide .mn-svctier__cardmore { position: static; flex: 0 0 30px; }
.mn-svctier__note {
  margin: 0; display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; line-height: 1.55; color: #3B5C36;
}
.mn-svctier__note i { margin-top: 3px; color: var(--mn-sage-text, #466E40); }

@media (max-width: 991.98px) {
  .mn-svctier { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .mn-svctier__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .mn-svctier__cards { grid-template-columns: 1fr; }
  .mn-svctier__card--wide { flex-direction: column; align-items: flex-start; }
  .mn-svctier__card--wide .mn-svctier__cardmore { position: absolute; }
}

/* Services hub — one flat grid of the four services (2026-09-18). */
.mn-svcgrid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.mn-svcgrid > li { flex: 0 0 calc((100% - 36px) / 3); display: flex; }
.mn-svcgrid .mn-svctier__card { padding: 24px 22px 26px; }
.mn-svcgrid__note { max-width: 860px; margin: 22px auto 0; justify-content: center; text-align: left; }
@media (max-width: 991.98px) { .mn-svcgrid > li { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 575.98px) { .mn-svcgrid > li { flex-basis: 100%; } }

/* Contact form privacy consent (2026-09-18). */
.mn-consent { margin: 4px 0 18px; }
.mn-consent__label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.5; color: #35524F; cursor: pointer; }
.mn-consent__label input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; accent-color: var(--mn-brand, #0F5350); }
.mn-consent__label a { color: var(--mn-brand, #0F5350); text-decoration: underline; font-weight: 600; }
.mn-consent--center { display: flex; justify-content: center; }
.mn-consent--center .mn-consent__label { text-align: left; }

/* Concern guides — which kind of professional may fit (2026-09-18). */
.mn-protypes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 991.98px) { .mn-protypes__grid { grid-template-columns: 1fr; } }
/* Concern guides: the panel sits on the plain page, no card/tint behind it (request 2026-09-18). */
.mn-protypes .mn-panel__block { background: transparent; box-shadow: none; border: 0; padding-top: 0; padding-bottom: 0; }

/* Services dropdown: the tier labels are now plain spans (label-only), so they
   need the same sizing as the linked rows; and every flyout row shares one
   14px size (request 2026-09-18). */
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link,
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; line-height: 1.4; font-weight: 600; color: inherit; cursor: default;
}
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static:hover,
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static:focus { background: rgba(31, 111, 107, 0.07); color: var(--mn-teal-text, #1f6f6b); outline: none; }
.mn-flyout__menu > li > a { font-size: 14px; line-height: 1.4; }
.mn-flyout__menu > li:first-child > a { font-weight: 400; }

/* Services dropdown alignment (2026-09-18): wide enough that the tier labels
   stay on one line; the flyout panel opens flush beside the dropdown's outer
   edge (dropdown padding + gap), top-aligned with the row that opened it. */
.site_header .main_menu_list .dropdown-menu:has(.mn-flyout) { min-width: 330px; }
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link > span,
.site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static > span { white-space: nowrap; }
.mn-flyout__menu > li > a { white-space: nowrap; }
@media (min-width: 992px) {
  .mn-flyout__menu { top: -8px; left: calc(100% + 14px); min-width: 300px; }
  .mn-flyout__menu::before { left: -16px; width: 16px; }
}

/* Flyout panel sizes to its longest label (2026-09-18): the Tamil
   "நல்வாழ்வு நிபுணர்கள் மற்றும் பயிற்சியாளர்கள்" entry overflowed the fixed
   280px panel. Content-sized with a ceiling; anything longer wraps inside. */
@media (min-width: 992px) {
  .mn-flyout__menu { width: max-content; min-width: 300px; max-width: 480px; }
  .mn-flyout__menu > li > a { white-space: normal; }
}

/* Phone menu (2026-10-05). The 330px min-width above is for the desktop
   dropdown, but it applied at every width: on a 320px phone the Services
   list was wider than the screen, so the two tier labels ("Mental health
   care", "Wellness & personal development") and their items ran off the
   right edge. In the collapsed menu the list takes the menu's own width and
   long labels wrap. Placed after the desktop rule so it wins without
   !important. */
@media (max-width: 991.98px) {
  .site_header .main_menu_list .dropdown-menu:has(.mn-flyout) { min-width: 0; width: auto; max-width: 100%; box-sizing: border-box; }
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link,
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static { min-width: 0; }
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link > span,
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static > span { min-width: 0; overflow-wrap: anywhere; }
  .mn-flyout__menu { width: auto; max-width: 100%; }
  .mn-flyout__menu > li > a { overflow-wrap: anywhere; }
}

/* Narrow-phone header row (2026-10-05). The row is split 5/2/5, and on a
   phone the middle column is empty (the menu panel is positioned on its
   own), so a sixth of a 320px row was unused while the three buttons on the
   right, wider than their column, slid left over the end of the logo. Give
   the buttons the width they need, the empty column none, and the logo
   whatever is left; its image already scales down inside its column. */
@media (max-width: 420px) {
  .site_header > .container-fluid > .row > div:nth-child(1) { flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
  .site_header > .container-fluid > .row > div:nth-child(2) { flex: 0 0 0; width: 0; max-width: 0; padding-left: 0; padding-right: 0; }
  .site_header > .container-fluid > .row > div:nth-child(3) { flex: 0 0 auto; width: auto; max-width: none; padding-left: 4px; }
  .site_header > .container-fluid > .row > div:nth-child(1) { padding-right: 4px; }
  /* The link was inline-block, so the image's max-width: 100% had nothing
     definite to measure against and the logo kept its full width, running
     under the menu button. As a block it takes the column's width and the
     image scales to it. */
  .site_header .site_logo { display: block; min-width: 0; width: 100%; }
  .site_header .site_logo .site_link { display: block; width: 100%; min-width: 0; }
  .site_header .site_logo img { display: block; width: 100%; max-width: 132px; height: auto; max-height: none; min-width: 0; }
}

/* Header submenu caret (2026-09-18): a real button beside the label so that
   on phone/tablet the label navigates and only the caret opens the list.
   The row is 44px tall there (20px line + 12px padding). Desktop keeps the
   vendor's ::after caret on the link and hides the button. */
.mn-nav-caret { display: none; }
@media (max-width: 991px) {
  .main_menu_list > li.dropdown { position: relative; }
  .main_menu_list > li.dropdown > a.nav-link { padding-right: 56px; }
  .main_menu_list .dropdown > a:after { display: none; }
  .mn-nav-caret {
    /* Above the link: the vendor gives .main_menu_list > li > a z-index:1, which
       otherwise sits over the button and turns a caret tap into a navigation. */
    position: absolute; top: 0; right: 0; width: 52px; height: 44px; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: 0; padding: 0; color: var(--bs-dark, #1b3b39); font-size: 15px;
  }
  .mn-nav-caret > i { transition: transform 200ms; }
  .mn-nav-caret[aria-expanded="true"] > i { transform: rotate(180deg); }
}

/* ============================================
   Narrow phones, 320-400px (request 2026-09-18)
   Measured at 320 on the Tamil tree: section headings, the corporate/campus
   service-card head, blog card titles and page-banner titles clipped at the
   right edge because one Tamil word was wider than the column; the pro card
   footer squeezed the next-slot caption to one letter per line beside the
   Book pill; the three stat tiles broke words mid-way; and the filter mode
   pill ran past its rounded edge.
   ============================================ */
@media (max-width: 400px) {
  /* Headings: one size down on the Tamil tree, plus a last-resort break so
     a single long word can never clip. */
  html[lang="ta-IN"] .section_heading .section_heading_text { font-size: 26px; line-height: 34px; }
  html[lang="ta-IN"] .mn-corpsvc__title { font-size: 21px; }
  html[lang="ta-IN"] .blog_title { font-size: 18px; }
  html[lang="ta-IN"] .page_banner .mn-banner__title,
  html[lang="ta-IN"] .mn-abouthero__title { font-size: 26px; line-height: 32px; }
  .section_heading .section_heading_text,
  .mn-corpsvc__title,
  .blog_title,
  .mn-abouthero__title,
  .page_banner .mn-banner__title { overflow-wrap: anywhere; }

  /* Pro card: stat tiles stack as full-width rows, footer stacks slot over
     the Book pill. */
  .mn-pro-card__stats { flex-wrap: wrap; }
  /* Centred once they become full-width rows (request 2026-09-28): a value
     and its caption hugging the left edge of a 280px tile read as two stray
     fragments rather than one stat. */
  .mn-pro-card__stats > li { flex: 1 1 100%; height: auto; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
  .mn-pro-card__stats strong,
  .mn-pro-card__stats span { white-space: normal; overflow: visible; }
  .mn-pro-card__foot { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .mn-pro-card__slot { flex: 1 1 100%; align-items: center; text-align: center; }
  .mn-pro-card__slot-cap,
  .mn-pro-card__slot-label { white-space: normal; overflow: visible; }
  .mn-pro-card__book { flex: 1 1 100%; justify-content: center; }

  /* Filter mode pill: label wraps inside the pill instead of running past it. */
  .mn-panel__mode { max-width: 100%; }
  .mn-panel__mode > summary { height: auto; min-height: 44px; padding-top: 6px; padding-bottom: 6px; white-space: normal; }
  .mn-panel__mode-value { white-space: normal; overflow-wrap: anywhere; }
}

/* Legal pages and posts on phones (request 2026-09-18): section headings
   one size down on the Tamil tree with a last-resort break, and the
   grievance steps table scrolls sideways instead of crushing its third
   column to one letter per line. display:block on the table keeps thead
   and tbody in one anonymous table box, so the columns stay aligned. */
@media (max-width: 400px) {
  html[lang="ta-IN"] .mn-legal-body h2,
  html[lang="ta-IN"] .post_body h2 { font-size: 22px; line-height: 1.35; }
  .mn-legal-body h2, .mn-legal-body h3, .post_body h2, .post_body h3 { overflow-wrap: anywhere; }
}
@media (max-width: 767px) {
  .mn-legal-body .legal-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mn-legal-body .legal-table th,
  .mn-legal-body .legal-table td { min-width: 150px; white-space: normal; vertical-align: top; }
  .mn-legal-body .legal-table th:first-child,
  .mn-legal-body .legal-table td:first-child { min-width: 90px; }
}

/* "All Services" / "All Concerns" rows (request 2026-09-18): phone and
   tablet only, where the parent label opens the list instead of linking. */
.main_menu_list .dropdown-menu > li.mn-nav-all { display: none; }
@media (max-width: 991px) {
  .main_menu_list .dropdown-menu > li.mn-nav-all { display: block; }
  .main_menu_list .dropdown-menu > li.mn-nav-all > a { font-weight: 700; }
  /* Hierarchy in the open accordion (request 2026-10-01): the "All …" row,
     the tier labels and the items under them were all 14px and read as one
     list. The hub row matches the top-level menu links' size (14px here,
     15px on phones below) and takes the brand colour; the items under the
     tiers step down and soften. */
  .site_header .main_menu_list .dropdown-menu > li.mn-nav-all > a {
    font-size: 14px;
    color: var(--mn-brand, #0F5350);
    border-bottom: 1px solid rgba(15, 83, 80, 0.12);
  }
  .mn-flyout__menu > li > a { font-size: 13px; color: #51565D; }
  /* Tier labels ("Professional Mental Health Services", "Wellness and
     Personal Development") one step up (request 2026-10-01), still under
     the 16px hub row. */
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link,
  .site_header .main_menu_list .dropdown-menu > li > .mn-flyout__link--static { font-size: 15px; }
}
@media (max-width: 767.98px) {
  .site_header .main_menu_list .dropdown-menu > li.mn-nav-all > a { font-size: 15px; }
}

/* ---- home: intro under the banner (client review doc, 2026-09-28) ----
   Shares .mn-story with the about page (spacing, title, body). Only the
   art, the trait chips and the about-page pill are its own. */
/* Tighter vertical rhythm than the about-page story: less air above and
   below, and the columns sit a little closer. Scoped to this section only. */
.mn-homeintro.mn-story.section_space_lg { padding-top: 44px; padding-bottom: 36px; }
.mn-homeintro .row { --bs-gutter-y: 12px; }
@media screen and (max-width: 1440px) {
  .mn-homeintro.mn-story.section_space_lg { padding-top: 36px; padding-bottom: 28px; }
}
@media screen and (max-width: 425px) {
  .mn-homeintro.mn-story.section_space_lg { padding-top: 24px; padding-bottom: 16px; }
}
/* The art beside the copy (requests 2026-10-01).

   Stacked (below 992px) it is simply centred, up to 560px wide; the 380px
   cap for that layout is further down.

   Side by side it mirrors the about page's "Story of MindNalam" section:
   the copy keeps half the row, and the space between art and copy is that
   section's gap exactly, one empty twelfth of the row plus the two 15px
   column paddings (133px on a 1366 laptop, 150px from 1400 up). The art
   takes whatever is left. The gap is this column's padding-right, as a
   percentage of the row, because the theme pads every column a fixed 15px
   (style.css, [class*=col-]) and --bs-gutter-x has no effect here. Earlier
   passes the same day tried 15px, 39px and 71px; all read as cramped next
   to the about page.

   The negative margin is optical. The drawing starts about 8% inside its
   own box (the ground ellipse sits at x=42 of 420), while the copy is
   justified hard against its edge, so with the box on the container edge
   the art side looked wider by that inset. Pulling the column out by it
   puts the drawing, not its box, on the edge, and the art gains the same
   width. nowrap because that margin makes the two columns add up to more
   than Bootstrap expects; they must not drop to two rows. */
.mn-homeintro__art { max-width: 560px; margin: 0 auto; }
@media (min-width: 992px) {
  .mn-homeintro .row { flex-wrap: nowrap; }
  .mn-homeintro .row > .col-lg-6:first-child { flex: 1 1 0; width: auto; min-width: 0; max-width: none; margin-left: -36px; padding-right: calc(8.3333% + 15px); }
  .mn-homeintro__art { width: 100%; max-width: 620px; margin: 0 0 0 auto; }
}
@media (min-width: 1200px) {
  .mn-homeintro .row > .col-lg-6:first-child { margin-left: -44px; }
}
/* The art is wider here, so its inset is too. From 1500, not 1400: between
   the two the container runs to within 15px of the window edge, and the
   extra pull would put the leftmost spark on that edge. */
@media (min-width: 1500px) {
  .mn-homeintro .row > .col-lg-6:first-child { margin-left: -52px; }
}
.mn-homeintro__spark { transform-origin: center; transform-box: fill-box; animation: mn-homeintro-twinkle 3.2s ease-in-out infinite; }
.mn-homeintro__spark--big { animation-duration: 4.2s; }
.mn-homeintro__spark--slow { animation-duration: 5s; animation-delay: -2s; }
.mn-homeintro .mn-story__body .mn-accent { color: var(--mn-brand); font-weight: 600; }
.mn-homeintro__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.mn-homeintro__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--mn-brand-bg);
  color: var(--mn-brand);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(15,83,80,.12);
}
.mn-homeintro__chip i { font-size: 13px; color: var(--mn-sage-text); }
@keyframes mn-homeintro-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72) rotate(12deg); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .mn-homeintro__spark { animation: none; } }
.mn-homeintro__ctawrap { text-align: center; }
.mn-homeintro__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin-top: 22px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--mn-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.mn-homeintro__cta i { font-size: 12px; transition: transform .2s ease; }
.mn-homeintro__cta:hover, .mn-homeintro__cta:focus-visible { background: var(--mn-brand-dark); color: #fff; }
.mn-homeintro__cta:hover i { transform: translateX(3px); }
@media (max-width: 991.98px) {
  .mn-homeintro__art { max-width: 380px; }
}

/* ---- Home: "Two kinds of support, clearly separated" (client review doc
   "MIND NALAM", 2026-09-28, section 3). Two equal cards under the shared
   section heading: clinical in brand teal, wellness in sage, so the colour
   alone tells the tiers apart the way the pro cards' tier badges do. A
   check-list of what each covers, a link to that tier's page, then the
   shared wellness disclaimer as a single note across the full width. ---- */
.mn-tiers { background: #fff; scroll-margin-top: 90px; } /* white on request (2026-09-28); the cards carry the tint and the border */
/* No top padding (request 2026-09-28): the panel above ends on its trust
   line, and section_space_lg's 150px on top of that read as a dead screen.
   (0,2,0) so it outranks .section_space_lg on its own. */
.mn-tiers.section_space_lg { padding-top: 0; }
/* …and the 56px the panel above adds after it (.mn-panel's own bottom
   padding, on top of the 56px inside .mn-panel__block). Together those two
   were the gap, not the tiers section: with the tiers band now directly
   under the panel there is nothing for them to separate. The block keeps its
   own padding so the white card does not clamp its trust line. Mobile
   already sets this to 0 further up the file. */
body.page-home .mn-panel { padding-bottom: 0; }
.mn-tiers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.mn-tiers__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 28px 26px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12); border-top: 5px solid var(--mn-brand, #0F5350);
  box-shadow: 0 10px 28px rgba(15, 83, 80, 0.07);
}
.mn-tiers__card--wellness { border-top-color: var(--mn-sage-text, #466E40); }
.mn-tiers__head { display: flex; align-items: center; gap: 14px; }
.mn-tiers__badge {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-brand, #0F5350); color: #fff; font-size: 20px;
}
.mn-tiers__card--wellness .mn-tiers__badge { background: var(--mn-sage-text, #466E40); }
.mn-tiers__kicker { margin: 0 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mn-brand, #0F5350); }
.mn-tiers__card--wellness .mn-tiers__kicker { color: var(--mn-sage-text, #466E40); }
.mn-tiers__title { margin: 0; font-size: 1.35rem; line-height: 1.25; color: var(--mn-brand-dark, #0A3B39); }
.mn-tiers__for { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #51565D; }
.mn-tiers__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.mn-tiers__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; line-height: 1.5; color: #293039; }
.mn-tiers__list li i {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; background: #EDF4F3; color: var(--mn-brand, #0F5350);
}
.mn-tiers__card--wellness .mn-tiers__list li i { background: var(--mn-sage-bg, #EFF5EC); color: var(--mn-sage-text, #466E40); }
.mn-tiers__cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding-top: 8px; font-size: 0.92rem; font-weight: 700; text-decoration: none;
  color: var(--mn-brand, #0F5350);
}
.mn-tiers__cta i { font-size: 12px; transition: transform .2s ease; }
.mn-tiers__cta:hover, .mn-tiers__cta:focus-visible { color: var(--mn-brand-dark, #0A3B39); text-decoration: underline; }
.mn-tiers__cta:hover i { transform: translateX(3px); }
.mn-tiers__card--wellness .mn-tiers__cta { color: var(--mn-sage-text, #466E40); }
.mn-tiers__card--wellness .mn-tiers__cta:hover, .mn-tiers__card--wellness .mn-tiers__cta:focus-visible { color: var(--mn-sage-dark, #3B5C36); }
.mn-tiers__note {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px; text-align: center;
  margin: 20px 0 0; padding: 14px 18px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(70, 110, 64, 0.22);
  font-size: 0.88rem; line-height: 1.55; color: #3B5C36;
}
.mn-tiers__note i { margin-top: 3px; color: var(--mn-sage-text, #466E40); }
@media (max-width: 991.98px) {
  .mn-tiers__grid { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .mn-tiers__card { padding: 22px 20px 20px; }
}

/* ---- Confirm step: confidentiality, short form (client review doc "MIND
   NALAM", 2026-09-28, section 4). The one-line statement stays as the lead;
   a <details> beneath holds the four-part explanation so the step does not
   grow for people who do not open it. Dark variants for the commit screen
   (.wizard-body--dark). ---- */
.wizard-confid { margin: 14px 0 20px; }
.wizard-confid__lead { margin: 0 0 10px; }
.wizard-confid__details { border: 1px solid rgba(15, 83, 80, 0.16); border-radius: 12px; background: #F7FAF9; }
.wizard-confid__details summary {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: #0F5350;
}
.wizard-confid__details summary::-webkit-details-marker { display: none; }
.wizard-confid__details summary span { flex: 1; }
.wizard-confid__chev { font-size: 11px; transition: transform .2s ease; }
.wizard-confid__details[open] .wizard-confid__chev { transform: rotate(180deg); }
.wizard-confid__list { margin: 0; padding: 0 14px 4px; font-size: 13px; line-height: 1.55; color: #293039; }
.wizard-confid__list dt { margin: 10px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #466E40; }
.wizard-confid__list dd { margin: 0; }
.wizard-confid__list ul { margin: 6px 0 0; padding-left: 18px; }
.wizard-confid__list li { margin: 2px 0; }
.wizard-confid__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 10px 14px 14px; font-size: 13px; }
.wizard-confid__links a { color: #0F5350; text-decoration: underline; }
.wizard-body--dark .wizard-confid__details { background: #143C3A; border-color: #266560; }
.wizard-body--dark .wizard-confid__details summary { color: #EDF4F3; }
.wizard-body--dark .wizard-confid__list { color: #D1E8D5; }
.wizard-body--dark .wizard-confid__list dt { color: #7CA673; }
.wizard-body--dark .wizard-confid__links a { color: #7CA673; }

/* ---- /resources/children-adolescents/ — "What parents need to know"
   (client review doc "MIND NALAM", 2026-09-28, section 5). Reuses the
   service-page hero, the .mn-svcwhy card grid, the FAQ block and the help
   band; what is new is the at-a-glance card in the hero, the paired cards
   (consent / assent, told / private), the limits note, the numbered
   safeguarding steps and the emergency line. ---- */
.mn-kids__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mn-sage-text, #466E40); }
.mn-kids__sub { margin: -6px 0 14px; font-size: 1.15rem; font-weight: 600; color: var(--mn-brand, #0F5350); }
.mn-kids__heroctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.mn-kids__secondary { font-size: 0.95rem; font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; text-underline-offset: 3px; }
.mn-kids__secondary:hover { color: var(--mn-brand-dark, #0A3B39); }
.mn-kids__glance {
  padding: 24px 26px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.14); box-shadow: 0 14px 34px rgba(15, 83, 80, 0.10);
}
.mn-kids__glance-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mn-brand, #0F5350); }
.mn-kids__glance-title i { font-size: 16px; }
.mn-kids__glance-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mn-kids__glance-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; line-height: 1.55; color: #293039; }
.mn-kids__glance-list li i,
.mn-kids__list li i {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; background: #EDF4F3; color: var(--mn-brand, #0F5350);
}

.mn-kids__consent { background: var(--bs-primary-bg-subtle, #F4FCFA); }
.mn-kids__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.mn-kids__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 26px 24px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 10px 28px rgba(15, 83, 80, 0.07);
}
.mn-kids__badge {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-brand, #0F5350); color: #fff; font-size: 19px;
}
.mn-kids__card--private .mn-kids__badge { background: var(--mn-sage-text, #466E40); }
.mn-kids__kicker { margin: 4px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mn-sage-text, #466E40); }
.mn-kids__title { margin: 0; font-size: 1.25rem; line-height: 1.3; color: var(--mn-brand-dark, #0A3B39); }
.mn-kids__body { margin: 0; font-size: 0.95rem; line-height: 1.65; color: #51565D; }
.mn-kids__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.mn-kids__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; line-height: 1.55; color: #293039; }
.mn-kids__card--private .mn-kids__list li i { background: var(--mn-sage-bg, #EFF5EC); color: var(--mn-sage-text, #466E40); }

.mn-kids__limits {
  margin-top: 24px; padding: 22px 26px; border-radius: 16px;
  background: #FFF8EC; border: 1px solid rgba(224, 182, 103, 0.55);
}
.mn-kids__limits-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.05rem; color: #7A4B00; }
.mn-kids__limits-title i { color: #C98A1B; }
.mn-kids__limits-list { margin: 8px 0 0; padding-left: 22px; font-size: 0.95rem; line-height: 1.6; color: #293039; }
.mn-kids__limits-list li { margin: 3px 0; }
.mn-kids__limits-note { margin-top: 10px; font-size: 0.9rem; }

.mn-kids__safe { background: var(--mn-sage-bg, #EFF5EC); }
/* Safeguarding steps as a horizontal stepper (layout changed 2026-09-28 on
   request): five stages across, the numbers sitting on one continuous
   rule so the order reads left to right; below 992px it turns into a
   vertical timeline with the rule running down the left. Markup unchanged. */
.mn-kids__steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; position: relative; }
.mn-kids__steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 3px;
  background: rgba(15, 83, 80, 0.22); border-radius: 2px;
}
.mn-kids__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.mn-kids__num {
  position: relative; z-index: 1;
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-brand, #0F5350); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 0 0 6px var(--mn-sage-bg, #EFF5EC);
}
.mn-kids__step > div {
  flex: 1; width: 100%; padding: 18px 16px 16px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 8px 22px rgba(15, 83, 80, 0.06);
}
.mn-kids__step-title { margin: 0 0 6px; font-size: 1rem; line-height: 1.3; color: var(--mn-brand-dark, #0A3B39); }
.mn-kids__step .mn-kids__body { font-size: 0.9rem; }
.mn-kids__emergency {
  display: flex; align-items: flex-start; justify-content: center; gap: 14px;
  max-width: 760px; margin: 28px auto 0; padding: 18px 22px; border-radius: 14px; text-align: center;
  background: #fff; border: 1px solid rgba(15, 83, 80, 0.16);
  font-size: 0.95rem; line-height: 1.6; color: #293039;
}
.mn-kids__emergency > i { margin-top: 4px; font-size: 18px; color: #B42318; }
.mn-kids__emergency p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; align-items: baseline; }
.mn-kids__emergency a { color: var(--mn-brand, #0F5350); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mn-kids__emergency a:hover { color: var(--mn-brand-dark, #0A3B39); }

@media (max-width: 991.98px) {
  /* Stacked hero: the shared hero rule centres .col-lg-6 only, and this
     page's copy column is .col-lg-7, so centre it here: eyebrow, title,
     sub-line, body and the two CTAs. */
  .mn-kids__hero .col-lg-7 { text-align: center; }
  .mn-kids__eyebrow, .mn-kids__sub { text-align: center; }
  .mn-kids__heroctas { justify-content: center; flex-direction: column; align-items: center; gap: 14px; }
  .mn-kids__heroctas .mn-svchero__cta { justify-content: center; }
  .mn-kids__pair { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .mn-kids__glance { margin-top: 6px; }
  .mn-kids__card, .mn-kids__limits { padding: 20px 18px; }
  /* Stepper becomes a vertical timeline: rule down the left, number on it,
     card to the right. */
  .mn-kids__steps { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .mn-kids__steps::before { left: 22px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .mn-kids__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .mn-kids__step > div { padding: 16px 16px; }
}

/* ---- Mental health care: "What happens in your first session" (client
   review doc "MIND NALAM", 2026-09-28, section 7). Six numbered cards in
   the document's order, three across, on a soft tint; the fit-check note
   closes the block. ---- */
.mn-first { background: linear-gradient(180deg, #F7FAF7 0%, #fff 100%); scroll-margin-top: 90px; }
.mn-first__grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mn-first__item {
  padding: 26px 24px 24px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 10px 28px rgba(15, 83, 80, 0.06);
}
.mn-first__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%;
  background: var(--mn-brand, #0F5350); color: #fff; font-weight: 800; font-size: 15px;
}
.mn-first__title { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.3; color: var(--mn-brand-dark, #0A3B39); }
.mn-first__body { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #51565D; }
.mn-first__note {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px;
  max-width: 760px; margin: 24px auto 0; text-align: center;
  font-size: 0.95rem; line-height: 1.6; color: #35524F;
}
.mn-first__note i { margin-top: 4px; color: var(--mn-sage-text, #466E40); }
@media (max-width: 991.98px) { .mn-first__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 575.98px) { .mn-first__grid { grid-template-columns: 1fr; } }

/* Tamil "இளம் பயனாளர்களுக்கான ரகசியத்தன்மை" on the parents' page: at the
   28px phone heading size the first two words are wider than a 390px
   screen, so the line broke after "இளம்" and left it stranded. A little
   smaller and the pair sits on one line with the highlighted word under it. */
@media (max-width: 575.98px) {
  html[lang="ta-IN"] .mn-kids__privacy .mn-section-title { font-size: 23px; }
}
/* Sections folded in from the retired /for-parents/ page: the three
   professional tiles sit on the FAQ tint, the expectations list is centred
   at reading width. Tile and tick styles are the guide pages' own. */
.mn-kids__choose { background: #fff; }
.mn-kids__choose .mn-guide__tile { background: #F1F7F5; }
/* Two class names so this outranks .mn-guide__ticks (declared later in
   the file with margin: 0), which otherwise pins the list to the left. */
.mn-kids__first .mn-kids__ticks,
.mn-kids__expect .mn-kids__ticks { max-width: 760px; margin: 28px auto 0; }
/* "What parents can expect": five numbered cards, three over two, centred
   on a soft sage band. Each card carries a faint two-digit number in the
   corner, a round brand icon, and the expectation in one short paragraph.
   Cards lift a little on hover; motion is off under prefers-reduced-motion. */
/* Band rhythm down the page (request 2026-09-28): safeguarding is sage, so
   the expectations sit on white and the FAQ takes the light-teal tint the
   FAQ band uses elsewhere, with its top padding restored (the shared
   .mn-svcfaq rule zeroes it for pages where the FAQ follows a band). */
.mn-kids__expect { background: #fff; }
.mn-kids__faq { background: var(--bs-primary-bg-subtle, #F4FCFA); }
/* ---- "What stays private between your child and the professional": its
   own section on the parents' page, and the only dark band on it apart
   from the help band. Left: lock badge, heading, lead in cream on brand
   teal. Right: a white panel with the three "always told" items numbered
   in sage, and the note about the child as a cream callout. ---- */
.mn-private { position: relative; overflow: hidden; background: linear-gradient(135deg, #0A3B39 0%, #0F5350 60%, #16665F 100%); color: #EDF4F3; }
.mn-private::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 166, 115, 0.28) 0%, rgba(124, 166, 115, 0) 70%);
}
.mn-private__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.mn-private__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px;
  background: rgba(255, 246, 224, 0.12); color: #FFECBE; font-size: 22px;
  border: 1px solid rgba(255, 246, 224, 0.25);
}
.mn-private__title { margin: 0 0 14px; font-size: 2rem; line-height: 1.2; color: #fff; }
.mn-private__lead { margin: 0; font-size: 1.05rem; line-height: 1.7; color: #C9DCD8; }
.mn-private__panel { padding: 28px; border-radius: 20px; background: #fff; color: #293039; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22); }
.mn-private__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mn-private__item { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; line-height: 1.6; color: #293039; }
.mn-private__num {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-sage-bg, #EFF5EC); color: var(--mn-sage-text, #466E40); font-weight: 800; font-size: 14px;
}
.mn-private__note {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 20px 0 0; padding: 14px 16px; border-radius: 12px;
  background: #FFF6E0; color: #5A4A1E; font-size: 0.93rem; line-height: 1.6;
}
.mn-private__note i { margin-top: 3px; color: #C98A1B; font-size: 16px; }
@media (max-width: 991.98px) {
  .mn-private__grid { grid-template-columns: 1fr; gap: 24px; }
  .mn-private__intro { text-align: center; }
  .mn-private__title { font-size: 1.6rem; }
  .mn-private__panel { padding: 20px 18px; }
}
.mn-kids__faq.section_space_lg { padding-top: 80px !important; }
@media (max-width: 991px) { .mn-kids__faq.section_space_lg { padding-top: 48px !important; } }
.mn-expect { list-style: none; margin: 36px auto 0; padding: 0; max-width: 1040px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.mn-expect__card {
  position: relative; flex: 0 1 calc((100% - 44px) / 3); min-width: 260px;
  padding: 30px 26px 26px; border-radius: 20px; background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 12px 30px rgba(15, 83, 80, 0.07);
  text-align: center; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mn-expect__card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--mn-brand, #0F5350), var(--mn-sage-text, #466E40));
}
.mn-expect__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 83, 80, 0.14); border-color: rgba(124, 166, 115, 0.55); }
.mn-expect__num {
  position: absolute; top: 14px; right: 18px;
  font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  color: rgba(15, 83, 80, 0.08);
}
.mn-expect__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin: 4px 0 16px; border-radius: 50%;
  background: var(--mn-brand, #0F5350); color: #fff; font-size: 22px;
  box-shadow: 0 0 0 8px #EDF4F3;
}
.mn-expect__text { margin: 0; font-size: 0.98rem; line-height: 1.65; color: #293039; }
@media (max-width: 767.98px) {
  .mn-expect { gap: 14px; margin-top: 24px; }
  .mn-expect__card { flex-basis: 100%; min-width: 0; padding: 24px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .mn-expect__card { transition: none; } .mn-expect__card:hover { transform: none; } }
/* "How involved will you be?" sits under the first-consultation list as
   one wide card; the consent row takes a third card ("Who may attend"). */
.mn-kids__involve {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 760px; margin: 28px auto 0; padding: 22px 24px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(15, 83, 80, 0.12); box-shadow: 0 10px 28px rgba(15, 83, 80, 0.06);
}
.mn-kids__involve .mn-kids__badge { flex: 0 0 48px; }
.mn-kids__involve .mn-kids__title { margin-bottom: 6px; font-size: 1.15rem; }
.mn-kids__first { background: var(--mn-sage-bg, #EFF5EC); }
.mn-kids__pair--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991.98px) {
  .mn-kids__pair--3 { grid-template-columns: 1fr; }
  .mn-kids__involve { flex-direction: column; padding: 18px; }
}
/* Tamil runs longer and its display face is the site's Tamil family. */
html[lang^="ta"] .mn-homeintro__lead { font-family: var(--mn-font-tamil); font-size: 19px; line-height: 1.7; letter-spacing: 0; }

/* ============================================
   Guidance pages (2026-09-28): /start-here/, /first-time/, /for-parents/.
   Built from the same tokens as the rest of the site — brand green, 12px
   radius, the tinted #F1F7F5 surface the pro cards use — so these read as
   part of the site rather than a bolted-on microsite.
   ============================================ */
.mn-guide { max-width: 760px; margin: 0 auto; }
.mn-guide__card {
  background: #fff;
  border: 1px solid rgba(15, 83, 80, 0.12);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 55, 52, 0.07);
}
.mn-guide__progress { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mn-brand, #0F5350); }
.mn-guide__q { margin: 0 0 6px; font-size: 24px; line-height: 1.3; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__hint { margin: 0 0 20px; font-size: 14px; color: #6A7371; }
.mn-guide__opts { display: flex; flex-direction: column; gap: 10px; }
.mn-guide__opt {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid rgba(15, 83, 80, 0.16);
  border-radius: 10px;
  background: #F7FBFA;
  color: #1B1B1B;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.mn-guide__opt:hover,
.mn-guide__opt:focus-visible { background: rgba(31, 111, 107, 0.09); border-color: var(--mn-brand, #0F5350); outline: none; }
.mn-guide__nav { margin-top: 18px; }
.mn-guide__back { background: none; border: 0; padding: 0; color: var(--mn-brand, #0F5350); font-size: 14px; font-weight: 600; }
.mn-guide__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mn-brand, #0F5350); }
.mn-guide__lede { margin: 0 0 16px; font-size: 15px; color: #51565D; }
.mn-guide__result-title { margin: 0 0 10px; font-size: 26px; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__result-body { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: #51565D; }
.mn-guide__result-meta { margin: 0 0 20px; font-size: 14px; font-weight: 600; color: var(--mn-brand, #0F5350); }
.mn-guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.mn-guide__secondary { font-size: 15px; font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; }
.mn-guide__restart { margin-top: 18px; background: none; border: 0; padding: 0; color: #6A7371; font-size: 14px; text-decoration: underline; }

/* Shared blocks across the three pages */
.mn-guide__block { max-width: 860px; margin: 0 auto 40px; }
.mn-guide__block:last-child { margin-bottom: 0; }
.mn-guide__block-title { margin: 0 0 12px; font-size: 24px; line-height: 1.3; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__block-body { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: #51565D; }
.mn-guide__note {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--mn-brand, #0F5350);
  background: #F1F7F5;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3F4A48;
}
.mn-guide__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mn-guide__step { display: flex; gap: 14px; align-items: flex-start; }
.mn-guide__step-n {
  flex: 0 0 30px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--mn-brand, #0F5350); color: #fff;
  font-size: 14px; font-weight: 700;
}
.mn-guide__step-text { display: flex; flex-direction: column; gap: 2px; }
.mn-guide__step-text strong { font-size: 16px; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__step-text span { font-size: 15px; line-height: 1.7; color: #51565D; }
.mn-guide__ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mn-guide__ticks > li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.7; color: #51565D; }
.mn-guide__ticks > li > i { margin-top: 4px; color: var(--mn-brand, #0F5350); font-size: 14px; }
.mn-guide__autonomy { max-width: 860px; margin: 0 auto; }
.mn-guide__defs { margin: 0; }
.mn-guide__defs dt { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__defs dt:first-child { margin-top: 0; }
.mn-guide__defs dd { margin: 4px 0 0; font-size: 15px; line-height: 1.7; color: #51565D; }
.mn-guide__tile { background: #F1F7F5; border-radius: 12px; padding: 22px; }
.mn-guide__tile-title { margin: 0 0 8px; font-size: 18px; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__tile-body { margin: 0; font-size: 15px; line-height: 1.7; color: #51565D; }
.mn-guide__block--flag { border: 1px solid rgba(161, 61, 45, 0.25); border-radius: 12px; padding: 26px; background: #FFF9F7; }
.mn-guide__urgent {
  display: flex; gap: 10px; align-items: flex-start;
  max-width: 860px; margin: 28px auto 0;
  font-size: 15px; line-height: 1.7; color: #7A3326;
}
.mn-guide__urgent > i { margin-top: 4px; }
.mn-guide__urgent a { color: #7A3326; font-weight: 700; text-decoration: underline; }
.mn-guide__alt { max-width: 760px; margin: 40px auto 0; text-align: center; }
.mn-guide__alt-title { margin: 0 0 8px; font-size: 20px; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__alt-body { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: #51565D; }
.mn-guide__next {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.mn-guide__next-title { margin: 0 0 6px; font-size: 22px; color: var(--mn-brand-dark, #1b3b39); }
.mn-guide__next-body { margin: 0; font-size: 15px; line-height: 1.7; color: #51565D; max-width: 52ch; }
.mn-guide__next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
@media (max-width: 767px) {
  .mn-guide__card { padding: 22px 18px; }
  .mn-guide__q { font-size: 21px; }
  .mn-guide__block-title { font-size: 21px; }
  .mn-guide__next { flex-direction: column; align-items: flex-start; }
  .mn-guide__block--flag { padding: 20px 16px; }
}

/* Booking journey block on /book/ (2026-09-28). Six numbered steps that
   wrap to a grid, then two panels. Shares the tick list with the guidance
   pages above. */
.mn-journey { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mn-journey__step { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 20px; }
.mn-journey__n { flex: 0 0 30px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mn-brand, #0F5350); color: #fff; font-size: 14px; font-weight: 700; }
.mn-journey__text { display: flex; flex-direction: column; gap: 3px; }
.mn-journey__text strong { font-size: 16px; color: var(--mn-brand-dark, #1b3b39); }
.mn-journey__text span { font-size: 14px; line-height: 1.65; color: #51565D; }
.mn-journey__panel { background: #fff; border-radius: 12px; padding: 26px; }
.mn-journey__panel-title { margin: 0 0 14px; font-size: 20px; color: var(--mn-brand-dark, #1b3b39); }
.mn-journey__body { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #51565D; }
.mn-journey__body--autonomy { padding-left: 14px; border-left: 3px solid var(--mn-brand, #0F5350); color: #3F4A48; }
.mn-journey__note { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: #6A7371; }
.mn-journey__links { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 16px; }
.mn-journey__links a { font-size: 14px; font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; }
@media (max-width: 991px) { .mn-journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mn-journey { grid-template-columns: 1fr; } .mn-journey__panel { padding: 20px 16px; } }

/* Language + fee pickers row under the search pill (2026-09-28). Each is the
   same .mn-panel__mode control as the one inside the pill, so it only needs
   the surface the pill gave it. */
.mn-panel__pickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mn-panel__pickers > .mn-panel__mode { background: var(--mn-brand-bg); border: 1px solid transparent; border-radius: 10px; }
.mn-panel__pickers > .mn-panel__mode[open] { border-color: var(--mn-brand); background: #fff; }
/* Phones (request 2026-09-28): two pickers to a row rather than five
   full-width bars, which pushed the professional cards a screen down. The
   summary is a fixed-height flex row, so its two lines of text need to wrap
   and shrink inside ~160px rather than keep the desktop sizing. */
@media (max-width: 767px) {
  .mn-panel__pickers { gap: 8px; }
  .mn-panel__pickers > .mn-panel__mode { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .mn-panel__pickers > .mn-panel__mode > summary {
    height: auto;
    min-height: 46px;
    gap: 6px;
    padding: 6px 8px 6px 12px;
    justify-content: space-between;
  }
  .mn-panel__pickers > .mn-panel__mode .mn-panel__mode-text { min-width: 0; }
  .mn-panel__pickers > .mn-panel__mode .mn-panel__mode-value { font-size: 13px; line-height: 1.25; white-space: normal; }
  .mn-panel__pickers > .mn-panel__mode .mn-panel__mode-caption { font-size: 11px; line-height: 1.2; white-space: normal; }
  /* The base menu is absolutely positioned and anchored right:0. Against a
     half-width pill at 320px that put it off the left edge of the screen, so
     on phones it opens IN the control instead: the picker takes the full row
     while open and the options list below it in normal flow. Nothing can be
     clipped, and no viewport maths is needed. */
  .mn-panel__pickers > .mn-panel__mode[open] { flex: 1 1 100%; background: #fff; }
  .mn-panel__pickers > .mn-panel__mode .mn-panel__mode-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 4px;
    padding: 4px;
    border: 0;
    border-top: 1px solid var(--mn-brand-tint);
    border-radius: 0 0 10px 10px;
    box-shadow: none;
  }
}

/* Tamil search pill on phones (request 2026-10-01). The mode picker inside
   the pill is flex:none, and "அனைத்து ஆலோசனை முறைகளும்" is long enough that
   it took most of the pill and squeezed the search field to a sliver, with
   the text shrunk to 12/10px by the 2026-09 rule to make it fit. Here the
   pill wraps instead: the search field gets the whole first line and the
   picker a full-width second line under a hairline, at readable sizes. */
@media (max-width: 767px) {
  html[lang="ta-IN"] .mn-panel__search {
    flex-wrap: wrap;
    height: auto;
    padding: 0 6px 6px 14px;
  }
  html[lang="ta-IN"] .mn-panel__search input { flex: 1 1 0; height: 48px; font-size: 15px; }
  html[lang="ta-IN"] .mn-panel__search > .mn-panel__mode {
    flex: 1 1 100%;
    margin-left: -8px;
    border-top: 1px solid var(--mn-brand-tint);
    border-radius: 8px;
  }
  html[lang="ta-IN"] .mn-panel__search > .mn-panel__mode > summary {
    min-height: 48px;
    padding: 6px 8px 6px 10px;
    justify-content: space-between;
  }
  html[lang="ta-IN"] .mn-panel__search > .mn-panel__mode .mn-panel__mode-menu { left: 0; right: 0; min-width: 0; }
  html[lang="ta-IN"] .mn-panel__mode-value { font-size: 14px; line-height: 1.3; }
  html[lang="ta-IN"] .mn-panel__mode-caption { font-size: 12px; line-height: 1.25; }
}

/* Guided-start entry line above the home panel, and the autonomy note on a
   professional's profile (2026-09-28). */
.mn-panel__start { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: -6px 0 0; font-size: 15px; color: #51565D; }
.mn-panel__start a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; }
.mn-panel__start a > i { font-size: 12px; }
.mn-tp__switch {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #F1F7F5;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #3F4A48;
}
.mn-tp__switch a { margin-left: 6px; font-weight: 600; color: var(--mn-brand, #0F5350); text-decoration: underline; white-space: nowrap; }

/* "What happens in a first session" on the home page (2026-09-28).
   Reuses the .mn-guide__step* parts from /first-time/; only the layout
   around them is new — three columns on desktop so six steps read as two
   rows rather than one long list. */
.mn-firstsession__steps { max-width: 1100px; margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mn-firstsession__steps > .mn-guide__step { background: #fff; border: 1px solid rgba(15, 83, 80, 0.10); border-radius: 12px; padding: 20px; }
.mn-firstsession__note {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: #51565D;
}
.mn-firstsession__cta { margin-top: 26px; text-align: center; }
@media (max-width: 991px) { .mn-firstsession__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .mn-firstsession__steps { grid-template-columns: 1fr; } }

/* A filter pill holding a selection (2026-09-30): brand green with white
   text, matching .mn-panel__chip.is-active and the aria-current menu row, so
   'on' looks the same wherever it appears in the panel. */
.mn-panel__mode.is-active { background: var(--mn-brand) !important; border-color: var(--mn-brand) !important; }
.mn-panel__mode.is-active > summary .mn-panel__mode-value,
.mn-panel__mode.is-active > summary .mn-panel__mode-caption,
.mn-panel__mode.is-active > summary i { color: #fff; }
.mn-panel__mode.is-active > summary .mn-panel__mode-caption { opacity: 0.85; }

/* ============================================
   Inner-page banner artwork (request 2026-09-30)

   .mn-abouthero heads 128 pages and was a flat slab of #dae7e6. It now
   carries banner-theme.svg: breathing rings rising from the lower corners, a
   kolam lattice along the bottom edge, and two soft blooms in the top
   corners. The motifs are the site's own subject matter rather than generic
   decoration — a breath exercise and a Tamil doorstep pattern.

   The flat colour stays underneath as the background-color, so the band is
   never bare while the SVG loads and nothing shifts when it arrives. `cover`
   with a bottom anchor keeps the lattice on the bottom edge at every height;
   the artwork's middle third is empty, which is where the headline sits.
   ============================================ */
.mn-abouthero {
  background-color: #dae7e6;
  /* The home hero's scene, reduced to what survives at a third of the
     height. banner-theme.svg (rings + kolam) is kept in the repo if the
     quieter treatment is ever wanted back. */
  background-image: url("/assets/images/banner-scene.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
/* The eyebrow chip and breadcrumbs sit on artwork now, so they get their own
   quiet surface rather than relying on the flat colour behind them. */
.mn-abouthero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(2px);
}
/* Phones get a shorter band, so the rings would crop to a single arc filling
   the whole width. Scaling the artwork up and anchoring it lower keeps the
   lattice visible and the centre clear. */
@media (max-width: 991px) {
  .mn-abouthero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.30)), url("/assets/images/banner-scene-mobile.svg");
    background-size: cover;
    background-position: center bottom;
  }
}

/* ============================================
   Home banner theme: soft and plain (requests 2026-10-01)

   One day, five treatments: a mint scene behind the copy, a two-column
   layout, the About-page scene, a deep-teal dusk with a bright horizon, and
   this. The dusk version came back as "so bright, make it simple", so the
   band is now a pale sage sky with the scene in soft silhouettes, and the
   copy keeps the site's ordinary colours: dark teal headline, the teal pill
   with white text, the teal buttons. Nothing in this block restyles the
   copy any more; it only sets the sky and the room for the scene.

   Scoped with .mn-banner:not(.page_banner), so the two pages that render
   `page_banner mn-banner` are untouched.
   ============================================ */
.mn-banner:not(.page_banner) {
  background-color: #E6F0EC;
  /* Barely a gradient: a shade deeper toward the ground, so the band does
     not read as a flat slab, with no bright or dark end to it. The middle
     stop sits at the top of the strip the scene stands in. */
  background-image: linear-gradient(to top, #D3E5DD 0, #E0EDE8 var(--mn-scene-clear), #EEF5F2 100%);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  /* Room under the copy for the pair of figures: their height (0.543 of
     their width) plus the gap above and the ground below. */
  --mn-scene-group: clamp(200px, 24vw, 300px);
  --mn-scene-clear: calc(var(--mn-scene-group) * 0.543 + 54px);
  padding-bottom: var(--mn-scene-clear);
}
/* The scene adds its own height to the band, so on desktop the copy gives
   some back: the headline runs on one line where there is room for it, and
   the band starts a little closer to the header. Keeps the whole banner
   inside a 768px-tall laptop screen. */
@media (min-width: 992px) {
  .mn-banner:not(.page_banner) { padding-top: 124px; }
}
@media (min-width: 1200px) {
  .mn-banner:not(.page_banner) .mn-banner__headline--static { max-width: 1120px; }
}
/* The kicker gets the same quiet pill the inner-page eyebrow uses. */
.mn-banner:not(.page_banner) .mn-banner__kicker {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Home banner scene (request 2026-10-01)

   partials/home-banner-scene.njk, laid out after oppam.com's banner —
   trees framing the edges, a pair at the bottom centre, copy above — in
   this site's own drawing style.

   Every piece is positioned and sized on its own from the viewport width:
   trees in the bottom corners, the pair at the bottom centre, the ground
   stretched underneath. Nothing is a background image, so nothing is ever
   cropped; on a phone the same pieces are simply smaller. The widths are
   chosen so the three never collide: on phones 23vw + 52vw + 23vw.

   The copy stays above the pair because the band's padding-bottom is the
   pair's own height (--mn-scene-clear, set with the theme above). The trees
   rise higher than that at the sides, beside the short centred rows
   (buttons, trust line), never under them.
   ============================================ */
.mn-banner__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mn-banner:not(.page_banner) .mn-banner__container { z-index: 1; }
.mn-banner__scene svg { position: absolute; display: block; height: auto; }

.mn-scene__ground { left: 0; bottom: 0; width: 100%; height: clamp(44px, 7vw, 96px) !important; }
.mn-scene__trees { bottom: clamp(8px, 1.6vw, 24px); width: clamp(110px, 17vw, 260px); }
.mn-scene__trees--left { left: 0; }
.mn-scene__trees--right { right: 0; transform: scaleX(-1); }
.mn-scene__group { left: 50%; bottom: clamp(10px, 2vw, 30px); width: var(--mn-scene-group); transform: translateX(-50%); }

/* Phones: the trees and the pair shrink to fit side by side. */
@media (max-width: 767px) {
  .mn-banner:not(.page_banner) { --mn-scene-group: 52vw; }
  .mn-scene__trees { width: 23vw; }
}

/* ============================================
   Rotating hero line: white on a teal pill (request 2026-09-30)

   The line asked to be white, and white on the light mint hero would be
   invisible, so it gets a surface of its own: brand teal, fully rounded,
   sized to the text. The lines share one grid cell (see .mn-banner__rotator
   above), so each is padded individually rather than the cell being given a
   background — otherwise the pill would stay the width of the longest Tamil
   line while a short English one sat inside it.
   ============================================ */
.mn-banner__headline--sub {
  /* 30px, down from the 38px it shared with the static headline (request
     2026-09-30): inside a filled pill the same size read as a second
     headline competing with the first. */
  font-size: 30px;
  color: #fff;
  background: var(--mn-brand, #0F5350);
  padding: 10px 28px;
  border-radius: 999px;
  /* justify-self, not display:inline-block: the parent is a grid and the
     lines are stacked in one cell, so this is what shrinks the pill to its
     own text instead of the cell width. */
  justify-self: center;
  box-shadow: 0 10px 24px rgba(15, 83, 80, 0.18);
}
/* The accent span inside a rotating line is drawn for dark text on light; on
   the pill it would be a pale block over teal. */
.mn-banner__headline--sub .mn-accent,
.mn-banner__headline--sub em {
  color: #fff !important;
  background: none !important;
  padding: 0;
}
@media (max-width: 767px) {
  /* 14px, down from 21px (request 2026-10-01): the two long English lines
     wrapped to two and three rows on a phone and the pill outgrew the
     headline above it. */
  .mn-banner__headline--sub { font-size: 14px; line-height: 1.35; padding: 6px 26px; text-wrap: balance; }
  /* One half per row, so the pill shrinks to the longer half instead of
     running edge to edge: a box whose text soft-wraps always takes the full
     width on offer, however short its rows end up. */
  .mn-banner__headline--sub .mn-nobr { display: block; }
}
/* Halves of a rotating line that must stay whole (see `rotating` in
   _i18n/home.js): the line may break between them, never inside one. */
.mn-banner__headline--sub .mn-nobr { white-space: nowrap; }

/* Tamil rotating line (request 2026-09-30). Anek Tamil sets taller and wider
   than Open Sans at the same px, and these lines are whole sentences rather
   than the two or three English words — at 30px the pill wrapped to two lines
   and took over the hero. Scoped to the Tamil tree so English keeps its 30px. */
html[lang="ta-IN"] .mn-banner__headline--sub {
  font-size: 23px;
  line-height: 1.45;
  padding: 9px 24px;
}
@media (max-width: 991px) {
  html[lang="ta-IN"] .mn-banner__headline--sub { font-size: 19px; }
}
@media (max-width: 767px) {
  html[lang="ta-IN"] .mn-banner__headline--sub { font-size: 17px; padding: 8px 16px; }
}

/* ============================================
   Section rhythm: alternate backgrounds (request 2026-10-01)

   Several templates ran two to five white sections back to back. Each one
   still carried its own section_space_lg padding, so the boundary between
   them was nothing but empty white, a 128-160px gap with nothing to mark it.
   Found with a section-by-section audit of every page; the ones listed here
   are all that had the problem. The footer is dark everywhere, so only
   section-to-section pairs needed fixing.

   The fix is white and the brand tint (#EDF4F3, the same as
   bg_primary_light) taking turns, so each boundary is a colour change.
   Several sections had their top padding zeroed so they could merge into
   the white band above them. Once a section starts its own colour band it
   needs that padding back, so --mn-sec repeats section_space_lg's own
   80/64/48/40 steps.

   Scoped by body class, which the English and Tamil trees share, so both
   languages get the same layout. ============================================ */
:root { --mn-sec: 80px; }
@media (max-width: 1440px) { :root { --mn-sec: 64px; } }
@media (max-width: 991px)  { :root { --mn-sec: 48px; } }
@media (max-width: 575px)  { :root { --mn-sec: 40px; } }

/* Home: story W, panel T, tiers W, first session T, FAQ W. The panel's
   whole band is tint: no white block inside it (request 2026-10-01). */
body.page-home .mn-panel { background: var(--mn-brand-bg); padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
body.page-home .mn-tiers.section_space_lg { padding-top: var(--mn-sec) !important; }
/* The band's own padding replaces the heading's top margin. The block's
   white background goes, so the filters and cards sit straight on the
   tint; it keeps its width only to hold the side gutters. Its vertical
   padding goes too, since the band now carries the spacing. */
body.page-home .mn-panel__title { margin-top: 0; }
body.page-home .mn-panel__block {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding-top: 28px !important;
  padding-bottom: 0 !important;
}
/* The search pill and the pickers were filled with the same tint as the
   band, so on it they would vanish: white with a hairline instead. The
   active-picker rule (!important, brand green) still wins over this. */
body.page-home .mn-panel__search,
body.page-home .mn-panel__pickers > .mn-panel__mode { background: #fff; border-color: rgba(15, 83, 80, 0.14); }
body.page-home .mn-panel__search:focus-within,
body.page-home .mn-panel__pickers > .mn-panel__mode[open] { border-color: var(--mn-brand); }

/* Corporate + Campus: the closing "Why MindNalam" sat white under the white
   services section. */
:is(body.page-corporate, body.page-campus) .mn-corpwhyus { background: var(--mn-brand-bg); }
:is(body.page-corporate, body.page-campus) .mn-corpwhyus.section_space_lg { padding-top: var(--mn-sec) !important; }

/* Contact: the operator card is about the same place as the map above it,
   so it joins the map's white band (the zero top padding .mn-operator
   already asked for, which section_space_lg's !important had overridden)
   rather than opening a band of its own next to the green crisis strip. */
body.page-contact .mn-operator.section_space_lg { padding-top: 0 !important; }

/* Team, Resources, Book: the enquiry form closed on the tint straight after
   another tinted section. White here, as it already is on blog posts. */
:is(body.page-team, body.page-resources, body.page-book) .consultation_section.bg_primary_light { background-color: #fff !important; }
/* The team intro used section_space_md's 120px each way. */
body.page-team .team_section.section_space_md { padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }

/* Concern guides (23 pages, both trees): trust strip + "how can it help" stay
   one white band. Then signs T, professionals + help band W, causes T,
   types W, pricing (sage), why W, related T. */
body.page-concern .mn-signs { background: var(--mn-brand-bg); }
body.page-concern .mn-signs.section_space_lg { padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
body.page-concern .mn-helpband { padding-bottom: var(--mn-sec) !important; }
body.page-concern .mn-related { background: var(--mn-brand-bg); }

/* Individual, couple and mental-health-care service pages:
   why W, topics T, why-MindNalam W, help band T, FAQ W. */
:is(body.page-individual-therapy, body.page-couple-therapy, body.page-mental-health-care) .mn-svcwhy.section_space_lg { padding-bottom: var(--mn-sec) !important; }
:is(body.page-individual-therapy, body.page-couple-therapy, body.page-mental-health-care) .mn-topics { background: var(--mn-brand-bg); padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
:is(body.page-individual-therapy, body.page-couple-therapy, body.page-mental-health-care) .mn-svcpage .mn-why6.bg_primary_light { background-color: #fff !important; }
:is(body.page-individual-therapy, body.page-couple-therapy, body.page-mental-health-care) .mn-helpband { background: var(--mn-brand-bg); padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
:is(body.page-individual-therapy, body.page-couple-therapy, body.page-mental-health-care) .mn-svcfaq.section_space_lg { padding-top: var(--mn-sec) !important; }

/* Wellness programme: practitioners W, how it works T, why W, topics T,
   notice W, professional network T, FAQ W, help band T. */
body.page-mental-wellness-program .mn-svchow { background: var(--mn-brand-bg); }
body.page-mental-wellness-program .mn-topics { background: var(--mn-brand-bg); padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
body.page-mental-wellness-program .mn-pro-network { background: var(--mn-brand-bg); }
body.page-mental-wellness-program .mn-svcfaq.section_space_lg { padding-top: var(--mn-sec) !important; }
body.page-mental-wellness-program .mn-helpband { background: var(--mn-brand-bg); }

/* Intimacy & sexual wellness: check-in strip + concerns W→T, more ways W,
   facts T, FAQ W. The facts cards were sage on white; on the tint they
   turn white so they still stand off it. */
body.page-intimacy-sexual-wellness .mn-helpgrid { background: var(--mn-brand-bg); }
body.page-intimacy-sexual-wellness .mn-assess { padding-bottom: var(--mn-sec) !important; }
body.page-intimacy-sexual-wellness .mn-moreways { padding-top: var(--mn-sec) !important; padding-bottom: var(--mn-sec) !important; }
body.page-intimacy-sexual-wellness .mn-facts { background: var(--mn-brand-bg); }
body.page-intimacy-sexual-wellness .mn-facts__card { background: #fff; border-color: #DAE7E6; }
body.page-intimacy-sexual-wellness .mn-svcfaq.section_space_lg { padding-top: var(--mn-sec) !important; }

/* ============================================
   One tint only (request 2026-10-01)

   Besides the brand tint (#EDF4F3, bg_primary_light), four more light
   greens and creams had crept in as section backgrounds: sage #EFF5EC on
   About's why cards, the concern pricing band and two For Parents bands;
   #F3F8F1 behind Contact's crisis band; #F7FAF9 behind the Services
   hub's "which professional"; #F2F8EF at the top of the concern/parents
   hero; and a warm #FBF7F3 behind the urgent-help strip above the footer.
   Side by side they read as two different greens. Every section
   background is now white or the brand tint. Cards inside sections keep
   their own colours, and the dark For Parents privacy band is a feature
   panel, not a tint, so it stays as it is.
   ============================================ */
.mn-whycards,
.mn-concernprice,
.mn-kids__first,
.mn-kids__safe { background: var(--mn-brand-bg); }
.mn-svchero { background: linear-gradient(180deg, var(--mn-brand-bg) 0%, #FFFFFF 78%); }

/* Contact: map + operator W, then the crisis band takes the tint. */
.mn-crisis { background: var(--mn-brand-bg); border-top: 0; border-bottom: 0; }

/* Urgent-help strip above the footer: white, so it is not a third colour.
   The alert card inside keeps its own warm treatment, which is what marks
   it out. */
.mn-urgent--global { background: #fff; border-top: 1px solid rgba(15, 83, 80, 0.10); }

/* Services hub: "which professional" moves from #F7FAF9 to the tint, so the
   bands after it swap to keep alternating: hub W, which-pro T, standards W,
   steps T, enquiry W. The standards list items were white on the tint and
   take the tint on white. */
body.page-services .mn-whichpro { background: var(--mn-brand-bg); }
body.page-services .mn-svcstd.bg_primary_light { background-color: #fff !important; }
body.page-services .mn-svcstd__grid li { background: var(--mn-brand-bg); }
body.page-services .mn-svcsteps { background: var(--mn-brand-bg); }
body.page-services .consultation_section.bg_primary_light { background-color: #fff !important; }

/* Team grid with fewer than four members (request 2026-10-01: the network
   now lists the founder alone). The four-up tracks left one card hugging
   the left edge; fewer than four sit centred at a card's width instead.
   Four or more keep the original grid. */
.mn-teamgrid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(auto-fit, minmax(0, 280px)); justify-content: center; }

/* ============================================
   Home banner, tablet: the rotating pill (2026-10-01)

   The longer English line takes two rows between 768 and 991px, and at the
   desktop 30px that pill was heavier than the headline above it. One half
   per row (see .mn-nobr above) keeps the pill to the width of its text.
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
  .mn-banner__headline--sub { font-size: 22px; padding: 9px 26px; }
  .mn-banner__headline--sub .mn-nobr { display: block; }
}

/* Qualifications are entered one per line in admin ("MSW" / "M.Sc. in
   Counselling Psychotherapy"); without this they ran together into a single
   unreadable string in the profile sidebar. */
.mn-tp__metavalue[data-pf="qualifications"] { white-space: pre-line; }

/* Portrait placement. The header is 176px tall but its bottom 64px sit
   under the overlapping white body, so centring in the whole header hid the
   photo behind it. Centre it in the band that is actually visible, level with
   the name block, and never let it run past that band. */
.mn-pro-card .mn-pro-card__image {
  top: 18px;
  bottom: auto;
  height: 95px;
  align-items: center;
}
.mn-pro-card .mn-pro-card__image img {
  max-height: 95px;
  object-position: center;
  border-radius: 10px;
}

/* Category chips below 1024px sit two to a row. The divider between the
   clinical group and the wellness one takes a slot of its own there, which
   pushed "Sexual Health" and "Wellness Professionals" onto separate lines
   with a gap beside each. The grouping is a desktop affordance; on a phone
   the chips just pair up. */
@media (max-width: 1023px) {
  .mn-panel__chipsep { display: none; }
}

/* ---------------------------------------------------------------------------
   Portraits of every shape (2026-10-13).

   Photos uploaded through the admin arrive at whatever ratio the phone took
   them: 800x800 for the ones cropped by hand, 598x1280 for one, 1200x1600 for
   another. The card portrait used object-fit: contain, which fits the whole
   image inside the box — so a tall photo rendered as a narrow sliver beside
   square ones and the row of cards stopped lining up.

   cover in a fixed 95px square makes every card identical whatever the source.
   The crop favours the top (15%), because in a head-and-shoulders photo the
   face sits above centre and a centred crop cuts the forehead.
   --------------------------------------------------------------------------- */
.mn-pro-card .mn-pro-card__image img {
  width: 95px;
  height: 95px;
  max-height: 95px;
  object-fit: cover;
  /* Top-aligned, not 15% down. Cover crops the overflow off a tall photo,
     and 15% of that overflow was enough to slice the hair off a subject who
     sits high in the frame. From the top, no portrait can lose a head. */
  object-position: 50% 0%;
}

/* Team page portraits.

   Two problems met here. A 598x1280 portrait centred in the frame showed a
   midriff rather than a face, so the crop is weighted towards the top. And a
   circle clips whatever sits near the top corners of the frame, which is
   exactly where the head is in a head-and-shoulders photo: one portrait had
   its hair sliced flat. Padding that photo to buy headroom only left the
   subject smaller than everyone else.

   A rounded square has no corner to clip, so every photo arrives whole and
   nobody has to be re-shot or re-cropped to suit the mask. */
.mn-teamcard__photo { border-radius: 22px; }
.mn-teamcard__photo img { object-position: 50% 0%; }

/* ---------------------------------------------------------------------------
   Team grid: centre an incomplete last row.

   Four columns with six people left the last two hugging the left edge under
   two empty columns. A CSS grid cannot centre a partial row — two cards in
   four equal tracks would need a half-column offset — so the grid becomes a
   centred flex row whose cards carry the width their track had. Every row
   centres, which is identical to the grid while rows are full.
   --------------------------------------------------------------------------- */
.mn-teamgrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.mn-teamgrid > .mn-teamcard {
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  max-width: calc((100% - 3 * 24px) / 4);
}
@media (max-width: 991.98px) {
  .mn-teamgrid > .mn-teamcard {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}
@media (max-width: 575.98px) {
  .mn-teamgrid > .mn-teamcard { flex-basis: 100%; max-width: 100%; }
}

/* Profile card portrait (2026-10-13).

   97px wide and pinned to the top of the row, it read as a thumbnail stuck in
   a corner: a tall upload showed a small face adrift in background. Wider, and
   centred against the name block, it reads as a portrait. Still cropped from
   the top edge, so a head that sits high in the frame is never cut. */
.mn-tp__cardrow { align-items: center; }
.mn-tp__photo { width: 118px; }
.mn-tp__photo img { object-position: 50% 0%; }
@media (max-width: 575.98px) { .mn-tp__photo { width: 96px; } }

/* Team cards: one height per row (2026-10-13).

   The grid became a centred flex row so a short last row centres, and with it
   came `align-items: start` from the old grid rule — each card then shrank to
   its own content, so a two-line role ("Client Care & Booking Coordinator")
   left its neighbours visibly short. Stretch puts every card in a row on the
   same height, and the role line takes the slack so the names stay level. */
.mn-teamgrid { align-items: stretch; }
.mn-teamgrid > .mn-teamcard { height: auto; }
/* The role sits straight under the name: pushing it to the bottom of the
   card to even out a two-line name left a hole under every one-line name.
   Equal height comes from the stretch above; the slack goes at the end. */
.mn-teamcard__role { margin-top: 0; }

/* Team card names became links (2026-10-13), so they inherited the vendor's
   link hover colour, which is not a brand colour at all. The card name keeps
   its dark brand tone and turns the brand green on hover and keyboard focus,
   matching the professional cards. */
.mn-teamcard__name a { color: inherit; text-decoration: none; }
.mn-teamcard__name a:hover,
.mn-teamcard__name a:focus-visible { color: var(--mn-sage-text, #466E40); }
.mn-teamcard__name a:focus-visible { outline: 2px solid var(--mn-sage, #7CA673); outline-offset: 3px; border-radius: 4px; }

/* Change makers on a phone (2026-10-14).

   The portrait kept its 380px cap, which on a 375px screen is the whole
   width, and the blob behind it is inset outwards, so it ran edge to edge
   and read as a green smear across the section rather than a shape behind a
   photo. Smaller portrait, blob tucked in close, and the rows sit closer
   together now that each one is shorter. */
@media (max-width: 575.98px) {
  .mn-makers__photo { max-width: 248px; padding: 12px; }
  .mn-makers__blob { inset: -8px -10px -12px -6px; opacity: 0.42; }
  .mn-makers__list > .mn-makers__row + .mn-makers__row { margin-top: 36px; padding-top: 36px; }
  .mn-makers__row { gap: 20px; }
}

/* Change makers: breathing room below the heading, phone and tablet.
   "Our Change Makers" sat 12px above the first portrait, so the title read
   as a label stuck to the photo rather than as a section heading.

   The section own top and bottom padding is left to section_space_lg, which
   sets it with !important and keeps every section on this page in step;
   overriding it here would single this one out. */
@media (max-width: 991.98px) {
  .mn-makers .mn-section-title { margin-bottom: 30px; }
}

/* ── Collaboration credit, home page ──────────────────────────────────────
   Sits directly under the banner. The cream is sampled from the partner
   logo's own background (rgb 247,240,229), so the image reads as part of the
   band instead of a pasted rectangle, and the band needs no border to look
   deliberate. The logo is a wide lockup, so it is given its own line rather
   than squeezed beside the text. */
.mn-collab {
  background: #f7f0e5;
  padding: 26px 0 30px;
  text-align: center;
}
.mn-collab__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b6350;
}
.mn-collab .mn-collab__logo {
  display: block;
  margin: 0 auto;
  width: auto;
  height: 84px;
  max-width: 100%;
}
.mn-collab__name {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e4a38;
}
@media (max-width: 767.98px) {
  .mn-collab { padding: 20px 0 24px; }
  .mn-collab__lead { font-size: 13px; margin-bottom: 10px; }
  .mn-collab .mn-collab__logo { height: 56px; }
  .mn-collab__name { font-size: 14px; }
}

/* ── Collaboration credit, footer ─────────────────────────────────────────
   Sits in the first column under the CTA, not across the full width, so it
   reads as part of the brand block rather than a banner of its own. The
   partner lockup is cream and this footer is deep green, so the logo gets a
   light card; dropped straight on the dark it looked like a pasted
   rectangle. Left-aligned to the column, and the name is not repeated
   underneath because the logo already carries it. */
.mn-foot-collab {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.mn-foot-collab__lead {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.mn-foot-collab__card {
  display: inline-block;
  vertical-align: top;
  padding: 9px 14px;
  background: #f7f0e5;
  border-radius: 10px;
}
.mn-foot-collab .mn-foot-collab__card img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
}
@media (max-width: 991.98px) {
  /* The column turns into a flex stack here and the other blocks carry an
     explicit order, so without one of its own this landed at order 0 —
     above the sign-off and the CTA, with the sign-off touching the logo.
     5 puts it last, which is where it sits on desktop. */
  .mn-foot-collab { order: 5; margin-top: 24px; padding-top: 20px; }
  .mn-foot-collab .mn-foot-collab__card img { height: 36px; }
}

/* ── Courses: catalogue layout ────────────────────────────────────────────
   Built to the reference the client supplied. Values measured off that page,
   not approximated:
     ground   #FAF9F5      forest  #3E5640      cream  #F1EDE3
     display  Cormorant Garamond 400, -0.025em tracking
     card     28px radius, 1.5px hairline, 0 24px 64px -38px shadow
     cover    3:4, inset 16px, 22px radius, gradient, pill top-right
   Scoped to .mn-cat, which sets its own ground, so the rest of the site is
   untouched. */
.mn-cat {
  --cat-forest: #3E5640;
  --cat-cream: #F1EDE3;
  --cat-ground: #FAF9F5;
  /* The page used Cormorant Garamond, which the reference site uses and
     this one does not. Dropped (2026-11-20) for the site's own heading face.
     --bs-font-heading is the right one of the two: the display variable
     --mn-font-display is reserved for large display headings (hero, page
     banner, section headings), and both of these are card titles, which is
     exactly the split documented over --mn-font-display above. It also
     carries the Tamil swap for free — html[lang="ta-IN"] repoints
     --bs-font-heading at Anek Tamil, so the Tamil cards follow too. */
  --cat-serif: var(--bs-font-heading), inherit;

  padding: 56px 0 96px;
  /* The reference rules a faint grid across its ground; two repeating
     gradients give the same texture without an image request. */
  background-color: var(--cat-ground);
  background-image:
    repeating-linear-gradient(to right, rgba(62, 86, 64, 0.055) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(to bottom, rgba(62, 86, 64, 0.055) 0 1px, transparent 1px 72px);
}

/* The hero rules that sat here (.mn-cat__hero / __eyebrow / __display) were
 * removed when the page took the site's standard page-banner partial, as
 * every other page does. The reference's serif hero is gone with them.
 */

/* Section header over the grid: pill eyebrow, display line, lede. The
   title takes --mn-font-display, which is what that variable is for — the
   site reserves it for section headings, and this is one. It carries the
   Tamil swap too. */
.mn-cat__secHead {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.mn-cat .mn-cat__eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 7px 18px;
  border: 1px solid rgba(62, 86, 64, 0.14);
  border-radius: 999px;
  background: rgba(221, 232, 223, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4F6B4D;
}
.mn-cat .mn-cat__secTitle {
  margin: 0 0 16px;
  font-family: var(--mn-font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--cat-forest);
}
.mn-cat .mn-cat__secLede {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #5b665c;
}
@media (max-width: 575.98px) {
  .mn-cat__secHead { margin-bottom: 26px; }
  .mn-cat .mn-cat__secLede { font-size: 15px; }
}

.mn-cat__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
}
.mn-cat__chip {
  padding: 10px 18px;
  border: 1px solid rgba(62, 86, 64, 0.25);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cat-forest);
}
.mn-cat__chip--on {
  background: var(--cat-forest);
  border-color: var(--cat-forest);
  color: var(--cat-cream);
}

.mn-cat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}
.mn-cat__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1.5px solid rgba(62, 86, 64, 0.16);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px -38px rgba(31, 49, 35, 0.42),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform .5s ease;
}
.mn-cat__card:hover { transform: translateY(-4px); }

.mn-cat__cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 0;
  padding: 24px;
  /* The reference runs a photo here; these two syllabi have none, so the
     cover is kept shallow — a tall empty panel reads as a missing image. */
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: linear-gradient(160deg, #F3F6F2 0%, #E4EDE6 52%, #D6E4D9 100%);
}
.mn-cat .mn-cat__brand {
  position: absolute;
  top: 14px;
  left: 14px;
  width: auto;
  height: 26px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.mn-cat__pill {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cat-forest);
  color: var(--cat-cream);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mn-cat .mn-cat__coverTitle {
  margin: 0;
  font-family: var(--cat-serif);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: var(--cat-forest);
}

/* The body is the flex remainder of the card so the price row and button
   sit on a common baseline across cards of unequal title length. */
.mn-cat__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 28px;
}
.mn-cat__label {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a9d88;
}
.mn-cat .mn-cat__cardTitle {
  margin: 0 0 16px;
  font-family: var(--cat-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--cat-forest);
}

/* Unit and topic counts. Both are counted from the syllabus, not written —
   the reference carries instructor and duration here, which the syllabus
   documents do not state. */
.mn-cat .mn-cat__meta {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #7c8c7e;
}
.mn-cat__dot { margin: 0 6px; color: #b9d2bd; }

/* Price row, in the reference's shape: struck MRP, offer price, discount
   badge. `margin-top: auto` pins it to the foot of the card. */
.mn-cat .mn-cat__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: auto 0 16px;
  padding-top: 18px;
  border-top: 1px solid #e6ece9;
}
.mn-cat__mrp {
  font-size: 15px;
  color: #9aa79b;
  text-decoration-thickness: 1px;
}
.mn-cat__now {
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  color: var(--cat-forest);
}
.mn-cat__off {
  padding: 4px 9px;
  border-radius: 999px;
  background: #E8F1E9;
  color: #2f6b3f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* The reference pairs VIEW MORE with BUY NOW. Equal widths, so neither
   reads as the afterthought, and they stack below 360px where two pills on
   one line would each be too narrow to read. */
.mn-cat__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
/* With pricing off there is one button, and the price row that used to carry
   the divider and push the pair to the foot of the card is not rendered, so
   this takes over both jobs. */
.mn-cat__actions--single {
  grid-template-columns: 1fr;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e6ece9;
}
.mn-cat .mn-cat__btn {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--cat-forest);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
/* Secondary: opens the syllabus, which costs the visitor nothing. */
.mn-cat .mn-cat__btn--ghost {
  background: transparent;
  color: var(--cat-forest);
}
/* Primary: the action the card is selling. */
.mn-cat .mn-cat__btn--buy {
  background: var(--cat-forest);
  color: var(--cat-cream);
}
.mn-cat .mn-cat__btn--ghost:hover,
.mn-cat .mn-cat__btn--ghost:focus-visible {
  background: var(--cat-forest);
  color: var(--cat-cream);
}
.mn-cat .mn-cat__btn--buy:hover,
.mn-cat .mn-cat__btn--buy:focus-visible {
  background: transparent;
  color: var(--cat-forest);
}
@media (max-width: 359.98px) {
  .mn-cat__actions { grid-template-columns: 1fr; }
}

/* ── Course prospectus blocks (inside the dialog) ─────────────────────────
   The Child Psychology document carries an overview table, outcomes, a month
   plan, deliverables, a fee table and the student disclaimers. Counselling
   Psychology has only a syllabus, so every one of these is optional in the
   template and simply does not render for it. */
.mn-cat .mn-cat__modalLede {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.6;
  color: #415043;
}
.mn-cat .mn-cat__modalBy {
  margin: 0 0 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #7c8c7e;
}
.mn-cat .mn-cat__h {
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid #e6ece9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4F6B4D;
}
.mn-cat .mn-cat__p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b665c;
}

/* Label/value rows. A two-column grid on desktop; the value drops under the
   label on narrow screens, where side-by-side would leave both too narrow. */
.mn-cat__spec { margin: 0; }
.mn-cat__specRow {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 4px 18px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f0;
}
.mn-cat__specRow:last-child { border-bottom: 0; }
.mn-cat .mn-cat__specRow dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #3E5640;
}
.mn-cat .mn-cat__specRow dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b665c;
}
.mn-cat__spec--plan .mn-cat__specRow { grid-template-columns: 6rem 1fr; }

.mn-cat__bullets { margin: 0; padding: 0; list-style: none; }
.mn-cat__bullets li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #5b665c;
}
.mn-cat__bullets li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9d2bd;
}

/* Caveats and disclaimers. Set apart and smaller than body copy, but not
   greyed into illegibility: these say what the course is not. */
.mn-cat .mn-cat__note {
  margin: 12px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #cfe0d2;
  border-radius: 0 8px 8px 0;
  background: #F4F8F4;
  font-size: 12.5px;
  line-height: 1.6;
  color: #546055;
}
.mn-cat .mn-cat__note strong { color: #3E5640; }

/* Card summary line, above the counts. Clamped to three lines so the cards
   keep a common height whatever the length of each prospectus's opening
   paragraph. Nothing is lost — the dialog shows it in full. */
.mn-cat .mn-cat__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0 0 12px;
  /* 3 lines at 1.6 leading, so an unsupporting browser crops to the same
     height instead of letting the text run on. */
  max-height: calc(13.5px * 1.6 * 3);
  font-size: 13.5px;
  line-height: 1.6;
  color: #5b665c;
}

@media (max-width: 575.98px) {
  .mn-cat__specRow,
  .mn-cat__spec--plan .mn-cat__specRow { grid-template-columns: 1fr; }
}
/* The syllabus dialog. Wider than the shared .mn-modal default, because a
   unit list reads badly in a narrow column, and capped so a 34-topic
   syllabus scrolls inside the dialog rather than past the viewport. */
.mn-cat__modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(84vh, 820px);
}
.mn-cat .mn-cat__modalMeta {
  margin: 0 0 4px;
  font-size: 13px;
  color: #7c8c7e;
}
.mn-cat__modal .mn-cat__units { border-top: 0; padding-top: 10px; }

.mn-cat__units {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid #e6ece9;
  list-style: none;
}
.mn-cat__unit { padding: 0 0 16px; }
.mn-cat__unit + .mn-cat__unit { padding-top: 16px; border-top: 1px solid #eef2f0; }
.mn-cat__unit:last-child { padding-bottom: 0; }
.mn-cat .mn-cat__unitTitle {
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cat-forest);
}
.mn-cat__no {
  display: block;
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8ab394;
}
.mn-cat__topics { margin: 0; padding: 0; list-style: none; }
.mn-cat__topics li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: #5b665c;
}
.mn-cat__topics li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9d2bd;
}

@media (min-width: 700px) {
  .mn-cat__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  /* Three up, as on the reference, which runs its cards at ~365px. */
  .mn-cat__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 374px));
    justify-content: center;
    max-width: 1180px;
  }
}
@media (max-width: 575.98px) {
  .mn-cat { padding: 48px 0 64px; }
  .mn-cat__cover { margin: 12px 12px 0; padding: 20px; }
  .mn-cat__body { padding: 20px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-cat__card { transition: none; }
  .mn-cat__card:hover { transform: none; }
}

/* ==========================================================================
   Registrations & affiliations (home page, above the footer)

   The heading is the site's shared section-heading partial. Only the badge
   row follows the reference: bare marks, no cards, no borders, no captions.
   ========================================================================== */
.mn-affil {
  background: #FAF9F5;
  border-top: 1px solid #e6ece9;
}
/* One row, centred, wrapping on narrow screens. The gap is wide because the
   badges have no frame to separate them. */
.mn-affil__list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mn-affil__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Two classes, not one: img:not([draggable]) in the theme is (0,1,1) and
   would otherwise win over a single class and reset the height. */
.mn-affil .mn-affil__logo {
  width: auto;
  height: 112px;
  object-fit: contain;
}
/* Stand-in for an entry whose certificate image is not set yet. */
.mn-affil .mn-affil__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #E8F1E9;
  color: #2f6b3f;
  font-family: var(--mn-font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
@media (max-width: 575.98px) {
  .mn-affil__list { gap: 28px 36px; }
  .mn-affil .mn-affil__logo,
  .mn-affil .mn-affil__mark { height: 88px; }
  .mn-affil .mn-affil__mark { width: 88px; }
}


/* ==========================================================================
   Course posters (home, above the banner)

   The artwork is 1122x1402 (4:5 portrait) and carries all its own copy, so it
   is never cropped — only scaled. Capped well below full width because a
   portrait poster run edge to edge would push the banner and the h1 off the
   first screen entirely.

   slick is initialised in main.js behind a guard. Before it runs, and if it
   never runs, the slides are plain blocks: the rules below keep them centred
   and capped in that state too, so a no-JS visitor gets two stacked posters
   rather than a broken track.
   ========================================================================== */
/* Inside the banner now, so no ground colour of its own: the sage band
   shows through. .mn-banner__scene is decorative and sits behind the copy,
   so this needs a stacking context to stay above it. */
.mn-posters {
  position: relative;
  z-index: 2;
  padding: 18px 0 10px;
  background: none;
}
/* The banner's .container already provides the gutters; a second one here
   would inset the slider twice. */
.mn-posters .container { padding-left: 0; padding-right: 0; }
/* Smaller than a standalone band would be: this sits between the eyebrow and
   the h1, and a full-size 4:5 poster there pushes the headline off the first
   screen. Wide enough that the poster's own small print is still legible.
   Widened at 992px, where two sit side by side. */
.mn-posters__slider {
  max-width: 340px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .mn-posters__slider { max-width: 720px; }
  .mn-posters__slide { padding: 0 10px; }
}
.mn-posters__slide { padding: 0 6px; }
.mn-posters__link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 56px -34px rgba(31, 49, 35, 0.5);
  transition: transform .4s ease;
}
.mn-posters__link:hover,
.mn-posters__link:focus-visible { transform: translateY(-3px); }
/* Two classes, not one: img:not([draggable]) in the theme is (0,1,1) and
   would otherwise win over a single class. */
.mn-posters .mn-posters__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* Before slick initialises, every slide is in normal flow; cap the stack so
   it never floods the page. slick-initialized removes the cap. */
.mn-posters__slider:not(.slick-initialized) .mn-posters__slide + .mn-posters__slide {
  margin-top: 16px;
}

/* Dots under the poster rather than over the artwork, which is busy. */
.mn-posters .slick-dots { position: static; margin: 14px 0 0; }
.mn-posters .slick-dots li button:before { font-size: 9px; color: #3E5640; opacity: .3; }
.mn-posters .slick-dots li.slick-active button:before { color: #3E5640; opacity: 1; }

/* Arrows just outside the poster on wide screens; hidden where there is no
   room beside it, the dots and swipe still being there. */
.mn-posters .slick-prev,
.mn-posters .slick-next { width: 34px; height: 34px; z-index: 2; }
.mn-posters .slick-prev { left: -46px; }
.mn-posters .slick-next { right: -46px; }
.mn-posters .slick-prev:before,
.mn-posters .slick-next:before { color: #3E5640; font-size: 26px; opacity: .75; }
/* Arrows stay outside the artwork at every width, never over it. On a phone
   that has to be bought with poster width: the slider is capped at whichever
   is smaller, 260px or the space left once 104px is reserved for an arrow
   either side, so the pair always has somewhere to sit — down to a 320px
   screen — instead of being pushed onto the poster or off the viewport. */
@media (max-width: 767.98px) {
  .mn-posters { padding: 22px 0 2px; }
  /* 100vw, not 100%: the banner container is wider than a narrow phone
     screen and clipped by .page_wrapper{overflow:hidden}, so a percentage
     here resolves against a box the visitor cannot see and the arrows end
     up off-screen at 320px. */
  .mn-posters__slider { max-width: min(260px, calc(100vw - 104px)); }
  .mn-posters .slick-prev,
  .mn-posters .slick-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px -6px rgba(31, 49, 35, 0.6);
  }
  .mn-posters .slick-prev { left: -48px; }
  .mn-posters .slick-next { right: -48px; }
  .mn-posters .slick-prev:before,
  .mn-posters .slick-next:before { font-size: 22px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-posters__link { transition: none; }
}

/* "An Initiative of Samaran Ventures" — the brand line from the proofreading
   handover, under the build credit. Quieter than the credit above it: this is
   a footnote, not a link. */
.mn-mega-footer__initiative {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

/* Shown in a professionals grid when the admin API could not be reached.
   Quiet but visible: the alternative was a blank gap that said nothing. */
.mn-pros__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 20px;
  border: 1px dashed #d9e2da;
  border-radius: 14px;
  background: #F7F9F7;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: center;
  color: #5b665c;
}
