/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-variant-numeric: lining-nums;
    font-size: 1.12rem;
    line-height: 1.8;
    color: #2d3561;
    background: linear-gradient(180deg, #faf5f0 0%, #fff5f0 50%, #f0f0f5 100%);
}

body.home-page {
    background-image: url('images/invite-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    isolation: isolate;
}

body.wedding-page {
    background-image: url('images/invite-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* On tall/narrow screens, use a truly fixed home background. */
@media (max-aspect-ratio: 1696/2528) {
    body.home-page {
        background: none;
    }

    body.home-page::before {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: url('images/invite-bg.webp');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: -1;
        pointer-events: none;
    }
}

/* Header Image Styles (index.html) */
.header-image {
    width: 100%;
    max-width: 100%;
    height: 80vh;
    min-height: 500px;
    background-image: url('images/invite-bg.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    overflow: hidden;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 31, 58, 0.3) 0%, transparent 30%, transparent 70%, rgba(26, 31, 58, 0.3) 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f4d03f;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.header-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.header-content .date {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #f7dc6f;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.hero-title {
    text-align: center;
    margin: 20px auto 65px;
    padding: 38px 22px;
    max-width: 600px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(250, 245, 240, 0.25) 100%);
    border: 1px solid rgba(217, 119, 87, 0.2);
    border-radius: 90px;
    box-shadow: 0 8px 26px rgba(74, 44, 90, 0.16);
    backdrop-filter: blur(1.5px);
    position: relative;
    overflow: visible;
}

.hero-side {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 173px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 2;
}

.hero-side-left {
    left: -52px;
    top: calc(50% - 30px);
    transform: translateY(-50%) scale(1.15, 1.1845);
    transform-origin: center top;
}

.hero-side-right {
    right: -52px;
    transform: translateY(-50%) scaleY(1.03);
    transform-origin: center top;
}

.hero-title-names {
    font-family: 'Dancing Script', cursive;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 1px;
    color: var(--accent-pink);
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(74, 44, 90, 0.16);
    white-space: nowrap;
}

.hero-title-date {
    font-family: 'Dancing Script', cursive;
    font-size: 2.65rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #4a2c5a;
    white-space: nowrap;
}

/* Section Styles */
.section {
    margin-bottom: 100px;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #d97757;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Home intro: full-viewport strip, same glass as detail cards, no rounded corners */
.section-intro-fullbleed {
    margin-bottom: 0;
}

.intro-fullbleed-box {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-style: italic;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(250, 245, 240, 0.3) 100%);
    border: 1px solid rgba(217, 119, 87, 0.25);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.12);
    padding: 48px 24px;
}

.intro-fullbleed-box .intro-text {
    margin: 0;
    width: 100%;
    max-width: none;
    text-shadow: none;
}

.intro-fullbleed-box .intro-line {
    text-shadow: none;
    color: #4a2c5a;
}

.section-intro-fullbleed + .divider {
    margin-top: 60px;
}

.intro-text {
    text-align: center;
    font-size: 1.55rem;
    color: #4a2c5a;
    width: 100%;
    max-width: none;
    margin: 0 auto 60px;
    font-weight: 300;
    line-height: 2;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72), 0 10px 28px rgba(74, 44, 90, 0.2);
}

.intro-line {
    display: block;
    font-size: 1.12em;
    letter-spacing: 0.015em;
    transition: color 0.25s ease;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.82), 0 10px 24px rgba(181, 111, 118, 0.3);
}

.intro-line + .intro-line {
    margin-top: 6px;
}

/* Paragraph after a list: match spacing between faq-panel-list items (see .faq-panel-list li) */
.wedding-page .section ul + p,
.wedding-page .section ol + p,
.home-page .section ul + p,
.home-page .section ol + p {
    margin-top: 0.55em;
}

.intro-line-lead {
    color: #c99197;
}

.intro-line-second {
    color: #b56f76;
}

.intro-line-third {
    color: #965c62;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 840px;
    margin: 0 auto 60px;
}

.details-grid .detail-card {
    width: 100%;
}

.detail-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 240, 0.9) 100%);
    padding: 52px 56px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.15);
    text-align: center;
    border: 1px solid rgba(217, 119, 87, 0.2);
    overflow: hidden;
}

.detail-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #e63946;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail-card p {
    font-size: 1.32rem;
    color: #2d3561;
    line-height: 1.8;
}

.detail-card .detail-subtitle {
    font-size: 0.95rem;
    color: #6f6f87;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.detail-label-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(181, 111, 118, 0.14);
    border: 1px solid rgba(181, 111, 118, 0.38);
    color: var(--accent-pink-strong);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.2;
    flex-shrink: 0;
    position: relative;
    top: 6px;
}

.detail-list {
    margin-top: 6px;
}

.tile-top-media {
    margin-bottom: 18px;
}

.tile-bottom-media {
    margin-top: 18px;
}

.tile-media-fullbleed {
    width: calc(100% + 112px);
    margin-left: -56px;
    margin-right: -56px;
}

.tile-media-top-flush {
    margin-top: -52px;
}

.tile-media-bottom-flush {
    margin-bottom: -52px;
}

.tile-detail-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.detail-card-description {
    margin-top: 18px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #2d3561;
    text-align: left;
}

.detail-card-description-centered {
    text-align: center;
}

.detail-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.detail-list-item:last-child {
    margin-bottom: 0;
}

.detail-list-text {
    text-align: left;
    display: block;
    flex: 1;
}

/* Housing page: same card stack + map rhythm as before; cards use home-style detail-card chrome */
.housing-section > .details-grid:first-of-type {
    margin-top: 0;
    margin-bottom: 40px;
}

.housing-section > .map-container.housing-map {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.housing-section > .details-grid:last-of-type {
    margin-top: 0;
}

.housing-group-card .housing-expect-heading {
    margin-top: 28px;
}

.housing-contribution-pay {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 40px;
    text-align: center;
}

.housing-contribution-venmo {
    margin: 0;
    max-width: 220px;
}

.housing-contribution-venmo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 16px rgba(74, 44, 90, 0.12);
    border: 1px solid rgba(217, 119, 87, 0.15);
}

.housing-contribution-venmo figcaption,
.housing-contribution-twint figcaption {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3561;
}

.housing-contribution-twint {
    margin: 0;
    max-width: 220px;
}

