/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --color-green:         #1f4d28;
  --color-fern-green:    #41833f;
  --color-sangria:       #810c0f;
  --color-saffron:       #ffba57;
  --color-white:         #ffffff;
  --color-cosmic-latte:  #fff6ea;
  --color-eerie-black:   #1a1a1a;

  --font-serif: "Source Serif 4", serif;
  --font-sans:  "Source Sans 3", sans-serif;

  /* Mobile-first defaults (≤ 768px) */
  --header-height:        96px;
  --header-padding-x:     24px;
  --header-font-size:   1.75rem;  /* 28px */
  --header-line-height:  1.75rem; /* 28px */

  --nav-height:           50px;
}

@media (min-width: 769px) {
  :root {
    --header-height:       112px;
    --header-padding-x:     80px;
    --header-font-size:   2.5rem;  /* 40px */
    --header-line-height:   3rem;  /* 48px */

    --nav-height:           50px;
  }
}


/* ============================================================
   RESET / BASE
   ============================================================ */

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

::selection {
  background-color: var(--color-saffron);
  color: var(--color-eerie-black);
}

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

body {
  font-family: var(--font-serif);
  color: var(--color-green);
  background-color: var(--color-cosmic-latte);
}


/* ============================================================
   SKIP TO MAIN CONTENT
   ============================================================ */

.skip-to-main {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-white);
  color: var(--color-green);
  font-family: var(--font-serif);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;

  /* Hidden until focused */
  transform: translateY(-100%);
  transition: transform 0.2s ease;
}

.skip-to-main:focus-visible {
  transform: translateY(0);
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding-inline: var(--header-padding-x);
  background-color: var(--color-green);
}

.site-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--header-font-size);
  line-height: var(--header-line-height);
  color: var(--color-white);
  text-decoration: none;
}

@media (max-width: 768px) {
  .site-title-break {
    display: block;
  }
}

.site-title:focus-visible {
  outline-offset: 4px;
}


/* ============================================================
   NAVIGATION — SHARED
   ============================================================ */

.site-nav {
  background-color: var(--color-fern-green);
}

.nav-menu {
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.25rem; /* 20px */
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
}

/* Focus styles are defined per context (mobile/desktop) below */


/* ============================================================
   NAVIGATION — MOBILE
   ============================================================ */

/* Mobile toggle button */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  height: var(--nav-height);
  padding-inline: var(--header-padding-x);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25rem;
  color: var(--color-white);
}

/* Animated hamburger icon */
.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 15px;
  flex-shrink: 0;
  align-self: center;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-saffron);
  border-radius: 1.5px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate bars to X when menu is open */
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-label {
  margin-top: 2px;
}


/* Nav menu — hidden by default on mobile */
.nav-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu .nav-link {
  display: block;
  /* Left padding offset by 4px to account for the transparent indicator border */
  padding: 15px var(--header-padding-x) 15px calc(var(--header-padding-x) - 4px);
  border-left: 4px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-link[aria-current="page"],
.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus-visible {
  border-left-color: var(--color-saffron);
}


/* ============================================================
   NAVIGATION — DESKTOP
   ============================================================ */

@media (min-width: 769px) {

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    height: var(--nav-height);
    padding-inline: var(--header-padding-x);
  }

  .nav-menu > li {
    display: flex;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    border-left: none;
    border-bottom: none;
    color: var(--color-white);
  }

  /* Saffron indicator bar at top — active, hover, and focus states */
  .nav-menu .nav-link[aria-current="page"]::before,
  .nav-menu .nav-link:hover::before,
  .nav-menu .nav-link:focus-visible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--color-saffron);
  }

}


/* ============================================================
   HERO — SHARED
   ============================================================ */

.hero-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.5rem;    /* 56px */
  line-height: 1.2;     /* 67.2px */
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero-subhead-break {
  display: none;
}

@media (min-width: 960px) {
  .hero-subhead-break {
    display: block;
  }
}

.hero-subhead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.75rem;   /* 28px */
  line-height: 1.2;     /* 33.6px */
  color: var(--color-saffron);
  margin-bottom: 30px;
}

