/* ==========================================================================
   Midwifery at Dancing Horizons - shared design system
   Cloned 1:1 from https://www.midwiferyatdancinghorizons.org (Wix / Thunderbolt).
   Tokens extracted from the source theme variables; fonts are the Google
   equivalents of the proprietary Wix faces (see CLONE-REPORT.md).

   OWNERSHIP: the orchestrator owns everything above the page-section banners.
   Page agents append page-scoped rules at the end of this file only, each
   under its own banner comment. Never edit the shared blocks above.
   ========================================================================== */

:root {
  /* palette - straight from the source theme color_NN variables */
  --white: #ffffff;
  --black: #000000;
  --charcoal: #2e2e2e;
  --green: #008566;
  --green-mid: #035c47;
  --green-deep: #004333;
  --mint: #a8e1d3;
  --mint-mid: #81c2b3;
  --sage: #9dc3a6;
  --purple: #814cb0;
  --purple-soft: #b39bc8;
  --purple-pale: #d5ace9;
  --purple-mist: #f9ecff;
  --purple-tint: #fdfaff;
  --lilac-from: #d7afe9;
  --lilac-to: #fbf6fe;
  --grey-mid: #c7c7c7;
  --grey-soft: #e8e6e6;
  --grey-line: #999997;
  --grey-text: #727272;
  --footer-link-active: #4743c5;

  /* semantic */
  --text: #000000;
  --text-muted: #727272;
  --bg: #ffffff;
  --band-dark: #2e2e2e;
  --band-black: #000000;

  /* type - Google substitutes for the Wix faces:
     Merriweather (orig_merriweather_regular), Montserrat (montserrat),
     Nunito Sans (avenir-lt-w01_35-light), Lato (lato-light/lato),
     Poppins (orig_poppins_regular), Pinyon Script (snellroundhandw01-scrip),
     Barlow (din-next-w01-light) */
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-button: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-menu: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --font-din: "Barlow", "DIN Next", Arial, sans-serif;

  /* layout widths measured off the source screenshots */
  --w-narrow: 980px;
  --w: 1240px;
  --w-header: 1460px;
  --w-footer: 1490px;
  --w-wide: 1760px;

  /* rhythm */
  --gutter: 24px;
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 120px;

  /* radii + shadow */
  --r-btn: 10px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-card: 0 4px 18px rgba(0, 0, 0, .08);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, .06);

  /* motion */
  --ease-motion: cubic-bezier(.445, .05, .55, .95);
  --t-fast: .2s;
  --t-link: color .4s ease;
}

/* --------------------------------------------------------------- base ---- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; border: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; }

p { margin: 0 0 1em; }

p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; transition: var(--t-link); }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .55); margin: 0; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--w-narrow); }
.container--wide { max-width: var(--w-wide); }

.section { padding: var(--sp-7) 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}

.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ------------------------------------------------------------ buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-button);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}

.btn__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn:hover,
.btn:focus-visible {
  background: var(--white);
  border-color: var(--black);
  color: var(--black);
}

.btn--sage { background: var(--sage); color: var(--white); }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--sm { padding: 11px 18px; font-size: 13px; }

/* the source's small in-card buttons render at 11px label size */
.btn--card { padding: 13px 20px; font-size: 13px; }

.textlink { color: var(--green); }
.textlink:hover { color: var(--green-mid); }

/* ------------------------------------------------------------- header ---- */

.site-header {
  position: relative;
  z-index: 60;
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  width: 100%;
  max-width: var(--w-header);
  margin: 0 auto;
  padding: 22px var(--gutter);
}

.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { display: block; width: 310px; height: auto; }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.site-nav a {
  display: block;
  padding: 6px 2px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--green); }

.site-header .btn { flex: 0 0 auto; }

/* ------------------------------------------------------- page hero band -- */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  background: var(--black);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.page-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: var(--sp-6) var(--gutter);
  color: var(--white);
}