.housing-contribution-twint-card {
    width: 100%;
    max-width: 220px;
    /* Match venmo-qr.webp intrinsic ratio (1085×1183) so box matches image size */
    aspect-ratio: 1085 / 1183;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(74, 44, 90, 0.12);
    border: 1px solid rgba(217, 119, 87, 0.15);
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3561;
    line-height: 1.35;
    text-align: center;
}

.group-house-photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    width: 100%;
}

.group-house-photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(74, 44, 90, 0.12);
}

@media (min-width: 769px) {
    .group-house-photo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Form Container */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.2);
}

.form-container iframe {
    width: 100%;
    max-width: 640px;
    border: none;
    border-radius: 8px;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Divider */
.divider {
    text-align: center;
    margin: 60px 0;
    color: #d97757;
    font-family: 'Dancing Script', cursive;
}

.bouquet-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    object-fit: contain;
    vertical-align: middle;
}

.bouquet-icon-large {
    width: 168px;
    height: 168px;
}

/* Navigation */
.nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(74, 44, 90, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu a {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    color: #4a2c5a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-rsvp-link {
    display: inline-block;
    position: relative;
    line-height: 1;
    white-space: nowrap;
}

.nav-rsvp-note {
    font-family: 'Raleway', cursive;
    font-size: 0.82rem;
    font-weight: 400;
    color: #fff5f0;
    background: #b56f76;
    border-radius: 999px;
    padding: 1px 8px;
    position: absolute;
    right: -2em;
    bottom: -1em;
    transform: rotate(-8deg);
    line-height: 1.1;
    box-shadow: 0 1px 4px rgba(74, 44, 90, 0.2);
    pointer-events: none;
}

.nav-menu a:hover {
    color: #d97757;
}

.nav-menu a.active {
    color: #e63946;
    border-bottom: 2px solid #e63946;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(217, 119, 87, 0.35);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    width: 48px;
    height: 42px;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #4a2c5a;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1024px) {
    body {
        padding-top: 84px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 0;
    }

    .nav.mobile-nav-ready .nav-container {
        display: flex;
        justify-content: flex-end;
        position: relative;
    }

    .nav.mobile-nav-ready .nav-toggle {
        display: inline-flex;
    }

    .nav.mobile-nav-ready .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        width: min(320px, calc(100vw - 40px));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(217, 119, 87, 0.25);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 245, 240, 0.97) 100%);
        box-shadow: 0 14px 28px rgba(74, 44, 90, 0.2);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        z-index: 1001;
    }

    .nav.mobile-nav-ready.nav-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav.mobile-nav-ready .nav-menu li {
        width: 100%;
    }

    .nav.mobile-nav-ready .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        font-size: 1.12rem;
    }

    .nav.mobile-nav-ready .nav-menu a.active {
        border-bottom: none;
        background: rgba(230, 57, 70, 0.1);
    }

    .nav.mobile-nav-ready .nav-menu a:hover {
        background: rgba(217, 119, 87, 0.12);
    }

    .nav.mobile-nav-ready .nav-rsvp-link {
        display: block;
        min-height: 52px;
        padding-right: 100px;
    }

    .nav.mobile-nav-ready .nav-rsvp-note {
        right: 14px;
        bottom: 50%;
        transform: translateY(50%) rotate(-6deg);
    }

    .nav.mobile-nav-ready.nav-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav.mobile-nav-ready.nav-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav.mobile-nav-ready.nav-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #d97757 0%, #e63946 50%, var(--accent-pink-soft) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row;
}

/* Explicit placement classes used after schedule filtering */
.timeline-item.timeline-item-left {
    flex-direction: row;
}

.timeline-item.timeline-item-right {
    flex-direction: row;
}

.timeline-content {
    width: 45%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(74, 44, 90, 0.2);
    border: 2px solid rgba(217, 119, 87, 0.3);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item.timeline-item-left .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item.timeline-item-right .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

/* Schedule day/title split layout (official program) */
.schedule-day-groups {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    gap: 42px;
}

.schedule-day-row {
    display: grid;
    grid-template-columns: minmax(170px, 230px) 1fr;
    gap: 34px;
    align-items: flex-start;
}

.schedule-day-title {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.schedule-day-name {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.7rem, 4.6vw, 4.1rem);
    line-height: 1;
    color: var(--accent-pink);
    font-weight: 700;
}

.schedule-day-date {
    margin-top: 6px;
    font-size: 1.05rem;
    color: var(--accent-pink-strong);
    letter-spacing: 0.06em;
    text-transform: none;
}

.schedule-day-tiles {
    position: relative;
    display: grid;
    gap: 20px;
    padding-left: 72px;
}

.schedule-day-tiles::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #d97757 0%, #e63946 50%, var(--accent-pink-soft) 100%);
    transform: translateX(-50%);
}

.schedule-day-track {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    min-width: 0;
}

.schedule-extended-program {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 0;
    padding-top: 1.75rem;
    padding-left: 72px;
    border-top: 4px solid rgba(181, 111, 118, 0.45);
}

.schedule-extended-program-desc {
    margin: 0;
    margin-top: 1.25rem;
    font-size: 1.2rem;
    color: #4a2c5a;
    line-height: 1.55;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.schedule-day-groups .extended-program-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
    color: #fff;
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    padding: 12px 26px 14px;
    border-radius: 999px;
    margin-bottom: 0;
    box-shadow: 0 4px 14px rgba(181, 111, 118, 0.35);
}

.schedule-day-groups .extended-program-badge i {
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.95;
    flex-shrink: 0;
}

.schedule-day-groups .timeline-item {
    margin-bottom: 0;
    display: block;
}

.schedule-day-groups .timeline-content {
    width: 100%;
    margin: 0;
    padding-right: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 12px;
}

.schedule-day-groups .timeline-dot {
    left: -42px;
    top: 28px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
}

.schedule-day-groups .timeline-item.special .timeline-dot {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.schedule-day-groups .timeline-event-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid transparent;
    background: var(--accent-pink);
    color: #fff;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 1px;
    order: 1;
}

.schedule-day-groups .timeline-event-title {
    margin-bottom: 0;
    color: var(--accent-pink);
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    order: 2;
    flex-basis: 100%;
}

.schedule-day-groups .timeline-event-title i {
    font-size: 0.85em;
    margin-right: 8px;
}