.times-box {
  background-color: var(--color-saffron);
  border-radius: 12px;
  padding: 16px 20px;
  display: inline-block;
}

.times-box p,
.rich-text .times-box p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.2;
  color: var(--color-eerie-black);
}

/* Hero variant — constrained width and bottom margin */
.hero-times {
  max-width: 348px;
  margin-bottom: 20px;
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;    /* 20px */
  line-height: 1.875rem; /* 30px */
  color: var(--color-white);
  margin-bottom: 30px;
}

.hero-address .fa-location-dot {
  color: var(--color-saffron);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-block: 10px;
  padding-inline: 25px;
  border: 3px solid transparent;
  border-radius: 30px;
  background-color: var(--color-cosmic-latte);
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.375rem;  /* 22px */
  line-height: 1.1;
  color: var(--color-green);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background-color: transparent;
  border-color: var(--color-cosmic-latte);
  color: var(--color-cosmic-latte);
}


/* ============================================================
   HERO — MOBILE
   ============================================================ */

.hero {
  display: flex;
  flex-direction: column;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio — height is 9/16 of width */
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.hero-content {
  background-color: var(--color-green);
  padding: 16px var(--header-padding-x) 60px;
}


/* ============================================================
   HERO — DESKTOP
   ============================================================ */

@media (min-width: 769px) {

  .hero {
    flex-direction: row;
  }

  .hero-image {
    flex: 0 0 50%;
    height: auto;
    padding-bottom: 0;
    min-height: 400px;
  }

  .hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-content {
    flex: 0 0 50%;
    padding: 16px 24px 60px;
  }

}

@media (min-width: 960px) {

  .hero-content {
    padding: 32px 80px 60px 50px;
  }

}


/* ============================================================
   BUTTON VARIANTS
   ============================================================ */

/* Dark green background, white text */
.btn--dark {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background-color: transparent;
  border-color: var(--color-green);
  color: var(--color-green);
}

/* Cosmic latte background, fern green text (for fern green banner) */
.btn--fern {
  background-color: var(--color-cosmic-latte);
  color: var(--color-fern-green);
}

.btn--fern:hover,
.btn--fern:focus-visible {
  background-color: transparent;
  border-color: var(--color-cosmic-latte);
  color: var(--color-cosmic-latte);
}

/* Cosmic latte background, sangria text (for sangria banner) */
.btn--sangria {
  background-color: var(--color-cosmic-latte);
  color: var(--color-sangria);
}

.btn--sangria:hover,
.btn--sangria:focus-visible {
  background-color: transparent;
  border-color: var(--color-cosmic-latte);
  color: var(--color-cosmic-latte);
}


/* ============================================================
   CARDS SECTION
   ============================================================ */

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

.cards-section {
  background-color: var(--color-cosmic-latte);
  padding: 65px var(--header-padding-x) 80px;
}

.cards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-icon {
  font-size: 3.125rem; /* 50px */
  line-height: 1;
  color: var(--color-sangria);
  margin-bottom: 20px;
}

.card-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 3rem;    /* 48px */
  color: var(--color-green);
  margin-bottom: 20px;
}

.card-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.875rem; /* 30px */
  color: var(--color-eerie-black);
  flex: 1;
  margin-bottom: 30px;
}

.card-body a {
  color: var(--color-eerie-black);
  text-decoration: underline;
}

.card-body a:hover,
.card-body a:focus-visible {
  text-decoration: none;
}

.card > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {

  .cards-list {
    flex-direction: row;
    align-items: stretch;
    gap: 60px;
  }

  .card {
    flex: 1;
    min-width: 0; /* allow flex items to shrink below content size */
  }

  /* Allow button text to wrap on narrow cards */
  .card .btn {
    white-space: normal;
    text-align: center;
  }

}


/* ============================================================
   BANNERS
   ============================================================ */

.banner {
  margin-inline: var(--header-padding-x);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.banner + .banner {
  margin-top: 40px;
}

.banner .btn {
  align-self: flex-start;
}

/* Space between last banner and footer */
main > .banner:last-child {
  margin-bottom: 80px;
}

/* Space above a banner when it follows the page hero directly (no page-content) */
main > .page-hero + .banner {
  margin-top: 80px;
}

.banner--fern {
  background-color: var(--color-fern-green);
}

.banner--sangria {
  background-color: var(--color-sangria);
}

.banner-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 20px;
}