.page-hero__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  color: var(--white);
}

.page-hero__crumbs {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.page-hero__crumbs a { color: var(--white); }
.page-hero__crumbs a:hover { color: var(--mint); }

/* -------------------------------------------------- shared type helpers -- */

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow--sage { color: var(--sage); }
.eyebrow--green { color: var(--green); font-weight: 700; }

.h-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}

.lede {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* ------------------------------------------------------------- footer ---- */

.site-footer {
  background: var(--green);
  color: var(--white);
  padding: 76px 0 60px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.15fr .75fr 1.05fr 1.15fr;
  gap: 40px clamp(24px, 3vw, 64px);
  width: 100%;
  max-width: var(--w-footer);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-footer__logo { display: block; margin-bottom: 96px; line-height: 0; }
.site-footer__logo img { display: block; width: 275px; height: auto; }

.site-footer__blurb {
  max-width: 310px;
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 96px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}

.footer-menu li + li { margin-top: 2px; }

.footer-menu a {
  display: inline-block;
  padding: 2px 0;
  font-family: var(--font-menu);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  transition: opacity .4s ease, color .4s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-menu a[aria-current="page"] { color: var(--footer-link-active); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-contact img { display: block; width: 20px; height: 25px; flex: 0 0 auto; margin-top: 4px; }

.footer-contact a:hover { color: var(--purple-mist); }

.site-footer__legal {
  margin-top: 132px;
  padding-top: 14px;
  border-top: 1px solid var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.site-footer__legal a:hover { color: var(--purple-mist); }

.social-bar { display: flex; align-items: center; gap: 10px; }
.social-bar img { display: block; width: 25px; height: 25px; }
.social-bar a { display: block; line-height: 0; transition: opacity var(--t-fast) ease; }
.social-bar a:hover { opacity: .75; }

/* -------------------------------------------------- newsletter + forms --- */

.subscribe-form h2 { margin-bottom: 18px; font-family: var(--font-serif); font-size: 26px; }

.subscribe-form__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }

.subscribe-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
}

.subscribe-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--mint-mid);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 16px;
}

.subscribe-form input[type="email"]::placeholder { color: rgba(255, 255, 255, .85); }

.subscribe-form button {
  flex: 0 0 auto;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 16px;
  cursor: pointer;
  transition: background var(--t-fast) ease;
}

.subscribe-form button:hover { background: var(--purple-soft); }

/* honeypot: off-screen, never display:none - bots skip display:none fields */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field { display: block; margin-bottom: 18px; }

.form-field > span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}

.form-field textarea { min-height: 84px; resize: vertical; }

/* ----------------------------------------------------- swiper skinning --- */

.swiper { width: 100%; }

.dh-swiper .swiper-pagination {
  position: static;
  margin-top: 34px;
}

.dh-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 7px !important;
  background: var(--grey-mid);
  opacity: 1;
}

.dh-swiper .swiper-pagination-bullet-active { background: var(--white); }

.dh-swiper .swiper-button-prev,
.dh-swiper .swiper-button-next { color: var(--white); }

.dh-swiper .swiper-button-prev::after,
.dh-swiper .swiper-button-next::after { font-size: 22px; }

/* ------------------------------------------------------------- motion ---- */

@keyframes dh-float-in {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dh-rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dh-fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dh-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dh-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dh-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: .7; }
}

/* Entrance animations ALWAYS run and ALWAYS end visible: the element's
   resting state in this stylesheet is opacity 1, and animation-fill-mode
   is "both" so the final keyframe sticks. No JavaScript is involved, so
   there is nothing that can fail and leave copy invisible. */
.float-in { animation: dh-float-in 1200ms var(--ease-motion) both; }
.rise-in { animation: dh-rise-in 900ms var(--ease-motion) both; }
.fade-in { animation: dh-fade-in 900ms ease both; }
.fade-down { animation: dh-fade-down 600ms ease both; }

