/*
 * Feet on the Street — brand guide v1.0 (November 2026)
 * Shared by the fots_landing and fots_interior BS5 page layouts.
 *
 * Linen is the page and Porch Green carries the words. Sunrise is the
 * warmth: Donate and one highlight per view, never wallpaper. Water is a
 * quiet nod to the shower and is used sparingly.
 * Proportion: Linen 60 · Green 25 · Warm Towel 8 · Sunrise 5 · Water 2.
 */
:root {
  --fots-green-950: #0B1D13;
  --fots-green-900: #10281B;
  --fots-green-800: #163824;
  --fots-green-700: #1E4A2F;
  --fots-green-200: #C2DCCB;
  --fots-sunrise: #C88A2C;
  --fots-sunrise-deep: #8A5A12;
  --fots-towel: #F6EBD9;
  --fots-linen: #F7F2E8;
  --fots-paper: #FBF8F2;
  --fots-water: #8FC4E6;
  --fots-ink: #232722;
  --fots-ink-700: #3A3E38;
  --fots-ink-muted: #5C615A;
  --fots-line: #E5D9C3;
  --fots-line-strong: #CDBB9A;
  --fots-white: #FFFFFF;
  --fots-limited: #8A5A12;

  --fots-serif: "Spectral", Georgia, "Times New Roman", serif;
  --fots-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fots-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fots-radius-sm: 3px;
  --fots-radius: 5px;
  --fots-radius-lg: 8px;
  --fots-page: 1180px;
  --fots-prose: 720px;
  --fots-gutter: 24px;
  --fots-section: 96px;
  --fots-section-tight: 64px;
}