.schedule-day-groups .timeline-badge {
    order: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: fit-content;
    margin-bottom: 0;
}

.schedule-day-groups .timeline-event-activities,
.schedule-day-groups .timeline-event-note,
.schedule-day-groups .timeline-dress-code,
.schedule-day-groups .timeline-event-desc {
    order: 3;
    flex-basis: 100%;
    margin-top: 0;
}

.schedule-day-groups .timeline-activity-info {
    align-items: flex-start;
}

.schedule-day-groups .timeline-activity-info .activity-name {
    line-height: 1.55;
}

.schedule-day-groups .timeline-scavenger-parts {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 4px 0 8px;
}

.schedule-day-groups .timeline-scavenger-part {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.schedule-day-groups .timeline-scavenger-part + .timeline-scavenger-part {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(181, 111, 118, 0.4);
}

.schedule-day-groups .timeline-scavenger-part .timeline-activity {
    width: 100%;
    box-sizing: border-box;
}

.schedule-day-groups .timeline-scavenger-part .timeline-activity:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-day-groups .timeline-scavenger-part .timeline-event-time {
    order: 0;
}

.schedule-day-groups .timeline-scavenger-part-title {
    margin: 0;
    color: var(--accent-pink);
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
}

.schedule-day-groups .timeline-scavenger-part-body {
    font-size: 1.1rem;
    color: #2d3561;
    line-height: 1.55;
    margin: 0;
}

.schedule-day-groups .timeline-activity-location .activity-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.schedule-day-groups .timeline-activity-dress-code .activity-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.schedule-day-groups .timeline-activity-location .activity-name strong,
.schedule-day-groups .timeline-activity-dress-code .activity-name strong {
    display: inline-block;
    min-width: 118px;
    font-weight: 700;
}

.schedule-day-groups .timeline-activity-location .activity-name i {
    width: 18px;
    min-width: 18px;
    text-align: center;
    color: #d97757;
}

.schedule-day-groups .timeline-activity-dress-code .activity-name i {
    width: 18px;
    min-width: 18px;
    text-align: center;
    color: #d97757;
}

.timeline-date {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: #e63946;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-day {
    font-size: 1.1rem;
    color: #4a2c5a;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-event-title {
    font-size: 1.4rem;
    color: #2d3561;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.timeline-event-time {
    font-size: 1.1rem;
    color: #d97757;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-event-desc {
    font-size: 1.1rem;
    color: #2d3561;
    margin-bottom: 6px;
    line-height: 1.6;
}

.timeline-event-note {
    font-size: 1rem;
    color: #6c757d;
    margin-top: 8px;
    line-height: 1.5;
}

.timeline-event-note em {
    font-style: italic;
    color: #6c757d;
}

.timeline-event-activities {
    margin: 15px 0;
}

.timeline-activity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(217, 119, 87, 0.2);
}

.timeline-activity:last-child {
    border-bottom: none;
}

.activity-name {
    font-size: 1.1rem;
    color: #2d3561;
    flex: 1;
}

.activity-time {
    font-size: 1rem;
    color: #d97757;
    font-weight: 500;
    margin-left: 15px;
    white-space: nowrap;
}

.timeline-dress-code {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(217, 119, 87, 0.3);
    font-size: 1rem;
    color: #4a2c5a;
    font-style: italic;
}

.timeline-dress-code strong {
    color: #d97757;
    font-style: normal;
    font-weight: 600;
}

.rsvp-controls {
    margin-top: 16px;
}

.rsvp-toggle-button,
.rsvp-submit-button,
.rsvp-answer-button {
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.rsvp-toggle-button {
    background: linear-gradient(135deg, #d97757 0%, #e63946 100%);
    color: #fff;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
}

.rsvp-callout {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(217, 119, 87, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
}

.rsvp-question {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #2d3561;
}

.rsvp-answer-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rsvp-answer-button {
    background: #e9ecef;
    color: #2d3561;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.rsvp-answer-button.selected {
    background: #2d3561;
    color: #fff;
}

.rsvp-comment {
    width: 100%;
    resize: vertical;
    min-height: 70px;
    border: 1px solid rgba(217, 119, 87, 0.3);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #2d3561;
}

.rsvp-submit-button {
    background: #2d3561;
    color: #fff;
    padding: 9px 14px;
    font-size: 0.95rem;
}

.rsvp-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.rsvp-status {
    margin-top: 8px;
    min-height: 20px;
    color: #2d3561;
    font-size: 0.95rem;
}

.rsvp-status.error {
    color: #e63946;
}

.rsvp-page-form {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
}

.rsvp-section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(217, 119, 87, 0.25);
}

.rsvp-section-card h3 {
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--accent-pink);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.rsvp-events-day-heading {
    margin: 0 0 10px;
    font-family: 'Dancing Script', cursive;
    font-size: calc(1.85rem * 0.8);
    font-weight: 600;
    color: var(--accent-pink);
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.rsvp-events-day-heading:first-child {
    margin-top: 0;
}

.rsvp-events-day-heading:not(:first-child) {
    border-top: 1px solid rgba(217, 119, 87, 0.42);
    padding-top: 20px;
    margin-top: 18px;
}

.rsvp-section-card p {
    margin-bottom: 12px;
    color: #2d3561;
    font-size: 1.2rem;
}

.rsvp-field {
    margin-bottom: 14px;
}

.rsvp-field:last-child {
    margin-bottom: 0;
}

.rsvp-field > label {
    display: block;
    color: #2d3561;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.rsvp-field-horizontal {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px 20px;
    align-items: center;
}

.rsvp-field-horizontal > label {
    margin-bottom: 0;
}

.rsvp-field-horizontal .rsvp-inline-options {
    justify-self: end;
}

.rsvp-field-horizontal select,
.rsvp-field-horizontal input[type="datetime-local"],
.rsvp-field-horizontal input[type="text"],
.rsvp-field-horizontal input[type="email"],
.rsvp-field-horizontal input[type="number"] {
    width: min(360px, 100%);
    justify-self: end;
}

.rsvp-inline-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rsvp-inline-options label {
    position: relative;
    color: #2d3561;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 87, 0.35);
    background: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rsvp-inline-options label:hover {
    border-color: rgba(217, 119, 87, 0.65);
}

.rsvp-inline-options input[type="radio"],
.rsvp-inline-options input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.rsvp-inline-options label:has(input[type="radio"]:checked),
.rsvp-inline-options label:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
    color: #fff;
    border-color: transparent;
}

/* Sun–Mon / Mon–Tue chips: only for guests in "Group House Extended" (RSVP sets data attribute). */
.rsvp-page #rsvpSectionGroupHouse:not([data-group-house-extended="true"]) .rsvp-group-house-night-extended {
    display: none !important;
}

.rsvp-page #rsvpSectionGroupHouse[data-group-house-extended="true"] .rsvp-group-house-night-extended {
    display: inline-flex !important;
}

.rsvp-page-form textarea,
.rsvp-page-form select,
.rsvp-page-form input[type="datetime-local"],
.rsvp-page-form input[type="email"],
.rsvp-page-form input[type="text"],
.rsvp-page-form input[type="number"] {
    width: 100%;
    border: 1px solid rgba(217, 119, 87, 0.3);
    border-radius: 8px;
    padding: 10px;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    color: #2d3561;
    background: rgba(255, 255, 255, 0.9);
}

.rsvp-save-status {
    text-align: center;
    color: #2d3561;
    min-height: 24px;
    font-size: 1.1rem;
}

.rsvp-top-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Compact pill: matches Yes/No chips in RSVP cards; overrides .password-button */
.rsvp-page-form .rsvp-edit-button {
    width: auto;
    min-width: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.63em;
    padding: 10px 20px;
    font-size: 1.33rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(217, 119, 87, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: #2d3561;
    box-shadow: none;
    transform: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rsvp-page-form .rsvp-edit-button:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(217, 119, 87, 0.65);
}

.rsvp-page-form .rsvp-edit-button:active {
    transform: none;
}

.rsvp-page-form .rsvp-edit-button:focus-visible {
    outline: 3px solid rgba(217, 119, 87, 0.55);
    outline-offset: 4px;
}

.rsvp-page-form .rsvp-edit-button .rsvp-edit-button-icon {
    display: inline-flex;
    font-size: 0.92em;
    line-height: 1;
}

.rsvp-submit-card {
    display: flex;
    justify-content: center;
}

.rsvp-submit-card .password-button {
    width: auto;
    min-width: 220px;
}

.rsvp-save-status.error {
    color: #e63946;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #d97757 0%, #e63946 100%);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.timeline-item.special .timeline-dot {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f4d03f 0%, #f7dc6f 100%);
    box-shadow: 0 0 0 4px rgba(244, 208, 63, 0.3), 0 4px 20px rgba(244, 208, 63, 0.4);
}

.timeline-item.special .timeline-content {
    border: 3px solid rgba(244, 208, 63, 0.5);
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 245, 230, 0.98) 100%);
}