.d-1 { animation-delay: 90ms; }
.d-2 { animation-delay: 180ms; }
.d-3 { animation-delay: 270ms; }
.d-4 { animation-delay: 360ms; }
.d-5 { animation-delay: 450ms; }

/* 7s infinite rotation - matches the source's motion-spin-1 badge */
.spin-ring { animation: dh-spin 7s linear infinite; transform-origin: 50% 50%; }

.hover-lift { transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .float-in,
  .rise-in,
  .fade-in,
  .fade-down,
  .spin-ring {
    animation: none !important;
  }

  .hover-lift { transition: none; }
  .hover-lift:hover { transform: none; }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------- responsive ---- */

@media (max-width: 1100px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__logo { margin-bottom: 32px; }
  .site-footer h2 { margin-bottom: 24px; }
  .site-footer__legal { margin-top: 32px; }
}

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav ul { justify-content: center; }
  .brand img { width: 250px; }
  .section { padding: var(--sp-6) 0; }
  .page-hero { min-height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 0 40px; }
  .brand img { width: 220px; }
}




/* page: home */

/* ---------------------------------------------------------------- hero -- */

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 663px;
  background: var(--charcoal);
}

/* 02.png stays referenced as the hero's own background image, but the source's
   overlay on it is effectively opaque, so an opaque charcoal scrim sits on top
   and the band composites to exactly #2e2e2e edge-to-edge, matching shot.png.
   The image is decorative (empty alt) and carries no copy. */
.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--charcoal);
}

/* 03.png - the cut-out photo of father, mother and newborn; this is the
   hero's real foreground image, bottom-aligned on the right of the band */
.home-hero__cutout {
  position: absolute;
  z-index: 1;
  right: 9.7%;
  bottom: 0;
  width: 28.9%;
  max-width: 555px;
  height: auto;
  object-fit: contain;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: var(--sp-7) var(--gutter) var(--sp-7) calc(var(--gutter) + 8px);
}

.home-hero__col {
  max-width: 600px;
}

.home-hero__eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  font-family: var(--font-serif);
  font-size: 15px;
}

.home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 45px;
  line-height: 1.3;
  color: var(--white);
}

.home-hero__title .home-hero__accent { color: var(--sage); }

.home-hero__body {
  margin: 0 0 32px;
  max-width: 480px;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
}

.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ------------------------------------------------------------ features -- */

.home-cards {
  background: var(--white);
}

.home-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.home-card {
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
}

.home-card--grey { background: var(--grey-mid); }
.home-card--sage { background: var(--sage); }
.home-card--purple { background: var(--purple-soft); }

.home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--sp-5);
}

.home-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
}

.home-card--grey .home-card__title { color: var(--black); }
.home-card--sage .home-card__title,
.home-card--purple .home-card__title { color: var(--white); }

.home-card__icon { flex: 0 0 auto; width: 38px; height: 36px; }

.home-card__body {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
}

.home-card--grey .home-card__body { color: var(--black); }
.home-card--sage .home-card__body,
.home-card--purple .home-card__body { color: var(--white); }