/* ---------- Page ---------- */
body.fots-site {
  margin: 0;
  background: var(--fots-linen);
  color: var(--fots-ink);
  font-family: var(--fots-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.fots-site a { color: var(--fots-green-700); text-underline-offset: 3px; }
body.fots-site a:hover { color: var(--fots-sunrise-deep); }
body.fots-site :focus-visible { outline: 2px solid var(--fots-sunrise-deep); outline-offset: 3px; }
body.fots-site h1, body.fots-site h2, body.fots-site h3, body.fots-site h4 {
  font-family: var(--fots-serif);
  font-weight: 500;
  color: var(--fots-green-900);
  letter-spacing: -0.015em;
}
body.fots-site em { font-style: italic; }

.fots-wrap {
  width: 100%;
  max-width: var(--fots-page);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
@media (max-width: 575.98px) { .fots-wrap { padding: 0 16px; } }

.fots-skip {
  position: absolute; left: -9999px; top: 8px; z-index: 1100;
  background: var(--fots-green-900); color: var(--fots-linen) !important;
  padding: 8px 14px; border-radius: var(--fots-radius);
}
.fots-skip:focus { left: 8px; }

/* ---------- Type ---------- */
.fots-eyebrow {
  margin: 0;
  font-family: var(--fots-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fots-sunrise-deep);
}
.fots-eyebrow-inverse { color: var(--fots-sunrise); font-size: 11px; margin-bottom: 10px; }
.fots-mono { font-family: var(--fots-mono); font-size: 0.82em; }

body.fots-site .fots-display {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
body.fots-site .fots-h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
body.fots-site .fots-h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  max-width: 20ch;
  text-wrap: balance;
}
body.fots-site .fots-h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.fots-display em, .fots-h1 em, .fots-h2 em, .fots-h3 em,
.fots-donate-title em, .fots-job-title em { color: var(--fots-sunrise-deep); }
.fots-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--fots-ink-700);
  text-wrap: pretty;
}
.fots-quote, body.fots-site blockquote.fots-quote {
  margin: 0;
  font-family: var(--fots-serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25;
  color: var(--fots-green-900);
}
body.fots-site blockquote.fots-quote { border: 0; background: none; padding: 0; border-radius: 0; }
.fots-quote span { color: var(--fots-sunrise-deep); }

/* ---------- Buttons ---------- */
body.fots-site .btn {
  --bs-btn-font-family: var(--fots-sans);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 15px;
  --bs-btn-padding-x: 20px;
  --bs-btn-padding-y: 11px;
  --bs-btn-border-radius: var(--fots-radius-sm);
  --bs-btn-border-width: 1px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
/* Links are green site-wide; a link styled as a button keeps its own colors. */
body.fots-site a.btn { color: var(--bs-btn-color); text-decoration: none; }
body.fots-site a.btn:hover, body.fots-site a.btn:focus-visible { color: var(--bs-btn-hover-color); }
body.fots-site a.btn:active { color: var(--bs-btn-active-color, var(--bs-btn-hover-color)); }
body.fots-site .fots-btn-sm { --bs-btn-padding-x: 14px; --bs-btn-padding-y: 7px; --bs-btn-font-size: 14px; }
body.fots-site .fots-btn-lg { --bs-btn-padding-x: 26px; --bs-btn-padding-y: 15px; --bs-btn-font-size: 16px; }
body.fots-site .fots-btn-block { display: block; width: 100%; text-align: center; }

/* Sunrise: Donate only, once per screen. Never white text on Sunrise. */
body.fots-site .fots-btn-donate {
  --bs-btn-bg: var(--fots-sunrise);
  --bs-btn-border-color: var(--fots-sunrise);
  --bs-btn-color: var(--fots-green-950);
  --bs-btn-hover-bg: #B57A20;
  --bs-btn-hover-border-color: #B57A20;
  --bs-btn-hover-color: var(--fots-green-950);
  --bs-btn-active-bg: #A06C1B;
  --bs-btn-active-border-color: #A06C1B;
  --bs-btn-active-color: var(--fots-green-950);
}
/* Green: the main action. */
body.fots-site .fots-btn-primary {
  --bs-btn-bg: var(--fots-green-700);
  --bs-btn-border-color: var(--fots-green-700);
  --bs-btn-color: var(--fots-paper);
  --bs-btn-hover-bg: var(--fots-green-800);
  --bs-btn-hover-border-color: var(--fots-green-800);
  --bs-btn-hover-color: var(--fots-paper);
  --bs-btn-active-bg: var(--fots-green-900);
  --bs-btn-active-border-color: var(--fots-green-900);
  --bs-btn-active-color: var(--fots-paper);
}
body.fots-site .fots-btn-outline {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--fots-green-700);
  --bs-btn-color: var(--fots-green-700);
  --bs-btn-hover-bg: rgba(30, 74, 47, .07);
  --bs-btn-hover-border-color: var(--fots-green-800);
  --bs-btn-hover-color: var(--fots-green-800);
}
/* Linen on green panels. */
body.fots-site .fots-btn-light {
  --bs-btn-bg: var(--fots-linen);
  --bs-btn-border-color: var(--fots-linen);
  --bs-btn-color: var(--fots-green-900);
  --bs-btn-hover-bg: var(--fots-white);
  --bs-btn-hover-border-color: var(--fots-white);
  --bs-btn-hover-color: var(--fots-green-900);
}
body.fots-site .fots-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fots-green-700);
  text-decoration: none;
}
body.fots-site .fots-link-arrow::after {
  content: "→";
  transition: transform .15s ease;
}
body.fots-site .fots-link-arrow:hover::after { transform: translateX(3px); }
body.fots-site .fots-link-arrow.fots-btn-lg { font-size: 16px; padding: 15px 8px; }
.fots-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }

