/*
Theme Name:   FDM Child
Theme URI:    https://deaconry.org/
Description:  Fellowship Deaconry Ministries redesign. Child theme of Hello Elementor.
Template:     hello-elementor
Version:      0.9.36
Text Domain:  fdm-child
*/

/* ------------------------------------------------------------
   Design tokens, taken from the print ad and logo.
   Mirror these in Elementor > Site Settings > Global Colors/Fonts
   so the visual editor and this file agree.
   ------------------------------------------------------------ */
:root {
  --fdm-blue:   #1A6EB3;  /* logo blue, a touch darker so text links pass contrast (was #1C74BC) */
  --fdm-navy:   #0E2F5E;  /* footer band, dark text on yellow */
  --fdm-sun:    #F4D660;  /* Day Camp Sunshine */
  --fdm-field:  #3F5E3A;  /* hillside green, support band */
  --fdm-mist:   #F3F5F1;  /* soft page background */
  --fdm-ink:    #1E2A2E;  /* body text */
  --fdm-muted:  #5A676A;
  --fdm-line:   #D5DCD5;

  /* Site's own fonts first (already loaded by the site), then good fallbacks */
  --fdm-serif: baskerville, "Libre Baskerville", Baskerville, Georgia, serif;
  --fdm-sans:  Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Fixes the fallback bug (Elementor sets "baskerville, sans-serif").
   !important is needed because Elementor's global font styles load later. */
h1, h2, h3, h4, .elementor-heading-title { font-family: var(--fdm-serif) !important; }
body, p, li, .elementor-widget-text-editor { font-family: var(--fdm-sans) !important; }
body { color: var(--fdm-ink); }

/* Visible keyboard focus everywhere (replaces the acid-green highlight) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--fdm-sun);
  outline-offset: 3px;
}

/* Ministry name plates, e.g. add class "fdm-plate fdm-plate--camp" to a Heading widget */
.fdm-plate .elementor-heading-title {
  background: var(--fdm-blue); color: #fff;
  font-family: var(--fdm-sans); font-weight: 700;
  padding: 14px 18px; border-radius: 12px;
}
.fdm-plate--camp .elementor-heading-title { background: var(--fdm-sun); color: var(--fdm-navy); }

/* ============================================================
   Coded header and footer
   ============================================================ */
.fdm-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.fdm-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--fdm-navy); color: #fff; padding: 10px 16px; }
.fdm-skip:focus { left: 12px; top: 12px; }

/* Ministry family bar */
.fdm-family { background: var(--fdm-mist); border-bottom: 1px solid var(--fdm-line); font: 600 13px/1.4 var(--fdm-sans); color: var(--fdm-muted); }
.fdm-family__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding-block: 8px; }
.fdm-family__label { margin-right: auto; font-weight: 400; }
.fdm-family__links, .fdm-family__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.fdm-family a { color: var(--fdm-ink); text-decoration: none; }
.fdm-family a:hover { color: var(--fdm-blue); text-decoration: underline; }
.fdm-family a[aria-current] { color: var(--fdm-blue); }
.fdm-family__contact { padding-left: 18px; border-left: 1px solid var(--fdm-line); }

/* Main header */
.fdm-header { background: #fff; border-bottom: 1px solid var(--fdm-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .fdm-header { top: 32px; }
.fdm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.fdm-logo img, .fdm-header .custom-logo { display: block; height: 48px; width: auto; }
.fdm-nav { display: flex; align-items: center; gap: 28px; }
.fdm-menu, .fdm-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.fdm-menu { display: flex; gap: 4px; }
.fdm-menu > li { position: relative; }
.fdm-menu a { display: block; padding: 10px 12px; color: var(--fdm-ink); text-decoration: none; font: 600 15px/1.2 var(--fdm-sans); border-radius: 6px; }
.fdm-menu a:hover, .fdm-menu .current-menu-item > a { color: var(--fdm-blue); }
.fdm-menu > .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.fdm-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--fdm-line); border-radius: 10px; box-shadow: 0 16px 32px -18px rgba(14, 47, 94, .4); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.fdm-menu li:hover > .sub-menu, .fdm-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.fdm-menu .sub-menu a { font-weight: 400; }
.fdm-menu .sub-menu a:hover { background: var(--fdm-mist); }

/* Buttons */
.fdm-btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font: 700 15px/1 var(--fdm-sans); text-decoration: none; white-space: nowrap; }
.fdm-btn--cta { background: var(--fdm-blue); color: #fff; }
.fdm-btn--cta:hover { background: var(--fdm-navy); color: #fff; }
.fdm-btn--light { background: #fff; color: var(--fdm-navy); margin-top: 16px; }
.fdm-btn--light:hover { background: var(--fdm-sun); color: var(--fdm-navy); }

/* Mobile menu */
.fdm-menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--fdm-line); border-radius: 6px; padding: 10px 14px; font: 700 15px/1 var(--fdm-sans); color: var(--fdm-ink); cursor: pointer; }
.fdm-menu-toggle__bars, .fdm-menu-toggle__bars::before, .fdm-menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.fdm-menu-toggle__bars::before, .fdm-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.fdm-menu-toggle__bars::before { top: -6px; }
.fdm-menu-toggle__bars::after { top: 6px; }

@media (max-width: 960px) {
  .fdm-family__label { display: none; }
  .fdm-family__contact { border: 0; padding: 0; }
  .fdm-menu-toggle { display: inline-flex; }
  .fdm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--fdm-line); max-height: calc(100vh - 120px); overflow-y: auto; }
  .fdm-nav.is-open { display: flex; }
  .fdm-menu { flex-direction: column; }
  .fdm-menu a { padding: 14px 4px; border-bottom: 1px solid var(--fdm-line); border-radius: 0; }
  .fdm-menu .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .fdm-menu li.is-open > .sub-menu { display: block; }
  .fdm-btn--cta { text-align: center; }
}
@media (max-width: 782px) { .admin-bar .fdm-header { top: 0; } }