.home-card__cta { margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------- divider -- */

/* the source renders this as an empty Wix "bottom divider" shape (no raster
   asset) at the foot of the cards section: a thin black wedge, invisible at
   the left edge and full-height at the right */
.home-divider {
  display: block;
  width: 100%;
  height: 18px;
  background: var(--black);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ----------------------------------------------------------- about us --- */

.home-about {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* decorative background art (07.png) - the source uses it as the section's
   own bg image, but its colour sits so close to the white underlay that it
   reads as essentially invisible; kept at low opacity so the asset is still
   referenced without competing with the real copy */
.home-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-about-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .035;
  z-index: 0;
}

.home-about > .container { position: relative; z-index: 1; }

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(300px, 500px) 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.home-about__media {
  position: relative;
  max-width: 466px;
}

.home-about__media-main {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  object-fit: cover;
}

.home-about__media-small {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 40%;
  border: 10px solid var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.home-about__content .eyebrow {
  font-weight: 700;
  font-size: 20px;
}

.home-about__heading {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--black);
}

.home-about__body {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
}

.home-about__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* spinning consult badge: purple disc + the source's lettering/arrow artwork,
   rotated together as one group (source: 120px Group, motion-spin-1 7s linear) */

.spin-badge {
  position: relative;
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--purple);
}

.spin-badge__art {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 99px;
  height: 104px;
}

/* -------------------------------------------------------------- services -- */

.home-services {
  background: linear-gradient(to right, var(--lilac-from), var(--lilac-to));
}

.home-services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.home-services__head .eyebrow {
  font-weight: 700;
  color: var(--black);
}

.home-services__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  color: var(--black);
}

.home-services__lede {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
}

/* container--narrow already carries the standard 24px side gutter as
   padding; pull the grid back out to the container's own edge (980px wide)
   so 3 fixed-290px cards + 2 x 55px gutters land flush, matching the
   source's own 290px card width (Wix comp width) */
.home-services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 calc(var(--gutter) * -1);
  gap: var(--sp-5) 55px;
}

.home-svc-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 290px;
  width: 290px;
  max-width: 290px;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

/* 10.jpg is the card's hover-reveal background (confirmed against the
   source's hover-box markup: a hidden WPhoto of this same image, faded in
   on hover/focus-within with a darkening filter). Blend it under a solid
   --green fill so it darkens rather than lightens, keeping the white title,
   body and icon legible on top of it. */
.home-svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--green);
  background-image: var(--home-svc-bg);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  opacity: 0;
  transition: opacity .4s ease-in-out;
  z-index: 0;
}

.home-svc-card:hover::before,
.home-svc-card:focus-within::before { opacity: 1; }

.home-svc-card__body { position: relative; z-index: 1; }

.home-svc-card__icons {
  position: relative;
  width: 44px;
  height: 44px;
  margin-bottom: var(--sp-3);
}

.home-svc-card__icons img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .4s ease-in-out;
}

/* first child = green (default/visible), last child = white (hover-only) */
.home-svc-card__icons img:last-child { opacity: 0; }

.home-svc-card:hover .home-svc-card__icons img:first-child,
.home-svc-card:focus-within .home-svc-card__icons img:first-child { opacity: 0; }
.home-svc-card:hover .home-svc-card__icons img:last-child,
.home-svc-card:focus-within .home-svc-card__icons img:last-child { opacity: 1; }

.home-svc-card__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--black);
  transition: color .4s ease-in-out, transform .4s ease-in-out;
}

.home-svc-card:hover .home-svc-card__title,
.home-svc-card:focus-within .home-svc-card__title {
  color: var(--white);
  transform: translateY(-30px);
}

.home-svc-card__body p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  transition: color .4s ease-in-out, transform .4s ease-in-out;
}

.home-svc-card:hover .home-svc-card__body p,
.home-svc-card:focus-within .home-svc-card__body p {
  color: var(--white);
  transform: translateY(-27px);
}

.home-services__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: var(--sp-6);
  text-align: center;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 15px;
}

.home-services__footer p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--black);
}

.home-services__footer a { color: var(--green); }
.home-services__footer a:hover { color: var(--green-mid); }

/* --------------------------------------------------------- testimonials -- */

.home-testimonials { background: var(--white); }

.home-testimonials__panel {
  padding: var(--sp-6) var(--gutter);
  background: var(--green);
  border-radius: 0;
}