/* ---------- Nav ---------- */
.fots-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 248, 242, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fots-line);
}
.fots-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
body.fots-site .fots-wordmark {
  font-family: var(--fots-serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fots-green-900);
  text-decoration: none;
  white-space: nowrap;
}
body.fots-site .fots-wordmark em { color: var(--fots-sunrise-deep); }
body.fots-site .fots-wordmark-inverse { color: var(--fots-linen); font-size: 26px; }
body.fots-site .fots-wordmark-inverse em { color: var(--fots-sunrise); }
.fots-nav-links { display: flex; align-items: center; gap: 28px; }
body.fots-site .fots-nav-links > a:not(.btn) {
  position: relative;
  font-size: 15px;
  color: var(--fots-ink-700);
  text-decoration: none;
  padding: 6px 0;
}
body.fots-site .fots-nav-links > a:not(.btn):hover { color: var(--fots-green-900); }
body.fots-site .fots-nav-links > a.is-active { color: var(--fots-green-900); font-weight: 600; }
body.fots-site .fots-nav-links > a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--fots-sunrise);
}
.fots-mobile-menu { display: none; position: relative; }
.fots-mobile-menu summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--fots-line); border-radius: var(--fots-radius);
}
.fots-mobile-menu summary::-webkit-details-marker { display: none; }
.fots-mobile-menu summary span { display: block; width: 18px; height: 2px; background: var(--fots-green-900); }
.fots-mobile-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(280px, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px; background: var(--fots-paper);
  border: 1px solid var(--fots-line); border-radius: var(--fots-radius-lg);
  box-shadow: 0 12px 32px rgba(16, 40, 27, .12);
}
body.fots-site .fots-mobile-menu nav a:not(.btn) {
  padding: 10px 8px; font-size: 16px; color: var(--fots-green-900); text-decoration: none;
  border-bottom: 1px solid var(--fots-line);
}
.fots-mobile-menu nav .btn { margin-top: 10px; }
@media (max-width: 899.98px) {
  .fots-nav-links { display: none; }
  .fots-mobile-menu { display: block; }
}

/* ---------- Sections ---------- */
.fots-section { padding: var(--fots-section) 0; }
.fots-section-tight { padding: var(--fots-section-tight) 0; }
.fots-section + .fots-section-tight, .fots-section-tight + .fots-section { padding-top: 0; }
.fots-band-paper { background: var(--fots-paper); border-top: 1px solid var(--fots-line); border-bottom: 1px solid var(--fots-line); }
.fots-section.fots-band-paper { padding-top: var(--fots-section); }
.fots-band-towel { background: var(--fots-towel); }
.fots-band-green { background: var(--fots-green-800); color: var(--fots-linen); }
.fots-section.fots-band-green { padding-top: var(--fots-section); }
body.fots-site .fots-band-green h2, body.fots-site .fots-band-green h3 { color: var(--fots-linen); }
.fots-band-green .fots-h2 em { color: var(--fots-sunrise); }
.fots-band-green .fots-lede { color: var(--fots-green-200); }
.fots-band-green .fots-eyebrow { color: var(--fots-sunrise); }
body.fots-site .fots-band-green .fots-link-arrow { color: var(--fots-linen); }
@media (max-width: 767.98px) {
  :root { --fots-section: 64px; --fots-section-tight: 48px; }
}

.fots-heading { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.fots-split > .fots-heading { margin-bottom: 0; }
.fots-grid { display: grid; gap: 16px; }
.fots-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fots-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fots-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
  align-items: start;
}
.fots-split-center { align-items: center; }

/* ---------- Hero ---------- */
.fots-hero { padding: 72px 0 var(--fots-section-tight); }
.fots-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
}
.fots-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.fots-hero-copy .fots-actions { margin-top: 8px; }
@media (max-width: 899.98px) {
  .fots-hero { padding-top: 48px; }
  .fots-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* A labelled image slot: honest about missing photography. */
.fots-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fots-photo img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--fots-radius-lg);
  background: var(--fots-towel);
}
.fots-photo-wide img { aspect-ratio: 3 / 2; }
.fots-photo figcaption {
  font-family: var(--fots-mono); font-size: 11px; line-height: 1.5;
  letter-spacing: .04em; color: var(--fots-ink-muted);
}
@media (max-width: 899.98px) { .fots-photo-portrait img { aspect-ratio: 4 / 3; } }

