/* ============================================================
   SIT RALEIGH — MAIN STYLESHEET
   Palette: parchment bg, deep umber text, gold accent
   Type: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --parchment:   #F7F4EE;
  --parchment-2: #EDE9E0;
  --umber:       #2A1D06;
  --umber-mid:   #3D2B0E;
  --umber-lt:    #5C4820;
  --gold:        #7A6030;
  --gold-lt:     #A89060;
  --gold-pale:   #D4B87A;
  --white:       #FFFFFF;
  --ink-dark:    #1C1208;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1100px;
  --pad:   clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Base ────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--umber);
  line-height: 1.7;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Announcement banner ─────────────────────────────────────── */
.announcement-bar {
  background: var(--gold);
  color: var(--parchment);
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 10px var(--pad);
}

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchment);
  border-bottom: 0.5px solid rgba(122, 96, 48, 0.2);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--umber);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-logo { display: inline-flex; align-items: center; }
/* Small logo in the header on every page — adjust height to taste */
.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--umber-lt);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--umber);
}

/* ── Section label ───────────────────────────────────────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: rgba(122, 96, 48, 0.25);
}

/* ── Home hero with logo beside content ──────────────────────── */
.hero-logo-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.75rem) var(--pad);
  min-height: calc(100svh - 100px);   /* fill the first screen below the nav */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-logo-col {
  display: flex;
  justify-content: center;
}
.hero-logo-img {
  width: 100%;
  max-width: 400px;   /* ← logo size on the left; raise/lower to taste */
  max-height: calc(100svh - 170px);   /* keeps the whole rhino on screen */
  height: auto;
  object-fit: contain;
}
.hero-content-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 768px) {
  .hero-logo-layout { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-logo-img { max-width: 300px; margin: 0 auto; }
  .hero-content-col { align-items: center; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  display: grid;
  grid-template-columns: 1fr 0.5px 1fr;
  gap: 0;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-divider {
  background: rgba(122, 96, 48, 0.2);
  height: 220px;
  align-self: center;
}
.hero-left { padding-right: clamp(2rem, 5vw, 4rem); }
.hero-right { padding-left: clamp(2rem, 5vw, 4rem); }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--umber);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.8;
  color: var(--umber-lt);
  margin-top: 20px;
  max-width: 340px;
}

/* ── This week card ──────────────────────────────────────────── */
.this-week-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.this-week-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.this-week-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  color: var(--umber);
  line-height: 1.3;
  margin-bottom: 16px;
}
.this-week-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  color: var(--gold-lt);
}
.this-week-meta span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.this-week-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--gold);
}
.this-week-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--umber-lt);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 0.5px solid rgba(122, 96, 48, 0.15);
}
.btn-primary {
  display: inline-block;
  margin-top: 18px;
  background: var(--gold);
  color: var(--parchment);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--umber-mid); }

.btn-outline {
  display: inline-block;
  border: 0.5px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--parchment);
}

/* ── Schedule strip ──────────────────────────────────────────── */
.schedule-strip {
  background: var(--umber);
  padding: 28px var(--pad);
}
.schedule-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-around;
  flex-wrap: wrap;
  row-gap: 20px;
}
.sched-item {
  text-align: center;
  padding: 0 20px;
}
.sched-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 10px;
}
.sched-day {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.sched-time {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--parchment);
}
.sched-loc {
  font-size: 12px;
  color: var(--gold-lt);
  margin-top: 3px;
}

/* ── Section padding ─────────────────────────────────────────── */
.section {
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--white { background: var(--white); }
.section--parchment { background: var(--parchment); }
.section--parchment-2 { background: var(--parchment-2); }
.section--dark { background: var(--umber); }

/* ── Event cards ─────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.event-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  padding: 22px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.15s;
}
.event-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.event-month {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.event-day {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--umber);
  line-height: 1;
  margin: 4px 0 10px;
}
.event-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--umber-mid);
  line-height: 1.4;
  margin-bottom: 6px;
}
.event-meta {
  font-size: 12px;
  color: var(--gold-lt);
  line-height: 1.6;
}
.event-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(122, 96, 48, 0.1);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Teachings list ──────────────────────────────────────────── */
.teachings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.teaching-row {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.teaching-row:hover { border-color: var(--gold); }
.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(122, 96, 48, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.play-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
}
.teaching-info { flex: 1; min-width: 0; }
.teaching-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--umber-mid);
  line-height: 1.4;
  margin-bottom: 4px;
}
.teaching-meta {
  font-size: 12px;
  color: var(--gold-lt);
}

/* ── About + map ─────────────────────────────────────────────── */
.about-map-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-map-grid .section-label { color: var(--gold); }
.about-map-grid .section-label::after { background: rgba(122, 96, 48, 0.3); }
.about-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 300;
  font-style: italic;
  color: var(--parchment);
  line-height: 1.5;
  margin-bottom: 16px;
}
.about-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--gold-lt);
}
.about-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(122, 96, 48, 0.4);
  margin-bottom: 16px;
}