/* Schedule Badges */
.schedule-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 auto 40px;
    text-align: center;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: fit-content;
}

.schedule-badge i {
    font-size: 1.2rem;
}

.official-badge {
    background: linear-gradient(135deg, #e63946 0%, #d97757 100%);
    color: white;
    display: block;
    width: fit-content;
}

.optional-badge {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    display: block;
    width: fit-content;
}

/* Timeline Badge (small badge on timeline items) */
.timeline-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-badge.optional-badge {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

/* Official Timeline Items */
.timeline-item.official .timeline-content {
    border: 2px solid rgba(217, 119, 87, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 240, 0.98) 100%);
    box-shadow: 0 6px 25px rgba(74, 44, 90, 0.25);
}

.timeline-item.official .timeline-dot {
    background: linear-gradient(135deg, #d97757 0%, #e63946 100%);
    box-shadow: 0 0 0 4px rgba(217, 119, 87, 0.4), 0 4px 15px rgba(217, 119, 87, 0.3);
}

/* Optional Timeline Items */
.timeline-item.optional .timeline-content {
    border: 2px solid rgba(108, 117, 125, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 250, 250, 0.85) 100%);
    box-shadow: 0 4px 15px rgba(74, 44, 90, 0.1);
    opacity: 0.85;
}

.timeline-item.optional .timeline-dot {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.2), 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item.optional .timeline-date,
.timeline-item.optional .timeline-day {
    color: #6c757d;
}

.timeline-item.optional .timeline-event-title {
    color: #5a6268;
}

.timeline-item.optional .timeline-event-desc {
    color: #5a6268;
}

.timeline-item.optional .timeline-event-time {
    background: linear-gradient(135deg, #8a939c 0%, #737d87 100%);
    border-color: rgba(108, 117, 125, 0.35);
    color: #fff;
}

.timeline-item.optional .activity-name {
    color: #5a6268;
}

.timeline-item.optional .activity-time {
    color: #8e9ba6;
}

/* Timeline Optional Section */
.timeline-optional {
    margin-top: 0;
}

.timeline-optional::before {
    background: linear-gradient(180deg, #6c757d 0%, #5a6268 50%, #6c757d 100%);
    opacity: 0.5;
}

/* Ensure timeline line shows even with single item */
.timeline::before {
    min-height: 100px;
}

/* Password Page Styles */
body.password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(74, 44, 90, 0.2);
    border: 2px solid rgba(217, 119, 87, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.password-container h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--accent-pink);
    margin-bottom: 20px;
    font-weight: 600;
}

.password-container p {
    font-size: 1.2rem;
    color: #4a2c5a;
    margin-bottom: 30px;
}

.password-page-intro {
    max-width: 28em;
    margin-left: auto;
    margin-right: auto;
}

.password-form {
    margin-top: 30px;
}

.password-field-group {
    margin-bottom: 28px;
    text-align: left;
}

.password-field-group:last-of-type {
    margin-bottom: 24px;
}

.password-field-label {
    display: block;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #4a2c5a;
    margin-bottom: 8px;
}

.password-field-group .password-input {
    margin-bottom: 0;
}

.guest-selection {
    max-width: 860px;
    margin: 0 auto 30px;
    text-align: center;
}

.guest-selection-title {
    color: #4a2c5a;
    margin-bottom: 14px;
    font-size: 1.15rem;
    font-weight: 500;
}

.guest-selection-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.guest-selection-button {
    width: auto;
    min-width: 260px;
    max-width: 100%;
    padding: 12px 18px;
}

.guest-selection-buttons-two .guest-selection-button {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: 420px;
}

/* Person picker: RSVP pill colors, .password-button motion + radius */
.schedule-page .guest-selection .password-button,
.rsvp-page .guest-selection .password-button {
    background: rgba(255, 255, 255, 0.92);
    color: #2d3561;
    border: 1px solid rgba(217, 119, 87, 0.35);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 22px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.schedule-page .guest-selection .password-button:hover:not(.is-selected),
.rsvp-page .guest-selection .password-button:hover:not(.is-selected) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.4);
    border-color: rgba(217, 119, 87, 0.65);
}

.schedule-page .guest-selection .password-button:active:not(.is-selected),
.rsvp-page .guest-selection .password-button:active:not(.is-selected) {
    transform: translateY(0);
}

.schedule-page .guest-selection-button.is-selected,
.rsvp-page .guest-selection-button.is-selected {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(181, 111, 118, 0.35);
    font-weight: 600;
}

.schedule-page .guest-selection-button.is-selected:hover,
.rsvp-page .guest-selection-button.is-selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(181, 111, 118, 0.45);
}