/* ---------- Cards ---------- */
.fots-card {
  background: var(--fots-white);
  border: 1px solid var(--fots-line);
  border-radius: var(--fots-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fots-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fots-ink-muted); }
.fots-card .fots-eyebrow { font-size: 11px; }
.fots-card-statement {
  font-family: var(--fots-serif); font-size: 22px !important; line-height: 1.3 !important;
  color: var(--fots-green-900) !important;
}
.fots-card-green { background: var(--fots-green-800); border-color: var(--fots-green-800); }
.fots-card-green p { color: var(--fots-linen); }
.fots-stat {
  font-family: var(--fots-serif) !important; font-weight: 500;
  font-size: 56px !important; line-height: 1 !important; color: var(--fots-sunrise) !important;
}
.fots-card .fots-actions { margin-top: auto; padding-top: 8px; }

.fots-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--fots-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: #E3EFE7; color: var(--fots-green-700);
}
.fots-badge-limited { background: var(--fots-towel); color: var(--fots-limited); }
.fots-badge-limited::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Lucide glyphs as masks, so the editor never strips them. */
.fots-icon {
  display: inline-block; width: 26px; height: 26px; flex: none;
  background-color: var(--fots-sunrise-deep);
  -webkit-mask: var(--fots-icon) center / contain no-repeat;
  mask: var(--fots-icon) center / contain no-repeat;
}
.fots-icon-droplets { --fots-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z'/%3E%3Cpath d='M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97'/%3E%3C/svg%3E"); }
.fots-icon-shirt { --fots-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E"); }
.fots-icon-package { --fots-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"); }
.fots-icon-file { --fots-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }

.fots-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fots-checklist li {
  position: relative; padding-left: 28px;
  font-size: 15px; line-height: 1.55; color: var(--fots-ink-700);
}
.fots-checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  background: var(--fots-green-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Events (dfc-widget:event_list) ---------- */
.fots-events .card {
  border: 1px solid var(--fots-line) !important;
  border-radius: var(--fots-radius-lg) !important;
  box-shadow: none !important;
  background: var(--fots-white);
}
.fots-events .card-title, .fots-events h3, .fots-events h4, .fots-events h5 {
  font-family: var(--fots-serif); color: var(--fots-green-900) !important;
}
.fots-events .card-text, .fots-events small, .fots-events .text-muted, .fots-events time {
  font-family: var(--fots-mono); font-size: 13px; color: var(--fots-ink-muted) !important;
}
.fots-events a { color: var(--fots-green-700); }
.fots-events { display: flex; flex-direction: column; gap: 16px; }
/* The fallback card shows only when the calendar widget rendered nothing. */
.fots-events > *:not(.fots-events-empty) ~ .fots-events-empty { display: none; }

/* ---------- Donate module ---------- */
.fots-donate {
  background: var(--fots-green-900);
  color: var(--fots-linen);
  border-radius: var(--fots-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
body.fots-site .fots-donate-title {
  margin: 0; color: var(--fots-linen); font-size: 28px; line-height: 1.15;
}
body.fots-site .fots-donate-title em { color: var(--fots-sunrise); }
.fots-donate p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fots-green-200); }
.fots-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
body.fots-site .fots-amount {
  min-width: 72px; padding: 11px 16px; text-align: center;
  font-family: var(--fots-mono); font-size: 15px; font-weight: 500;
  color: var(--fots-linen); text-decoration: none;
  border: 1px solid rgba(247, 242, 232, .35); border-radius: var(--fots-radius-sm);
}
body.fots-site .fots-amount:hover { border-color: var(--fots-linen); color: var(--fots-linen); }
body.fots-site .fots-amount.is-selected { background: var(--fots-linen); color: var(--fots-green-900); border-color: var(--fots-linen); }

/* ---------- Story ---------- */
.fots-story {
  background: var(--fots-towel);
  border-radius: var(--fots-radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  align-items: center;
}
.fots-story p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--fots-ink-700); }

/* ---------- Verse ---------- */
.fots-verse {
  justify-self: center;
  width: min(320px, 80vw); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fots-sunrise);
  color: var(--fots-green-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 44px; box-sizing: border-box; text-align: center;
}
.fots-verse p { margin: 0; }
.fots-verse-text { font-family: var(--fots-serif); font-style: italic; font-size: 23px; line-height: 1.28; }
.fots-band-green .fots-verse .fots-eyebrow, .fots-verse .fots-eyebrow { color: var(--fots-green-950); font-size: 11px; }

/* ---------- Interior ---------- */
.fots-title-band {
  background: var(--fots-paper);
  border-bottom: 1px solid var(--fots-line);
  padding: 48px 0 56px;
}
.fots-title-band .fots-wrap { display: flex; flex-direction: column; gap: 16px; }
.fots-title-band .fots-lede { margin-top: 4px; }
.fots-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--fots-ink-muted); margin-bottom: 8px; }
body.fots-site .fots-breadcrumb a { color: var(--fots-ink-muted); text-decoration: none; }
body.fots-site .fots-breadcrumb a:hover { color: var(--fots-green-900); text-decoration: underline; }

.fots-interior-main { padding: 56px 0 var(--fots-section); }
.fots-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, var(--fots-prose)) minmax(260px, 340px);
  gap: 64px;
  justify-content: space-between;
  align-items: start;
}
@media (max-width: 991.98px) { .fots-with-sidebar { grid-template-columns: 1fr; gap: 48px; } }
.fots-sidebar { display: flex; flex-direction: column; gap: 24px; }
.fots-sidebar > * {
  background: var(--fots-white); border: 1px solid var(--fots-line);
  border-radius: var(--fots-radius-lg); padding: 24px;
}
.fots-sidebar > *:empty { display: none; }
.fots-primary-image {
  display: block; width: 100%; max-width: var(--fots-prose); height: auto;
  border-radius: var(--fots-radius-lg); margin-bottom: 32px;
}