/* Footer */
.fdm-footer { background: var(--fdm-navy); color: #DCE6F2; font: 15px/1.7 var(--fdm-sans); }
.fdm-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.fdm-footer__grid > * { min-width: 0; }
.fdm-footer a { color: #fff; }
.fdm-footer a:hover { color: var(--fdm-sun); }
.fdm-footer address { font-style: normal; margin-bottom: 12px; }
.fdm-footer__title { font: 700 13px/1.4 var(--fdm-sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--fdm-sun); margin: 0 0 14px; }
.fdm-footer__brand img { height: 100px; width: auto; margin-bottom: 16px; }
.fdm-footer__brand p { max-width: 34ch; margin: 0; }
.fdm-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fdm-footer__links a { text-decoration: none; }
.fdm-footer__links a:hover { text-decoration: underline; }
.fdm-footer__base { border-top: 1px solid rgba(255,255,255,.15); padding-block: 18px; font-size: 13px; text-align: center; letter-spacing: .04em; }
@media (max-width: 900px) { .fdm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fdm-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .fdm-menu .sub-menu { transition: none; } }

/* Old pages pulled their first section up 100px to sit under the old see-through
   header. With the solid coded header, that would cover the ministry bar. */
.fdm-main .page-content > .elementor > .elementor-section:first-child,
.fdm-main .page-content > .elementor > .e-con:first-child,
.fdm-main .page-content > .elementor .elementor-section-wrap > .elementor-section:first-child { margin-top: 0 !important; }

/* Stacked logo needs more height to stay readable */
.fdm-logo img, .fdm-header .custom-logo { height: 68px; }
.fdm-header__inner { padding-block: 8px; }
@media (max-width: 960px) { .fdm-logo img, .fdm-header .custom-logo { height: 54px; } }
/* Keep the ministry bar above Elementor background videos/overlays that bleed upward */
.fdm-family { position: relative; z-index: 60; }
.fdm-main { position: relative; z-index: 1; }
/* Footer link color was overriding the Give button text */
.fdm-footer .fdm-btn--light, .fdm-footer .fdm-btn--light:hover { color: var(--fdm-navy); text-decoration: none; }

/* ============================================================
   Homepage sections ([fdm_home] and friends)
   ============================================================ */
.fdm-section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 12px; color: var(--fdm-navy); text-wrap: balance; }
.fdm-section-lede { color: var(--fdm-muted); max-width: 62ch; margin: 0 0 32px; font-size: 1.05rem; }
.fdm-link { font: 700 15px/1.4 var(--fdm-sans); color: var(--fdm-blue); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.fdm-link:hover { color: var(--fdm-navy); }
.fdm-btn--ghost { border: 2px solid #fff; color: #fff; padding: 10px 20px; }
.fdm-btn--ghost:hover { background: #fff; color: var(--fdm-navy); }

/* Small label above headings: only shown in the Trail's End look */
.fdm-kicker { display: none; }

/* Hero */
.fdm-hero { position: relative; color: #fff; background: var(--fdm-navy) var(--fdm-hero-img) center / cover no-repeat; }
.fdm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,47,94,.82) 0%, rgba(14,47,94,.55) 45%, rgba(14,47,94,.1) 100%); }
.fdm-hero__inner { position: relative; padding-block: clamp(72px, 12vw, 150px); display: grid; gap: 18px; justify-items: start; }
.fdm-hero__pre { margin: 0; font: italic 400 1.15rem/1.3 var(--fdm-serif); color: #F6EBD8; }
.fdm-hero__title { margin: 0; max-width: 15ch; font-size: clamp(2.3rem, 5.5vw, 4.2rem) !important; line-height: 1.08; color: #fff; text-wrap: balance; }
.fdm-hero__you { font-size: 1.45em; line-height: .9; font-style: italic; }
.fdm-hero__sub { margin: 0; max-width: 46ch; font-size: 1.15rem; color: #E8EEF5; }
.fdm-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.fdm-hero .fdm-btn--cta:hover { background: #fff; color: var(--fdm-navy); }

/* Facts */
.fdm-facts { background: #fff; border-bottom: 1px solid var(--fdm-line); }
.fdm-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fdm-fact { padding: 26px 20px; border-left: 1px solid var(--fdm-line); display: grid; gap: 2px; }
.fdm-fact:first-child { border-left: 0; padding-left: 0; }
.fdm-fact strong { font: 400 1.8rem/1.1 var(--fdm-serif); color: var(--fdm-blue); }
.fdm-fact span { color: var(--fdm-muted); font-size: .95rem; }

/* Intro */
.fdm-intro { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.fdm-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.fdm-intro__grid > * { min-width: 0; }
.fdm-intro__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.fdm-intro__text h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--fdm-navy); margin: 0 0 16px; text-wrap: balance; }
.fdm-intro__text p { max-width: 58ch; line-height: 1.75; margin: 0 0 14px; }

/* What we offer */
.fdm-offer { padding-block: clamp(56px, 8vw, 96px); background: var(--fdm-mist); }
.fdm-offer .fdm-section-title { margin-bottom: 32px; }
.fdm-offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fdm-offer__card { display: grid; gap: 10px; align-content: start; }
.fdm-offer__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.fdm-offer__card h3 { margin: 0; font-size: 1.35rem; color: var(--fdm-navy); }
.fdm-offer__card p { margin: 0 0 6px; color: var(--fdm-ink); }
.fdm-offer__card .fdm-link { justify-self: start; }
.fdm-offer__more { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--fdm-line); color: var(--fdm-muted); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.fdm-offer__more a { color: var(--fdm-blue); font-weight: 700; }

/* Ministries */
.fdm-ministries { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.fdm-ministries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Photo tiles: a light veil in each ministry's color; on hover the veil clears and the tile lifts */
.fdm-tile { --tint: var(--fdm-blue); position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s cubic-bezier(.2,.7,.2,1); }
.fdm-tile--camp { --tint: #C9A21E; }
.fdm-tile--preschool { --tint: var(--fdm-navy); }
.fdm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fdm-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tint); opacity: .35; transition: opacity .5s; }
.fdm-tile::after { content: ""; position: absolute; inset: 55% 0 0 0; z-index: -1; background: linear-gradient(to top, rgba(14,47,94,.6), transparent); }
.fdm-tile__body { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 24px 28px; }
.fdm-tile__who { font-size: .85rem; font-weight: 600; opacity: .9; }
.fdm-tile__name { font: 400 1.45rem/1.15 var(--fdm-serif) !important; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.fdm-tile__url { margin-top: 4px; font-weight: 600; font-size: .9rem; }
.fdm-tile:hover, .fdm-tile:focus-visible { transform: scale(1.04); box-shadow: 0 30px 50px -20px rgba(14,47,94,.5); color: #fff; }
.fdm-tile:hover::before, .fdm-tile:focus-visible::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fdm-tile { transition: none; } .fdm-tile:hover { transform: none; } }
.fdm-ministries__also { margin: 36px 0 0; padding-top: 18px; border-top: 1px dashed var(--fdm-line); color: var(--fdm-muted); font-size: .95rem; }
.fdm-ministries__also a { color: var(--fdm-ink); font-weight: 700; }

/* Support */
.fdm-support { background: var(--fdm-field); color: #E6EEE3; padding-block: clamp(48px, 7vw, 80px); }
.fdm-support__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.fdm-support h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 12px; }
.fdm-support p { margin: 0; max-width: 56ch; }
.fdm-support__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.fdm-support .fdm-btn--light { margin-top: 0; color: var(--fdm-navy); }

@media (max-width: 900px) {
  .fdm-facts__grid { grid-template-columns: 1fr 1fr; }
  .fdm-fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fdm-fact:nth-child(-n+2) { border-bottom: 1px solid var(--fdm-line); }
  .fdm-intro__grid, .fdm-offer__grid, .fdm-ministries__grid, .fdm-support__grid { grid-template-columns: 1fr; }
  .fdm-support__actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .fdm-fact { padding: 18px 12px; }
  .fdm-fact strong { font-size: 1.45rem; }
}

@media (max-width: 900px) { .fdm-tile { aspect-ratio: 4 / 3; } }

/* Bolder headings so they stand out */
.fdm-hero__title, .fdm-section-title, .fdm-intro__text h2, .fdm-offer__card h3, .fdm-support h2, .fdm-tile__name, .fdm-fact strong { font-weight: 700 !important; }
.fdm-hero__title, .fdm-section-title, .fdm-intro__text h2, .fdm-support h2 { letter-spacing: -.01em; }

/* ============================================================
   Retreat pages: [fdm_lodging] [fdm_meeting] [fdm_activities]
   ============================================================ */
/* Split hero */
.fdm-phero { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(380px, 46vw, 560px); background: var(--fdm-navy); }
.fdm-phero__panel { display: flex; align-items: center; justify-content: flex-end; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); }
.fdm-phero__text { max-width: 520px; display: grid; gap: 16px; justify-items: start; }
.fdm-phero__label { margin: 0; font-size: .9rem; font-weight: 700; color: var(--fdm-sun); }
.fdm-phero__title { margin: 0; color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem) !important; line-height: 1.1; font-weight: 700 !important; letter-spacing: -.01em; text-wrap: balance; }
.fdm-phero__sub { margin: 0; color: #DCE5F0; font-size: 1.1rem; line-height: 1.7; }
.fdm-phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.fdm-phero__img { background: center / cover no-repeat; min-height: 280px; }

/* Intro + jump links */
.fdm-pintro { background: var(--fdm-mist); padding-block: clamp(48px, 7vw, 80px) 0; }
.fdm-pintro__text { max-width: 62ch; margin: 0 auto 28px; text-align: center; font-size: 1.15rem; line-height: 1.75; color: var(--fdm-ink); }
.fdm-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fdm-jump a { padding: 8px 16px; border: 1px solid var(--fdm-line); border-radius: 999px; background: #fff; color: var(--fdm-navy); font-weight: 700; font-size: .9rem; text-decoration: none; }
.fdm-jump a:hover { border-color: var(--fdm-blue); color: var(--fdm-blue); }

/* Alternating rows */
.fdm-rows { background: var(--fdm-mist); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.fdm-row { display: grid; grid-template-columns: 1fr 1fr; background: #fff; margin-bottom: clamp(28px, 4vw, 48px); scroll-margin-top: 120px; }
.fdm-row:last-child { margin-bottom: 0; }
.fdm-row--flip .fdm-row__media { order: 2; }
.fdm-row__media { position: relative; min-width: 0; aspect-ratio: 4 / 3; background: var(--fdm-line); }
.fdm-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fdm-slides::-webkit-scrollbar { display: none; }
.fdm-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.fdm-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; }
.fdm-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.fdm-dots button.is-on { background: transparent; box-shadow: 0 0 0 2px #fff; }
.fdm-row__text { align-self: center; padding: clamp(28px, 5vw, 64px); min-width: 0; }
.fdm-row__label { margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: var(--fdm-blue); }
.fdm-row__name { margin: 0 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; line-height: 1.15; color: var(--fdm-navy); font-weight: 700 !important; }
.fdm-row__text p { margin: 0 0 12px; line-height: 1.75; max-width: 54ch; }
.fdm-row__facts { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--fdm-line); display: grid; gap: 8px; }
.fdm-row__facts li { position: relative; padding-left: 20px; color: var(--fdm-ink); }
.fdm-row__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--fdm-sun); }

/* Activities: amenities list */
.fdm-amen { background: #fff; padding-block: clamp(56px, 8vw, 88px); }
.fdm-amen .fdm-section-title { text-align: center; margin-bottom: 32px; }
.fdm-amen__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.fdm-amen h3 { margin: 0 0 14px; font-size: 1.3rem; color: var(--fdm-navy); font-weight: 700 !important; }
.fdm-amen ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.fdm-amen__grid > div:last-child ul { columns: 1; }
.fdm-amen li { padding: 8px 0; border-bottom: 1px solid var(--fdm-line); break-inside: avoid; }
.fdm-amen__note { text-align: center; color: var(--fdm-muted); margin: 28px 0 0; font-size: .95rem; }

/* Closing band */
.fdm-pcta { background: var(--fdm-navy); color: #DCE5F0; padding-block: clamp(48px, 7vw, 72px); }
.fdm-pcta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.fdm-pcta h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem) !important; font-weight: 700 !important; }
.fdm-pcta p { margin: 0; max-width: 54ch; }
.fdm-pcta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.fdm-pcta .fdm-btn--light { margin-top: 0; color: var(--fdm-navy); }

@media (max-width: 900px) {
  .fdm-phero { grid-template-columns: 1fr; }
  .fdm-phero__img { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .fdm-phero__panel { justify-content: flex-start; }
  .fdm-row { grid-template-columns: 1fr; }
  .fdm-row--flip .fdm-row__media { order: 0; }
  .fdm-amen__grid, .fdm-pcta__inner { grid-template-columns: 1fr; }
  .fdm-pcta__actions { justify-content: flex-start; }
}
@media (max-width: 560px) { .fdm-amen ul { columns: 1; } }

/* v0.7.1: one-line hero headline on desktop + slow zoom on the background photo */
@media (min-width: 1100px) {
	.fdm-hero__title { max-width: none; white-space: nowrap; font-size: clamp(2.3rem, 3.7vw, 3.6rem) !important; }
}
.fdm-hero { background-image: none; overflow: hidden; isolation: isolate; }
.fdm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fdm-hero-img) center / cover no-repeat; transform-origin: 60% 50%; animation: fdm-hero-zoom 28s ease-in-out infinite alternate; }
@keyframes fdm-hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .fdm-hero::after { animation: none; } }

/* Announcements carousel (homepage, under the ministries) */
.fdm-ann { padding-block: 0 clamp(56px, 8vw, 96px); background: #fff; }
.fdm-ann .fdm-section-title { margin-bottom: 24px; }
.fdm-ann__media { position: relative; }
.fdm-ann .fdm-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; background: var(--fdm-navy); }
.fdm-ann .fdm-slides::-webkit-scrollbar { display: none; }
.fdm-ann .fdm-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1885 / 845; }
.fdm-ann .fdm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fdm-ann__arrow { position: absolute; top: 50%; transform: translateY(-60%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--fdm-navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(14,47,94,.25); }
.fdm-ann__arrow--prev { left: 14px; } .fdm-ann__arrow--next { right: 14px; }
.fdm-ann__arrow:hover { background: var(--fdm-sun, #F2C230); }
.fdm-ann .fdm-dots { position: static; display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.fdm-ann .fdm-dots button { box-shadow: none; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #C8D3E1; cursor: pointer; }
.fdm-ann .fdm-dots button.is-on { background: var(--fdm-navy); }
@media (max-width: 560px) { .fdm-ann__arrow { width: 34px; height: 34px; font-size: 22px; } }

/* ===== Build your retreat (planner) ===== */
.fdm-plan { background: var(--fdm-mist); padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); scroll-margin-top: 120px; }
.fdm-plan__steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; counter-reset: none; }
.fdm-plan__steps button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 10px; border: 0; border-bottom: 3px solid var(--fdm-line); background: none; color: var(--fdm-muted); font: 600 .9rem/1.2 var(--fdm-sans); text-align: left; cursor: pointer; }
.fdm-plan__steps button span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--fdm-line); font-weight: 700; color: var(--fdm-muted); }
.fdm-plan__steps button.is-done { color: var(--fdm-navy); border-color: var(--fdm-blue); }
.fdm-plan__steps button.is-done span { background: var(--fdm-blue); border-color: var(--fdm-blue); color: #fff; }
.fdm-plan__steps button[aria-current] { color: var(--fdm-navy); border-color: var(--fdm-sun); }
.fdm-plan__steps button[aria-current] span { background: var(--fdm-sun); border-color: var(--fdm-sun); color: var(--fdm-navy); }
.fdm-plan__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.fdm-plan__form { background: #fff; border-radius: 8px; padding: clamp(22px, 4vw, 44px); box-shadow: 0 10px 30px -20px rgba(14,47,94,.35); }
.fdm-plan__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.fdm-plan__step legend { padding: 0; margin-bottom: 8px; font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--fdm-serif); color: var(--fdm-navy); outline: none; }
.fdm-plan__step legend span { font-weight: 400; font-size: .6em; color: var(--fdm-muted); }
.fdm-plan__body { display: grid; gap: 30px; margin-top: 18px; }
.fdm-plan__q h3 { margin: 0 0 12px; font: 700 1.1rem/1.3 var(--fdm-sans); color: var(--fdm-ink); }
.fdm-plan__hint { margin: -6px 0 12px; color: var(--fdm-muted); font-size: .95rem; }
.fdm-plan__note { margin: -14px 0 0; font-weight: 700; color: var(--fdm-blue); }
.fdm-plan__skip { padding: 14px 18px; border-radius: 6px; background: #FFF8DC; color: var(--fdm-navy); }
.fdm-plan__label { display: grid; gap: 8px; font-weight: 700; }
.fdm-plan textarea, .fdm-dates input, .fdm-size input[type=number] { font: inherit; padding: 10px 12px; border: 1px solid var(--fdm-line); border-radius: 6px; background: #fff; color: var(--fdm-ink); }
.fdm-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.fdm-choices--chips { display: flex; flex-wrap: wrap; }
.fdm-choice input, .fdm-pick input { position: absolute; opacity: 0; pointer-events: none; }
.fdm-choice__box { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 2px solid var(--fdm-line); border-radius: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.fdm-choices--chips .fdm-choice__box { padding: 9px 16px; border-radius: 999px; }
.fdm-choice__box small { color: var(--fdm-muted); }
.fdm-choice:hover .fdm-choice__box { border-color: var(--fdm-blue); }
.fdm-choice input:checked + .fdm-choice__box { border-color: var(--fdm-blue); background: #EAF3FB; color: var(--fdm-navy); }
.fdm-choice input:focus-visible + .fdm-choice__box, .fdm-pick input:focus-visible ~ .fdm-pick__body { outline: 3px solid var(--fdm-sun); outline-offset: 2px; }
.fdm-size { display: flex; align-items: center; gap: 16px; }
.fdm-size input[type=range] { flex: 1; accent-color: var(--fdm-blue); }
.fdm-size input[type=number] { width: 96px; font-weight: 700; font-size: 1.1rem; }
.fdm-dates { display: flex; flex-wrap: wrap; gap: 16px; }
.fdm-dates label { display: grid; gap: 6px; font-weight: 700; }
.fdm-dates [hidden] { display: none; }
.fdm-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.fdm-picks--small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.fdm-pick { position: relative; display: flex; flex-direction: column; border: 2px solid var(--fdm-line); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .2s, transform .2s; }
.fdm-pick:hover { border-color: var(--fdm-blue); }
.fdm-pick:has(input:checked) { border-color: var(--fdm-blue); box-shadow: 0 0 0 2px var(--fdm-blue); }
.fdm-pick:has(input:checked)::after { content: "\2713"; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fdm-blue); color: #fff; font-weight: 700; }
.fdm-pick.is-off { opacity: .45; cursor: not-allowed; }
.fdm-pick__img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--fdm-mist); }
.fdm-pick__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdm-pick__badge { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--fdm-sun); color: var(--fdm-navy); font: 700 .8rem/1.4 var(--fdm-sans); font-style: normal; }
.fdm-pick__badge[hidden] { display: none; }
.fdm-pick__body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.fdm-pick__body small { color: var(--fdm-muted); line-height: 1.4; }
.fdm-plan__faq { margin-top: 34px; padding: 20px 22px; border-radius: 8px; background: var(--fdm-mist); }
.fdm-plan__faq h3 { margin: 0 0 6px; font: 700 1.05rem/1.3 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-plan__faq details { border-top: 1px solid var(--fdm-line); }
.fdm-plan__faq details:first-of-type { border-top: 0; }
.fdm-plan__faq summary { padding: 12px 0; font-weight: 700; cursor: pointer; color: var(--fdm-ink); }
.fdm-plan__faq p { margin: 0 0 14px; color: var(--fdm-muted); }
.fdm-plan__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--fdm-line); }
.fdm-plan__nav [data-next] { margin-left: auto; }
.fdm-plan__nav .fdm-btn--ghost { color: var(--fdm-navy); border-color: var(--fdm-line); background: #fff; }
.fdm-plan__sum { position: sticky; top: 120px; padding: 24px; border-radius: 8px; background: var(--fdm-navy); color: #fff; }
.fdm-plan__sum h3 { margin: 0 0 14px; font: 700 1.3rem/1.2 var(--fdm-serif); color: #fff; }
.fdm-plan__sum dl, .fdm-plan__review dl { margin: 0; display: grid; gap: 4px; }
.fdm-plan__sum dt { margin-top: 8px; font-size: .78rem; font-weight: 700; color: var(--fdm-sun); }
.fdm-plan__sum dd { margin: 0; color: #E8EEF5; line-height: 1.45; }
.fdm-plan__reset { margin-top: 18px; padding: 0; border: 0; background: none; color: #C8D3E1; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.fdm-plan__review { padding: 18px 20px; border-left: 4px solid var(--fdm-sun); background: var(--fdm-mist); border-radius: 0 6px 6px 0; }
.fdm-plan__review dl { grid-template-columns: max-content 1fr; column-gap: 18px; }
.fdm-plan__review dt { font-weight: 700; color: var(--fdm-navy); }
.fdm-plan__review dd { margin: 0; }
@media (max-width: 1000px) {
	.fdm-plan__layout { grid-template-columns: 1fr; }
	.fdm-plan__sum { position: static; order: 2; }
	.fdm-plan__steps { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.fdm-plan__steps button { font-size: 0; align-items: center; }
	.fdm-plan__steps button span { font-size: .9rem; }
}
@media (max-width: 560px) {
	.fdm-plan__review dl { grid-template-columns: 1fr; }
	.fdm-plan__review dd { margin-bottom: 8px; }
	.fdm-size { flex-wrap: wrap; }
}
.fdm-plan [hidden] { display: none !important; }
.fdm-choice { position: relative; display: block; }
.fdm-choices--chips .fdm-choice { display: inline-block; }
.fdm-choice input:checked + .fdm-choice__box { border-color: var(--fdm-navy); background: var(--fdm-navy); color: #fff; }
.fdm-choice input:checked + .fdm-choice__box small { color: #C8D3E1; }
/* v0.8.2: every planner photo the same 3:2 size, whatever the source image shape */
.fdm-pick__img { flex: none; overflow: hidden; aspect-ratio: 3 / 2; height: auto; }
.fdm-pick__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* v0.8.4: hero sub-line on one line on desktop */
@media (min-width: 1100px) { .fdm-hero__sub { max-width: none; white-space: nowrap; } }

/* ===== v0.9.0: the rest of the site (About, Contact, Give, Pray, Newsletter, forms) ===== */
.fdm-prose { padding-block: clamp(48px, 7vw, 84px); background: #fff; }
.fdm-prose__inner { max-width: 760px; }
.fdm-prose p { font-size: 1.12rem; line-height: 1.75; color: var(--fdm-ink); margin: 0 0 1.1em; }
.fdm-prose p:first-of-type { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.55 var(--fdm-serif); color: var(--fdm-navy); }

.fdm-cards { padding-block: clamp(48px, 7vw, 84px); }
.fdm-cards--mist { background: var(--fdm-mist); } .fdm-cards--white { background: #fff; }
.fdm-cards .fdm-section-title { margin-bottom: 28px; }
.fdm-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fdm-cards__grid--2 { grid-template-columns: repeat(2, 1fr); }
.fdm-cards__grid--4 { grid-template-columns: repeat(4, 1fr); }
.fdm-card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; color: var(--fdm-ink); text-decoration: none; box-shadow: 0 10px 30px -22px rgba(14,47,94,.45); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.fdm-cards--white .fdm-card { border: 1px solid var(--fdm-line); box-shadow: none; }
a.fdm-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -20px rgba(14,47,94,.5); color: var(--fdm-ink); }
.fdm-card__img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--fdm-mist); }
.fdm-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fdm-card__img--logo img { object-fit: contain; padding: 20px; }
.fdm-card__body { display: grid; gap: 8px; padding: 20px 22px 22px; align-content: start; flex: 1; }
.fdm-card--plain .fdm-card__body { border-top: 4px solid var(--fdm-sun); }
.fdm-card__title { font: 700 1.3rem/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-card__text { color: var(--fdm-muted); line-height: 1.55; }
.fdm-card__more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--fdm-blue); }

.fdm-statements { padding-block: 0 clamp(48px, 7vw, 84px); background: #fff; }
.fdm-statements__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fdm-statement { margin: 0; padding: clamp(26px, 4vw, 40px); border-radius: 8px; background: var(--fdm-navy); color: #fff; }
.fdm-statement--sun { background: var(--fdm-sun); color: var(--fdm-navy); }
.fdm-statement figcaption { font-weight: 700; font-size: .9rem; margin-bottom: 12px; opacity: .85; }
.fdm-statement blockquote { margin: 0; font: 400 clamp(1.2rem, 2vw, 1.45rem)/1.5 var(--fdm-serif); }

.fdm-mission { padding-block: clamp(48px, 7vw, 84px); background: var(--fdm-navy); color: #E8EEF5; }
.fdm-mission__inner { display: grid; grid-template-columns: 140px 1fr; gap: 36px; align-items: start; max-width: 960px; }
.fdm-mission img { width: 140px; height: 140px; border-radius: 50%; background: #fff; padding: 12px; object-fit: contain; }
.fdm-mission .fdm-row__name { color: #fff; }
.fdm-mission .fdm-row__label { color: var(--fdm-sun); }
.fdm-mission .fdm-link { color: var(--fdm-sun); }

.fdm-timeline { padding-block: clamp(48px, 7vw, 84px); background: #fff; }
.fdm-timeline__list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.fdm-timeline__list::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 2px; background: var(--fdm-line); }
.fdm-timeline__item { display: grid; grid-template-columns: 72px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.fdm-timeline__item::before { content: ""; position: absolute; left: 82px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--fdm-sun); box-shadow: 0 0 0 4px #fff; }
.fdm-timeline__year { font: 700 1.1rem/1.3 var(--fdm-serif); color: var(--fdm-blue); text-align: right; }
.fdm-timeline__item h3 { margin: 0 0 8px; font: 700 1.35rem/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-timeline__item p { margin: 0; line-height: 1.7; color: var(--fdm-ink); }
.fdm-timeline__photos { display: flex; justify-content: center; gap: 24px; margin-top: 20px; }
.fdm-timeline__photos img { height: 260px; width: auto; border-radius: 6px; filter: sepia(.15); box-shadow: 0 12px 30px -18px rgba(14,47,94,.5); }

.fdm-contacts { padding-block: clamp(48px, 7vw, 84px); background: var(--fdm-mist); }
.fdm-contacts__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.fdm-contacts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.fdm-contact { display: grid; gap: 10px; align-content: start; padding: 24px; background: #fff; border-radius: 8px; border-top: 4px solid var(--fdm-blue); }
.fdm-contacts__top .fdm-contact { border-top-color: var(--fdm-sun); }
.fdm-contact img { height: 64px; width: auto; max-width: 100%; object-fit: contain; justify-self: start; }
.fdm-contact h3 { margin: 0; font: 700 1.2rem/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--fdm-ink); }
.fdm-contact a { color: var(--fdm-blue); }
.fdm-map iframe { display: block; width: 100%; height: 380px; border: 0; }

.fdm-funds, .fdm-needs { padding-block: clamp(48px, 7vw, 84px); background: var(--fdm-mist); }
.fdm-funds__inner, .fdm-needs__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fdm-funds__list, .fdm-needs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fdm-funds__list li, .fdm-needs__list li { padding: 14px 18px 14px 44px; background: #fff; border-radius: 6px; position: relative; }
.fdm-funds__list li::before, .fdm-needs__list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--fdm-sun); }

.fdm-prays { padding-block: clamp(48px, 7vw, 84px); background: var(--fdm-mist); }
.fdm-prays .fdm-section-title { text-align: center; margin-bottom: 28px; }
.fdm-prays__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fdm-pray { padding: 26px; background: #fff; border-radius: 8px; border-left: 4px solid var(--fdm-sun); }
.fdm-pray h3 { margin: 0 0 8px; font: 700 1.2rem/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-pray p { margin: 0; line-height: 1.6; }

.fdm-formsec { padding-block: clamp(48px, 7vw, 84px); background: var(--fdm-mist); scroll-margin-top: 120px; }
.fdm-formsec__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.fdm-formsec__grid--solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.fdm-formcard { background: #fff; border-radius: 8px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 10px 30px -20px rgba(14,47,94,.35); }
.fdm-formcard__intro { color: var(--fdm-muted); margin: 0 0 20px; }
.fdm-formsec__aside { position: sticky; top: 120px; padding: 24px; border-radius: 8px; background: var(--fdm-navy); color: #E8EEF5; }
.fdm-formsec__aside h3 { margin: 0 0 6px; font: 700 1.15rem/1.3 var(--fdm-serif); color: #fff; }
.fdm-formsec__aside h3 + p { margin-top: 0; }
.fdm-formsec__aside p { margin: 0 0 18px; line-height: 1.55; }
.fdm-formsec__aside a:not(.fdm-btn) { color: var(--fdm-sun); }

.fdm-signup { padding-block: clamp(40px, 6vw, 64px); background: #fff; }
.fdm-signup__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.fdm-signup__form input[type=email], .fdm-signup__form input[type=text] { width: 100%; }

/* Contact Form 7 + Mailchimp, styled to match */
.fdm-formcard .wpcf7-form p, .fdm-plan__cf7 .wpcf7-form p { margin: 0 0 16px; }
.fdm-formcard label, .fdm-plan__cf7 label { font-weight: 700; color: var(--fdm-ink); }
.fdm-formcard input[type=text], .fdm-formcard input[type=email], .fdm-formcard input[type=tel], .fdm-formcard input[type=date], .fdm-formcard textarea, .fdm-formcard select,
.fdm-plan__cf7 input[type=text], .fdm-plan__cf7 input[type=email], .fdm-plan__cf7 input[type=tel], .fdm-plan__cf7 textarea, .fdm-plan__cf7 select,
.fdm-signup__form input[type=email] { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; font: 400 1rem/1.4 var(--fdm-sans); color: var(--fdm-ink); background: #fff; border: 1px solid var(--fdm-line); border-radius: 6px; box-sizing: border-box; }
.fdm-formcard input:focus, .fdm-formcard textarea:focus, .fdm-plan__cf7 input:focus, .fdm-plan__cf7 textarea:focus, .fdm-signup__form input:focus { outline: 3px solid color-mix(in srgb, var(--fdm-blue) 35%, transparent); border-color: var(--fdm-blue); }
.fdm-formcard .wpcf7-list-item, .fdm-plan__cf7 .wpcf7-list-item { margin: 6px 16px 0 0; font-weight: 400; }
.fdm-formcard .wpcf7-list-item label, .fdm-plan__cf7 .wpcf7-list-item label { font-weight: 400; }
.fdm-formcard input[type=submit], .fdm-plan__cf7 input[type=submit], .fdm-signup__form input[type=submit] { padding: 13px 26px; border: 0; border-radius: 6px; background: var(--fdm-blue); color: #fff; font: 700 1rem/1 var(--fdm-sans); cursor: pointer; }
.fdm-formcard input[type=submit]:hover, .fdm-plan__cf7 input[type=submit]:hover, .fdm-signup__form input[type=submit]:hover { background: var(--fdm-navy); }

@media (max-width: 1000px) {
	.fdm-cards__grid--4, .fdm-contacts__grid { grid-template-columns: repeat(2, 1fr); }
	.fdm-formsec__grid { grid-template-columns: 1fr; }
	.fdm-formsec__aside { position: static; }
}
@media (max-width: 760px) {
	.fdm-cards__grid, .fdm-cards__grid--2, .fdm-cards__grid--4, .fdm-statements__grid, .fdm-contacts__top, .fdm-contacts__grid, .fdm-funds__inner, .fdm-needs__inner, .fdm-signup__inner { grid-template-columns: 1fr; }
	.fdm-mission__inner { grid-template-columns: 1fr; gap: 20px; }
	.fdm-mission img { width: 100px; height: 100px; }
	.fdm-timeline__list::before { left: 7px; }
	.fdm-timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
	.fdm-timeline__item::before { left: 0; }
	.fdm-timeline__year { text-align: left; }
	.fdm-timeline__photos img { height: 160px; }
	.fdm-map iframe { height: 280px; }
}
.fdm-contact .fdm-link, .fdm-mission .fdm-link, .fdm-formsec__aside .fdm-link { justify-self: start; display: inline-block; width: auto; }
.fdm-signup__inner > *, .fdm-formsec__grid > *, .fdm-funds__inner > *, .fdm-needs__inner > * { min-width: 0; }

/* ===== v0.9.1: fixes from the staging check ===== */
.fdm-statement figcaption { color: #fff; }
.fdm-statement--sun figcaption { color: var(--fdm-navy); }
.fdm-prays__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.fdm-prays__grid > * { flex: 0 1 calc((100% - 40px) / 3); min-width: 240px; box-sizing: border-box; }
@media (max-width: 760px) { .fdm-prays__grid > * { flex-basis: 100%; } }
.fdm-signup__form #mc_embed_signup h2 { display: none; }
.fdm-signup__form #mc_embed_signup, .fdm-signup__form #mc_embed_signup form, .fdm-signup__form .mc-field-group { padding: 0; margin: 0; width: auto; background: none; }
.fdm-signup__form label { font-weight: 600; color: var(--fdm-navy); }
.fdm-signup__form #mc-embedded-subscribe { margin: 14px 0 0; height: auto; }

/* ===== v0.9.2: logos, video and campaign rows, support funds, inquiry choice ===== */
.fdm-prose a { color: var(--fdm-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fdm-prose a:hover { color: var(--fdm-navy); }

/* Row media variants */
.fdm-row__media--logo, .fdm-row__media--contain { display: flex; align-items: center; justify-content: center; background: #fff; }
.fdm-row__media--logo { aspect-ratio: auto; min-height: 300px; border-right: 1px solid var(--fdm-line); }
.fdm-row--flip .fdm-row__media--logo { border-right: 0; border-left: 1px solid var(--fdm-line); }
.fdm-row__media--logo a { display: flex; align-items: center; justify-content: center; padding: 32px; border-radius: 8px; transition: transform .2s ease; }
.fdm-row__media--logo a:hover { transform: scale(1.04); }
.fdm-row__media--logo a:focus-visible { outline: 3px solid var(--fdm-blue); outline-offset: 4px; }
.fdm-row__media--logo img { width: auto; height: auto; max-width: 260px; max-height: 200px; min-width: 160px; object-fit: contain; }
.fdm-row__media--contain { background: var(--fdm-mist); padding: 20px; }
.fdm-row__media--contain .fdm-slides img { object-fit: contain; }
.fdm-row__media--video { aspect-ratio: 16 / 10; background: #000; align-self: center; }
.fdm-row__media--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fdm-row__link { margin: 20px 0 0 !important; }
.fdm-mission__logo { display: block; width: 140px; border-radius: 50%; }
.fdm-mission__logo:focus-visible { outline: 3px solid var(--fdm-sun); outline-offset: 4px; }
@media (max-width: 900px) {
	.fdm-row__media--logo, .fdm-row--flip .fdm-row__media--logo { min-height: 220px; border: 0; border-bottom: 1px solid var(--fdm-line); }
}

/* Donate: I want to support (intro left, fund list right) */
.fdm-givefor { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.fdm-givefor__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.fdm-givefor__intro p { margin: 0 0 22px; line-height: 1.75; max-width: 46ch; }
.fdm-givefor__intro .fdm-row__label { margin-bottom: 8px; }
.fdm-givefor__intro .fdm-section-title { margin: 0 0 14px; }
.fdm-givefor__list { border-top: 1px solid var(--fdm-line); }
.fdm-fund { border-bottom: 1px solid var(--fdm-line); }
.fdm-fund summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; font: 700 1.15rem/1.3 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-fund summary::-webkit-details-marker { display: none; }
.fdm-fund summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--fdm-blue); border-bottom: 2px solid var(--fdm-blue); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.fdm-fund[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.fdm-fund summary:hover { color: var(--fdm-blue); }
.fdm-fund summary:focus-visible { outline: 3px solid var(--fdm-blue); outline-offset: 2px; }
.fdm-fund ul { margin: 0; padding: 0 4px 20px; list-style: none; display: grid; gap: 8px; }
.fdm-fund li { position: relative; padding-left: 20px; line-height: 1.5; }
.fdm-fund li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--fdm-sun); }
@media (prefers-reduced-motion: reduce) { .fdm-fund summary::after { transition: none; } }

/* Donate: ways to give (three columns with icons) */
.fdm-ways { padding-block: clamp(56px, 8vw, 96px); background: var(--fdm-mist); }
.fdm-ways .fdm-section-title { margin: 0 0 32px; }
.fdm-ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fdm-way { padding: clamp(24px, 3vw, 32px); background: #fff; border-radius: 8px; border-top: 4px solid var(--fdm-sun); }
.fdm-way__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: color-mix(in srgb, var(--fdm-blue) 12%, #fff); }
.fdm-way__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--fdm-blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fdm-way h3 { margin: 0 0 10px; font: 700 1.25rem/1.3 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-way p { margin: 0; line-height: 1.7; }
.fdm-way a { color: var(--fdm-blue); font-weight: 700; white-space: nowrap; }
.fdm-way__addr { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--fdm-line); line-height: 1.6; }
.fdm-ways__online { margin: 28px 0 0; text-align: center; }
.fdm-ways__online a { color: var(--fdm-blue); font-weight: 700; }
.fdm-ways + .fdm-rows { padding-top: 0; }
@media (max-width: 1000px) { .fdm-givefor__inner { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .fdm-ways__grid { grid-template-columns: 1fr; } }

/* Retreat inquiry: two ways to start */
.fdm-choose { padding-block: clamp(48px, 7vw, 80px) 0; background: var(--fdm-mist); }
.fdm-choose .fdm-section-title { margin-bottom: 24px; }
.fdm-choose__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.fdm-choose__card { padding: clamp(24px, 3.5vw, 36px); border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.fdm-choose__card h3 { margin: 0 0 10px; font: 700 clamp(1.3rem, 2vw, 1.55rem)/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-choose__card p { margin: 0 0 16px; line-height: 1.65; }
.fdm-choose__card .fdm-btn { margin-top: auto; }
.fdm-choose__card--main { background: var(--fdm-navy); color: #E8EEF5; }
.fdm-choose__card--main h3 { color: #fff; }
.fdm-choose__tag { margin: 0 0 8px !important; font-size: .85rem; font-weight: 700; color: var(--fdm-sun); }
.fdm-choose__card ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 6px; }
.fdm-choose__card li { position: relative; padding-left: 18px; }
.fdm-choose__card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--fdm-sun); }
.fdm-choose__card--main .fdm-btn--light { color: var(--fdm-navy); }
#inquiry-form { scroll-margin-top: 110px; }
@media (max-width: 760px) { .fdm-choose__grid { grid-template-columns: 1fr; } }

/* ===== v0.9.3: contained images fill the full row height ===== */
.fdm-row__media--contain { aspect-ratio: auto; min-height: 320px; align-self: stretch; }
.fdm-row__media--contain .fdm-slides { position: absolute; inset: 20px; height: auto; }
@media (max-width: 900px) { .fdm-row__media--contain { min-height: 0; aspect-ratio: 4 / 3; } }

/* ===== v0.9.9: builder start choice, quick inquiry mode, retreats landing ===== */
.fdm-choose--plan { padding-bottom: 0; }
.fdm-choose__tag--blue { color: var(--fdm-blue) !important; }
.fdm-choose__call { margin: 14px 0 0 !important; font-size: .95rem; }
.fdm-choose__call a { color: var(--fdm-blue); font-weight: 700; }
.fdm-plan__anchor { display: block; position: relative; top: -130px; visibility: hidden; }
.fdm-plan__alt { margin: 0 0 14px; text-align: right; font-size: .95rem; color: var(--fdm-muted); }
.fdm-plan__alt a { color: var(--fdm-blue); font-weight: 700; }
.fdm-plan__quickhead { margin-bottom: 8px; }
.fdm-plan__quickhead h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 2.6vw, 2rem) !important; color: var(--fdm-navy); }
.fdm-plan__quickhead p { margin: 0 0 10px; line-height: 1.65; }
.fdm-plan__quickhead a { color: var(--fdm-blue); font-weight: 700; }
.fdm-plan.is-quick .fdm-plan__steps, .fdm-plan.is-quick .fdm-plan__sum, .fdm-plan.is-quick .fdm-plan__nav,
.fdm-plan.is-quick [data-review], .fdm-plan.is-quick [data-plan-intro], .fdm-plan.is-quick .fdm-plan__alt,
.fdm-plan.is-quick .fdm-plan__step > legend { display: none !important; }
.fdm-plan.is-quick .fdm-plan__layout { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
@media (max-width: 760px) { .fdm-plan__alt { text-align: left; } }
/* Retreats landing: how it works + questions */
.fdm-how { padding-block: clamp(56px, 8vw, 96px); background: var(--fdm-mist); }
.fdm-how .fdm-section-title { margin: 0 0 32px; }
.fdm-how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.fdm-how__step { position: relative; padding: 28px; background: #fff; border-radius: 8px; }
.fdm-how__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--fdm-sun); color: var(--fdm-navy); font: 700 1.1rem/1 var(--fdm-serif); }
.fdm-how__step h3 { margin: 0 0 8px; font: 700 1.25rem/1.3 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-how__step p { margin: 0; line-height: 1.65; }
.fdm-rfaq { padding-block: clamp(56px, 8vw, 96px); background: #fff; }
.fdm-rfaq__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.fdm-rfaq__inner > div > p { line-height: 1.7; max-width: 40ch; }
.fdm-rfaq a { color: var(--fdm-blue); font-weight: 700; }
.fdm-rfaq .fdm-fund p { margin: 0; padding: 0 4px 20px; line-height: 1.65; }
@media (max-width: 900px) { .fdm-how__list, .fdm-rfaq__inner { grid-template-columns: 1fr; } }
/* Home: offer cards, photo and title link to their page */
.fdm-offer__media { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.fdm-offer__media img { display: block; margin: 0; transition: transform .35s ease; }
.fdm-offer__media:hover img { transform: scale(1.04); }
.fdm-offer__card h3 a { color: inherit; text-decoration: none; }
.fdm-offer__card h3 a:hover { color: var(--fdm-blue); text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .fdm-offer__media img { transition: none; } }
/* Events */
.fdm-events__title { margin: 0 0 28px; }
.fdm-event__tag { font: italic 400 1.1rem/1.5 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-event__call { margin-top: 12px !important; font-size: .95rem; }
.fdm-event__call a { color: var(--fdm-blue); font-weight: 700; }
.fdm-event .fdm-row__media--contain { min-height: 420px; }
.fdm-event .fdm-slides { display: block; }
.fdm-event .fdm-slides img { width: 100%; height: 100%; object-fit: contain; }
.fdm-follow { background: var(--fdm-navy); color: #E8EEF5; padding-block: clamp(44px, 6vw, 64px); }
.fdm-follow__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.fdm-follow h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem) !important; }
.fdm-follow p { margin: 0; line-height: 1.65; max-width: 52ch; }
.fdm-follow p a { color: var(--fdm-sun); }
.fdm-follow__links { display: grid; gap: 12px; }
.fdm-follow__link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18); }
.fdm-follow__link:hover { background: rgba(255,255,255,.16); }
.fdm-follow__link:focus-visible { outline: 3px solid var(--fdm-sun); outline-offset: 2px; }
.fdm-follow__link svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--fdm-sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fdm-follow__link svg .dot { fill: var(--fdm-sun); stroke: none; }
.fdm-follow__link span { display: grid; font-weight: 700; }
.fdm-follow__link small { font-weight: 400; opacity: .75; }
.fdm-past { padding-block: clamp(56px, 8vw, 96px); background: var(--fdm-mist); }
.fdm-past .fdm-section-title { margin: 0 0 28px; }
.fdm-past__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fdm-past__item { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.fdm-past__media { position: relative; aspect-ratio: 3 / 2; background: #fff; }
.fdm-past__media a, .fdm-past__media img, .fdm-past__media iframe, .fdm-past__media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.fdm-past__media img { object-fit: contain; transition: transform .35s ease; }
.fdm-past__media a:hover img { transform: scale(1.03); }
.fdm-past__media video, .fdm-past__media iframe { background: #000; object-fit: contain; }
.fdm-past__item figcaption { padding: 16px 20px 20px; font: 700 1.15rem/1.3 var(--fdm-serif); color: var(--fdm-navy); }
@media (prefers-reduced-motion: reduce) { .fdm-past__media img { transition: none; } }
@media (max-width: 900px) { .fdm-follow__inner { grid-template-columns: 1fr; } .fdm-past__grid { grid-template-columns: 1fr 1fr; } .fdm-event .fdm-row__media--contain { min-height: 0; aspect-ratio: 4 / 5; } }
@media (max-width: 560px) { .fdm-past__grid { grid-template-columns: 1fr; } }
.fdm-past__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.fdm-past__item { flex: 0 1 calc((100% - 48px) / 3); min-width: 0; }
@media (max-width: 900px) { .fdm-past__item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .fdm-past__item { flex-basis: 100%; } }
.fdm-follow h2 { font-weight: 700 !important; }
.fdm-soon { max-width: 760px; padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: 8px; border-top: 4px solid var(--fdm-sun); }
.fdm-soon h3 { margin: 0 0 10px; font: 700 clamp(1.4rem, 2.4vw, 1.75rem)/1.25 var(--fdm-serif); color: var(--fdm-navy); }
.fdm-soon p { margin: 0 0 20px; line-height: 1.7; }
.fdm-soon__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fdm-soon .fdm-btn--ghost { color: var(--fdm-navy); border-color: var(--fdm-navy); }
.fdm-past__more { display: block; margin-top: 6px; font: 700 .95rem/1.4 var(--fdm-sans); color: var(--fdm-blue); }
.fdm-past__more:hover { color: var(--fdm-navy); }

/* ===== v0.9.24: phone and tablet polish ===== */
/* Comfortable tap sizes on touch screens (44px is the usual minimum). */
@media (pointer: coarse), (max-width: 900px) {
	.fdm-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-block: 12px; }
	.fdm-ann__arrow { width: 44px !important; height: 44px !important; }
	/* Slideshow dots: same small dot, bigger invisible area to tap. */
	.fdm-dots { gap: 2px; }
	.fdm-dots button, .fdm-ann .fdm-dots button { width: 26px; height: 26px; padding: 8px; background-clip: content-box; box-shadow: none; }
	.fdm-dots button.is-on { box-shadow: inset 0 0 0 8px transparent, inset 0 0 0 10px #fff; background: transparent; }
	.fdm-ann .fdm-dots button.is-on { background: var(--fdm-navy); box-shadow: none; }
	.fdm-family a, .fdm-footer a { display: inline-block; padding-block: 4px; }
}
/* Phones: keep the thin top bar to one line (phone and email); the ministry links are in the menu and footer. */
@media (max-width: 640px) {
	.fdm-family__links { display: none; }
	.fdm-family__inner { justify-content: center; }
}
/* Small print never below 14px on phones. */
@media (max-width: 760px) {
	.fdm-choice small, .fdm-choice__sub, .fdm-pick small, .fdm-follow__link small, .fdm-plan__hint { font-size: 14px !important; }
}
/* Legal pages (privacy policy) */
.fdm-legal { padding-block: clamp(48px, 7vw, 84px); background: #fff; }
.fdm-legal__inner { max-width: 760px; }
.fdm-legal h2 { margin: 2em 0 .5em; font-size: clamp(1.35rem, 2.2vw, 1.6rem) !important; color: var(--fdm-navy); font-weight: 700 !important; }
.fdm-legal h2:first-child { margin-top: 0; }
.fdm-legal p, .fdm-legal li { line-height: 1.75; }
.fdm-legal ul { padding-left: 1.2em; }
.fdm-legal li { margin-bottom: .4em; }
.fdm-legal a { color: var(--fdm-blue); }
.fdm-legal__updated { color: var(--fdm-muted); font-size: .95rem; }
.fdm-footer__legal { margin-left: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* v0.9.29: photos now carry width/height; keep them scaling with their box (zero specificity, so any sized rule wins). */
:where(img[width][height]) { height: auto; }