.home-testimonials__heading {
  margin: 0 0 var(--sp-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: var(--white);
  text-align: center;
}

.home-testimonial {
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.8;
}

.home-testimonial p { margin: 0 0 1.6em; }

/* the short quotes sit in a narrower, vertically centred block (source slides 2-4) */
.home-testimonials .swiper-slide { display: flex; align-items: center; height: auto; }
.home-testimonial--short { max-width: 817px; }

.home-testimonial__author {
  margin-top: var(--sp-3);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}

/* the scrape only captured one slide's copy, so Swiper's own JS clears its
   pagination markup and locks it (display:none) since a single slide needs
   no navigation; re-show the (now empty) container and draw one static dot
   with a pseudo-element so the source's single active bullet still reads */
.home-testimonials .swiper-pagination-lock {
  position: static;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 20px;
  margin-top: 34px;
}

.home-testimonials .swiper-pagination-lock::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.home-testimonials__review {
  margin-top: var(--sp-6);
  text-align: center;
}

/* ----------------------------------------------------------- pricing --- */

.home-pricing { background: var(--white); }

.home-pricing__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-6);
}

.home-pricing__head .eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: 20px;
}

.home-pricing__heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 34px;
  color: var(--black);
}

.home-pricing__lede {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
}

.home-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.home-pricing-card {
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--grey-soft);
}

.home-pricing-card--purple { background: var(--purple); }

.home-pricing-card__num {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 46px;
  color: var(--black);
}

.home-pricing-card--purple .home-pricing-card__num { color: var(--white); }

.home-pricing-card__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--black);
}

.home-pricing-card--purple .home-pricing-card__title { color: var(--white); }

.home-pricing-card__body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
}

.home-pricing-card--purple .home-pricing-card__body { color: var(--white); }

.home-pricing__note {
  margin: var(--sp-5) 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--black);
}

/* ------------------------------------------------------------- dark cta -- */

.home-cta {
  position: relative;
  overflow: hidden;
  background: var(--band-black);
  text-align: center;
}

.home-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .1;
}

.home-cta__scrim {
  position: absolute;
  inset: 0;
  background: var(--band-black);
}

.home-cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: var(--sp-7) var(--gutter);
}

.home-cta__heading {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.3;
  color: var(--white);
}

.home-cta__sub {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
}

.home-cta__inner .btn { margin: 0 auto; }

/* ------------------------------------------------------------- responsive -- */

@media (max-width: 980px) {
  .home-hero__inner { padding-top: var(--sp-5); }
  .home-hero__cutout {
    position: relative;
    z-index: 0;
    right: auto;
    bottom: auto;
    display: block;
    width: 60%;
    max-width: 320px;
    margin: 0 auto;
    padding-bottom: var(--sp-5);
  }
  .home-cards__grid { grid-template-columns: 1fr; }
  .home-about__grid { grid-template-columns: 1fr; }
  .home-about__media { margin: 0 auto var(--sp-6); }
  .home-services__head { grid-template-columns: 1fr; }
  .home-pricing__head { grid-template-columns: 1fr; }
  .home-pricing__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .home-hero__title { font-size: 32px; }
  .home-cta__heading { font-size: 28px; }
}

/* ---------------------------------------------------------------------
   page: about-5
   --------------------------------------------------------------------- */

/* --------------------------------------------------------- value pills -- */

.about-values {
  position: relative;
  z-index: 5;
  margin-top: -68px;
  margin-bottom: var(--sp-7);
}

.about-values__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 260px;
  max-width: 340px;
  padding: 20px 28px;
  border-radius: var(--r-lg);
  background: var(--green);
  box-shadow: var(--shadow-card);
}

.about-value--purple { background: var(--purple); }
.about-value--grey { background: var(--grey-mid); }

.about-value img { width: 56px; height: 59px; flex: 0 0 auto; }

.about-value span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--white);
}

/* ------------------------------------------------------------ about us -- */

.about-block { background: var(--white); }