.locations-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.location-card {
  background: rgba(122, 96, 48, 0.1);
  border: 0.5px solid rgba(122, 96, 48, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
}
.location-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--parchment);
  margin-bottom: 4px;
}
.location-addr {
  font-size: 13px;
  color: var(--gold-lt);
  line-height: 1.6;
}
.location-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 1px;
}

/* Map embed */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0.5px solid rgba(122, 96, 48, 0.25);
  margin-top: 12px;
}
.map-embed iframe {
  width: 100%;
  height: 200px;
  border: none;
}

/* ── Full schedule page ──────────────────────────────────────── */
.schedule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.schedule-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  padding: 24px;
}
.schedule-card-day {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.schedule-card-time {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 300;
  color: var(--umber);
  margin-bottom: 6px;
}
.schedule-card-loc {
  font-size: 16px;
  font-weight: 500;
  color: var(--umber-mid);
  margin-bottom: 6px;
}
.schedule-card-notes {
  font-size: 13px;
  line-height: 1.7;
  color: var(--umber-lt);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(122, 96, 48, 0.15);
}
.format-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.format-badge--inperson { background: rgba(122, 96, 48, 0.1); color: var(--gold); }
.format-badge--online   { background: rgba(20, 80, 160, 0.1);  color: #1450A0; }
.format-badge--outdoor  { background: rgba(40, 100, 30, 0.1);  color: #285A1E; }

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) var(--pad) clamp(2rem, 4vw, 3rem);
  background: var(--parchment-2);
  border-bottom: 0.5px solid rgba(122, 96, 48, 0.15);
  position: relative;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero-icon {
  position: absolute;
  right: var(--pad);
  bottom: clamp(2rem, 4vw, 3rem);
  height: 300px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  pointer-events: none;
}
@media (max-width: 1000px) {
  .page-hero-icon { max-height: 220px; max-width: 260px; }
}
@media (max-width: 768px) {
  .page-hero-icon {
    position: static;
    display: block;
    margin: 1.5rem auto 0;
    max-height: 150px;
    height: auto;
    max-width: 100%;
  }
}
.page-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 300;
  color: var(--umber);
  line-height: 1.15;
}
.page-sub {
  font-size: 18px;
  color: var(--umber-lt);
  margin-top: 14px;
  max-width: 520px;
  line-height: 1.7;
}

/* ── Rich text content ───────────────────────────────────────── */
.rich-text h2 {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  color: var(--umber);
  margin: 2rem 0 1rem;
}
.rich-text h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--umber-mid);
  margin: 1.5rem 0 0.75rem;
}
.rich-text p { margin-bottom: 1rem; color: var(--umber-lt); }
.rich-text ul, .rich-text ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--umber-lt);
}
.rich-text li { margin-bottom: 0.4rem; }
.rich-text a { color: var(--gold); border-bottom: 0.5px solid var(--gold); }
.rich-text blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--umber-mid);
}

/* ── Written teachings ───────────────────────────────────────── */
.written-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.written-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.15s;
}
.written-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.written-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--umber);
  line-height: 1.25;
  margin-bottom: 10px;
}
.written-card-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--umber-lt);
  margin-bottom: 16px;
  flex: 1;
}
.written-card-more {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 1px;
  align-self: flex-start;
}

/* ── Blog ────────────────────────────────────────────────────── */
.blog-hero-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.blog-hero-logo {
  height: 120px;   /* ← medium logo beside the "Blog" title; adjust to taste */
  width: auto;
}

/* Blog post: sticky title beside scrolling content */
.post-section { padding-top: clamp(2rem, 4vw, 3rem); }
.post-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.post-aside {
  position: sticky;
  top: 112px;      /* clears the sticky nav */
  align-self: start;
}
.post-title {
  font-family: var(--font-display);
  font-size: clamp(31px, 3.2vw, 45px);
  font-weight: 300;
  color: var(--umber);
  line-height: 1.15;
  margin: 6px 0 10px;
}
.post-meta { font-size: 15px; color: var(--gold-lt); }
.post-main { min-width: 0; max-width: 680px; }

@media (max-width: 820px) {
  .post-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .post-aside { position: static; }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.15s;
}
.blog-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.blog-card-img {
  height: 160px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--parchment-2);
}
.blog-card-body { padding: 22px; }
.blog-card-date {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  color: var(--umber);
  line-height: 1.25;
  margin-bottom: 10px;
}
.blog-card-summary {
  font-size: 16px;
  line-height: 1.7;
  color: var(--umber-lt);
  margin-bottom: 14px;
}
.blog-card-more {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 1px;
}