.banner-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 30px;
}

@media (min-width: 769px) {

  .banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 60px;
  }

  .banner-content {
    flex: 1;
  }

  .banner-heading {
    margin-bottom: 4px;
  }

  .banner-body {
    margin-bottom: 0;
  }

  .banner .btn {
    flex-shrink: 0;
    align-self: center;
  }

}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-green);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px var(--header-padding-x) 0;
}

/* Brand column */
.footer-brand-inner {
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.footer-church-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 3rem;    /* 48px */
  color: var(--color-white);
  margin-bottom: 45px;
}

.footer-social {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-saffron);
  font-size: 2.75rem;   /* 44px */
  text-decoration: none;
  border-radius: 4px;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--color-white);
}

/* Override FA's forced 1.25em fixed width so icons render at their natural glyph width */
.footer-social .fa-brands {
  width: auto;
}

/* Column headings */
.footer-col-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;  /* 30px */
  line-height: 2.25rem; /* 36px */
  color: var(--color-saffron);
  margin-bottom: 45px;
}

/* Contact column */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-address-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.875rem; /* 30px */
  color: var(--color-white);
}

.footer-address-item--multiline {
  align-items: flex-start;
  line-height: 1.5rem;  /* 24px */
}

.footer-address-item .fa-solid {
  color: var(--color-saffron);
  flex-shrink: 0;
  width: 1em;
  text-align: center;
}

.footer-address-item--multiline .fa-solid {
  margin-top: 3px;
}

.footer-address-item a {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-address-item a:hover,
.footer-address-item a:focus-visible {
  text-decoration: none;
}

/* Links column */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.875rem; /* 30px */
  color: var(--color-white);
  text-decoration: underline;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: none;
}

/* Copyright bar */
.footer-bottom {
  padding: 60px var(--header-padding-x) 60px;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.875rem; /* 30px */
  color: var(--color-white);
}

.footer-bottom-link {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-bottom-link:hover,
.footer-bottom-link:focus-visible {
  text-decoration: none;
}

@media (min-width: 1024px) {

  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    padding: 60px var(--header-padding-x) 0;
    gap: 80px;
  }

  .footer-col--brand {
    flex: 1;
  }

  .footer-col--contact {
    flex: 0 0 300px;
  }

  .footer-col--links {
    flex: 0 0 210px;
  }

  .footer-bottom {
    padding: 40px var(--header-padding-x) 60px;
  }

}


/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */

.page-hero {
  display: flex;
  flex-direction: column-reverse; /* image top, content below on mobile */
}

.page-hero-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}

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

.page-hero-content {
  background-color: var(--color-green);
  padding: 32px var(--header-padding-x) 40px;
}

.page-hero-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.5rem;    /* 56px */
  line-height: 1.2;     /* 67.2px */
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-hero-subhead {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.75rem;   /* 28px */
  line-height: 1.2;     /* 33.6px */
  color: var(--color-saffron);
}

/* Spacing when a btn appears directly inside page-hero-content */
.page-hero-content > .btn {
  margin-top: 30px;
}

@media (min-width: 769px) {

  .page-hero {
    flex-direction: row;
  }

  .page-hero-content {
    flex: 0 0 50%;
    min-height: 429px;
    padding: 32px var(--header-padding-x);
    order: 1;
  }

  .page-hero-image {
    flex: 0 0 50%;
    height: auto;
    padding-bottom: 0;
    order: 2;
  }

  .page-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

}


/* ============================================================
   PAGE CONTENT WRAPPER
   ============================================================ */

.page-content {
  padding: 56px var(--header-padding-x);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media (min-width: 769px) {
  .page-content {
    padding: 72px var(--header-padding-x);
    gap: 72px;
  }
}


/* ============================================================
   RICH TEXT — headings, body, lists
   ============================================================ */

.rich-text > * + * {
  margin-top: 20px;
}

.rich-text > .btn-group {
  margin-top: 40px;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
  margin-bottom: 20px;
}

.rich-text h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.5rem;    /* 56px */
  line-height: 1.2;
  color: var(--color-green);
}