/* Prose: what editors type into TinyMCE. */
.fots-prose { max-width: var(--fots-prose); }
.fots-prose > :first-child { margin-top: 0; }
/* No sidebar: built sections (grids, cards) get the whole page width, while
   text typed straight into the editor keeps the 720px reading column. */
.fots-full-width .fots-prose { max-width: none; }
.fots-full-width .fots-prose > :is(p, ul, ol, h1, h2, h3, h4, blockquote, table, hr) { max-width: var(--fots-prose); }
/* A pasted Bootstrap .container would inset content from the title band. */
.fots-full-width .fots-prose > .container { max-width: none; padding-left: 0; padding-right: 0; }
.fots-prose p, .fots-prose li { font-size: 17px; line-height: 1.65; color: var(--fots-ink); max-width: 66ch; }
.fots-prose p { margin: 0 0 1.1em; }
body.fots-site .fots-prose h2 { font-size: 34px; line-height: 1.12; margin: 1.6em 0 .5em; }
body.fots-site .fots-prose h3 { font-size: 26px; line-height: 1.2; margin: 1.5em 0 .45em; }
body.fots-site .fots-prose h4 { font-family: var(--fots-sans); font-weight: 600; font-size: 18px; letter-spacing: 0; margin: 1.4em 0 .4em; }
.fots-prose h2 em, .fots-prose h3 em { color: var(--fots-sunrise-deep); }
body.fots-site .fots-prose ul, body.fots-site .fots-prose ol {
  padding: 0 0 0 1.3em; margin: 0 0 1.2em;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.fots-prose li { margin-bottom: .35em; }
.fots-prose li::marker { color: var(--fots-sunrise-deep); }
.fots-prose blockquote {
  margin: 2em 0; padding: 0 0 0 24px;
  border-left: 3px solid var(--fots-sunrise);
  background: none; border-radius: 0;
  font-family: var(--fots-serif); font-style: italic; font-size: 26px; line-height: 1.32;
  color: var(--fots-green-800);
}
.fots-prose blockquote p { font-size: inherit; line-height: inherit; color: inherit; }
.fots-prose hr { border: 0; border-top: 1px solid var(--fots-line-strong); margin: 2.5em 0; opacity: 1; }
.fots-prose img { max-width: 100%; height: auto; border-radius: var(--fots-radius-lg); }
.fots-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.fots-prose th {
  text-align: left; font-family: var(--fots-mono); font-size: 11px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fots-ink-muted);
  border-bottom: 1px solid var(--fots-line-strong); padding: 10px 12px 10px 0;
}
.fots-prose td { border-bottom: 1px solid var(--fots-line); padding: 12px 12px 12px 0; vertical-align: top; }
.fots-prose a { font-weight: 600; }

