/*
Theme Name: La Grotte
Theme URI: https://lagrotte.ddev.site
Author: La Grotte
Description: A lightweight, native WordPress theme for La Grotte Notre-Dame de Lourdes.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: lagrotte
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Marcellus&family=Mulish:wght@400;600&display=swap');

:root {
  --lg-cream: #f8f3eb;
  --lg-cream-deep: #f0e8de;
  --lg-ink: #362b24;
  --lg-body: #51453c;
  --lg-brown: #3c291d;
  --lg-brown-deep: #2b1b12;
  --lg-bronze: #bf975c;
  --lg-gold: #cfa66b;
  --lg-border: rgba(197, 188, 178, 0.65);
  --lg-serif: "Cormorant Garamond", Georgia, serif;
  --lg-display: "Marcellus", Georgia, serif;
  --lg-sans: "Mulish", Arial, sans-serif;
  --lg-wide: 1280px;
  --lg-content: 680px;
  --lg-gutter: clamp(22px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lg-cream);
  color: var(--lg-body);
  font-family: var(--lg-sans);
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px;
  clip: auto; background: #fff; color: #000;
}
.lg-shell { width: min(100% - 40px, var(--lg-wide)); margin-inline: auto; }
.footer-shell { width: min(100% - 40px, 1160px); margin-inline: auto; }

.lg-eyebrow {
  margin: 0; font-family: var(--lg-display); font-size: 19px; line-height: 1.4;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.lg-button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: 10px 27px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--lg-display); font-size: 16px; line-height: 1.2;
  letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.lg-button:hover { transform: translateY(-1px); }
.lg-button:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible {
  outline: 2px solid var(--lg-gold); outline-offset: 4px;
}
.lg-button--light { background: var(--lg-cream); color: #432d20; }
.lg-button--gold { background: var(--lg-bronze); color: #372419; }
.lg-button--dark { background: var(--lg-brown); color: #fae5c3; }
.lg-button--outline { border-color: rgba(67,45,32,.5); color: white; }

/* Header */
.site-header {
  position: relative; z-index: 20; min-height: 118px; border-bottom: 1px solid rgba(197,188,178,.7);
  background: rgba(248,243,235,.92); backdrop-filter: blur(5px);
}
.site-header__inner { width: min(100% - 48px, 1380px); min-height: 118px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.site-brand__mark { width: 63px; height: 63px; flex: 0 0 43px; }
.site-brand__copy { display: flex; flex-direction: column; gap: 3px; }
.site-brand__kicker { color: #3f2f24; font-family: var(--lg-display); font-size: 16px; line-height: 1; letter-spacing: .26em; text-transform: uppercase; }
.site-brand__name { color: #6b4e3a; font-family: var(--lg-serif); font-size: 39px; font-style: italic; line-height: .9; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; align-items: center; gap: 36px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #50453d; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.site-nav a:hover { color: #8d683f; }
.site-nav .current-menu-item > a { color: var(--lg-brown-deep); border-bottom: 1px solid var(--lg-brown-deep); padding-bottom: 3px;
}
.site-nav__donate { white-space: nowrap; border-color: rgba(107,78,58,.55); color: #634632; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--lg-brown); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; content: ""; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

/* Homepage */
.home-hero { position: relative; min-height: 800px; display: flex; align-items: flex-end; overflow: hidden; color: var(--lg-cream); }
.home-hero__media, .page-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__media { object-position: center top; }
.home-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to bottom, rgba(33,18,9,.62), rgba(30,12,4,.5) 38%, rgba(20,5,1,.92)); }
.home-hero__inner { position: relative; z-index: 1; padding: 0 var(--lg-gutter) 122px; }
.home-hero__content { max-width: 850px; }
.home-hero .lg-eyebrow { color: #e3cead; font-size: 17px; letter-spacing: .22em; }
.home-hero__order { margin: 16px 0 0; color: #f3eadc; font-family: var(--lg-display); font-size: 27px; letter-spacing: .16em; text-transform: uppercase; }
.home-hero h1 { max-width: 850px; margin: -5px 0 8px; color: #f9f4ec; font-family: var(--lg-serif); font-size: clamp(64px, 7vw, 92px); font-weight: 500; line-height: 1; }
.home-hero__quote { max-width: 620px; margin: 0 0 30px; color: #f3eadc; font-family: var(--lg-serif); font-size: clamp(24px, 2.6vw, 34px); font-style: italic; line-height: 1.3; }
.home-hero__actions { display: flex; align-items: center; gap: 18px; }
.home-hero__rule { width: 46px; height: 1px; background: rgba(227,206,173,.6); }
.home-hero__place { font-family: var(--lg-serif); font-size: 24px; font-style: italic; }
.home-hero__arrow { position: absolute; z-index: 2; bottom: 26px; left: 50%; font-size: 22px; color: rgba(236,227,214,.8); transform: translateX(-50%); }

.prayer { padding: 72px 0 108px; }
.section-heading { margin-bottom: 54px; text-align: center; }
.section-heading .lg-eyebrow { color: #6b4e3a; font-size: 14px; }
.section-heading h2 { margin: 12px 0 0; color: #2c221a; font-family: var(--lg-serif); font-size: clamp(40px, 4vw, 49px); font-weight: 500; line-height: 1.1; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1068px; margin: 0 auto; }
.schedule-card { min-height: 381px; padding: 40px; border: 1px solid var(--lg-border); border-radius: 4px; background: var(--lg-cream-deep); }
.schedule-card--dark { border: 0; background: var(--lg-brown); color: #f6f1e9; }
.schedule-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--lg-border); }
.schedule-card--dark .schedule-card__head { border-color: rgba(237,231,221,.22); }
.schedule-card h3 { margin: 0; font-family: var(--lg-serif); font-size: 32px; font-weight: 600; line-height: 1.2; }
.schedule-card--dark h3 { color: #f6f1e9; }
.schedule-card__label { color: #6b4e3a; font-family: var(--lg-display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.schedule-card--dark .schedule-card__label { color: var(--lg-gold); }
.schedule-list { margin: 0; padding: 0; list-style: none; }
.schedule-list li { display: flex; min-height: 79px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(197,188,178,.4); }
.schedule-list li:last-child { border: 0; }
.schedule-list strong, .schedule-list small { display: block; }
.schedule-list strong { color: var(--lg-ink); font-size: 15px; }
.schedule-card--dark .schedule-list strong { color: #f6f1e9; }
.schedule-list small { color: #62554c; font-size: 13px; line-height: 1.4; }
.schedule-card--dark .schedule-list small { color: rgba(197,188,176,.85); }
.schedule-list time { color: #634632; font-family: var(--lg-serif); font-size: 26px; white-space: nowrap; }
.schedule-card--dark .schedule-list time { color: #d9b075; }
.schedule-card__note { margin: 15px 0 17px; color: #dccfbc; font-family: var(--lg-serif); font-size: 21px; font-style: italic; line-height: 1.4; }

.feature-band { padding: 105px 0; background: var(--lg-brown); color: #f6f1e9; }
.feature-band__inner { display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: 70px; max-width: 1068px; }
.anniversary { color: #cca368; }
.anniversary .lg-eyebrow { margin-bottom: 2px; color: #d9b075; }
.anniversary__number { margin: 0; font-family: var(--lg-serif); font-size: clamp(118px, 12vw, 170px); font-weight: 600; line-height: .75; }
.anniversary__number sup { font-size: .64em; }
.anniversary__year { margin-top: 28px; color: #d9ccb8; font-family: var(--lg-display); font-size: 18px; letter-spacing: .18em; text-transform: uppercase; }
.feature-band h2 { margin: 0 0 22px; color: #f6f1e9; font-family: var(--lg-serif); font-size: clamp(38px, 4vw, 54px); font-weight: 500; line-height: .98; }
.feature-band__quote { margin: 0 0 18px; color: #dccfbc; font-family: var(--lg-serif); font-size: 22px; font-style: italic; }
.feature-band__copy { max-width: 610px; margin: 0 0 24px; color: #d4cdc1; line-height: 1.7; }

.discover { padding: 105px 0 116px; }
.discover__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: 1068px; margin: 0 auto 48px; }
.discover__head .lg-eyebrow { color: #6b4e3a; font-size: 15px; }
.discover__head h2 { margin: 10px 0 0; color: #2c221a; font-family: var(--lg-serif); font-size: clamp(39px, 4vw, 50px); font-weight: 500; line-height: 1.1; }
.discover__intro { max-width: 295px; margin: 0; color: #62554c; line-height: 1.5; }
.discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1068px; margin: 0 auto; }
.discover-card { overflow: hidden; border: 1px solid var(--lg-border); border-radius: 4px; background: var(--lg-cream); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.discover-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(43,27,18,.1); }
.discover-card img { width: 100%; height: 200px; object-fit: cover; }
.discover-card__body { min-height: 187px; padding: 25px; }
.discover-card h3 { margin: 0 0 9px; color: var(--lg-ink); font-family: var(--lg-serif); font-size: 25px; font-weight: 600; line-height: 1.2; }
.discover-card p { margin: 0 0 14px; color: #62554c; font-size: 14px; line-height: 1.55; }
.discover-card span, .discover-card__link a { color: #634632; font-family: var(--lg-display); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }

/* Interior pages */
.page-hero { position: relative; min-height: 493px; display: flex; align-items: flex-end; overflow: hidden; color: #f9f4ec; }
.page-hero__media { object-position: center 48%; }
.page-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to bottom, rgba(33,18,9,.5), rgba(25,8,2,.55) 45%, rgba(20,5,1,.92)); }
.page-hero__inner { position: relative; z-index: 1; padding: 90px var(--lg-gutter) 65px; }
.breadcrumbs { margin-bottom: 20px; color: rgba(226,214,194,.85); font-size: 12px; letter-spacing: .04em; }
.breadcrumbs a { text-decoration: none; }
.page-hero .lg-eyebrow { color: #e3cead; }
.page-hero h1 { margin: 7px 0 10px; color: #f9f4ec; font-family: var(--lg-serif); font-size: clamp(52px, 5vw, 72px); font-weight: 500; line-height: 1.05; }
.page-hero__quote { max-width: 640px; margin: 0; color: rgba(239,227,207,.94); font-family: var(--lg-serif); font-size: 27px; font-style: italic; line-height: 1.45; }
.page-id-12 .page-hero__quote { max-width: 700px; }
.page-hero__attribution { display: block; margin-top: 15px; color: #dac099; font-family: var(--lg-display); font-size: 16px; letter-spacing: .2em; text-transform: uppercase; }
.interior-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 73px; padding: 67px var(--lg-gutter) 100px; }
.entry-content { min-width: 0; font-size: 18px; }
.entry-content > * { max-width: 100%; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > p:first-child { color: #42352c; font-family: var(--lg-serif); font-size: 30px; line-height: 1.5; }
.entry-content p { margin: 0 0 18px; line-height: 1.8; }
.entry-content h2 { margin: 40px 0 18px; color: #bf975c; font-family: var(--lg-serif); font-size: 36px; font-weight: 600; letter-spacing: .04em; }
.entry-content h3 { margin: 34px 0 16px; color: var(--lg-ink); font-family: var(--lg-serif); font-size: 29px; font-weight: 600; }
.entry-content figure { margin: 34px 0; }
.entry-content figure img { width: 100%; border: 1px solid var(--lg-border); border-radius: 4px; }
.entry-content figcaption { margin-top: 8px; color: #62554c; font-family: var(--lg-serif); font-size: 16px; font-style: italic; }
.entry-content blockquote { margin: 32px 0; padding: 24px 32px; border-left: 3px solid #dfbf91; background: var(--lg-cream-deep); color: #62554c; font-family: var(--lg-serif); font-size: 21px; font-style: italic; line-height: 1.5; }
.entry-content ul { padding-left: 1.25em; }
.lg-profile-list h2 { margin-top: 0; }
.lg-profile-list p { margin-bottom: 0; }
.lg-profile-list h2:not(:first-child) { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--lg-border); }
.wp-block-button__link { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 27px; border: 1px solid rgba(67,45,32,.5); border-radius: 999px; color: #331e11; font-family: var(--lg-display); font-size: 13px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.timeline-heading { display: flex; align-items: center; gap: 16px; margin: 34px 0 18px; color: #634632; font-family: var(--lg-serif); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.timeline-heading::after { flex: 1; height: 1px; background: var(--lg-border); content: ""; }
.timeline-heading span { margin-left: auto; color: #675b53; font-family: var(--lg-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.page-sidebar { display: flex; flex-direction: column; gap: 30px; align-self: start; }
.sidebar-card { display: block; padding: 26px; border: 1px solid var(--lg-border); border-radius: 4px; background:white; color: inherit; text-decoration: none; }
.sidebar-card--dark { border: 0; background: var(--lg-brown); color: #f6f1e9; }
.sidebar-card .lg-eyebrow { margin-bottom: 12px; color: #675b53; font-size: 12px; }
.sidebar-card--dark .lg-eyebrow { color: var(--lg-gold); }
.sidebar-card h3 { margin: 0 0 8px; font-family: var(--lg-serif); font-size: 27px; font-weight: 600; line-height: 1.2; }
.sidebar-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.sidebar-card__link { color: #634632; font-family: var(--lg-display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-card--dark .sidebar-card__link { color: #fae5c3; }
.sidebar-card--dark .sidebar-card__copy { margin-bottom: 24px; font-family: var(--lg-serif); font-size: 30px; line-height: 1.35; }

/* Events */
.events-content { min-width: 0; }
.events-section + .events-section { margin-top: 33px; }
.events-section > h2 { margin: 0 0 33px; color: #42352c; font-family: var(--lg-serif); font-size: 48px; font-weight: 500; line-height: 1.1; }
.events-section__intro { margin-bottom: 33px; color: #42352c; font-family: var(--lg-serif); font-size: 28px; line-height: 1.25; }
.events-section__intro p { margin: 0 0 18px; }
.events-list { display: grid; gap: 24px; }
.events-list--activites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-card { min-width: 0; overflow: hidden; border: 1px solid #e3dcd3; background: #fffaf3; }
.event-card > img { width: 100%; height: auto; }
.event-card__body { padding: 25px 32px; }
.event-card h3 { margin: 0 0 18px; color: #42352c; font-family: var(--lg-serif); font-size: 36px; font-weight: 600; line-height: .95; max-width: 450px; }
.event-card__content { font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.event-card__content p { margin: 0 0 18px; }
.event-card__content > :last-child { margin-bottom: 0; }
.event-card__content h2, .event-card__content h3 { margin: 24px 0 18px; color: #42352c; font-family: var(--lg-serif); font-size: 28px; font-weight: 600; line-height: 1.2; }
.event-card__content ul, .event-card__content ol { padding-left: 1.25em; }
.event-card__content li + li { margin-top: 12px; }
.event-card__content figure { margin-inline: 0; }
.events-list--activites .event-card__body { padding: 22px; }
.events-list--activites .event-card h3 { font-size: 28px; line-height: 1.15; }
.events-list--activites .event-card__content { font-size: 15px; }
.events-layout .sidebar-card h3 { font-size: 28px; }
.events-layout .sidebar-card p { font-size: 15px; }
.events-layout .sidebar-card--dark .sidebar-card__copy { font-size: 21px; line-height: 1.4; }
.events-layout .sidebar-card .lg-eyebrow, .events-layout .sidebar-card__link { font-size: 16px; }
@media (max-width: 600px) {
  .events-list--activites { grid-template-columns: 1fr; }
  .events-section > h2 { font-size: 40px; }
  .events-section__intro { font-size: 24px; }
  .event-card__body { padding: 24px; }
}
.event-meta { margin: 0 0 28px; padding: 22px 26px; border: 1px solid var(--lg-border); background: var(--lg-cream-deep); }
.event-meta dt { color: #675b53; font-family: var(--lg-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.event-meta dd { margin: 0 0 12px; }
.event-meta dd:last-child { margin-bottom: 0; }
.lg-text-link { color: #765032; font-family: var(--lg-display); font-size: 12px; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.lg-text-link:hover { color: var(--lg-bronze); }
.empty-state { margin: 70px auto 100px; padding: 60px 30px; border: 1px solid var(--lg-border); background: #fffaf3; text-align: center; }
.empty-state h2 { margin-top: 0; color: var(--lg-ink); font-family: var(--lg-serif); font-size: 38px; font-weight: 500; }
.navigation.pagination { margin: -55px 0 80px; text-align: center; }
.navigation.pagination .page-numbers { display: inline-grid; min-width: 38px; height: 38px; margin: 3px; place-items: center; border: 1px solid var(--lg-border); text-decoration: none; }
.navigation.pagination .current { background: var(--lg-ink); color: var(--lg-cream); }

/* Contact form */
.lg-contact-form { margin: 26px 0 50px; }
.lg-contact-form p { margin-bottom: 18px; }
.lg-contact-form label { display: block; margin-bottom: 5px; color: #634632; font-family: var(--lg-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lg-contact-form input, .lg-contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--lg-border); border-radius: 2px; background: #fffaf3; color: var(--lg-ink); }
.lg-contact-form input:focus, .lg-contact-form textarea:focus { border-color: var(--lg-bronze); outline: 2px solid rgba(191,151,92,.25); }
.lg-contact-form__trap { position: absolute; left: -9999px; }
.lg-form-message { padding: 15px 18px; border-left: 3px solid var(--lg-bronze); background: var(--lg-cream-deep); }
.lg-form-message--success { border-color: #657b4f; }
.lg-form-message--error { border-color: #a14b3b; }

/* Contribution and footer */
.contribution { background: var(--lg-bronze); color: #2e190c; }
.contribution__inner { min-height: 367px; display: flex; align-items: center; justify-content: space-between; gap: 70px; padding: 60px var(--lg-gutter); }
.contribution .lg-eyebrow { color: white; }
.contribution h2 { max-width: 490px; margin: 12px 0 0; font-family: var(--lg-serif); font-size: clamp(42px, 4vw, 55px); font-weight: 500; line-height: 1.02; }
.contribution__actions { display: flex; gap: 28px; }
.site-footer { padding: 86px 0 36px; background: var(--lg-brown-deep); color: #d4cdc1; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 64px; }
.site-footer .site-brand__kicker { color: #e5ddd0; }
.site-footer .site-brand__name { color: var(--lg-gold); }
.site-footer__tagline { margin: 25px 0 0; color: #cdc2b3; font-family: var(--lg-serif); font-size: 21px !important; font-style: italic; line-height: 1.35 !important; }
.site-footer h2 { margin: 0 0 12px; color: #b7a182; font-family: var(--lg-display); font-size: 16px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.site-footer p { margin: 12px 0 6px; font-size: 14px; line-height: 1.55; }
.site-footer__donate { margin-top: 19px; font-size: 13px; }
.site-footer .site-footer__affiliation { margin: 32px 0 0; text-align: center; }
.site-footer__affiliation a { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.site-footer__affiliation img { flex: none; box-sizing: content-box; width: 34px; padding: 6px; border-radius: 4px; background: var(--lg-cream); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(222,214,203,.16); color: rgba(203,195,182,.75); font-size: 14px; }
.site-footer__bottom ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-footer__bottom a { text-decoration: none; }

@media (max-width: 1050px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; z-index: 50; inset: 100px 0 auto; display: none; padding: 34px;
    border-bottom: 1px solid var(--lg-border); background: var(--lg-cream);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-nav__donate { margin-top: 22px; }
  .interior-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; }
}

@media (max-width: 780px) {
  .site-header, .site-header__inner { min-height: 82px; }
  .site-header__inner { width: min(100% - 32px, 1380px); }
  .site-brand__mark { width: 36px; height: 36px; flex-basis: 36px; }
  .site-brand__kicker { font-size: 10px; }
  .site-brand__name { font-size: 25px; }
  .site-nav { inset-block-start: 82px; }
  .home-hero { min-height: 690px; }
  .home-hero__inner { padding-bottom: 90px; }
  .home-hero h1 { font-size: clamp(46px, 12vw, 62px); }
  .home-hero__actions { align-items: flex-start; flex-direction: column; }
  .home-hero__rule { display: none; }
  .schedule-grid, .discover-grid, .feature-band__inner, .interior-layout, .events-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .schedule-card { min-height: 0; padding: 28px; }
  .feature-band { padding: 80px 0; }
  .feature-band__inner { gap: 52px; }
  .discover { padding: 78px 0 84px; }
  .discover__head { align-items: flex-start; flex-direction: column; }
  .discover__intro { max-width: none; }
  .discover-card img { height: 240px; }
  .page-hero { min-height: 530px; }
  .page-hero h1 { font-size: clamp(48px, 13vw, 62px); }
  .page-hero__quote { font-size: 23px; }
  .interior-layout { gap: 54px; padding-top: 50px; }
  .page-sidebar { order: 2; }
  .contribution__inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 38px; padding-block: 70px; }
  .contribution__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .site-footer__grid { gap: 44px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__bottom ul { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .lg-shell { width: min(100% - 32px, var(--lg-wide)); }
  .home-hero .lg-eyebrow { font-size: 13px; }
  .home-hero h1 { font-size: 45px; }
  .section-heading { margin-bottom: 38px; }
  .schedule-card__head, .schedule-list li { align-items: flex-start; }
  .schedule-card__head { flex-direction: column; gap: 5px; }
  .schedule-list li { padding-block: 18px; }
  .discover-card img { height: 210px; }
  .entry-content > p:first-child { font-size: 24px; }
  .page-hero__inner { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Editable biography portraits. */
.entry-content .lg-profile { margin: 56px 0; }
.entry-content .lg-profile .wp-block-media-text__media { margin: 0; }
.entry-content .lg-profile .wp-block-media-text__content { padding: 0 0 0 28px; }
.entry-content .lg-profile h2 { margin-top: -8px; margin-bottom: 9px; }
.entry-content .lg-profile h3 { margin-top: -8px; margin-bottom: 9px; }

@media (max-width: 600px) {
  .entry-content .lg-profile .wp-block-media-text__media { width: min(100%, 240px); }
  .entry-content .lg-profile .wp-block-media-text__content { padding: 20px 0 0; }
}

/* Keep the focal subjects visible in the supplied page hero photos. */
.page-hero--freres .page-hero__media { object-position: center bottom; }
.page-hero--mission .page-hero__media { object-position: center 35%; }
.page-hero--ressources .page-hero__media { object-position: center top; }
@media (max-width: 767px) {
  .page-hero--mission .page-hero__media { object-position: 40% top; }
}

/* Native homepage blocks retain the card layout in the editor and on the site. */
.discover-grid.wp-block-group { display: grid; }
.discover-card .wp-block-image { margin: 0; }
.discover-card .wp-block-image img { display: block; }
.discover-card__body > :last-child { margin-bottom: 0; }
.discover-card__link a { text-decoration: none; }
.discover-card__link a:hover { text-decoration: underline; }
.discover-grid > .discover-card { margin-block: 0; }