.rich-text h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 1.2;     /* 48px */
  color: var(--color-green);
}

.rich-text h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;  /* 30px */
  line-height: 1.2;     /* 36px */
  color: var(--color-green);
}

.rich-text h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;    /* 24px */
  line-height: 1.2;     /* 28.8px */
  color: var(--color-green);
}

.rich-text h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.2;     /* 24px */
  color: var(--color-green);
}

.rich-text h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.2;     /* 24px */
  color: var(--color-green);
}

.rich-text p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;     /* 30px */
  color: var(--color-eerie-black);
}

.rich-text strong {
  font-weight: 700;
}

.rich-text em {
  font-style: italic;
}

.rich-text a:not(.btn) {
  color: var(--color-eerie-black);
  text-decoration: underline;
}

.rich-text a:not(.btn):hover,
.rich-text a:not(.btn):focus-visible {
  text-decoration: none;
}

.rich-text ul,
.rich-text ol {
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rich-text li {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;     /* 30px */
  color: var(--color-eerie-black);
}

.rich-text li ul,
.rich-text li ol {
  margin-top: 8px;
}


/* ============================================================
   FULL-WIDTH IMAGE WITH CAPTION
   ============================================================ */

.full-image {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.full-image img {
  width: 100%;
  height: auto;
  display: block;
}

.full-image figcaption {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.125rem;  /* 18px */
  line-height: 1.2;     /* 21.6px */
  color: var(--color-eerie-black);
}


/* ============================================================
   BUTTON GROUP
   ============================================================ */

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}


/* ============================================================
   CALLOUT BOX
   ============================================================ */

.callout-box {
  background-color: var(--color-green);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callout-box-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 1.2;     /* 48px */
  color: var(--color-white);
}

.callout-box h1,
.callout-box h2,
.callout-box h3,
.callout-box h4,
.callout-box h5,
.callout-box h6 {
  margin-bottom: 12px;
}

.callout-box h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.5rem;    /* 56px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;  /* 30px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;    /* 24px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.2;
  color: var(--color-white);
}

.callout-box p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;     /* 30px */
  color: var(--color-white);
}

.callout-box a:not(.btn) {
  color: var(--color-white);
  text-decoration: underline;
}

.callout-box a:not(.btn):hover,
.callout-box a:not(.btn):focus-visible {
  text-decoration: none;
}

.callout-box .btn-group {
  margin-top: 20px; /* 20px gap + 20px margin = 40px total above buttons */
}

.callout-box .btn {
  white-space: normal;
  max-width: 100%;
}

.callout-box--times strong {
  color: var(--color-saffron);
}

@media (min-width: 769px) {
  .callout-box {
    padding: 60px;
  }
}


/* ============================================================
   PULLQUOTE
   ============================================================ */

.pullquote {
  background-color: var(--color-green);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
}

.pullquote-mark {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 12.5rem;   /* ~200px */
  line-height: 1;
  color: var(--color-saffron);
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.pullquote-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;  /* 30px */
  line-height: 1.2;     /* 36px */
  color: var(--color-white);
  margin-top: 120px;
  margin-bottom: 30px;
}

.pullquote-cite {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.875rem;  /* 30px */
  line-height: 1.2;
  color: var(--color-saffron);
  font-style: italic;
}

@media (min-width: 769px) {
  .pullquote {
    padding: 60px 120px;
  }

  .pullquote-mark {
    top: 45px;
  }

  .pullquote-text {
    margin-top: 121px;
  }
}


/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */

/* Mobile: flex column-reverse puts text first, image below.
   Desktop: block layout with float so text wraps around image. */

