/*
 * Banner of Goodwin — shared styles for the About, Programs, Events, and
 * Funding/Support pages, plus the site navigation and footer used on Home.
 * Loaded by mailpit-local-smtp.php on those pages only.
 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

body.bof-inner,
body.home {
  --bof-green: #176247;
  --bof-green-dark: #104c36;
  --bof-ink: #202b27;
  --bof-muted: #5f6d67;
  --bof-paper: #faf7f1;
  --bof-mint: #eef4f1;
  --bof-sand: #f6efe4;
  --bof-gold: #f9e7c2;
  --bof-line: rgba(32, 43, 39, 0.09);
  margin: 0;
  background: var(--bof-paper);
  color: var(--bof-ink);
  font-family: "Manrope", sans-serif;
}

/* Hide Kadence chrome so the page owns its full layout */
.bof-inner #masthead,
.bof-inner .entry-hero.page-hero-section,
.bof-inner .entry-header,
.bof-inner #colophon {
  display: none;
}

.bof-inner #inner-wrap,
.bof-inner .content-container.site-container,
.bof-inner #primary,
.bof-inner #main,
.bof-inner article,
.bof-inner .entry-content-wrap,
.bof-inner .entry-content,
.bof-inner .single-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bof-page {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  font-size: 15px;
  line-height: 1.7;
}

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

.bof-page img { display: block; max-width: 100%; }
.bof-page a { color: inherit; }

.bof-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Header + nav (also used on Home) ---------- */
.bof-page .bof-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px max(16px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--bof-line);
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(10px);
}

.bof-page .bof-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bof-ink);
  text-decoration: none;
}

