/* ================================================
   Eucalyptus Baptism Theme – Digital Invitation
   A formal keepsake-card look, after a printed christening card: a thin gold
   double-hairline frame on watercolour paper, lush eucalyptus sprays spilling
   from opposite corners, a gold-ringed round portrait, a flowing calligraphy
   name, and slim gold rule + Latin-cross seams between sections.
   ================================================ */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Three independently pickable seeds (see the "Button Color" / "Section
       Background" / "Accent Details" pickers in the event editor) — every tint
       below each one is calculated from it with color-mix() instead of its own
       hardcoded hex, so picking a new color recolors every card/rule/leaf that
       reads the matching variable. Ratios reproduce the original gold-and-
       eucalyptus palette and stay balanced for other colors too. The
       section-title / seam Latin cross is baked into its own data-URI and does
       NOT follow the pickers (same known limitation as the other baptism
       themes). */
    --btn-accent:        #B08D3C;
    --btn-color:         var(--btn-accent);
    --btn-color-light:   color-mix(in srgb, var(--btn-accent) 55%, white);
    --btn-color-dark:    color-mix(in srgb, var(--btn-accent) 55%, black);

    --section-bg-accent: #7B8F66;
    --paper:             color-mix(in srgb, var(--section-bg-accent) 4%, white);
    --paper-alt:         color-mix(in srgb, var(--section-bg-accent) 11%, white);
    --leaf:              var(--section-bg-accent);
    --leaf-soft:         color-mix(in srgb, var(--section-bg-accent) 45%, white);
    --leaf-deep:         color-mix(in srgb, var(--section-bg-accent) 45%, black);

    --accent-detail:     #B08D3C;
    --gold:              var(--accent-detail);
    --gold-light:        color-mix(in srgb, var(--accent-detail) 52%, white);
    --gold-pale:         color-mix(in srgb, var(--accent-detail) 24%, white);
    --gold-deep:         color-mix(in srgb, var(--accent-detail) 52%, black);

    --white:        #FFFFFF;
    --ink:          #3A382E;
    --body:         #5D5A4C;
    --muted:        #8E8A76;
    --accent-color: var(--accent-detail);
    --radius:       4px;
    --btn-radius:   2px;
    --ff-display:   'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive;
    --ff-serif:     'Cormorant Garamond', 'Georgia', serif;

    --eu-cross-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 56'%3E%3Cpath d='M17,2 h6 v16 h14 v6 h-14 v30 h-6 v-30 h-14 v-6 h14 z' fill='%23B08D3C'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff-serif);
    font-weight: 500;
    color: var(--body);
    background-color: var(--paper);
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Utility ---------- */
.eu-container         { max-width: 1080px; margin: 0 auto; }
.eu-container--narrow { max-width: 640px; }

/* Every section sits on the same flat paper ground — this keepsake-card look
   wants calm uniformity, not an alternating-tint rhythm. A section boundary is
   marked only by the slim tapered gold rule below (::after), which reads
   cleanly precisely because the ground never changes colour across it. The
   rule survives any section being hidden by plan tier / visibility toggle /
   missing data, since it's :not(:last-child) on whatever remains.
*/
.eu-alt-sections > * {
    position: relative;
    background-color: var(--paper);
    background-repeat: no-repeat;
}

.eu-poem::after,
.eu-alt-sections > *:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(58%, 400px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    z-index: 1;
    pointer-events: none;
}


.eu-section-title {
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 600;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--gold-deep);
    text-align: center;
    margin-bottom: 1.75rem;
    padding-top: 2.6rem;
    position: relative;
}
.eu-section-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 22px;
    background: no-repeat center / contain var(--eu-cross-img);
}

/* ---------- Eucalyptus sprays / sprigs ---------- */
.eu-spray {
    position: absolute;
    height: auto;
    display: block;
    color: var(--leaf);
    opacity: .58;
    pointer-events: none;
    z-index: 0;
}

/* Soft misty haze behind each corner cluster — a blurred pale-green blob, kept
   in the corner so it never drifts under the centred text. */
.eu-spray-fog {
    position: absolute;
    width: 210px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        color-mix(in srgb, var(--leaf) 30%, transparent) 0%,
        color-mix(in srgb, var(--leaf) 9%, transparent) 46%,
        transparent 72%);
    filter: blur(26px);
    pointer-events: none;
    z-index: 0;
}
.eu-spray-fog--tl { top: -58px; left: -52px; }
.eu-spray-fog--br { right: -62px; bottom: -66px; width: 250px; height: 220px; }