.two-col {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

.two-col-image {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.two-col-image img {
  width: 100%;
  height: auto;
  display: block;
}

.two-col-image figcaption {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.125rem;  /* 18px */
  line-height: 1.2;     /* 21.6px */
  color: var(--color-eerie-black);
}

@media (min-width: 769px) {

  .two-col {
    display: block;
    overflow: hidden; /* clearfix */
  }

  .two-col--text-image .two-col-image {
    float: right;
    width: calc(50% - 24px);
    margin-left: 48px;
    margin-bottom: 24px;
  }

  .two-col--image-text .two-col-image {
    float: left;
    width: calc(50% - 24px);
    margin-right: 48px;
    margin-bottom: 24px;
  }

}


/* ============================================================
   ACCORDION
   ============================================================ */

.accordion-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;    /* 40px */
  line-height: 1.2;
  color: var(--color-green);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  border-radius: 12px;
  width: 100%;
  min-height: 80px;
  padding: 20px 30px;
  background-color: var(--color-green);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;     /* 30px */
  color: var(--color-white);
}

.accordion-trigger:focus-visible {
  outline-offset: -3px;
}

/* Fills the trigger width so text wraps properly and icon flows inline */
.accordion-trigger-content {
  flex: 1;
}

.accordion-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.25s ease;
  color: var(--color-saffron);
}

.accordion-trigger[aria-expanded="true"] {
  border-radius: 12px 12px 0 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.accordion-trigger[aria-expanded="true"] + .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  overflow: hidden;
}

.accordion-panel-body {
  padding: 24px 30px;
  background-color: var(--color-cosmic-latte);
  border: 3px solid var(--color-green);
  border-radius: 0 0 12px 12px;
}

.accordion-panel-body h1,
.accordion-panel-body h2,
.accordion-panel-body h3,
.accordion-panel-body h4,
.accordion-panel-body h5,
.accordion-panel-body h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-green);
  margin-top: 20px;
  margin-bottom: 20px;
}

.accordion-panel-body :first-child {
  margin-top: 0;
}

.accordion-panel-body h1 { font-size: 3.5rem;   line-height: 1.2; }
.accordion-panel-body h2 { font-size: 2.5rem;   line-height: 1.2; }
.accordion-panel-body h3 { font-size: 1.875rem; line-height: 1.2; }
.accordion-panel-body h4 { font-size: 1.5rem;   line-height: 1.2; }
.accordion-panel-body h5 { font-size: 1.25rem;  line-height: 1.2; }
.accordion-panel-body h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.accordion-panel-body p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.25rem;   /* 20px */
  line-height: 1.5;     /* 30px */
  color: var(--color-eerie-black);
}

.accordion-panel-body p + p {
  margin-top: 12px;
}


/* ============================================================
   TWO-COLUMN CONTENT LAYOUT
   Side-by-side layout for any two content blocks (no image).
   ============================================================ */

.content-cols {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

@media (min-width: 960px) {
  .content-cols {
    flex-direction: row;
    align-items: stretch;
    gap: 56px;
  }

  .content-cols > * {
    flex: 0 0 calc(50% - 28px); /* exactly half, minus half the 56px gap */
    min-width: 0;
  }

  /* Keeps the right column at a fixed width so left text has more room */
  .content-cols--narrow-right > :last-child {
    flex: 0 0 320px;
  }

  /* Aligns columns to the top and reverses visual order (first child moves right) */
  .content-cols--top {
    align-items: flex-start;
    gap: 56px;
  }

  .content-cols--top > :first-child {
    order: 2;
  }

  .content-cols--top > :last-child {
    order: 1;
  }
}

.content-cols--top {
  gap: 20px;
}


/* Stacks children vertically with a medium gap — useful for
   pairing text and a map or image within a single column */
.col-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}


/* ============================================================
   CALENDAR EMBED
   ============================================================ */

.calendar-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* square-ish on mobile */
  overflow: hidden;
  border-radius: 12px;
}

.calendar-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 769px) {
  .calendar-embed {
    padding-bottom: 65%;
  }
}


/* ============================================================
   MAP EMBED
   ============================================================ */

.map-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 65%;
  overflow: hidden;
  border-radius: 12px;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-green);
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  line-height: 1.5;
  color: var(--color-green);
}

.form-label .required {
  color: var(--color-sangria);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  color: var(--color-eerie-black);
  background-color: var(--color-white);
  border: 3px solid var(--color-green);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  border-color: var(--color-fern-green);
  box-shadow: 0 0 0 3px rgba(65, 131, 63, 0.25);
}

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

.form-submit {
  align-self: flex-start;
}