/* Blog post */
.post-continuity { margin-top: 14px; font-size: 15px; color: var(--umber-lt); }
.post-continuity em { color: var(--gold); font-style: italic; }
.post-featured { width: 100%; border-radius: var(--radius-md); margin-bottom: 2rem; }
.post-instagram { display: flex; justify-content: center; margin-bottom: 2rem; }
.post-instagram .instagram-media { margin: 0 auto !important; }
.post-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(122, 96, 48, 0.1);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Shop ────────────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.shop-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.15s;
}
.shop-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.shop-card-img {
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--parchment-2);
}
.shop-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.shop-card-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  color: var(--umber);
  line-height: 1.25;
  margin-bottom: 10px;
}
.shop-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--umber-lt);
  margin-bottom: 18px;
  flex: 1;
}
.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--umber);
}
.shop-card-btn {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 1px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-dark);
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 184, 122, 0.5);
}
.footer-tagline {
  font-size: 12px;
  color: rgba(122, 96, 48, 0.6);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.footer-col-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(168, 144, 96, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-pale); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(122, 96, 48, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(122, 96, 48, 0.4);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-divider { display: none; }
  .hero-left, .hero-right { padding: 0; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--parchment);
    border-bottom: 0.5px solid rgba(122, 96, 48, 0.2);
    padding: 1.5rem var(--pad);
    gap: 18px;
  }

  .about-map-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* â”€â”€ Schedule item pop-up (details & directions) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.schedule-card--clickable {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.schedule-card--clickable:hover,
.schedule-card--clickable:focus-visible {
  box-shadow: 0 6px 20px rgba(42, 29, 6, 0.12);
  transform: translateY(-2px);
}
.schedule-card--clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.schedule-card-more {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 18, 8, 0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.modal-overlay.is-open {
  display: flex;
}
.modal-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(28, 18, 8, 0.3);
}
.modal-panel:focus {
  outline: none;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--parchment-2);
  color: var(--umber);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--gold-pale); }
.modal-format-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.modal-day {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--umber);
  margin-bottom: 4px;
  padding-right: 24px;
}
.modal-loc {
  font-size: 15px;
  color: var(--umber-lt);
  margin-bottom: 4px;
}
.modal-addr {
  font-size: 13px;
  color: var(--umber-lt);
  margin-bottom: 12px;
}
.modal-details,
.modal-notes {
  font-size: 15px;
  line-height: 1.7;
  color: var(--umber-mid);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(122, 96, 48, 0.15);
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.modal-actions .btn-primary,
.modal-actions .btn-outline {
  margin-top: 0;
}

/* ── Blog post: multi-photo gallery, inline thumbnails, lightbox ─────────── */
.post-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid rgba(122, 96, 48, 0.15);
}
.gallery-thumb {
  width: 1in;
  height: 1in;
  object-fit: cover;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  transition: transform 0.15s, border-color 0.2s;
}
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.gallery-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.inline-thumb {
  width: 0.25in;
  height: 0.25in;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 3px;
  border: 0.5px solid rgba(122, 96, 48, 0.25);
}
.inline-thumb:hover,
.inline-thumb:focus-visible {
  border-color: var(--gold);
}
.inline-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.image-lightbox-panel {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0;
  position: relative;
  text-align: center;
  overflow: visible;
}
.image-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(28, 18, 8, 0.4);
}
.image-lightbox-caption {
  color: var(--white);
  margin-top: 14px;
  font-size: 14px;
}

/* ── Blog: year-filter sidebar ────────────────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.blog-year-filter {
  position: sticky;
  top: 112px; /* clears the sticky nav */
}
.year-filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.year-filter-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-sm, 6px);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--umber-mid);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.year-filter-btn:hover,
.year-filter-btn:focus-visible {
  border-color: var(--gold);
  color: var(--umber);
}
.year-filter-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.year-filter-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.year-filter-count {
  font-size: 12px;
  color: var(--umber-lt);
}
.year-filter-btn.is-active .year-filter-count {
  color: var(--white);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-year-filter { position: static; }
  .year-filter-list { flex-direction: row; flex-wrap: wrap; }
}

/* ── Blog: prayer flag dividers + year sections ───────────────────────────── */
.year-filter-btn { text-decoration: none; }

.blog-main {
  display: flex;
  flex-direction: column;
}
.blog-year-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: var(--umber);
  margin-bottom: 20px;
}
.blog-year-group + .blog-flag-divider {
  margin-top: 40px;
}
.blog-flag-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: 40px;
}
.blog-flag-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .blog-flag-divider { margin-bottom: 28px; }
}

/* ── Blog sidebar: Fun Stuff link ─────────────────────────────────────────── */
.year-filter-btn--fun {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(122, 96, 48, 0.3);
}

/* ── Fun Stuff page: joke list ────────────────────────────────────────────── */
.joke-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.joke-card {
  background: var(--white);
  border: 0.5px solid rgba(122, 96, 48, 0.18);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  transition: border-color 0.2s;
}
.joke-card:hover { border-color: var(--gold); }
.joke-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--umber-mid);
}
.joke-source {
  margin-top: 10px;
  font-size: 13px;
  color: var(--umber-lt);
  font-style: italic;
}

/* ── Fun Stuff page: joke picture ─────────────────────────────────────────── */
.joke-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}
.joke-image + .joke-text {
  margin-top: 14px;
}