/* ---------- Hero ---------- */
.eu-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6.5rem 1.25rem 7rem;
    background:
        radial-gradient(ellipse 60% 50% at 22% 18%, color-mix(in srgb, var(--leaf) 12%, transparent), transparent 70%),
        radial-gradient(ellipse 55% 45% at 82% 86%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%),
        var(--paper);
}

.eu-hero__card {
    position: relative;
    isolation: isolate;
    width: min(600px, 100%);
    padding: clamp(3rem, 8vw, 4.5rem) clamp(1.5rem, 6vw, 3.25rem);
    text-align: center;
    background: color-mix(in srgb, var(--white) 78%, var(--paper));
    border: 1px solid var(--gold);
    box-shadow: 0 30px 70px rgba(58,56,46,.12);
}
.eu-hero__card::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--gold-light);
    pointer-events: none;
    z-index: 0;
}

/* All hero content rides above the foliage + fog (both z-index:0 inside the
   card's own stacking context, established by isolation:isolate above). */
.eu-hero__inner {
    position: relative;
    z-index: 1;
}

.eu-spray--tl {
    top: -16px;
    left: -16px;
    width: 150px;
}
.eu-spray--br {
    right: -22px;
    bottom: -24px;
    width: 182px;
}

/* ---------- Hero photo (round, gold-ringed, gilt sprig arc) ---------- */
.eu-hero__photo {
    position: relative;
    width: min(188px, 52%);
    margin: 0 auto 1.9rem;
}

.eu-hero__photo-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--leaf-soft);
    border: 2px solid var(--white);
    box-shadow:
        0 0 0 1px var(--gold),
        0 0 0 6px color-mix(in srgb, var(--white) 78%, var(--paper)),
        0 0 0 7px var(--gold-light),
        0 12px 30px rgba(58,56,46,.16);
}

.eu-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eu-hero__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}


/* ---------- Hero text ---------- */
.eu-hero__eyebrow {
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gold-deep);
    line-height: 1.7;
    margin-bottom: .4rem;
}

.eu-hero__name {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(3.2rem, 13vw, 5rem);
    line-height: 1;
    color: var(--gold);
    margin: .1rem 0 .8rem;
    overflow-wrap: break-word;
}

.eu-hero__date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-deep);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}
.eu-hero__date-cross {
    width: 13px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.eu-hero__godparent {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--body);
    margin-top: .95rem;
}

.eu-hero__lines {
    margin-top: 1.15rem;
    font-family: var(--ff-serif);
    font-size: 1.08rem;
    color: var(--ink);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}
.eu-hero__lines strong { font-weight: 700; }
.eu-hero__lines-sub {
    font-size: .9rem;
    color: var(--muted);
    margin-top: .15rem;
}

@media (max-width: 560px) {
    .eu-spray--tl { top: -22px; left: -20px; width: 118px; }
    .eu-spray--br { bottom: -26px; right: -22px; width: 148px; }
    .eu-hero__name { font-size: clamp(2.8rem, 15vw, 3.6rem); }
}

/* ---------- Hero shape divider (partial) — sprig · rule · sprig ---------- */
.eu-shape {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(72%, 470px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: none;
    z-index: 2;
}
.eu-shape-bottom { bottom: 24px; }
.eu-shape-top { top: 24px; }
.eu-shape__rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rule, var(--gold)), transparent);
}
.eu-shape__sprig {
    flex: none;
    width: 74px;
    height: auto;
    color: var(--gold);
    opacity: .7;
}
.eu-shape__sprig--flip { transform: scaleX(-1); }

/* Floating topbar */
.eu-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: .9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background .3s ease, backdrop-filter .3s ease;
}

@media (min-width: 601px) {
    .eu-topbar.scrolled {
        background: color-mix(in srgb, var(--paper) 92%, transparent);
        backdrop-filter: blur(10px);
    }
}

.eu-topbar__links {
    display: flex;
    gap: 1.25rem;
}
.eu-topbar__links a {
    font-family: var(--ff-serif);
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--body);
    transition: color .2s;
}
.eu-topbar__links a:hover { color: var(--gold-deep); text-decoration: none; }

.eu-topbar__toggle { display: none; }

/* Demo-only Basic/Standard switch + close + cart badge — shared look defined
   globally in layouts/theme.blade.php, positioned here at opposite bottom
   corners, at every screen width. */