.about-block__grid {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.about-block__media {
  position: relative;
  flex: 0 0 466px;
  max-width: 466px;
  margin-bottom: 40px;
}

.about-block__photo {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.about-block__photo-sm {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 230px;
  height: 235px;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

.about-block__copy { flex: 1 1 420px; min-width: 300px; }

.about-block__heading {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 34px;
  color: var(--green);
}

.about-block__copy p {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

.about-block__cta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* -------------------------------------------------------------- bio/bio -- */

.about-bio { background: var(--grey-soft); }

.about-bio__grid {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.about-bio__photo {
  display: block;
  flex: 0 0 466px;
  width: 466px;
  height: 422px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.about-bio__copy { flex: 1 1 420px; min-width: 300px; }

.about-bio__name {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  color: var(--black);
}

.about-bio__cred {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}

.about-bio__copy p {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

/* --------------------------------------------------------- student photos -- */

.about-students {
  padding-top: 0;
  text-align: center;
  background: var(--grey-soft);
}

.about-students__heading {
  display: inline-block;
  margin: 0 0 40px;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--green);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--black);
}

.about-students__photo {
  display: block;
  margin: 0 auto;
  width: 466px;
  height: 422px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ----------------------------------------------------- mission & vision -- */

.about-mission {
  text-align: center;
  background: var(--white);
}

.about-mission__eyebrow {
  display: block;
  margin: 0 0 4px;
  font-family: var(--font-script);
  font-size: 50px;
  color: var(--green);
}

.about-mission__title {
  margin: 0 0 48px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  color: var(--black);
}

.about-mission__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.about-mission__card {
  width: 466px;
  padding: 40px 32px;
  border: 2px solid var(--purple);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

.about-mission__card img {
  width: 99px;
  height: 99px;
  margin: 0 0 20px;
}

.about-mission__card h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 40px;
  color: var(--black);
}

.about-mission__card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

/* ------------------------------------------------------------- closing cta -- */

.about-cta {
  position: relative;
  overflow: hidden;
  padding: 110px var(--gutter);
  text-align: center;
  background: var(--band-black);
}

.about-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
}

.about-cta__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92);
}

.about-cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
}

.about-cta__title {
  margin: 0 0 36px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  color: var(--white);
}

.about-cta__inner .btn { margin: 0 auto; }

/* --------------------------------------------------------------- responsive -- */

@media (max-width: 980px) {
  .about-block__media,
  .about-bio__photo { margin: 0 auto 40px; }
  .about-bio__grid,
  .about-block__grid { justify-content: center; }
  .about-block__copy,
  .about-bio__copy { text-align: center; }
  .about-block__cta { justify-content: center; }
}

@media (max-width: 640px) {
  .about-mission__card { width: 100%; }
  .about-cta__title { font-size: 30px; }
  .about-block__photo-sm { right: 0; bottom: -30px; }
}

/* ---------------------------------------------------------------------
   page: blog
   --------------------------------------------------------------------- */

.blog-intro { margin-bottom: 44px; }

.blog-cats { margin-bottom: 4px; }

.blog-cats__item { display: inline-block; }

.blog-heading {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 40px);
  color: var(--black);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card { position: relative; }

.blog-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--black);
}

.blog-card__media--photo img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__media--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 35%, rgba(0, 0, 0, .85) 100%);
}

.blog-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.blog-card__topinfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.blog-card__author {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.blog-card__author:hover { color: var(--mint); }

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, .75);
}

.blog-card__dot { color: rgba(255, 255, 255, .6); }

.blog-card__more { flex: 0 0 auto; color: rgba(255, 255, 255, .8); }
.blog-card__more svg { display: block; fill: currentColor; }

.blog-card__bottom { position: relative; z-index: 2; }

.blog-card__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card__title-link { position: relative; color: var(--white); }
.blog-card__title-link:hover { text-decoration: underline; }

.blog-card__title-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-card__divider {
  margin: 0 0 14px;
  border-top: 1px solid rgba(255, 255, 255, .55);
}

.blog-card__stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-card__stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