.schedule-page .guest-selection-button.is-selected:active,
.rsvp-page .guest-selection-button.is-selected:active {
    transform: translateY(0);
}

.schedule-page .guest-selection .password-button:focus-visible,
.rsvp-page .guest-selection .password-button:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 2px;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    border: 2px solid rgba(217, 119, 87, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3561;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.password-input:focus {
    outline: none;
    border-color: #d97757;
}

.password-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #d97757 0%, #e63946 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 500;
}

.password-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.4);
}

.password-button:active {
    transform: translateY(0);
}

.error-message {
    color: #e63946;
    font-size: 1.1rem;
    margin-top: 15px;
    min-height: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Info Section Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 240, 0.95) 100%);
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(74, 44, 90, 0.15);
    border: 2px solid rgba(217, 119, 87, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d97757 0%, #e63946 50%, var(--accent-pink-soft) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(74, 44, 90, 0.25);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #d97757 0%, #e63946 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon i {
    font-size: 2.5rem;
    color: white;
}

.info-card h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    color: var(--accent-pink);
    margin-bottom: 20px;
    font-weight: 600;
}

.info-card p {
    font-size: 1.22rem;
    color: #2d3561;
    line-height: 1.8;
    text-align: left;
}

.info-card p strong {
    color: #4a2c5a;
    font-weight: 600;
}

.place-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(74, 44, 90, 0.18);
}

.place-carousel {
    position: relative;
    margin-bottom: 20px;
}

.place-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(74, 44, 90, 0.18);
}

/* Slide count via --place-carousel-slides (set in JS) so track width matches translateX steps */
.place-carousel-track {
    display: flex;
    width: calc(var(--place-carousel-slides, 4) * 100%);
    transition: transform 0.35s ease;
}

.place-carousel-slide {
    flex: 0 0 calc(100% / var(--place-carousel-slides, 4));
}

.place-carousel-slide img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.place-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-pink-strong);
    box-shadow: 0 2px 10px rgba(74, 44, 90, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.place-carousel-btn:hover {
    background: #fff;
    color: #e63946;
}

.place-carousel-btn:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 2px;
}

.place-carousel-prev {
    left: 10px;
}

.place-carousel-next {
    right: 10px;
}

.place-links {
    margin-top: 14px;
    font-size: 1.08rem;
}

.things-note {
    margin-top: 34px;
    font-size: 1.14rem;
    color: #2d3561;
    text-align: center;
}

/* Dusty rose accent */
:root {
    --accent-pink: #b56f76;
    --accent-pink-strong: #965c62;
    --accent-pink-soft: #c99197;
}

/* Inline links in main column: match box/card heading color (.rsvp-section-card h3, travel info-card titles) */
.wedding-page .container a,
.home-page .container a {
    color: var(--accent-pink);
    text-decoration: none;
    border-bottom: 1px solid rgba(181, 111, 118, 0.35);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.wedding-page .container a:hover,
.home-page .container a:hover {
    color: var(--accent-pink-strong);
    border-bottom-color: var(--accent-pink-strong);
}

.section-title,
.divider,
.timeline-event-time,
.activity-time,
.timeline-dress-code strong {
    color: var(--accent-pink);
}

.schedule-badge.official-badge,
.password-button,
.rsvp-toggle-button {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
}

.info-icon,
.timeline-dot,
.timeline-item.official .timeline-dot {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
}

.timeline::before {
    background: linear-gradient(180deg, var(--accent-pink) 0%, var(--accent-pink-strong) 50%, var(--accent-pink-soft) 100%);
}

/* Travel page: single column of cards, boxes aligned with home detail-cards; wide: icon+title | copy */
.travel-section .info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 840px;
    margin: 40px auto 0;
}

.travel-section .info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 240, 0.9) 100%);
    padding: 52px 56px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.2);
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.travel-section .info-card::before {
    display: none;
}

.travel-section .info-card:hover {
    transform: none;
    box-shadow: 0 6px 24px rgba(74, 44, 90, 0.2);
}

.travel-section .info-card:hover .info-icon {
    transform: scale(1.05);
}

.travel-section .info-icon {
    margin: 0 auto 25px;
}

.travel-section .info-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.travel-section .info-card p {
    font-size: 1.32rem;
    margin-top: 20px;
}

@media (min-width: 769px) {
    .travel-section .info-card {
        grid-template-columns: minmax(148px, 200px) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 40px;
        row-gap: 14px;
        text-align: left;
        justify-items: stretch;
    }

    .travel-section .info-icon {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        justify-self: center;
        align-self: start;
        width: 76px;
        height: 76px;
    }

    .travel-section .info-icon i {
        font-size: 2.25rem;
    }

    .travel-section .info-card h3 {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
        margin-top: 14px;
        text-align: center;
        align-self: start;
    }

    .travel-section .info-card p {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: center;
        margin-top: 0;
    }

    /* Keep body text in rows 1–2 so an image can sit on row 3 (text column) without stretching the paragraph */
    .travel-section .info-card--with-below-image p {
        grid-row: 1 / 3;
        align-self: center;
    }

    .travel-section .info-card--with-below-image .info-card-below-image {
        grid-column: 2;
        grid-row: 3;
        margin: 1.25rem 0 0;
        justify-self: start;
    }
}