.dpb-switch,
.dpb-fab {
    position: fixed;
    bottom: 1rem;
    z-index: 9999;
}
.dpb-fab { right: 1rem; }
.dpb-close { right: 4rem; }
.dpb-switch {
    left: 1rem;
    display: flex;
    align-items: center;
    height: 2.5rem;
    padding: 0 .25rem;
}
.dpb-switch a {
    display: inline-flex;
    align-items: center;
    height: 2rem;
    padding: 0 .9rem;
    font-size: 12px;
}

@media (max-width: 600px) {
    .eu-topbar { justify-content: flex-start; }
    .eu-topbar__toggle { order: -1; }

    .eu-topbar__toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 3rem;
        height: 3rem;
        padding: 0;
        border: 1.5px solid rgba(255,255,255,.4);
        border-radius: 50%;
        background: color-mix(in srgb, var(--gold-deep) 55%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        cursor: pointer;
        transition: background .2s;
    }
    .eu-topbar__toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 1px;
        background: #fff;
        transition: transform .25s ease, opacity .2s ease;
    }
    .eu-topbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .eu-topbar__toggle.is-active span:nth-child(2) { opacity: 0; }
    .eu-topbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .eu-topbar__links {
        flex-direction: column;
        gap: .25rem;
        position: absolute;
        top: calc(100% + .5rem);
        left: 1rem;
        right: 1rem;
        padding: .5rem;
        background: color-mix(in srgb, var(--paper) 97%, transparent);
        border: 1px solid var(--gold);
        box-shadow: 0 12px 32px rgba(58,56,46,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .eu-topbar__links.is-open {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .eu-topbar__links a {
        text-align: center;
        padding: .65rem 1rem;
        color: var(--body);
        flex: initial;
        white-space: normal;
    }
    .eu-topbar__links a:hover { background: color-mix(in srgb, var(--accent-detail) 12%, transparent); color: var(--gold-deep); }
}

/* ---------- Countdown ---------- */
.eu-countdown {
    padding: 5rem 1.25rem 7rem;
    text-align: center;
}

.eu-audio { padding: 5rem 1.25rem 7rem; text-align: center; }

.eu-countdown__intro {
    font-family: var(--ff-serif);
    font-style: italic;
    color: var(--body);
    font-size: 1.15rem;
    max-width: 460px;
    margin: 0 auto;
}

.eu-countdown__timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

.eu-countdown__unit {
    position: relative;
    min-width: 94px;
    padding: 1.6rem .5rem 1.05rem;
    background: color-mix(in srgb, var(--white) 72%, var(--paper));
    border: 1px solid var(--gold);
}
.eu-countdown__unit::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--gold-pale);
    pointer-events: none;
}

.eu-countdown__number {
    display: block;
    font-family: var(--ff-serif);
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--gold-deep);
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

.eu-countdown__label {
    display: block;
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .62rem;
    font-weight: 700;
    color: var(--muted);
    margin-top: .5rem;
}

/* ---------- Symbols of the Day (shared <x-baptism-symbols>) ---------- */
.eu-symbols {
    padding: 5rem 1.25rem 7rem;
    text-align: center;
    color: var(--body);
}
.eu-symbols .bsym-icon {
    position: relative;
    border-radius: 0;
    border: 1px solid var(--gold);
    background: color-mix(in srgb, var(--white) 72%, var(--paper));
    color: var(--gold-deep);
    box-shadow: none;
}
.eu-symbols .bsym-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--gold-pale);
}
.eu-symbols .bsym-label {
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .95rem;
    color: var(--gold-deep);
}
.eu-symbols .bsym-desc {
    font-family: var(--ff-serif);
    font-style: italic;
}

/* ---------- Framed card (poem, godparents) ---------- */
.eu-card {
    position: relative;
    background-color: color-mix(in srgb, var(--white) 78%, var(--paper));
    background-image: radial-gradient(72% 60% at 100% 0%,
        color-mix(in srgb, var(--leaf) 12%, transparent) 0%, transparent 64%);
    background-repeat: no-repeat;
    border: 1px solid var(--gold);
    padding: 3rem 2.25rem 2.5rem;
    max-width: 620px;
    margin: 0 auto;
}
.eu-card::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--gold-light);
    pointer-events: none;
}