.blog-card__stat svg { fill: currentColor; }

.blog-card__like {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: rgba(255, 255, 255, .85);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   page: contact-8
   --------------------------------------------------------------------- */

.ct-hero-bg { opacity: .5; }

.ct-intro { padding: var(--sp-7) 0; text-align: center; }

.ct-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-script);
  font-size: 50px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.2;
}

.ct-heading {
  margin: 0 auto 26px;
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
}

.ct-heading__accent { color: var(--green); }

.ct-lede {
  max-width: 620px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
}

.ct-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 72px auto 0;
  text-align: center;
}

.ct-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--purple);
  border-radius: var(--r-md);
  padding: 58px 24px 34px;
}

.ct-card--mid { margin-top: 40px; }

.ct-card__icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 85px;
  height: 85px;
  line-height: 0;
}

.ct-card__icon img { display: block; width: 85px; height: 85px; }

.ct-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
}

.ct-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
}

.ct-card__link:hover { color: var(--green); }

.ct-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 780px;
  margin: 64px auto 48px;
}

.ct-divider::before,
.ct-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--black);
}

.ct-divider span {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}

.ct-form-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 0;
  text-align: left;
}

.ct-form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ct-form__row .form-field { margin-bottom: 0; }

.ct-form .form-field { margin-bottom: 18px; }

.ct-form__actions {
  display: flex;
  justify-content: flex-end;
}

.ct-form__submit {
  padding: 14px 54px;
  border: 0;
  border-radius: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast) ease;
}

.ct-form__submit:hover { background: var(--green-mid); }

.ct-map {
  display: block;
  width: 100%;
  height: 450px;
  margin: 64px auto 0;
  max-width: 1200px;
  border: 0;
}

@media (max-width: 900px) {
  .ct-cards { grid-template-columns: 1fr; }
  .ct-card--mid { margin-top: 0; }
  .ct-form__row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   page: privacy-policies
   --------------------------------------------------------------------- */

.pp-empty {
  width: 100%;
  min-height: 500px;
  background-color: var(--grey-soft);
}

/* ---------------------------------------------------------------------
   page: post-what-does-a-midwife-do (shared blog-post template)
   --------------------------------------------------------------------- */

.post-page-bg {
  background: var(--grey-soft);
  padding: var(--sp-4) 0 var(--sp-6);
}

.post-allposts-row { padding: 0 var(--gutter) var(--sp-2); }

.post-allposts-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
}

.post-allposts-link:hover { color: var(--green); }

.post-content { background: var(--white); }

.post-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .06);
  padding: var(--sp-4) var(--gutter) var(--sp-3);
}

.post-article { padding-bottom: var(--sp-3); }

.post-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.post-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-avatar { flex: 0 0 auto; line-height: 0; border-radius: 50%; overflow: hidden; }

.post-author-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}

.post-author-link:hover { color: var(--green); }

.post-meta-sep,
.post-meta-date,
.post-meta-read {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey-text);
}

.post-more-btn {
  display: inline-flex;
  padding: 6px;
  color: var(--charcoal);
  flex: 0 0 auto;
}

.post-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 var(--sp-3);
}

.post-body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
}

.post-body p { margin: 0 0 1.4em; }
.post-body p:last-child { margin-bottom: 0; }

.post-share-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
  border-top: 1px solid var(--grey-soft);
  border-bottom: 1px solid var(--grey-soft);
  color: var(--charcoal);
}

.post-share-icon { display: inline-flex; }

.post-stats-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey-text);
}

.post-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-related {
  margin-top: var(--sp-6);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .06);
  padding: var(--sp-4) var(--gutter);
}

.post-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.post-related__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
}

.post-related__seeall {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey-text);
}

.post-related__seeall:hover { color: var(--green); }

.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.post-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grey-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.post-related-card--text { padding: var(--sp-2); }

.post-related-card__thumb { display: block; line-height: 0; }