/* Digital Faith screens (news, events, forms) inside FOTS chrome. */
body.fots-site .fots-interior-main .card {
  border: 1px solid var(--fots-line);
  border-radius: var(--fots-radius-lg);
  box-shadow: none;
}
body.fots-site .fots-interior-main .btn-primary {
  --bs-btn-bg: var(--fots-green-700); --bs-btn-border-color: var(--fots-green-700);
  --bs-btn-hover-bg: var(--fots-green-800); --bs-btn-hover-border-color: var(--fots-green-800);
  --bs-btn-color: var(--fots-paper); --bs-btn-hover-color: var(--fots-paper);
}
body.fots-site .form-control, body.fots-site .form-select {
  border-color: var(--fots-line-strong);
  border-radius: var(--fots-radius-sm);
  font-family: var(--fots-sans);
}
body.fots-site .form-control:focus, body.fots-site .form-select:focus {
  border-color: var(--fots-green-700);
  box-shadow: 0 0 0 3px rgba(30, 74, 47, .15);
}
body.fots-site .form-label { font-weight: 600; font-size: 14px; color: var(--fots-green-900); }

/* Three jobs: find a shower day, volunteer, give. */
.fots-jobs { padding: 0 0 var(--fots-section); }
.fots-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
body.fots-site .fots-job {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; text-decoration: none;
  background: var(--fots-white);
  border: 1px solid var(--fots-line);
  border-radius: var(--fots-radius-lg);
  transition: border-color .15s ease, transform .15s ease;
}
body.fots-site .fots-job:hover { border-color: var(--fots-green-700); transform: translateY(-2px); }
.fots-job .fots-eyebrow { font-size: 11px; }
.fots-job-title { font-family: var(--fots-serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--fots-green-900); }
.fots-job .fots-link-arrow { margin-top: auto; }
body.fots-site .fots-job-give { background: var(--fots-towel); border-color: var(--fots-towel); }

/* ---------- Footer ---------- */
.fots-footer {
  background: var(--fots-green-900);
  color: var(--fots-linen);
  padding: 64px 0 32px;
  font-size: 14px;
  line-height: 1.7;
}
.fots-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
}
.fots-footer p, .fots-footer address { margin: 0; font-style: normal; }
.fots-footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fots-footer-brand p { color: var(--fots-green-200); }
.fots-footer-brand .btn { margin-top: 6px; }
body.fots-site .fots-footer a:not(.btn):not(.fots-wordmark) { color: var(--fots-linen); text-decoration: none; }
body.fots-site .fots-footer a:not(.btn):not(.fots-wordmark):hover { color: var(--fots-sunrise); text-decoration: underline; }
.fots-footer-social { margin-bottom: 4px !important; }
.fots-footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(247, 242, 232, .22);
  padding-top: 18px;
  font-size: 12px;
  color: var(--fots-green-200);
}

@media (prefers-reduced-motion: reduce) {
  body.fots-site * { transition: none !important; }
}