.bof-page .bof-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #22795a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.bof-page .bof-brand-name,
.bof-page .bof-brand-subtitle { display: block; }
.bof-page .bof-brand-name { font-size: 13px; font-weight: 800; line-height: 1.3; }
.bof-page .bof-brand-subtitle {
  margin-top: 2px;
  color: var(--bof-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bof-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto 0 0;
  padding-left: 32px;
}

.bof-nav a {
  position: relative;
  color: var(--bof-muted, #63716b);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bof-nav a:hover,
.bof-nav a[aria-current="page"] { color: var(--bof-green, #176247); }

.bof-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.bof-page .bof-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bof-green);
  box-shadow: 0 9px 20px rgba(23, 98, 71, 0.15);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.bof-page .bof-button:hover { transform: translateY(-1px); background: var(--bof-green-dark); color: #fff; }
.bof-page .bof-button-secondary { border-color: #dfe6e1; background: #fff; box-shadow: none; color: #275b47; }
.bof-page .bof-button-secondary:hover { background: #f0f5f1; color: var(--bof-green-dark); }
.bof-page .bof-button-light { background: #fff; color: var(--bof-green-dark); box-shadow: none; }
.bof-page .bof-button-light:hover { background: var(--bof-sand); color: var(--bof-green-dark); }

/* ---------- Typography ---------- */
.bof-page .bof-eyebrow {
  margin: 0 0 12px;
  color: #276f54;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bof-page h1,
.bof-page h2,
.bof-page h3 {
  margin: 0 0 12px;
  color: var(--bof-ink);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.bof-page h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.055em; }
.bof-page h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.14; }
.bof-page h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
.bof-page p { margin: 0 0 14px; color: var(--bof-muted); }
.bof-page .bof-lead { max-width: 600px; font-size: 16px; line-height: 1.75; }

.bof-page .bof-chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bof-sand);
  color: var(--bof-green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bof-page .bof-chip-gold { background: var(--bof-gold); color: #765716; }

/* ---------- Page hero ---------- */
.bof-page-hero {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #fffaf2 0%, var(--bof-paper) 100%);
}

.bof-page-hero .bof-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.bof-hero-photo {
  position: relative;
  margin: 0;
}

.bof-hero-photo img {
  width: 100%;
  height: 440px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(48, 47, 37, 0.12);
}

.bof-hero-photo .bof-float {
  position: absolute;
  bottom: 22px;
  left: -22px;
  width: 210px;
  padding: 16px;
  border: 1px solid rgba(32, 43, 39, 0.06);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 15px 38px rgba(28, 38, 32, 0.14);
}

.bof-float strong { display: block; color: var(--bof-ink); font-size: 14px; line-height: 1.4; }
.bof-float span:last-child { display: block; margin-top: 2px; color: var(--bof-muted); font-size: 12px; line-height: 1.45; }

.bof-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Sections ---------- */
.bof-section { padding: 88px 0; }
.bof-section-alt { background: var(--bof-mint); }
.bof-section-sand { background: var(--bof-sand); }

.bof-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.bof-section-head > div { max-width: 640px; }
.bof-section-head p:last-child { margin-bottom: 0; }

.bof-center { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.bof-center p { margin-right: auto; margin-left: auto; }

.bof-grid { display: grid; gap: 24px; }
.bof-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bof-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bof-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Split: image + copy */
.bof-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.bof-split-reverse > figure { order: 2; }

.bof-split figure { margin: 0; }
.bof-split img {
  width: 100%;
  height: 460px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(48, 47, 37, 0.1);
}

.bof-checks { margin: 18px 0 0; padding: 0; list-style: none; }
.bof-checks li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
  color: var(--bof-ink);
  font-weight: 600;
}

.bof-checks li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dff2e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23176247' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Beat the theme's content-list indentation */
.bof-page ul.bof-checks,
.bof-page ul.bof-card-meta,
.bof-footer ul { padding-left: 0; margin-left: 0; }
.bof-page ul.bof-checks li,
.bof-page ul.bof-card-meta li { margin-left: 0; }

/* Cards */
.bof-card {
  overflow: hidden;
  border: 1px solid var(--bof-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 31, 24, 0.05);
}

.bof-card > img { width: 100%; height: 230px; object-fit: cover; }
.bof-card-body { padding: 22px 22px 24px; }
.bof-card-body p:last-child { margin-bottom: 0; }

.bof-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--bof-line);
  list-style: none;
  color: var(--bof-green);
  font-size: 13px;
  font-weight: 700;
}

.bof-tile {
  padding: 26px 22px;
  border: 1px solid var(--bof-line);
  border-radius: 20px;
  background: #fff;
}

.bof-tile p:last-child { margin-bottom: 0; }

.bof-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 15px;
  background: var(--bof-sand);
  font-size: 24px;
}

.bof-stat {
  padding: 26px 20px;
  border: 1px solid var(--bof-line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.bof-stat strong { display: block; color: var(--bof-ink); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.bof-stat span { color: var(--bof-muted); font-size: 14px; }

/* Steps */
.bof-steps { counter-reset: step; }
.bof-step { position: relative; padding-top: 54px; }
.bof-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--bof-green);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* People */
.bof-person { text-align: center; }
.bof-avatar {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22795a, #104c36);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.bof-person h3 { margin-bottom: 2px; font-size: 1.1rem; }
.bof-person .bof-role { margin-bottom: 10px; color: var(--bof-green); font-size: 13px; font-weight: 700; }

/* Programs: detailed rows */
.bof-program + .bof-program { margin-top: 88px; }

/* Events */
.bof-event {
  display: grid;
  grid-template-columns: 96px 260px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--bof-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 31, 24, 0.05);
}

.bof-event + .bof-event { margin-top: 20px; }

.bof-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  background: var(--bof-sand);
  color: var(--bof-green-dark);
  font-weight: 800;
  text-align: center;
}

.bof-date span { font-size: 34px; letter-spacing: -0.04em; line-height: 1.1; }
.bof-date small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.bof-event > img { width: 100%; height: 100%; min-height: 190px; border-radius: 16px; object-fit: cover; }
.bof-event-body { padding: 6px 6px 6px 0; }
.bof-event-body h3 { font-size: 1.45rem; }
.bof-event-body .bof-card-meta { margin-top: 10px; }

.bof-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  border-radius: 26px;
  background: var(--bof-green-dark);
  box-shadow: 0 22px 55px rgba(16, 76, 54, 0.22);
}

.bof-featured img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.bof-featured-body { padding: 44px 40px; color: #e3efe9; }
.bof-featured-body h2 { color: #fff; }
.bof-featured-body p { color: #c9ddd3; }
.bof-featured .bof-chip { background: rgba(255, 255, 255, 0.14); color: #fff; }
.bof-featured .bof-card-meta { border-color: rgba(255, 255, 255, 0.16); color: #f9e7c2; }

/* Gallery */
.bof-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 14px;
}

.bof-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.bof-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.bof-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bof-gallery figure:hover img { transform: scale(1.04); }
.bof-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 25, 19, 0.75));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Donate */
.bof-amount {
  padding: 24px 22px;
  border: 1px solid var(--bof-line);
  border-radius: 20px;
  background: #fff;
}

.bof-amount strong { display: block; margin-bottom: 6px; color: var(--bof-green); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; }
.bof-amount p { margin: 0; }

.bof-notice {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #e7b75d;
  border-radius: 0 12px 12px 0;
  background: #fff6e2;
  color: #5c4612;
  font-size: 14px;
}

/* CTA band */
.bof-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #176247, #0f3f2d);
  color: #fff;
}

.bof-cta .bof-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.bof-cta h2 { max-width: 680px; margin: 0; color: #fff; }
.bof-cta .bof-eyebrow { color: #f9e7c2; }
.bof-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.bof-sample-note { margin-top: 10px; color: #68756e; font-size: 11px; }

/* ---------- Catalog & events (dynamic content) ---------- */
.bof-photo-placeholder { width: 100%; height: 230px; background: linear-gradient(135deg, #e5eee9, #f6efe4); }

.bof-card-link { position: relative; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bof-card-link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(17, 31, 24, 0.1); }
.bof-card-link .bof-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.bof-card-link .bof-card-meta { width: 100%; margin-top: auto; }
.bof-page .bof-card-link h3 a,
.bof-page .bof-event h3 a,
.bof-page .bof-past-item h3 a,
.bof-float strong a { color: inherit; text-decoration: none; }
.bof-page .bof-card-link h3 a::after,
.bof-page .bof-event h3 a::after,
.bof-page .bof-past-item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bof-page .bof-card-link h3 a:focus-visible,
.bof-page .bof-event h3 a:focus-visible { outline: none; }
.bof-page .bof-card-link:focus-within,
.bof-page .bof-event:focus-within { outline: 3px solid #22795a; outline-offset: 3px; }
.bof-more { margin-top: 14px; color: var(--bof-green); font-size: 13px; font-weight: 800; }
.bof-card-link p { margin-bottom: 0; }

.bof-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.bof-page .bof-filter a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border: 1px solid #dfe6e1; border-radius: 999px; background: #fff;
  color: var(--bof-ink); font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.bof-page .bof-filter a span { padding: 1px 8px; border-radius: 999px; background: var(--bof-mint); color: var(--bof-green); font-size: 12px; }
.bof-page .bof-filter a:hover { border-color: var(--bof-green); }
.bof-page .bof-filter a[aria-current] { border-color: var(--bof-green); background: var(--bof-green); color: #fff; }
.bof-page .bof-filter a[aria-current] span { background: rgba(255, 255, 255, 0.18); color: #fff; }

.bof-event { position: relative; transition: box-shadow 0.2s ease; }
.bof-event:hover { box-shadow: 0 24px 50px rgba(17, 31, 24, 0.1); }
.bof-event > .bof-photo-placeholder { height: 100%; min-height: 190px; border-radius: 16px; }
.bof-event-list { display: grid; gap: 20px; }
.bof-event + .bof-event { margin-top: 0; }

.bof-empty { padding: 34px 24px; border: 1px dashed #cfdad4; border-radius: 20px; background: #fff; text-align: center; }
.bof-empty p { margin: 0; }

.bof-section-tight { padding-top: 0; }
.bof-past-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--bof-line); border-radius: 18px; background: #fff; }
.bof-past-item img, .bof-past-item .bof-photo-placeholder { width: 96px; height: 80px; min-height: 0; border-radius: 12px; object-fit: cover; }
.bof-past-item .bof-eyebrow { margin-bottom: 4px; }
.bof-past-item h3 { margin: 0; font-size: 1.05rem; }

.bof-float strong a:hover { color: var(--bof-green); }
.bof-hero-photo .bof-float-date { right: 22px; left: auto; bottom: auto; top: 22px; width: auto; padding: 12px 18px; text-align: center; color: var(--bof-green-dark); font-weight: 800; }
.bof-float.bof-float-date span:first-child { display: block; font-size: 34px; letter-spacing: -0.04em; line-height: 1.1; }
.bof-float-date small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.bof-page .bof-back { display: inline-block; margin-bottom: 18px; color: var(--bof-green); font-size: 14px; font-weight: 800; text-decoration: none; }
.bof-page .bof-back:hover { text-decoration: underline; }
.bof-page ul.bof-hero-meta { margin: 18px 0 0; padding-top: 0; border-top: 0; font-size: 15px; }

.bof-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 56px; align-items: start; }
.bof-prose { max-width: 680px; color: var(--bof-muted); font-size: 16px; }
.bof-page .bof-prose h2 { margin: 34px 0 12px; font-size: 1.6rem; }
.bof-page .bof-prose h2:first-child { margin-top: 0; }
.bof-page .bof-prose h3 { margin: 26px 0 10px; }
.bof-page .bof-prose ul { margin: 0 0 18px; padding-left: 22px; }
.bof-page .bof-prose li { margin-bottom: 8px; }
.bof-page .bof-prose li::marker { color: var(--bof-green); }
.bof-page .bof-prose a { color: var(--bof-green); }

.bof-glance { position: sticky; top: 96px; padding: 26px 24px; border: 1px solid var(--bof-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(17, 31, 24, 0.05); }
.bof-glance h3 { margin-bottom: 14px; }
.bof-glance dl { margin: 0 0 20px; }
.bof-glance dl > div { padding: 12px 0; border-top: 1px solid var(--bof-line); }
.bof-glance dt { color: var(--bof-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.bof-glance dd { margin: 2px 0 0; color: var(--bof-ink); font-weight: 700; }
.bof-glance .bof-button { width: 100%; }

/* Hide theme extras on detail pages */
.bof-inner .post-thumbnail,
.bof-inner .article-post-thumbnail,
.bof-inner .entry-footer,
.bof-inner .post-navigation,
.bof-inner .entry-related,
.bof-inner .comments-area { display: none; }

/* Event cards (Home) */
.bof-event-card-media { position: relative; }
.bof-event-card-media img,
.bof-event-card-media .bof-photo-placeholder { width: 100%; height: 210px; object-fit: cover; }
.bof-event-card-date {
  position: absolute; top: 14px; left: 14px; min-width: 62px; padding: 8px 10px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 24px rgba(16, 40, 30, 0.16);
  color: var(--bof-green-dark); font-weight: 800; text-align: center; line-height: 1.1;
}
.bof-event-card-date span { display: block; font-size: 24px; letter-spacing: -0.04em; }
.bof-event-card-date small { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Home: sections below the hero sit inside the Home wrapper */
.bof-home .bof-page { left: 0; width: auto; margin-left: 0; }

/* ---------- Footer (also used on Home) ---------- */
.bof-footer {
  padding: 56px 0 0;
  background: #0f1f1a;
  color: #dfeae6;
  font-size: 14px;
  line-height: 1.7;
}

.bof-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.bof-footer .bof-brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.bof-footer .bof-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #22795a; color: #fff; font-weight: 800; }
.bof-footer .bof-brand-name { display: block; color: #fff; font-size: 13px; font-weight: 800; }
.bof-footer .bof-brand-subtitle { display: block; color: #9fb5ab; font-size: 9px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.bof-footer p { max-width: 340px; margin: 16px 0 0; color: #a9bdb4; }
.bof-footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 800; }
.bof-footer ul { margin: 0; padding: 0; list-style: none; }
.bof-footer li { margin-bottom: 8px; color: #a9bdb4; }
.bof-footer a { color: #a9bdb4; text-decoration: none; }
.bof-footer a:hover { color: #fff; }
.bof-footer-bottom { margin-top: 36px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.6); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bof-nav { gap: 18px; padding-left: 12px; }
  .bof-page-hero .bof-wrap,
  .bof-split,
  .bof-featured { grid-template-columns: 1fr; gap: 36px; }
  .bof-split-reverse > figure { order: 0; }
  .bof-featured { gap: 0; }
  .bof-grid-3,
  .bof-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bof-event { grid-template-columns: 86px minmax(0, 1fr); }
  .bof-event > img { grid-column: 1 / -1; grid-row: 1; height: 220px; }
  .bof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bof-section-head,
  .bof-cta .bof-wrap { display: block; }
  .bof-section-head .bof-button,
  .bof-cta-actions { margin-top: 20px; }
  .bof-hero-photo .bof-float { left: 14px; }
  .bof-hero-photo .bof-float-date { left: auto; }
  .bof-detail { grid-template-columns: 1fr; gap: 36px; }
  .bof-glance { position: static; }
  .bof-event > .bof-photo-placeholder { grid-column: 1 / -1; grid-row: 1; height: 220px; }
}

@media (max-width: 760px) {
  .bof-page .bof-header,
  .home .bof-home .bof-header { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 0; }
  .bof-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 6px 0 12px;
    overflow-x: auto;
    gap: 22px;
    scrollbar-width: none;
  }
  .bof-nav::-webkit-scrollbar { display: none; }
  .bof-nav a { flex: none; font-size: 13px; }
  .bof-nav a[aria-current="page"]::after { bottom: -4px; }
  .bof-page .bof-header > .bof-button,
  .home .bof-home .bof-header > .bof-button { min-height: 40px; padding: 0 16px; font-size: 12px; }
}

@media (max-width: 640px) {
  .bof-section { padding: 64px 0; }
  .bof-page-hero { padding: 40px 0 56px; }
  .bof-grid-2,
  .bof-grid-3,
  .bof-grid-4,
  .bof-footer-grid { grid-template-columns: 1fr; }
  .bof-hero-photo img,
  .bof-split img { height: 320px; }
  .bof-event { grid-template-columns: 1fr; }
  .bof-date { flex-direction: row; gap: 8px; align-items: baseline; justify-content: flex-start; padding: 10px 14px; }
  .bof-date span { font-size: 22px; }
  .bof-featured-body { padding: 30px 22px; }
  .bof-featured img { min-height: 240px; }
  .bof-gallery { grid-auto-rows: 160px; }
  .bof-hero-actions .bof-button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bof-page *,
  .bof-page *::before,
  .bof-page *::after { transition-duration: 0.01ms !important; }
}

/* Filtered-out catalog cards */
.bof-page [hidden] { display: none !important; }