.post-related-card__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 289 / 162; object-fit: cover; }

.post-related-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  margin: var(--sp-2) var(--sp-2) 0;
  color: var(--black);
}

.post-related-card--text .post-related-card__title { margin-left: 0; margin-right: 0; }

.post-related-card__title a { color: var(--black); }
.post-related-card__title a:hover { color: var(--green); }

.post-related-card__excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-text);
  margin: 8px 0 0;
}

.post-related-card__stats {
  display: flex;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--grey-text);
  margin: 12px var(--sp-2) var(--sp-2);
  padding-top: 10px;
  border-top: 1px solid var(--grey-soft);
}

.post-related-card--text .post-related-card__stats { margin-left: 0; margin-right: 0; }

@media (max-width: 900px) {
  .post-related__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .post-page--midwife .post-title { font-size: 32px; }
  .post-page--midwife .post-meta-row { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------
   page: post-when-times-are-hard (deltas on the shared template)
   --------------------------------------------------------------------- */

.post-cover { margin: 0 0 var(--sp-3); }
.post-cover img { display:block; width:100%; height:auto; aspect-ratio:740/493; object-fit:cover; border-radius:var(--r-sm); background:var(--grey-soft); }
.post-cover figcaption { font-family:var(--font-body); font-size:13px; color:var(--grey-text); text-align:center; padding-top:8px; }
.post-inline-img { width: min(100%, 533px); margin: 0 auto 1.4em; }
.post-inline-img img { display:block; width:100%; height:auto; }
.post-updated { font-family:var(--font-body); font-size:14px; color:var(--grey-text); margin:0 0 var(--sp-3); }
.post-page--hard .post-title { margin: 0 0 var(--sp-2); }
.post-page--hard .post-related-card--text .post-related-card__excerpt { margin-left:0; margin-right:0; }
@media (max-width: 640px) { .post-page--hard .post-title { font-size:32px; } .post-page--hard .post-meta-row { flex-wrap:wrap; } }

/* ---------------------------------------------------------------------
   page: services
   --------------------------------------------------------------------- */

.svc-intro-section {
  position: relative;
  padding: var(--sp-7) 0 var(--sp-5);
  background-image: url("assets/orig/07.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-color: var(--white);
}

.svc-intro-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 56px;
  border-radius: var(--r-lg);
  background: var(--green);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.svc-divider {
  width: 100%;
  height: 18px;
  background: var(--black);
  transform: scaleY(1) rotate(-.7deg) scale(1.02);
  transform-origin: center;
}

.svc-blocks { padding: var(--sp-7) 0; }

.svc-block {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: var(--sp-7);
}

.svc-block:last-child { margin-bottom: 0; }

.svc-block--left { flex-direction: row-reverse; }

.svc-text { flex: 1 1 380px; min-width: 0; }

.svc-heading {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.svc-accent { color: var(--green); }

.svc-text p {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
}

.svc-photo-wrap {
  position: relative;
  flex: 0 0 423px;
  width: 423px;
  height: 240px;
}

.svc-dot {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 397px;
  height: 237px;
  z-index: 0;
}

.svc-block--left .svc-dot { right: auto; left: -22px; }

.svc-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 423px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.svc-cta {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: var(--sp-8) 0;
}

.svc-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .3;
}

.svc-cta-scrim { position: absolute; inset: 0; background: rgb(0, 0, 0); }

.svc-cta-inner {
  position: relative;
  max-width: var(--w);
  text-align: center;
}

.svc-cta-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 45px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.svc-cta-sub {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--white);
}

.svc-cta-inner .btn { display: inline-flex; }

@media (max-width: 900px) {
  .svc-block,
  .svc-block--left {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .svc-intro-box { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .svc-photo-wrap { width: 100%; max-width: 423px; }
  .svc-photo { width: 100%; }
  .svc-dot { display: none; }
}