/* ---------- A Blessing (message / quote card) ---------- */
.eu-poem {
    padding: 5rem 1.25rem 7rem;
    text-align: center;
    position: relative;
    background-color: var(--paper);
    background-image: radial-gradient(58% 52% at 14% 18%,
        color-mix(in srgb, var(--leaf) 13%, transparent) 0%, transparent 62%);
    background-repeat: no-repeat;
}
.eu-poem__quote {
    width: 34px;
    height: 26px;
    margin: 0 auto 1.25rem;
    color: var(--gold);
    opacity: .7;
}
.eu-poem__quote svg { width: 100%; height: 100%; }
.eu-poem__text {
    font-family: var(--ff-serif);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.75;
    color: var(--ink);
    white-space: pre-line;
}
.eu-poem__mark {
    display: block;
    width: 16px;
    height: 22px;
    margin: 1.5rem auto 0;
    color: var(--gold);
}

/* ---------- The Godparents ---------- */
.eu-godparents {
    padding: 5rem 1.25rem 7rem;
    text-align: center;
}
.eu-godparents__names {
    font-family: var(--ff-display);
    font-size: 2.1rem;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: .5rem;
}
.eu-godparents__note {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--body);
}

/* ---------- Our Story / Gallery (generic <x-story-timeline> / <x-gallery-grid>) ---------- */
.eu-story   { padding: 5rem 1.25rem 7rem; text-align: center; }
.eu-gallery { padding: 5rem 1.25rem 7rem; text-align: center; }

/* ---------- Order of Service (Program) ---------- */
.eu-program {
    padding: 5rem 1.25rem 7rem;
    text-align: center;
}
.eu-program__list {
    max-width: 440px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.eu-program__line {
    font-family: var(--ff-serif);
    font-size: 1.25rem;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.eu-program__line strong {
    font-weight: 700;
    color: var(--gold-deep);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}
.eu-program__sep { color: var(--gold); }
.eu-program__where {
    font-family: var(--ff-serif);
    font-size: .95rem;
    color: var(--muted);
    margin-top: .2rem;
}
.eu-program__where a { color: var(--gold-deep); margin-left: .4em; }

/* ---------- Dress Code / Good to Know ---------- */
.eu-dress-code   { padding: 5rem 1.25rem 7rem; text-align: center; }
.eu-good-to-know { padding: 5rem 1.25rem 7rem; text-align: center; }

/* ---------- The Church (Map) ---------- */
.eu-location { padding: 5rem 1.25rem 7rem; text-align: center; }
.eu-location__map { max-width: 560px; margin: 1rem auto 0; }
.eu-location__map iframe {
    width: 100%;
    height: 320px;
    display: block;
    border: 1px solid var(--gold);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--white) 78%, var(--paper)),
        0 0 0 7px var(--gold-light);
}
.eu-location__info { margin-top: 2.25rem; }
.eu-location__name {
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 1.15rem;
    color: var(--gold-deep);
    margin-bottom: .35rem;
}
.eu-location__address {
    font-family: var(--ff-serif);
    color: var(--muted);
    margin-bottom: 1.4rem;
}

/* ---------- Keepsakes / Closing ---------- */
.eu-album { padding: 5rem 1.25rem; text-align: center; }
.eu-album__text { font-style: italic; opacity: .8; margin-bottom: 1.75rem; }

.eu-closing { padding: 2.75rem 1.25rem; text-align: center; }
.eu-closing p {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink);
    opacity: .8;
    margin: 0;
}

/* ---------- Gallery upload / Guest Wall ---------- */
.eu-guest-wall     { padding: 5rem 1.25rem 7rem; text-align: center; }
.eu-gallery-upload { padding: 5rem 1.25rem 7rem; text-align: center; }
.eu-gallery-upload .gu-form {
    max-width: 620px;
    padding: 0 1.5rem;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* ---------- RSVP ---------- */
.eu-rsvp {
    position: relative;
    padding: 5rem 1.25rem 7rem;
}
.eu-rsvp .rsvp-deadline {
    background: transparent;
    margin-bottom: 10px;
}

.rsvp-layout-wrap {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    background: color-mix(in srgb, var(--white) 80%, var(--paper));
    border: 1px solid var(--gold);
    padding: 3.5rem 2.5rem;
}
.rsvp-layout-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--gold-light);
    pointer-events: none;
}

@media (max-width: 500px) {
    .rsvp-layout-wrap { padding: 2.5rem 1.25rem; }
}