.travel-section .info-card .info-card-below-image {
    margin: 1.25rem 0 0;
    max-width: min(210px, 100%);
    justify-self: start;
}

.travel-section .info-card .info-card-below-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* FAQ: travel-style stacked cards; row = small icon + title + chevron; answer full width slides open */
.faq-section .faq-accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 840px;
    margin: 40px auto 0;
}

.faq-section .faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 240, 0.9) 100%);
    padding: 26px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(74, 44, 90, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-section .faq-item:hover {
    box-shadow: 0 6px 24px rgba(74, 44, 90, 0.2);
}

.faq-section .faq-trigger {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.faq-section .faq-trigger:focus {
    outline: none;
}

.faq-section .faq-trigger:focus-visible {
    outline: 2px solid var(--accent-pink);
    outline-offset: 4px;
}

.faq-section .faq-trigger-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.faq-section .faq-trigger .info-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(217, 119, 87, 0.28);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-section .faq-item.is-open .faq-trigger .info-icon,
.faq-section .faq-trigger:hover .info-icon {
    transform: scale(1.05);
}

.faq-section .faq-trigger .info-icon i {
    font-size: 1.15rem;
    color: white;
}

.faq-section .faq-question {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--accent-pink);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.faq-section .faq-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--accent-pink-strong);
    transition: transform 0.3s ease;
}

.faq-section .faq-chevron i {
    font-size: 1rem;
}

.faq-section .faq-item.is-open .faq-chevron {
    transform: rotate(90deg);
}

.faq-section .faq-panel {
    width: 100%;
    min-width: 0;
}

.faq-section .faq-panel-slide {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s ease;
}

.faq-section .faq-item.is-open .faq-panel-slide {
    grid-template-rows: 1fr;
}

.faq-section .faq-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-section .faq-panel-body {
    width: 100%;
    padding-top: 20px;
    margin-top: 4px;
    box-sizing: border-box;
}

.faq-section .faq-panel-body p {
    font-size: 1.056rem;
    color: #2d3561;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.faq-section .faq-panel-body p strong {
    color: #4a2c5a;
    font-weight: 600;
}

.faq-section .faq-panel-body .faq-panel-list {
    margin: 0.75em 0 0;
    padding-left: 1.35em;
    font-size: 1.056rem;
    color: #2d3561;
    line-height: 1.8;
    text-align: left;
}

.faq-section .faq-panel-body .faq-panel-list li {
    margin: 0.55em 0 0;
}

.faq-section .faq-panel-body .faq-panel-list li:first-child {
    margin-top: 0;
}

.faq-section .faq-panel-body .faq-panel-list strong {
    color: #4a2c5a;
    font-weight: 600;
}

.faq-section .faq-panel-body .faq-ue-figure {
    margin: 1rem 0 0;
    max-width: 320px;
}

.faq-section .faq-panel-body .faq-ue-figure img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
}

.faq-section .faq-panel-body .faq-panel-list li .faq-travel-figure {
    margin-top: 0.75rem;
}

/* Driving FAQ: text + image side-by-side on large viewports */
@media (min-width: 900px) {
    .faq-section .faq-panel-body .faq-panel-list > li.faq-travel-li-with-aside {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        gap: 1rem 1.5rem;
        align-items: start;
    }

    .faq-section .faq-panel-body .faq-travel-li-with-aside .faq-travel-aside-text {
        min-width: 0;
    }

    .faq-section .faq-panel-body .faq-travel-li-with-aside .faq-travel-figure {
        margin-top: 0;
        justify-self: end;
        max-width: 100%;
    }

    .faq-section .faq-panel-body .faq-travel-li-with-aside .faq-travel-figure img {
        max-width: 100%;
    }
}

.faq-section .faq-panel-body .faq-panel-list li .faq-travel-figure--wide {
    max-width: 100%;
}

.faq-section .faq-panel-body .faq-panel-list li .faq-travel-figure--wide img {
    max-width: 100%;
}

/* Nested lists in FAQ: deeper indent, dash markers instead of circles */
.faq-section .faq-panel-body ul ul {
    list-style: none;
    margin: 0.5em 0 0;
    padding-left: 0;
    margin-left: 1.75em;
}

.faq-section .faq-panel-body ul ul li {
    margin: 0.45em 0 0;
    padding-left: 1.15em;
    position: relative;
}

.faq-section .faq-panel-body ul ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #2d3561;
}

/* Travel info: car section separation + pros/cons columns on wide screens */
.faq-section .faq-panel-body .travel-mode-section--car {
    margin-top: 2.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(74, 44, 90, 0.14);
}

.faq-section .faq-panel-body .travel-pros-cons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.35em 0 0;
}

.faq-section .faq-panel-body .travel-pros-cons__col {
    min-width: 0;
    box-sizing: border-box;
    padding: 0.85rem 1rem 1rem;
    border-radius: 10px;
}

.faq-section .faq-panel-body .travel-pros-cons__col--pros {
    background: rgba(56, 142, 60, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.22);
}

.faq-section .faq-panel-body .travel-pros-cons__col--cons {
    background: rgba(198, 40, 40, 0.08);
    border: 1px solid rgba(183, 28, 28, 0.2);
}

.faq-section .faq-panel-body .travel-pros-cons__col .faq-panel-list {
    margin-top: 0.5em;
}

.faq-section .faq-panel-body .travel-pros-cons + ul {
    margin-top: 0.95em;
}

@media (min-width: 720px) {
    .faq-section .faq-panel-body .travel-pros-cons {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1rem 1.25rem;
        align-items: stretch;
    }

    .faq-section .faq-panel-body .travel-mode-section--car {
        margin-top: 3rem;
        padding-top: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-section .faq-panel-slide {
        transition: none;
    }

    .faq-section .faq-chevron {
        transition: none;
    }

    .place-carousel-track {
        transition: none;
    }
}

.nav-menu a:hover,
.nav-menu a.active,
.detail-card h3,
.travel-section .info-card h3,
.timeline-date,
.header-content h1,
.header-content .date {
    color: var(--accent-pink);
}

.nav-menu a.active {
    border-bottom-color: var(--accent-pink);
}

.rsvp-submit-button {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-strong) 100%);
    color: #fff;
}

.timeline-item.special .timeline-dot {
    background: linear-gradient(135deg, var(--accent-pink-soft) 0%, var(--accent-pink) 100%);
    box-shadow: 0 0 0 4px rgba(181, 111, 118, 0.3), 0 4px 20px rgba(181, 111, 118, 0.35);
}

