/* Event & Programme page: editorial ivory, wedding red, and restrained gold. */
body:not(.admin) .event-page {
    --event-red: #941823;
    --event-red-dark: #68101a;
    --event-ivory: #fffaf1;
    --event-cream: #f8eedc;
    --event-gold: #d2a16a;
    --event-line: #ead7ba;
    --event-ink: #2e201d;
    overflow: hidden;
    color: var(--event-ink);
    background: var(--event-ivory);
}

body:not(.admin) .event-page :is(h1, h2, h3, p) { margin-top: 0; }
body:not(.admin) .event-page :is(h1, h2, h3) { font-family: var(--font-display) !important; font-weight: 600 !important; }
body:not(.admin) .event-page p { max-width: 65ch; }
body:not(.admin) .event-page .eyebrow { display: inline-block; color: #9a542a !important; font: 600 14px/1.5 var(--font-body), sans-serif !important; letter-spacing: .16em !important; }

body:not(.home-page) .page-hero.event-hero:not(.registration-hero) {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    grid-template-rows: minmax(420px, 430px);
    align-items: stretch;
    min-height: 0;
    padding: 0;
    border: 0;
    background: var(--event-ivory);
}
body:not(.home-page) .page-hero.event-hero:not(.registration-hero)::before {
    z-index: 1;
    top: -30px;
    left: -168px;
    width: 245px;
    height: 470px;
    opacity: .24;
}
body:not(.home-page) .page-hero.event-hero:not(.registration-hero)::after { display: none; }

.event-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(570px, calc(100% - 42px));
    flex-direction: column;
    justify-content: center;
    justify-self: end;
    padding: 24px 30px 28px 0;
}
.event-breadcrumb { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #635750; font: 400 14px/1.5 var(--font-body), sans-serif; }
.event-breadcrumb a { color: inherit; text-decoration: none; }
.event-breadcrumb span[aria-hidden="true"] { color: var(--event-gold); }
body:not(.admin) .event-hero .eyebrow { margin-bottom: 7px; }
body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) h1 { max-width: none; margin: 0 0 11px; color: var(--event-ink) !important; font-size: clamp(38px, 3vw, 44px) !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) h1 > span { display: block; }
body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) p { max-width: 48ch; margin: 0; color: #625650 !important; font-size: 16px !important; line-height: 1.7 !important; }
.event-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.event-page .event-hero-actions .btn,
.event-page .event-final-copy .btn,
.event-page .event-practical-cta,
.event-page .event-overseas-card .btn { min-height: 43px; padding: 11px 17px; border-radius: 3px; font-size: 14px !important; }
.event-outline { border: 1px solid #b23b3e; color: var(--event-red); background: transparent; }
.event-outline:hover { color: #fff; background: var(--event-red); }
.event-hero-image { position: relative; min-width: 0; height: 100%; min-height: 0; margin: 0; overflow: hidden; clip-path: ellipse(116% 145% at 100% 50%); }
.event-hero-image::after { position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgb(38 18 14 / 55%), transparent); content: ""; pointer-events: none; }
.event-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.event-hero-image figcaption { position: absolute; z-index: 1; right: max(26px, calc((100vw - 1180px) / 2)); bottom: 16px; color: #fff8ef; font: 500 14px/1.45 var(--font-body), sans-serif; text-shadow: 0 1px 5px rgb(0 0 0 / 60%); }

.event-facts { position: relative; z-index: 2; color: #fff8ed; background: linear-gradient(105deg, #86131d, #9e1724 54%, #79111b); }
.event-facts::before,
.event-facts::after { position: absolute; top: -20px; bottom: -20px; width: 170px; background: url("/assets/heritage-flourish.svg") center / contain no-repeat; opacity: .24; content: ""; pointer-events: none; }
.event-facts::before { left: -83px; }
.event-facts::after { right: -83px; transform: scaleX(-1); }
.event-facts-inner { position: relative; z-index: 1; display: grid; width: min(1180px, calc(100% - 64px)); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: auto; }
.event-fact { display: flex; min-width: 0; min-height: 76px; align-items: center; gap: 16px; padding: 12px 24px; border-right: 1px solid rgb(232 196 145 / 36%); }
.event-fact:first-child { border-left: 1px solid rgb(232 196 145 / 36%); }
.event-fact-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgb(241 202 143 / 75%); border-radius: 50%; color: #f1cc91; }
.event-fact-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.event-fact small { display: block; margin-bottom: 2px; color: #f0c995; font: 600 14px/1.4 var(--font-body), sans-serif; letter-spacing: .15em; }
.event-fact strong { display: block; color: #fff8ed; font: 600 21px/1.16 var(--font-display), Georgia, serif; }
.event-fact strong span { font-size: .78em; }

.event-overview { position: relative; padding: 26px 0 30px; background: #fffaf1; }
.event-overview::after { position: absolute; top: -38px; right: -155px; width: 220px; height: 450px; background: url("/assets/heritage-flourish.svg") center / contain no-repeat; opacity: .17; transform: scaleX(-1); content: ""; pointer-events: none; }
.event-overview-inner { position: relative; z-index: 1; display: grid; width: min(1180px, calc(100% - 64px)); grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 34px; align-items: center; margin: auto; }
.event-overview-photos { display: grid; min-width: 0; grid-template-columns: 1.25fr .85fr; gap: 14px; }
.event-overview-photo { position: relative; min-width: 0; height: clamp(190px, 19vw, 260px); margin: 0; overflow: hidden; background: #eadbc3; }
.event-overview-photo::after { position: absolute; inset: 60% 0 0; background: linear-gradient(0deg, rgb(38 18 14 / 65%), transparent); content: ""; }
.event-overview-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-overview-main img { object-position: center 42%; }
.event-overview-detail img { object-position: center; }
.event-overview-photo figcaption { position: absolute; z-index: 1; right: 12px; bottom: 9px; left: 12px; color: #fff; font: 500 14px/1.4 var(--font-body), sans-serif; }
.event-overview-copy { min-width: 0; padding: 9px 0; }
body:not(.admin) .event-overview-copy h2 { max-width: 14ch; margin: 7px 0 9px; color: var(--event-red) !important; font-size: clamp(32px, 3.1vw, 41px) !important; line-height: 1.2 !important; letter-spacing: -.02em !important; }
body:not(.admin) .event-overview-copy p { max-width: 50ch; margin: 0 0 15px; color: #625750 !important; font-size: 16px !important; line-height: 1.7 !important; }
.event-values { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--event-red); font: 600 15px/1.4 var(--font-display), Georgia, serif; }
.event-values i { width: 1px; height: 15px; background: #c8895c; }

.event-programme { position: relative; overflow: hidden; padding: 23px 0 25px; background: #f8eedc; }
.event-programme::before { position: absolute; top: 20px; bottom: -32px; left: -128px; width: 230px; background: url("/assets/heritage-flourish.svg") center / contain no-repeat; opacity: .16; content: ""; pointer-events: none; }
.event-programme-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 72px)); margin: auto; }
.event-section-heading { max-width: 900px; margin: 0 auto 16px; }
.event-section-heading .eyebrow { margin-bottom: 3px; }
body:not(.admin) .event-section-heading h2 { margin: 0 0 3px; color: var(--event-red) !important; font-size: clamp(32px, 3.1vw, 41px) !important; line-height: 1.2 !important; letter-spacing: -.02em !important; }
body:not(.admin) .event-section-heading p { max-width: 80ch; margin: 0; color: #655953 !important; font-size: 16px !important; line-height: 1.7 !important; }
.event-stage-list { position: relative; }
.event-stage-list::before { position: absolute; top: 28px; bottom: 32px; left: 19px; border-left: 1px dashed #bd8250; content: ""; }
.event-stage { position: relative; display: grid; min-height: 116px; grid-template-columns: 56px minmax(150px, .7fr) minmax(230px, 1.2fr) minmax(150px, 190px); gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid #e5d1b3; }
.event-stage:last-child { border-bottom: 0; }
.event-stage-marker { position: relative; z-index: 1; display: flex; align-self: stretch; justify-content: center; padding-top: 8px; }
.event-stage-marker span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #f8e3bd; background: var(--event-red); box-shadow: 0 0 0 5px #f8eedc; }
.event-stage-marker svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.event-stage-title { min-width: 0; }
body:not(.admin) .event-stage-title h3 { margin: 0 0 2px; color: var(--event-red) !important; font-size: 24px !important; line-height: 1.2 !important; }
.event-stage-title small { display: block; max-width: 25ch; color: #8e4d28; font: 600 14px/1.5 var(--font-body), sans-serif; letter-spacing: .13em; }
.event-stage ul { display: grid; gap: 6px; padding: 0 0 0 17px; margin: 0; color: #5e534d; font: 400 16px/1.7 var(--font-body), sans-serif; }
.event-stage li::marker { color: var(--event-red); }
.event-stage figure { width: 100%; height: 88px; margin: 0; overflow: hidden; }
.event-stage figure img { width: 100%; height: 100%; object-fit: cover; }
.event-provisional-note { display: flex; width: 100%; max-width: none !important; align-items: center; gap: 10px; padding: 9px 13px; margin: 12px 0 0 !important; border: 1px solid #e7d1ad; border-radius: 4px; color: #655a53 !important; background: rgb(255 250 241 / 60%); font-size: 14px !important; line-height: 1.45 !important; }
.event-provisional-note > span:first-child { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border: 1px solid #bb7744; border-radius: 50%; color: #9a5126; font: 600 14px/1 var(--font-body), sans-serif; }

.event-tradition { position: relative; display: flex; min-height: 250px; align-items: center; overflow: hidden; color: #fffaf1; background: var(--event-red-dark); }
.event-tradition > img { position: absolute; inset: 0 0 0 42%; width: 58%; height: 100%; object-fit: cover; object-position: center 43%; }
.event-tradition-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #75111b 0%, #75111b 39%, rgb(117 17 27 / 78%) 51%, rgb(117 17 27 / 5%) 100%); }
.event-tradition::before { position: absolute; z-index: 1; top: -80px; bottom: -130px; left: -130px; width: 270px; background: url("/assets/heritage-flourish.svg") center / contain no-repeat; opacity: .28; content: ""; pointer-events: none; }
.event-tradition-copy { position: relative; z-index: 2; width: min(1180px, calc(100% - 64px)); padding: 28px 0; margin: auto; }
body:not(.admin) .event-tradition-copy h2 { max-width: 14ch; margin: 5px 0 7px; color: #fffaf1 !important; font-size: clamp(32px, 3.2vw, 42px) !important; line-height: 1.2 !important; letter-spacing: -.02em !important; }
body:not(.admin) .event-tradition-copy .eyebrow { color: #f0cb91 !important; }
body:not(.admin) .event-tradition-copy p { max-width: 48ch; margin: 0; color: #f9eade !important; font-size: 16px !important; line-height: 1.7 !important; }

.event-practical { position: relative; overflow: hidden; padding: 23px 0 26px; background: #fffaf1; }
.event-practical::after { position: absolute; right: -122px; bottom: -140px; width: 270px; height: 370px; background: url("/assets/heritage-flourish.svg") center / contain no-repeat; opacity: .19; transform: scaleX(-1); content: ""; pointer-events: none; }
.event-practical-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 72px)); margin: auto; }
.event-practical .event-section-heading { margin-bottom: 12px; }
.event-practical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: stretch; }
.event-practical-card { display: flex; min-width: 0; gap: 11px; align-items: flex-start; padding: 13px 12px; border: 1px solid var(--event-line); border-radius: 3px; background: rgb(255 253 248 / 78%); }
.event-practical-card > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: var(--event-red); }
.event-practical-card svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
body:not(.admin) .event-page .event-practical-card h3 { margin: 1px 0 3px; color: var(--event-red) !important; font: 600 24px/1.2 var(--font-display), Georgia, serif !important; }
.event-practical-card p { margin: 0 !important; color: #665b54 !important; font-size: 16px !important; line-height: 1.7 !important; }
.event-practical-cta { align-self: center; white-space: nowrap; }

.event-help { position: relative; padding: 0 0 26px; background: #fffaf1; }
.event-help-inner { display: grid; width: min(1120px, calc(100% - 72px)); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; margin: auto; }
.event-overseas-card { position: relative; display: flex; min-height: 216px; gap: 15px; align-items: flex-start; padding: 25px 22px; overflow: hidden; border: 1px solid #ead8b9; background: linear-gradient(120deg, #f9ebd0, #fff7e8); }
.event-overseas-card::after { position: absolute; right: -46px; bottom: -60px; width: 180px; height: 180px; border: 1px solid rgb(190 128 70 / 24%); border-radius: 50%; box-shadow: 0 0 0 18px rgb(190 128 70 / 6%), 0 0 0 38px rgb(190 128 70 / 5%); content: ""; pointer-events: none; }
.event-help-globe { position: relative; z-index: 1; display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: #a65f2c; }
.event-help-globe svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; }
.event-overseas-card > div { position: relative; z-index: 1; }
body:not(.admin) .event-overseas-card h2,
body:not(.admin) .event-faq-card h2 { margin: 4px 0 5px; color: var(--event-red) !important; font-size: clamp(32px, 2.4vw, 32px) !important; line-height: 1.2 !important; letter-spacing: -.01em !important; }
body:not(.admin) .event-overseas-card p { max-width: 44ch; margin: 0 0 13px; color: #625750 !important; font-size: 16px !important; line-height: 1.7 !important; }
.event-overseas-card .event-outline { min-height: 36px !important; }
.event-faq-card { min-width: 0; padding: 19px 18px 13px; border: 1px solid #eadbc3; background: #fffdf8; }
.event-faq-card > .eyebrow { margin-bottom: 0; }
body:not(.admin) .event-faq-card h2 { margin-bottom: 10px; }
.event-faq-list { border: 1px solid #eadbc3; background: #fff; }
.event-faq-list details + details { border-top: 1px solid #eee3d2; }
.event-faq-list summary { display: flex; min-height: 37px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; color: #382b27; cursor: pointer; list-style: none; font: 500 14px/1.4 var(--font-body), sans-serif; }
.event-faq-list summary::-webkit-details-marker { display: none; }
.event-faq-list summary b { flex: 0 0 auto; color: var(--event-red); font: 500 18px/1 var(--font-body), sans-serif; }
.event-faq-list details[open] summary b { transform: rotate(45deg); }
.event-faq-list details p { max-width: none; padding: 0 11px 10px 27px; margin: 0 !important; color: #675d57 !important; font-size: 16px !important; line-height: 1.7 !important; }

.event-final-cta { display: grid; min-height: 190px; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr); background: #f3d9a7; }
.event-final-cta figure { min-height: 190px; margin: 0; overflow: hidden; }
.event-final-cta figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.event-final-copy { align-self: center; padding: 24px clamp(24px, 5vw, 74px); }
body:not(.admin) .event-final-copy h2 { max-width: 18ch; margin: 4px 0 5px; color: var(--event-red) !important; font-size: clamp(32px, 3vw, 40px) !important; line-height: 1.2 !important; letter-spacing: -.02em !important; }
body:not(.admin) .event-final-copy p { max-width: 48ch; margin: 0 0 12px; color: #5f5149 !important; font-size: 16px !important; line-height: 1.7 !important; }

@media (max-width: 1000px) {
    body:not(.home-page) .page-hero.event-hero:not(.registration-hero) { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); grid-template-rows: minmax(400px, 420px); }
    .event-hero-copy { width: min(500px, calc(100% - 34px)); padding-right: 17px; }
    body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) h1 { font-size: clamp(38px, 4.2vw, 43px) !important; }
    .event-overview-inner { grid-template-columns: minmax(0, 1.1fr) minmax(275px, .9fr); gap: 24px; }
    .event-stage { grid-template-columns: 50px minmax(135px, .7fr) minmax(200px, 1.2fr) minmax(125px, 165px); gap: 10px; }
    .event-practical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .event-practical-cta { justify-self: start; }
}

@media (max-width: 760px) {
    body:not(.admin) .event-page .eyebrow { font-size: 14px !important; }
    body:not(.home-page) .page-hero.event-hero:not(.registration-hero) { grid-template-columns: 1fr; grid-template-rows: auto 265px; }
    .event-hero-copy { width: min(calc(100% - 40px), 620px); justify-self: center; padding: 22px 0 25px; }
    .event-breadcrumb { margin-bottom: 15px; }
    body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) h1 { max-width: 15ch; font-size: clamp(38px, 7vw, 48px) !important; }
    body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) p { max-width: 56ch; font-size: 16px !important; }
    .event-hero-image { clip-path: none; }
    .event-hero-image figcaption { right: 20px; }
    .event-facts-inner { width: min(100% - 32px, 620px); grid-template-columns: 1fr; }
    .event-fact { min-height: 63px; padding: 9px 15px; border-right: 1px solid rgb(232 196 145 / 36%); border-bottom: 1px solid rgb(232 196 145 / 30%); border-left: 1px solid rgb(232 196 145 / 36%); }
    .event-fact:last-child { border-bottom: 0; }
    .event-fact-icon { width: 38px; height: 38px; flex-basis: 38px; }
    .event-fact strong { font-size: 20px; }
    .event-overview { padding: 24px 0 27px; }
    .event-overview-inner { width: min(calc(100% - 36px), 620px); grid-template-columns: 1fr; gap: 16px; }
    .event-overview-photo { height: clamp(180px, 48vw, 265px); }
    body:not(.admin) .event-overview-copy h2 { max-width: 18ch; font-size: 34px !important; }
    .event-programme { padding: 24px 0; }
    .event-programme-inner, .event-practical-inner { width: min(calc(100% - 36px), 620px); }
    .event-section-heading { margin-bottom: 15px; }
    body:not(.admin) .event-section-heading h2 { font-size: 33px !important; }
    .event-stage-list::before { left: 17px; }
    .event-stage { grid-template-columns: 46px minmax(0, 1fr) 112px; gap: 9px; padding: 12px 0; }
    .event-stage-marker { grid-row: 1 / span 2; }
    .event-stage-title { grid-column: 2 / 4; }
    .event-stage-title h3 { grid-column: 2 / 4; }
    .event-stage ul { grid-column: 2; padding-left: 15px; font-size: 16px; }
    .event-stage figure { grid-column: 3; height: 92px; }
    .event-stage-marker span { width: 38px; height: 38px; }
    .event-tradition { min-height: 300px; align-items: end; }
    .event-tradition > img { inset: 0; width: 100%; height: 100%; object-position: 65% center; }
    .event-tradition-shade { background: linear-gradient(0deg, rgb(92 12 20 / 96%) 0%, rgb(92 12 20 / 83%) 44%, rgb(92 12 20 / 12%) 100%); }
    .event-tradition-copy { width: min(calc(100% - 38px), 620px); padding: 80px 0 24px; }
    body:not(.admin) .event-tradition-copy h2 { max-width: 15ch; font-size: 34px !important; }
    .event-practical { padding: 24px 0; }
    .event-practical-grid { grid-template-columns: 1fr; }
    .event-practical-card { min-height: 80px; }
    .event-practical-card p { font-size: 16px !important; }
    .event-practical-cta { justify-self: stretch; }
    .event-help { padding-bottom: 24px; }
    .event-help-inner { width: min(calc(100% - 36px), 620px); grid-template-columns: 1fr; gap: 13px; }
    .event-overseas-card { min-height: 0; padding: 22px 17px; }
    .event-faq-card { padding: 18px 13px 12px; }
    .event-final-cta { grid-template-columns: 1fr; }
    .event-final-cta figure { min-height: 175px; max-height: 230px; }
    .event-final-copy { padding: 22px max(19px, calc((100vw - 620px) / 2)); }
    body:not(.admin) .event-final-copy h2 { font-size: 34px !important; }
}

@media (max-width: 430px) {
    body:not(.home-page) .page-hero.event-hero:not(.registration-hero) { grid-template-rows: auto 220px; }
    .event-hero-copy { width: calc(100% - 34px); }
    body:not(.home-page) .event-page .page-hero.event-hero:not(.registration-hero) h1 { font-size: 38px !important; }
    .event-hero-actions { gap: 8px; }
    .event-page .event-hero-actions .btn { flex: 1 1 auto; padding-inline: 11px; font-size: 14px !important; }
    .event-overview-photos { gap: 8px; grid-template-columns: 1.1fr .9fr; }
    .event-overview-photo { height: 175px; }
    .event-stage { grid-template-columns: 43px minmax(0, 1fr) 86px; gap: 7px; }
    .event-stage ul { font-size: 16px; }
    .event-stage figure { height: 78px; }
    .event-stage-title small { font-size: 14px; }
    .event-values { gap: 8px; font-size: 14px; }
    .event-fact strong { font-size: 19px; }
    .event-overseas-card { gap: 8px; }
    .event-help-globe { width: 36px; height: 36px; flex-basis: 36px; }
    .event-help-globe svg { width: 36px; height: 36px; }
}