.eu-rsvp .form__group label {
    display: block;
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: .72rem;
    color: var(--gold-deep);
    margin-bottom: .35rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.eu-rsvp .form__group input[type="text"],
.eu-rsvp .form__group input[type="email"],
.eu-rsvp .form__group input[type="tel"],
.eu-rsvp .form__group select,
.eu-rsvp .form__group textarea {
    width: 100%;
    padding: .7rem .25rem;
    border: 0;
    border-bottom: 1px solid var(--gold-light);
    border-radius: 0;
    background: transparent;
    font-family: var(--ff-serif);
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s;
}
.eu-rsvp .form__group .rsvp-stepper {
    background: transparent;
    border: 1px solid var(--gold-light);
}

.eu-rsvp .form__group input[type="text"]:focus,
.eu-rsvp .form__group input[type="email"]:focus,
.eu-rsvp .form__group input[type="tel"]:focus,
.eu-rsvp .form__group select:focus,
.eu-rsvp .form__group textarea:focus {
    border-bottom-color: var(--gold);
}

.eu-rsvp .form__error {
    display: block;
    color: var(--btn-color-dark);
    font-size: .82rem;
    margin-top: .3rem;
}

.eu-alert--success {
    background: color-mix(in srgb, var(--leaf) 14%, white);
    color: var(--ink);
    border: 1px solid var(--leaf);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* ---------- Buttons ---------- */
.eu-btn {
    display: block;
    width: 100%;
    padding: .9rem 2rem;
    background: var(--btn-color);
    color: var(--white);
    font-family: var(--ff-serif);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    font-size: .85rem;
    border: 1px solid var(--btn-color);
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    margin-top: .5rem;
}
.eu-btn:hover {
    background: var(--btn-color-dark);
    border-color: var(--btn-color-dark);
    color: var(--white);
    text-decoration: none;
}
.eu-btn--outline {
    background: transparent;
    color: var(--gold-deep);
    border-color: var(--gold);
}
.eu-btn--outline:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.eu-location .eu-btn,
.eu-album .eu-btn { display: inline-block; width: auto; }

/* ---------- Footer ---------- */
.eu-footer {
    background-color: var(--paper-alt);
    background-image: radial-gradient(70% 120% at 50% 100%,
        color-mix(in srgb, var(--leaf) 15%, transparent) 0%, transparent 66%);
    background-repeat: no-repeat;
    color: var(--body);
    text-align: center;
    padding: 3rem 1.25rem;
    border-top: 1px solid var(--gold-light);
}
.eu-footer p { margin-bottom: .3rem; font-family: var(--ff-serif); }
.eu-footer a { color: var(--gold-deep); }

.eu-footer__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin: 0 auto 1.25rem;
}
.eu-footer__sprig {
    flex-shrink: 0;
    width: 66px;
    height: auto;
    color: var(--gold);
    opacity: .8;
}
.eu-footer__sprig--flip { transform: scaleX(-1); }
.eu-footer__ornament-mark {
    flex-shrink: 0;
    width: 14px;
    height: 20px;
    color: var(--gold);
}

.eu-footer__name {
    font-family: var(--ff-display);
    font-size: 2.1rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .15rem;
}
.eu-footer__signoff {
    max-width: 22rem;
    margin: .75rem auto 1.25rem !important;
    font-style: italic;
    color: var(--muted);
}
.eu-footer__cal {
    display: inline-flex;
    width: auto;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}
.eu-footer__cal-icon { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 500px) {
    .eu-countdown__timer {
        gap: .5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .eu-countdown__timer::-webkit-scrollbar { display: none; }
    .eu-countdown__unit {
        min-width: 58px;
        padding: 1.1rem .4rem .8rem;
        flex-shrink: 0;
    }
    .eu-countdown__number { font-size: 2rem; }
}

/* Standardized horizontal gutter across every content section on mobile
   (padding-x: 1rem), matching the convention used across the app's other
   themes. Appended at the very end so equal-specificity source order
   guarantees this wins over each section's own base padding rule above. */
@media (max-width: 600px) {
.eu-hero,
.eu-countdown,
.eu-audio,
.eu-symbols,
.eu-godparents,
.eu-program,
.eu-poem,
.eu-story,
.eu-gallery,
.eu-guest-wall,
.eu-gallery-upload,
.eu-dress-code,
.eu-good-to-know,
.eu-closing,
.eu-location,
.eu-album,
.eu-rsvp,
.eu-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