/* Inner pages (not home): intro under section title — same as schedule */
.wedding-page .intro-text {
    text-shadow: none;
    font-weight: 400;
    font-size: 1.35rem;
    margin: 0 auto 40px;
}

.registry-filler {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-page .schedule-update-note,
.rsvp-page .rsvp-invitation-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto 20px;
    padding: 14px 18px;
    border: 1px solid rgba(217, 119, 87, 0.38);
    border-radius: 10px;
    background: rgba(255, 248, 245, 0.92);
    box-shadow: 0 2px 12px rgba(74, 44, 90, 0.06);
    color: #2d3561;
    font-size: 1.08rem;
    line-height: 1.55;
    text-align: center;
    font-weight: 500;
}

.schedule-page .schedule-update-note .note-box-icon,
.rsvp-page .rsvp-invitation-note .note-box-icon {
    flex-shrink: 0;
    margin-top: 0.15em;
    color: rgba(217, 119, 87, 0.95);
    font-size: 1.05em;
    line-height: 1;
}

.schedule-page .schedule-update-note .note-box-text,
.rsvp-page .rsvp-invitation-note .note-box-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-style: italic;
    font-weight: 400;
}

.schedule-page .schedule-update-note {
    max-width: 1040px;
    margin-bottom: 28px;
}

.rsvp-page .rsvp-invitation-note {
    max-width: 860px;
}

/* [hidden] alone loses to .rsvp-page .rsvp-invitation-note { display: flex }; keep standalone note invisible when cleared */
.rsvp-page .rsvp-invitation-note[hidden] {
    display: none !important;
}

/* [hidden] loses to .rsvp-field-horizontal { display: grid } */
.rsvp-page .rsvp-field-horizontal[hidden] {
    display: none !important;
}

/* Schedule page: keep pink accents consistent with "Schedule" title */
.schedule-page .schedule-day-name,
.schedule-page .timeline-date,
.schedule-page .timeline-event-time,
.schedule-page .activity-time,
.schedule-page .timeline-dress-code strong {
    color: var(--accent-pink);
}

.schedule-page .schedule-day-date {
    color: #4a2c5a;
    font-weight: 700;
}

.schedule-page .schedule-day-groups .timeline-event-time {
    color: #fff;
}

.schedule-page .timeline::before,
.schedule-page .schedule-day-tiles::before {
    background: var(--accent-pink);
}

.schedule-page .official-badge,
.schedule-page .timeline-dot,
.schedule-page .timeline-item.official .timeline-dot,
.schedule-page .password-button {
    background: var(--accent-pink);
}

/* Our Story Page - Image on one side, text on the other, alternating each step */
.story-timeline {
    max-width: 1000px;
    width: 100%;
}

.story-timeline .story-step {
    display: flex;
    flex-direction: row !important; /* Override timeline-item nth-child - order in HTML controls left/right */
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
}

.story-timeline .story-step .timeline-dot {
    top: 50%;
    transform: translate(-50%, -50%);
}

.story-timeline .story-step .timeline-content {
    width: 45%;
    max-width: 420px;
    flex-shrink: 0;
    margin-left: 0 !important;
    margin-right: 0 !important; /* Override timeline-item margins that break our layout */
}

.story-tile-image-card {
    padding: 0;
    overflow: hidden;
}

.story-timeline .story-step .timeline-content.story-tile-image-card {
    /* Force-remove timeline card chrome on all screen sizes */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.story-tile-image-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    object-fit: cover;
}

.story-tile-image-card iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    border: 0;
}

.story-tile-media-stack {
    display: grid;
    gap: 10px;
}

.story-tile-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.story-tile-image-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-tile-image-grid-vertical-crop {
    grid-template-columns: 1fr;
}

.story-tile-image-grid-vertical-full {
    grid-template-columns: 1fr;
}

.story-tile-image-grid img,
.story-tile-media-stack img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.story-tile-image-card > img,
.story-tile-media-stack img,
.story-tile-image-grid img,
.story-tile-media-stack iframe {
    width: 100%;
    border-radius: 14px;
    border: 2px solid rgba(217, 119, 87, 0.3);
    box-shadow: 0 6px 18px rgba(74, 44, 90, 0.14);
}

.story-tile-image-card > img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.story-tile-image-grid-vertical-crop img {
    aspect-ratio: 20 / 9;
    object-position: center;
}

.story-tile-image-grid-vertical-crop img.story-img-hanging-tree-crop {
    /* 652x869 cropped 10% top + 10% bottom => 652x695.2 */
    aspect-ratio: 0.9373;
    object-position: center;
}

.story-tile-image-grid-vertical-full img {
    aspect-ratio: auto;
    object-fit: contain;
}

.story-img-korea-shift-right {
    object-position: 30% center;
}

.story-tile-image-grid-vertical-full img.story-img-thorndike-corina-crop {
    /* 652x869 cropped 20% top + 20% bottom => 652x521.4 */
    aspect-ratio: 1.2505;
    object-fit: cover;
    object-position: center;
}

.story-tile-image-grid-vertical-full img.story-img-thorndike-luzi-crop-top {
    /* 652x869 cropped 30% top => 652x608.3 */
    aspect-ratio: 1.0722;
    object-fit: cover;
    object-position: center 100%;
}

.story-tile-image-grid-vertical-full img.story-img-pct-2-crop {
    /* 1108x1476 cropped 10% top + 20% bottom => 1108x1033.2 */
    aspect-ratio: 1.0724;
    object-fit: cover;
    object-position: center 33.333%;
}

.story-tile-image-card > img.story-img-climbing-full {
    aspect-ratio: auto;
    object-fit: contain;
}

@media (min-width: 769px) {
    .story-timeline .story-step .story-tile-image-card > img:not(.story-img-climbing-full) {
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
    }

    .story-timeline .story-step .story-tile-image-card > img.story-img-korea-shift-right {
        object-position: 30% center;
    }
}

.story-tile-text-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-tile-date {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--accent-pink);
    font-weight: 600;
    margin-bottom: 8px;
}

.story-tile-title {
    font-size: 1.4rem;
    color: #2d3561;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.story-tile-text {
    font-size: 1.2rem;
    color: #2d3561;
    line-height: 1.7;
}

