/* Warm editorial design for the Ministry homepage. */
.home-editorial {
  --home-ink: #30251b;
  --home-muted: #655747;
  --home-ivory: #f7f1e6;
  --home-sand: #f0e4ce;
  --home-gold: #c99842;
  --home-link: #805521;
  --home-line: #d9c8ad;
  position: relative;
  color: var(--home-ink);
  background: #fffcf6;
}
.home-editorial > main { display: block; }
.home-editorial .container { width: min(100% - 112px, 1272px); padding-inline: 0; margin-inline: auto; }
.home-editorial main section[id] { scroll-margin-top: 20px; }
.home-editorial h1, .home-editorial h2, .home-editorial h3 {
  font-family: Forum, Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-transform: none;
}
.home-editorial h2 { font-size: clamp(2.5rem, 4.2vw, 4.35rem); margin: 0 0 24px; }
.home-editorial h3 { font-size: clamp(1.6rem, 2.2vw, 2.35rem); margin: 0 0 12px; }
.home-editorial p { line-height: 1.65; }
.home-editorial .home-kicker {
  color: var(--home-link);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.45;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.home-header { position: absolute; inset: 0 0 auto; color: #fff9ee; z-index: 10; }
.home-header > .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(18px, 2.8vw, 46px); min-height: 90px;
}
.home-logo { flex: 0 0 134px; }
.home-logo img { display: block; width: 134px; height: auto; }
.home-header nav { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 36px); }
.home-header nav a, .home-header-phone { font-size: .83rem; font-weight: 600; white-space: nowrap; }
.home-header a:hover { color: #ffe0a0; }
.home-mobile-nav { display: none; }
.home-cover { display: grid; align-items: center; position: relative; min-height: 700px; color: #fffaf1; isolation: isolate; }
.home-cover-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 47%; z-index: -2; }
.home-cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,#211408ed 0%,#291909dc 28%,#38200f5c 65%,#2f1a0c28 100%), linear-gradient(#251a11a6, transparent 30%, transparent 70%, #2316096b);
}
.home-cover-copy { padding-block: 144px 96px; }
.home-cover-copy h1 { color: inherit; font-size: clamp(4.4rem, 6.8vw, 7.1rem); margin: 0 0 24px; }
.home-cover-copy > p:not(.home-kicker) { max-width: 520px; color: #fff3e0; font-size: clamp(1rem, 1.35vw, 1.18rem); margin: 0 0 22px; }
.home-cover-copy .home-kicker { color: #f0d198; }
.home-cover-copy .home-cover-meta { font-weight: 600; }
.home-cover-meta span { color: #eac67d; padding-inline: 5px; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.home-editorial .home-button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 21px; border-radius: 8px;
  background: #e4ba69; border: 1px solid transparent; color: #291b0e; font-weight: 700; font-size: .87rem;
}
.home-editorial .home-button:hover { background: #efca82; }
.home-editorial .home-outline { background: transparent; border-color: #997a51; color: inherit; }
.home-editorial .home-outline:hover { background: #bd925133; }
.home-cover .home-outline { border-color: #fff5d580; }
.home-quick { background: #ede3d3; }
.home-quick .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-quick a { display: grid; place-items: center; min-height: 58px; padding: 10px 8px; text-align: center; color: #51402e; font-size: .83rem; font-weight: 600; }
.home-quick a + a { border-inline-start: 1px solid #d8c9b4; }
.home-quick a:hover { background: #f6ecdc; }
.home-section { padding-block: clamp(52px, 6.2vw, 94px); }
.home-ivory { background: var(--home-ivory); }
.home-sand, .home-finale { background: var(--home-sand); }
.home-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 88px); }
.home-split p, .home-section-head p, .home-lead { max-width: 62ch; color: var(--home-muted); }
.home-frame { display: block; overflow: hidden; border-radius: 25px; background: #e8d8bf; }
.home-frame img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.home-frame.zoom-photo img { object-fit: contain; background: #1f1a14; }
.home-editorial .home-link { display: inline-block; color: var(--home-link); font-weight: 700; line-height: 1.45; margin-top: 10px; font-size: .87rem; }
.home-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.home-section-head { display: grid; grid-template-columns: 1.15fr .7fr; gap: 36px; align-items: end; }
.home-section-head p { margin: 0 0 24px; }
.home-timeline {
  display: grid; grid-template-columns: repeat(6, 1fr); list-style: none;
  padding: 0; margin: 14px 0 30px; gap: 26px 20px;
}
.home-timeline li { grid-column: span 2; }
.home-timeline li:nth-child(n+4) { grid-column: span 3; }
.home-timeline img, .home-photo-cards img { display: block; width: 100%; aspect-ratio: 1.62; object-fit: cover; border-radius: 13px; margin-bottom: 15px; }
.home-timeline li:nth-child(n+4) img { aspect-ratio: 2.2; }
.home-timeline h3 { font-size: clamp(1.37rem, 2vw, 2.1rem); }
.home-timeline h3 span { color: var(--home-link); margin-right: 6px; font-family: Forum, Georgia, serif; }
.home-timeline p, .home-card-grid p:not(.home-kicker), .home-included p { color: var(--home-muted); margin: 0; }
.home-included { padding: 21px 25px; border-radius: 13px; background: #fffaf0; border: 1px solid var(--home-line); }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 29px 12px; }
.home-courses { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-courses article, .home-houses article, .home-booking-facts article, .home-other { background: #fffaf2; border-radius: 14px; padding: 25px; }
.home-courses h3 { font-size: clamp(1.5rem, 2.2vw, 2.15rem); }
.home-courses small { display: block; color: var(--home-link); margin-top: 14px; }
.home-houses { grid-template-columns: 1fr 1fr; }
.home-houses article { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; }
.home-houses article img { width: 76px; height: 105px; object-fit: contain; }
.home-houses .home-kicker { margin-bottom: 6px; }
.home-book { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px 25px; margin-top: 20px; background: #ebdec6; border-radius: 14px; }
.home-book img { width: 76px; height: auto; }
.home-book p { margin: 0; }
.home-booking-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-booking-facts strong { color: var(--home-link); font: 400 clamp(1.65rem, 2.6vw, 2.65rem)/1 Forum, Georgia, serif; }
.home-booking-facts p { margin: 9px 0 0; font-size: .86rem; }
.home-season { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--home-line); padding-top: 20px; margin-top: 30px; }
.home-season p, .home-season h3 { margin-bottom: 8px; }
.home-season a { flex-shrink: 0; }
.home-photo-cards p { max-width: 44ch; }
.home-expand { border-top: 1px solid var(--home-line); padding-block: 15px 0; margin-top: 28px; }
.home-expand > summary { cursor: pointer; color: var(--home-link); font-weight: 700; }
.home-editorial #locations { background: transparent; color: inherit; padding: 26px 0 0; }
.home-editorial #locations .container { width: 100%; }
.home-editorial #locations [aria-selected="true"] { background: #72512f; color: white; }
.home-editorial .home-film figure { margin: 0; overflow: hidden; border-radius: 16px; }
.home-editorial .home-film figcaption { background: #39291e; color: #fff3e0; }
.home-film-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #39291e; color: #30251b; cursor: pointer; }
.home-film-trigger img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-film-trigger span { position: absolute; bottom: 15px; left: 15px; padding: 9px 13px; border-radius: 7px; background: #f4d294; font-size: .82rem; font-weight: 700; }
.home-other a { display: block; padding: 9px 0; color: var(--home-link); }
.home-faq { align-items: start; }
.home-editorial #home-faq-list details { display: block; border-bottom: 1px solid var(--home-line); margin: 0; padding: 0; color: var(--home-ink); }
.home-editorial #home-faq-list summary { cursor: pointer; color: var(--home-ink); min-height: 50px; height: auto; padding: 12px 0; }
.home-finale { text-align: center; }
.home-finale .home-actions { justify-content: center; }
.home-editorial footer.contact { background: #efe5d3; color: var(--home-ink); opacity: 1 !important; transform: none !important; }
.home-editorial footer.contact h2, .home-editorial footer.contact h3, .home-editorial footer.contact p,
.home-editorial footer.contact a, .home-editorial footer.contact small, .home-editorial footer.contact summary { color: var(--home-ink); }
.home-editorial footer.contact .address-panel { background: #fffbf2; }
.home-editorial footer.contact .eyebrow { color: var(--home-link); }
.home-editorial footer.contact .button.secondary { border-color: #9c8059; }
.home-editorial footer.contact .footer-contact-row, .home-editorial footer.contact .footer-bottom,
.home-editorial footer.contact .footer-links, .home-editorial footer.contact .test-footer { border-color: var(--home-line); }
.home-editorial :is(a,button,summary):focus-visible { outline: 2px solid #ab7531; outline-offset: 4px; }

@media (max-width: 1000px) {
  .home-editorial .container { width: calc(100% - 56px); }
  .home-header > .container > nav, .home-header-phone { display: none; }
  .home-mobile-nav { display: block; position: relative; }
  .home-mobile-nav summary { cursor: pointer; padding: 10px 13px; border: 1px solid #ffffff66; border-radius: 7px; }
  .home-mobile-nav nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; gap: 0; min-width: 220px; background: #fff8eb; color: var(--home-ink); border-radius: 10px; padding: 10px 15px; box-shadow: 0 8px 25px #29170936; }
  .home-mobile-nav nav a { padding-block: 8px; }
  .home-mobile-nav nav a:hover { color: var(--home-link); }
  .home-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .home-editorial .container { width: calc(100% - 36px); }
  .home-header > .container { min-height: 68px; }
  .home-logo { flex-basis: 112px; }
  .home-logo img { width: 112px; }
  .home-cover { min-height: 0; align-items: end; }
  .home-cover-image { object-position: 57% 20%; }
  .home-cover::before { background: linear-gradient(0deg,#251609fc 2%,#2a1a0ef2 32%,#2d1b0b72 65%,#22140864 100%); }
  .home-cover-copy { padding-block: 205px 42px; }
  .home-cover-copy h1 { font-size: clamp(2.9rem, 11vw, 4.15rem); }
  .home-cover-copy > p:not(.home-kicker) { font-size: .94rem; }
  .home-cover-copy .home-kicker { font-size: .66rem; }
  .home-quick .container { grid-template-columns: 1fr 1fr; }
  .home-quick a { min-height: 43px; font-size: .75rem; }
  .home-quick a:nth-child(3) { border-inline-start: 0; }
  .home-quick a:nth-child(n+3) { border-block-start: 1px solid #d8c9b4; }
  .home-split, .home-section-head, .home-houses, .home-photo-cards { grid-template-columns: 1fr; gap: 22px; }
  .home-photo-first .home-frame { order: 2; }
  .home-section-head { gap: 0; }
  .home-section-head p { margin-bottom: 16px; }
  .home-timeline { grid-template-columns: repeat(2, 1fr); gap: 18px 13px; }
  .home-timeline li, .home-timeline li:nth-child(4) { grid-column: span 1; }
  .home-timeline li:nth-child(5) { grid-column: 1 / -1; }
  .home-timeline li:nth-child(4) img { aspect-ratio: 1.62; }
  .home-timeline h3 { font-size: 1.42rem; }
  .home-timeline p { font-size: .85rem; }
  .home-courses { gap: 10px; }
  .home-courses article, .home-booking-facts article, .home-other { padding: 16px; }
  .home-courses h3 { font-size: 1.42rem; }
  .home-courses p { font-size: .85rem; }
  .home-book { padding-inline: 15px; gap: 15px; }
  .home-season { align-items: flex-start; flex-direction: column; gap: 10px; }
}