.story-tile-text p {
    margin: 0 0 10px 0;
}

.story-tile-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-image {
        height: 60vh;
        min-height: 400px;
        background-position: center bottom;
        background-size: cover;
    }

    .header-content h1 {
        font-size: 3.5rem;
    }

    .header-content .date {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 50px 15px;
    }

    .hero-title {
        margin-top: 8px;
        margin-bottom: 50px;
        padding: 38px 16px;
        border-radius: 70px;
    }

    body.home-page .hero-title,
    body.wedding-page .hero-title {
        max-width: 520px;
        width: calc(100% - 56px);
    }

    .hero-title-names {
        font-size: 2.6rem;
        white-space: normal;
    }

    .hero-title-date {
        font-size: 1.6rem;
    }

    .hero-side-left {
        left: -24px;
    }

    .hero-side-right {
        right: -24px;
    }

    .hero-side {
        width: 120px;
    }

    .bouquet-icon-large {
        width: 138px;
        height: 138px;
    }

    .intro-text {
        font-size: 1.35rem;
    }

    .intro-fullbleed-box {
        padding: 36px 20px;
    }

    .intro-line + .intro-line {
        margin-top: 8px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 22px;
    }

    .detail-card {
        padding: 34px 24px;
    }

    .tile-media-fullbleed {
        width: calc(100% + 48px);
        margin-left: -24px;
        margin-right: -24px;
    }

    .tile-media-top-flush {
        margin-top: -34px;
    }

    .tile-media-bottom-flush {
        margin-bottom: -34px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .schedule-day-groups .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        padding-right: 26px;
    }

    .timeline-dot {
        left: 30px;
    }

    .schedule-day-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .schedule-day-title {
        position: static;
        align-items: center;
        text-align: center;
    }

    .schedule-day-name {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
    }

    .schedule-day-date {
        font-size: 0.95rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-card {
        padding: 30px 25px;
    }

    .info-icon {
        width: 70px;
        height: 70px;
    }

    .info-icon i {
        font-size: 2rem;
    }

    .info-card h3 {
        font-size: 1.8rem;
    }

    .info-card p {
        font-size: 1.1rem;
    }

    .travel-section .info-card {
        padding: 34px 24px;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .travel-section .info-icon {
        grid-column: auto;
        grid-row: auto;
        margin: 0 auto 20px;
        width: 70px;
        height: 70px;
    }

    .travel-section .info-icon i {
        font-size: 2rem;
    }

    .travel-section .info-card h3 {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    .travel-section .info-card p {
        grid-column: auto;
        grid-row: auto;
        margin-top: 16px;
        font-size: 1.1rem;
        text-align: left;
        width: 100%;
    }

    .faq-section .faq-item {
        padding: 17px 12px;
    }

    .faq-section .faq-trigger-row {
        gap: 10px;
        align-items: flex-start;
    }

    .faq-section .faq-trigger .info-icon {
        width: 38px;
        height: 38px;
    }

    .faq-section .faq-trigger .info-icon i {
        font-size: 1rem;
    }

    .faq-section .faq-question {
        font-size: 1.25rem;
        padding-top: 4px;
    }

    .faq-section .faq-chevron {
        margin-top: 6px;
    }

    .faq-section .faq-panel-body {
        padding-top: 16px;
    }

    .faq-section .faq-panel-body p {
        font-size: 0.88rem;
    }

    .faq-section .faq-panel-body .faq-panel-list {
        font-size: 0.88rem;
    }

    .place-card-image {
        height: 270px;
    }

    .place-carousel-slide img {
        height: 270px;
    }

    .password-container {
        padding: 40px 25px;
    }

    .password-container h1 {
        font-size: 2.5rem;
    }

    .schedule-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .timeline-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .schedule-day-groups .timeline-event-time {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .timeline-activity {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .activity-time {
        margin-left: 0;
        margin-top: 4px;
    }

    .timeline-dress-code {
        font-size: 0.9rem;
        margin-top: 12px;
        padding-top: 12px;
    }

    .schedule-day-groups .timeline-activity-location .activity-name,
    .schedule-day-groups .timeline-activity-dress-code .activity-name {
        display: block;
    }

    .schedule-day-groups .timeline-activity-location .activity-name i,
    .schedule-day-groups .timeline-activity-dress-code .activity-name i {
        display: inline-block;
        width: 18px;
        min-width: 18px;
        margin-right: 6px;
        vertical-align: baseline;
    }

    .schedule-day-groups .timeline-activity-location .activity-name strong,
    .schedule-day-groups .timeline-activity-dress-code .activity-name strong {
        display: inline;
        min-width: 0;
        margin-bottom: 0;
    }

    .schedule-day-groups .timeline-activity-location .activity-name strong::after,
    .schedule-day-groups .timeline-activity-dress-code .activity-name strong::after {
        content: "";
        display: block;
    }

    .story-timeline .story-step {
        flex-direction: column !important;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
        padding-left: 42px;
    }

    .story-timeline .story-step .timeline-content {
        width: 100% !important;
        max-width: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .story-timeline .story-step .story-tile-image-card {
        order: 2;
    }

    .story-timeline .story-step .story-tile-text-card {
        order: 1;
    }

    .story-timeline::before {
        left: 16px !important;
    }

    .story-timeline .story-step .timeline-dot {
        left: 16px !important;
        top: 26px;
        transform: translate(-50%, 0);
    }

    .story-tile-image-card {
        height: auto;
        overflow: visible;
    }

    .story-tile-image-card > img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .story-tile-image-card iframe {
        width: 100%;
        max-width: 100%;
        display: block;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .story-tile-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .rsvp-field-horizontal {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .rsvp-field-horizontal > label {
        margin-bottom: 6px;
    }

    .rsvp-field-horizontal .rsvp-inline-options,
    .rsvp-field-horizontal select,
    .rsvp-field-horizontal input[type="datetime-local"],
    .rsvp-field-horizontal input[type="text"],
    .rsvp-field-horizontal input[type="email"],
    .rsvp-field-horizontal input[type="number"] {
        justify-self: start;
        width: 100%;
    }
}

/* Shown while schedule/RSVP pages fetch guest-specific content */
.dynamic-page-loading-msg {
    text-align: center;
    padding: 2.75rem 1.25rem 3rem;
    color: #2d3561;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

