/*
Theme Name: JW Wedding Child
Theme URI: https://example.com/
Description: Theme enfant romantique et pastel pour le mariage de Cassandra et Joachim, base sur Astra
Author: ChatGPT
Template: astra
Version: 1.2
*/

:root {
    --wedding-ivory: #fff7f3;
    --wedding-blush: #f4b9b9;
    --wedding-rose: #f4b9b9;
    --wedding-rose-deep: #86100e;
    --wedding-sage: #b7b06d;
    --wedding-sage-deep: #6f7137;
    --wedding-gold: #ef8c56;
    --wedding-orange: #ef8c56;
    --wedding-red: #86100e;
    --wedding-ink: #241a19;
    --wedding-muted: #5e5e5e;
    --wedding-white: #ffffff;
    --wedding-surface: rgba(255, 255, 255, 0.76);
    --wedding-surface-strong: rgba(255, 251, 248, 0.95);
    --wedding-surface-soft: rgba(255, 246, 242, 0.88);
    --wedding-line: rgba(134, 16, 14, 0.12);
    --wedding-line-soft: rgba(134, 16, 14, 0.08);
    --wedding-shadow-soft: 0 10px 24px rgba(36, 26, 25, 0.05);
    --wedding-shadow: 0 18px 40px rgba(134, 16, 14, 0.08);
    --wedding-radius: 8px;
    --wedding-font-script: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", cursive;
    --wedding-font-title: Futura, "Futura PT", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --wedding-font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--wedding-font-body);
    background:
        linear-gradient(180deg, #fff7f3 0%, #fde8e3 34%, #fff8f2 72%, #fffaf7 100%);
    color: var(--wedding-ink);
    line-height: 1.75;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--wedding-font-title);
    color: var(--wedding-rose-deep);
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    font-family: var(--wedding-font-script);
    font-size: 5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.55rem;
}

p,
li,
blockquote {
    color: var(--wedding-muted);
}

a {
    color: var(--wedding-rose);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: var(--wedding-rose-deep);
}

.site,
.site-content,
.ast-container {
    position: relative;
}

.site-header,
[data-section="section-header-mobile-trigger"],
.main-header-bar {
    background: rgba(255, 248, 245, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--wedding-line-soft);
    box-shadow: 0 8px 18px rgba(36, 26, 25, 0.04);
}

.main-header-menu .menu-link,
.ast-header-custom-item,
.site-title a {
    color: var(--wedding-ink);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link,
.site-title a:hover {
    color: var(--wedding-rose);
}

.site-branding .custom-logo-link,
.site-branding .site-logo-img {
    display: none !important;
}

.site-header [data-section="title_tagline"],
.site-header .site-branding,
.site-header .ast-site-title-wrap,
.site-header .site-title,
.site-header .site-title a {
    display: none !important;
}

.ast-desktop .site-primary-header-wrap .ast-builder-grid-row {
    grid-template-columns: 1fr !important;
}

.ast-desktop .site-header-primary-section-left {
    display: none !important;
}

.ast-desktop .site-header-primary-section-right {
    justify-content: center !important;
    width: 100%;
}

.ast-desktop .ast-main-header-bar-alignment,
.ast-desktop .main-header-bar-navigation,
.ast-desktop .main-navigation,
.ast-desktop .main-header-menu {
    width: 100%;
}

.ast-desktop .main-header-menu {
    justify-content: center;
}

.ast-mobile-header-wrap .custom-logo-link,
.ast-mobile-header-wrap .site-logo-img,
.ast-desktop .site-header .custom-logo-link,
.ast-desktop .site-header .site-logo-img {
    display: none !important;
}

.site-branding .ast-site-title-wrap {
    margin-left: 0;
}

button,
input[type="submit"],
.wp-block-button__link,
.ast-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: var(--wedding-red);
    color: var(--wedding-white);
    border: 1px solid rgba(134, 16, 14, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: var(--wedding-radius);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(134, 16, 14, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.button:hover {
    background: #6f0d0b;
    color: var(--wedding-white);
    border-color: #6f0d0b;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(134, 16, 14, 0.18);
}

a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.wp-block-button__link:focus-visible,
.ast-button:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(134, 16, 14, 0.18);
    outline-offset: 4px;
}

.hero {
    text-align: center;
    padding: 6.25rem 0 4.75rem;
    background:
        linear-gradient(115deg, #86100e 0%, #9f2721 48%, #ef8c56 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--wedding-ink);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 36px rgba(134, 16, 14, 0.08);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(36, 26, 25, 0.18), rgba(255, 247, 243, 0.08));
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5rem;
    background: linear-gradient(180deg, rgba(255, 247, 243, 0), #fff7f3);
    pointer-events: none;
}

.hero h1 {
    display: grid;
    gap: 0.1rem;
    margin-bottom: 0.28em;
    color: var(--wedding-white);
    line-height: 0.88;
    text-shadow: 0 8px 22px rgba(36, 26, 25, 0.2);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 250, 248, 0.88);
    max-width: 700px;
    margin: 0 auto;
}

.wedding-front-page {
    padding-bottom: 4rem;
}

.wedding-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.wedding-hero .wedding-shell {
    position: relative;
    z-index: 1;
}

.wedding-hero {
    min-height: 66vh;
    display: flex;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
}

.hero-panel {
    display: grid;
    gap: 1rem;
    position: relative;
    width: min(720px, 100%);
    margin: 0 auto;
}

.hero-amp {
    font-family: var(--wedding-font-title);
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-theme-line {
    margin-bottom: 1rem;
    font-family: var(--wedding-font-title);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .button {
    min-width: 13.5rem;
    background: #fff7f3;
    color: var(--wedding-red);
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 24px rgba(36, 26, 25, 0.14);
}

.hero .button:hover {
    background: var(--wedding-white);
    color: #6f0d0b;
    border-color: var(--wedding-white);
    box-shadow: 0 16px 30px rgba(36, 26, 25, 0.18);
}

.hero .button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--wedding-white);
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow: none;
}

.hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--wedding-white);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(36, 26, 25, 0.12);
}

.hero-kicker,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wedding-gold);
    margin-bottom: 1rem;
}

.hero-lead {
    margin-bottom: 2rem;
}

.hero-details,
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-details {
    margin: 2rem 0;
}

.detail-pill {
    min-width: 170px;
    padding: 0.9rem 1rem;
    border-radius: var(--wedding-radius);
    background: rgba(255, 250, 248, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(36, 26, 25, 0.08);
}

.countdown-panel {
    width: 100%;
    margin: 0;
    padding: 1.35rem;
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 252, 250, 0.96), rgba(250, 238, 241, 0.94)),
        linear-gradient(135deg, rgba(134, 16, 14, 0.06), rgba(210, 204, 147, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 36px rgba(36, 26, 25, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-panel::before,
.countdown-panel::after {
    display: none;
}

.countdown-intro {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wedding-gold);
}

.hero .countdown-intro {
    color: var(--wedding-red);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    gap: 0.85rem;
    width: 100%;
    max-width: 620px;
    margin: 1.1rem auto 0.85rem;
    position: relative;
    z-index: 1;
}

.countdown-card {
    padding: 1rem 0.8rem;
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(254, 245, 242, 0.9)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.16), rgba(210, 204, 147, 0.16));
    border: 1px solid var(--wedding-line-soft);
    box-shadow: 0 8px 18px rgba(36, 26, 25, 0.05);
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-value {
    display: block;
    font-family: var(--wedding-font-title);
    font-size: 2.1rem;
    line-height: 1;
    color: var(--wedding-rose-deep);
}

.countdown-unit {
    display: block;
    margin-top: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.72rem;
    color: var(--wedding-muted);
}

.countdown-caption {
    margin: 0;
    font-size: 0.96rem;
    color: var(--wedding-muted);
    position: relative;
    z-index: 1;
}

.hero .countdown-caption {
    color: var(--wedding-muted);
}

.detail-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--wedding-muted);
    margin-bottom: 0.35rem;
}

.button-secondary {
    background: rgba(255, 250, 248, 0.92);
    color: var(--wedding-rose-deep);
    border: 1px solid var(--wedding-line);
    box-shadow: none;
}

.button-secondary:hover {
    background: rgba(255, 245, 242, 0.98);
    color: var(--wedding-rose-deep);
    border-color: rgba(134, 16, 14, 0.22);
    box-shadow: 0 10px 20px rgba(134, 16, 14, 0.08);
}

.wedding-section {
    padding: 5.25rem 0 1.5rem;
}

#programme,
#navigation-programme,
#dresscode,
#rsvp,
#faq,
#galerie {
    scroll-margin-top: 110px;
}

.wedding-section-alt .wedding-shell,
.story-card,
.info-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 246, 242, 0.86));
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow-soft);
}

.wedding-section-alt .wedding-shell {
    padding: 2.7rem;
    background: rgba(255, 251, 248, 0.86);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 0.6rem;
}

.section-heading p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.story-grid,
.info-grid,
.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

.story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.story-grid > :first-child {
    grid-column: span 2;
    background:
        linear-gradient(180deg, rgba(255, 252, 250, 0.96), rgba(249, 239, 236, 0.9)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.08), rgba(210, 204, 147, 0.1));
}

.story-card,
.info-card {
    padding: 1.75rem;
}

.story-card,
.info-card,
.venue-copy,
.venue-map {
    backdrop-filter: none;
}

.program-maquette-section {
    position: relative;
    isolation: isolate;
    min-height: 74rem;
    padding: clamp(3rem, 5vw, 5.25rem) 0;
    overflow: hidden;
    background-color: #efe9e8;
}

.program-maquette-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--program-bg-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(2px);
    transform: scale(1.025);
}

.program-maquette-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(36, 26, 25, 0.08), rgba(36, 26, 25, 0.02)),
        linear-gradient(180deg, rgba(255, 247, 243, 0.08), rgba(36, 26, 25, 0.2));
}

.program-maquette-shell {
    position: relative;
    width: min(1120px, calc(100% - 2rem));
    min-height: 64rem;
    margin: 0 auto;
}

.program-maquette-card {
    position: relative;
    overflow: hidden;
    width: min(720px, 72%);
    margin-left: clamp(0rem, 3vw, 2rem);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.65rem, 4vw, 3.35rem) clamp(2.25rem, 4vw, 3.25rem);
    background:
        linear-gradient(145deg, rgba(255, 247, 243, 0.24), rgba(255, 247, 243, 0.04)),
        linear-gradient(180deg, rgba(207, 203, 142, 0.66), rgba(183, 176, 109, 0.48));
    border: 0px solid rgba(255, 247, 243, 0.32);
    color: var(--wedding-red);
    box-shadow:
        0 28px 70px rgba(36, 26, 25, 0.12),
        inset 0 1px 0 rgba(255, 247, 243, 0.34),
        inset 0 -1px 0 rgba(134, 16, 14, 0.08);
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.program-maquette-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(115deg, rgba(255, 247, 243, 0.26) 0%, rgba(255, 247, 243, 0.08) 34%, rgba(255, 247, 243, 0) 62%),
        linear-gradient(180deg, rgba(255, 247, 243, 0.08), rgba(36, 26, 25, 0.04));
    pointer-events: none;
}

.program-maquette-card > * {
    position: relative;
    z-index: 1;
}

.program-maquette-card h2 {
    margin: 0 0 1.55rem;
    color: var(--wedding-red);
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(3.4rem, 6vw, 5.25rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.82;
}

.program-maquette-timeline {
    --program-axis-x: clamp(0.95rem, 1.4vw, 1.25rem);
    --program-content-x: clamp(6.35rem, 9.5vw, 7.35rem);
    --program-marker-x: calc(var(--program-axis-x) - var(--program-content-x) - 2rem);
    position: relative;
    display: grid;
    gap: clamp(0.82rem, 1.55vw, 1.2rem);
    padding-left: var(--program-content-x);
}

.program-maquette-timeline::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    bottom: 0.78rem;
    left: calc(var(--program-axis-x) - 1px);
    width: 2px;
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.2), rgba(255, 247, 243, 0) 11%),
        linear-gradient(180deg, rgba(244, 185, 185, 0.96), rgba(239, 140, 86, 0.76) 48%, rgba(134, 16, 14, 0.36));
    border-radius: 999px;
}

.program-maquette-date {
    position: relative;
    width: fit-content;
    margin: 0.45rem 0 0.2rem;
    margin-left: calc(var(--program-axis-x) - var(--program-content-x));
    padding: 0.38rem 0.78rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 247, 243, 0.58);
    border: 1px solid rgba(239, 140, 86, 0.22);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(36, 26, 25, 0.06);
}

.program-maquette-date::before {
    display: none;
}

.program-maquette-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 0.08rem 0 0.2rem;
}

.program-maquette-item::before {
    display: none;
}

.program-maquette-time {
    position: absolute;
    top: 0.06rem;
    left: var(--program-marker-x);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    width: fit-content;
    min-width: 3.45rem;
    min-height: 1.55rem;
    padding: 0.24rem 0.58rem;
    border-radius: 999px;
    background: rgba(255, 247, 243, 0.78);
    border: 1px solid rgba(134, 16, 14, 0.14);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(36, 26, 25, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.program-maquette-copy {
    display: grid;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(134, 16, 14, 0.1);
}

.program-maquette-item:last-child .program-maquette-copy {
    border-bottom: 0;
    padding-bottom: 0;
}

.program-maquette-item h3 {
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: clamp(1.08rem, 1.55vw, 1.42rem);
    font-weight: 800;
    line-height: 1.08;
}

.program-maquette-item p {
    max-width: 48rem;
    margin: 0;
    color: var(--wedding-red);
    font-size: clamp(0.94rem, 1.25vw, 1.05rem);
    font-weight: 500;
    line-height: 1.35;
}

.program-maquette-place {
    margin: 0.02rem 0 0.15rem !important;
    padding: 0;
    background: transparent;
    color: var(--wedding-red) !important;
    font-family: var(--wedding-font-title);
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    opacity: 0.82;
    text-transform: uppercase;
}

.program-maquette-location {
    display: grid;
    gap: 0.16rem;
    margin: 0.02rem 0 0.2rem;
}

.program-maquette-address,
.program-maquette-location-note {
    margin: 0 !important;
    color: var(--wedding-red) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    opacity: 0.72;
}

.program-maquette-location-note {
    opacity: 0.82;
    font-style: italic;
}

.program-maquette-route {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    width: fit-content;
    margin-top: 0.1rem;
    padding: 0.18rem 0.5rem 0.2rem;
    border: 1px solid rgba(134, 16, 14, 0.18);
    border-radius: 999px;
    background: rgba(255, 247, 243, 0.42);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.program-maquette-route:hover,
.program-maquette-route:focus-visible {
    background: rgba(134, 16, 14, 0.08);
    color: var(--wedding-red);
}

.program-maquette-route span {
    font-size: 0.72rem;
    line-height: 1;
}

.program-maquette-item.is-away {
    padding-top: 0;
}

.program-maquette-item.is-away::before {
    display: none;
}

.program-maquette-item.is-away .program-maquette-time {
    min-width: 4.5rem;
    background: rgba(255, 247, 243, 0.86);
    border-color: rgba(239, 140, 86, 0.36);
    color: var(--wedding-orange);
}

.program-maquette-item.is-away .program-maquette-copy {
    padding: 0.75rem 0.85rem 0.8rem;
    background:
        linear-gradient(135deg, rgba(255, 247, 243, 0.36), rgba(255, 247, 243, 0.16));
    border: 1px solid rgba(239, 140, 86, 0.24);
    box-shadow: 0 12px 26px rgba(36, 26, 25, 0.04);
}

.program-maquette-time-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: currentColor;
}

.program-maquette-time-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-maquette-info-link {
    position: absolute;
    right: clamp(2rem, 6vw, 5.5rem);
    bottom: clamp(2rem, 5vw, 4.25rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(6.6rem, 9vw, 8rem);
    aspect-ratio: 1;
    padding: 1rem;
    border-radius: 50%;
    background: var(--wedding-red);
    color: #fff7f3;
    font-size: clamp(0.78rem, 1.1vw, 0.98rem);
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.program-maquette-info-link:hover,
.program-maquette-info-link:focus-visible {
    background: #6f0d0c;
    color: #fff7f3;
    box-shadow: 0 16px 30px rgba(36, 26, 25, 0.18);
    transform: translateY(-2px);
}

.navigation-programme-section {
    padding: clamp(3.8rem, 6vw, 5.4rem) 0 0;
    background: #f4eeee;
    color: var(--wedding-red);
    overflow: hidden;
}

.navigation-programme-heading {
    width: min(1110px, calc(100% - 2rem));
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.navigation-programme-heading h1,
.navigation-programme-heading h2 {
    max-width: 48rem;
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-script);
    font-size: clamp(4.1rem, 8vw, 6.6rem);
    font-weight: 400;
    line-height: 0.85;
}

.navigation-programme-band {
    padding: clamp(3.7rem, 6vw, 5rem) 0;
}

.navigation-programme-band.is-cream {
    background: #f4eeee;
}

.navigation-programme-band.is-blush {
    background: var(--wedding-blush);
}

.navigation-programme-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6.2rem);
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.navigation-programme-band.is-media-left .navigation-programme-media {
    order: -1;
}

.navigation-programme-copy {
    display: grid;
    gap: 1.35rem;
    align-content: center;
}

.navigation-programme-item {
    max-width: 38rem;
}

.navigation-programme-item h2,
.navigation-programme-item h3 {
    margin: 0 0 0.25rem;
    color: var(--wedding-red);
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 400;
    line-height: 1.02;
}

.navigation-programme-item h2 span::after,
.navigation-programme-item h3 span::after {
    content: " - ";
}

.navigation-programme-item p {
    margin: 0;
    color: var(--wedding-red);
    font-size: clamp(1.02rem, 1.55vw, 1.22rem);
    font-weight: 400;
    line-height: 1.28;
}

.navigation-programme-item strong {
    color: var(--wedding-red);
    font-weight: 800;
}

.navigation-programme-route {
    display: inline-grid;
    place-items: center;
    width: 8.35rem;
    aspect-ratio: 1;
    margin-top: 0.45rem;
    padding: 1rem;
    border-radius: 50%;
    background: var(--wedding-red);
    color: #fff7f3;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.navigation-programme-route:hover,
.navigation-programme-route:focus-visible {
    background: #6f0d0c;
    color: #fff7f3;
    transform: translateY(-2px);
}

.navigation-programme-media {
    margin: 0;
}

.navigation-programme-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
}

.navigation-programme-media figcaption {
    max-width: 31rem;
    margin: 0.65rem auto 0;
    color: var(--wedding-sage-deep);
    font-size: clamp(1rem, 1.55vw, 1.18rem);
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 921px) {
    .navigation-programme-section {
        padding-top: 3.4rem;
    }

    .navigation-programme-heading {
        margin-bottom: 2.6rem;
    }

    .navigation-programme-heading h1,
    .navigation-programme-heading h2 {
        font-size: clamp(3.7rem, 13vw, 5.2rem);
    }

    .navigation-programme-band {
        padding: 3rem 0;
    }

    .navigation-programme-inner {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .navigation-programme-copy {
        order: 1;
    }

    .navigation-programme-media,
    .navigation-programme-band.is-media-left .navigation-programme-media {
        order: 2;
    }

    .navigation-programme-item {
        max-width: 100%;
    }

    .navigation-programme-route {
        width: 7.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 544px) {
    .navigation-programme-heading,
    .navigation-programme-inner {
        width: min(1120px, calc(100% - 1.25rem));
    }

    .navigation-programme-heading h1,
    .navigation-programme-heading h2 {
        font-size: 3.2rem;
    }

    .navigation-programme-band {
        padding: 2.45rem 0;
    }

    .navigation-programme-copy {
        gap: 1.1rem;
    }

    .navigation-programme-item h2,
    .navigation-programme-item h3 {
        font-size: 1.82rem;
    }

    .navigation-programme-item p {
        font-size: 0.98rem;
    }

    .navigation-programme-route {
        width: 7rem;
        padding: 0.78rem;
        font-size: 0.78rem;
    }

    .navigation-programme-media img {
        aspect-ratio: 1 / 0.78;
    }
}

.venue-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.venues-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.venue-copy,
.venue-map {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 243, 239, 0.84));
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow-soft);
}

.venue-copy {
    padding: 2rem;
}

.venue-eyebrow {
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--wedding-gold);
}

.venue-address {
    margin-bottom: 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--wedding-ink);
}

.venue-badges,
.venue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.venue-badges {
    margin: 1.5rem 0;
}

.venue-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 245, 242, 0.92);
    border: 1px solid var(--wedding-line-soft);
    color: var(--wedding-ink);
    font-size: 0.88rem;
}

.venue-map {
    padding: 0.65rem;
    min-height: 420px;
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    min-height: 406px;
    border: 0;
    border-radius: calc(var(--wedding-radius) - 8px);
}

.info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card-wide {
    grid-column: 1 / -1;
}

#dresscode.dresscode-maquette {
    padding: 4.8rem 0 5.6rem;
    background: var(--wedding-blush);
}

#dresscode.dresscode-maquette .wedding-shell {
    width: min(1320px, calc(100% - 2rem));
}

.dresscode-maquette,
.dresscode-maquette p,
.dresscode-maquette h2,
.dresscode-maquette h3 {
    color: var(--wedding-red);
}

.dresscode-maquette-header {
    max-width: 840px;
    margin: 0 auto 4.4rem;
    text-align: center;
}

.dresscode-maquette-header h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.28em;
    margin: 0 0 1.55rem;
    color: var(--wedding-red);
    font-weight: 400;
    line-height: 0.95;
}

.dresscode-maquette-header h2 span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.8rem;
    font-weight: 400;
}

.dresscode-maquette-header h2 em {
    font-family: var(--wedding-font-script);
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.85;
}

.dresscode-maquette-intro {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.dresscode-maquette-intro p,
.dresscode-maquette-copy,
.dresscode-maquette-reserved-copy p {
    font-size: 1.05rem;
    line-height: 1.45;
}

.dresscode-maquette-intro p {
    margin: 0 0 1.15rem;
}

.dresscode-maquette-intro p:last-child {
    margin-bottom: 0;
}

.dresscode-maquette em {
    font-family: var(--wedding-font-script);
    font-style: normal;
}

.dresscode-maquette-group {
    margin: 0 auto 4.1rem;
}

.dresscode-maquette-group h3 {
    width: min(1080px, 100%);
    margin: 0 auto 1.45rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 2.05rem;
    font-weight: 400;
    line-height: 1.1;
}

.dresscode-maquette-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3.7rem;
    align-items: stretch;
    width: min(1120px, 100%);
    margin: 0 auto 1.35rem;
}

.dresscode-maquette-photo,
.dresscode-maquette-reserved-photo {
    margin: 0;
    overflow: hidden;
    background: rgba(255, 247, 243, 0.16);
}

.dresscode-maquette-photo {
    aspect-ratio: 3 / 4;
}

.dresscode-maquette-photo img,
.dresscode-maquette-reserved-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dresscode-maquette-copy {
    width: min(940px, 100%);
    margin: 0 auto 1.2rem;
    text-align: center;
}

.dresscode-maquette-copy-small {
    width: min(560px, 100%);
}

.dresscode-maquette-reserved {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 3.2rem;
    align-items: center;
    width: min(900px, 100%);
    margin: 0 auto;
}

.dresscode-maquette-reserved-photo {
    aspect-ratio: 4 / 5;
}

.dresscode-maquette-reserved-copy p {
    margin: 0 0 1.4rem;
}

.dresscode-maquette-reserved-copy p:last-child {
    margin-bottom: 0;
}

#galerie.gallery-maquette {
    padding: 4.8rem 0 5.2rem;
    background:
        linear-gradient(180deg, #f4eeee 0%, rgba(244, 185, 185, 0.72) 100%);
    color: var(--wedding-red);
}

#galerie.gallery-maquette .wedding-shell {
    width: min(1120px, calc(100% - 2rem));
}

#galerie.gallery-maquette .section-heading {
    max-width: 780px;
    margin-bottom: 2.6rem;
}

#galerie.gallery-maquette .section-kicker,
#galerie.gallery-maquette .section-heading h2,
#galerie.gallery-maquette .section-heading p {
    color: var(--wedding-red);
}

#galerie.gallery-maquette .section-kicker {
    margin-bottom: 0.25rem;
}

#galerie.gallery-maquette .section-heading h2 {
    margin: 0 0 0.75rem;
    font-family: var(--wedding-font-script);
    font-size: clamp(3.2rem, 7vw, 5.2rem);
    font-weight: 400;
    line-height: 0.88;
}

#galerie.gallery-maquette .section-heading p {
    font-size: 1.04rem;
    line-height: 1.45;
}

#galerie.gallery-maquette .editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(134, 16, 14, 0.18);
    border-bottom: 1px solid rgba(134, 16, 14, 0.18);
}

#galerie.gallery-maquette .editorial-card {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    min-height: 13rem;
    padding: clamp(1.35rem, 3vw, 2.1rem);
    background: transparent;
    border-right: 1px solid rgba(134, 16, 14, 0.16);
    border-radius: 0;
    box-shadow: none;
}

#galerie.gallery-maquette .editorial-card:last-child {
    border-right: 0;
}

#galerie.gallery-maquette .editorial-card h3 {
    margin: 0;
    color: var(--wedding-red);
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
}

#galerie.gallery-maquette .editorial-card p {
    max-width: 24rem;
    margin: 0;
    color: var(--wedding-red);
    font-size: 0.98rem;
    line-height: 1.42;
}

@media (max-width: 921px) {
    #galerie.gallery-maquette {
        padding: 4rem 0 4.4rem;
    }

    #galerie.gallery-maquette .editorial-grid {
        grid-template-columns: 1fr;
    }

    #galerie.gallery-maquette .editorial-card {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(134, 16, 14, 0.16);
    }

    #galerie.gallery-maquette .editorial-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 544px) {
    #galerie.gallery-maquette {
        padding: 3.2rem 0 3.6rem;
    }

    #galerie.gallery-maquette .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    #galerie.gallery-maquette .section-heading {
        margin-bottom: 1.7rem;
    }

    #galerie.gallery-maquette .section-heading h2 {
        font-size: 2.8rem;
    }

    #galerie.gallery-maquette .editorial-card {
        padding: 1.15rem 0.2rem;
    }
}

.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 246, 242, 0.88));
    box-shadow: var(--wedding-shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1rem 1.2rem;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-weight: 700;
}

.faq-item summary::marker {
    color: var(--wedding-orange);
}

.faq-item p {
    margin: 0;
    padding: 0 1.2rem 1.15rem;
}

.rsvp-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 0;
}

.rsvp-actions {
    text-align: center;
    width: 100%;
}

.rsvp-note {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.rsvp-actions .wpr-wrapper {
    max-width: 100%;
    margin: 0;
    text-align: left;
    width: 100%;
}

.rsvp-actions .wpr-wrapper h2,
.rsvp-actions .wpr-wrapper h3 {
    color: var(--wedding-rose-deep);
}

.rsvp-panel > :first-child {
    align-self: start;
    padding-top: 0.35rem;
    width: min(100%, 760px);
    margin: 0 auto;
}

.rsvp-panel > :first-child h3 {
    margin-bottom: 0.9rem;
}

.rsvp-panel > :first-child p {
    max-width: 58ch;
}

.rsvp-actions .wpr-guest-card,
.rsvp-actions .wpr-wrapper form {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 243, 239, 0.9));
    border: 1px solid var(--wedding-line);
    border-radius: 22px;
    box-shadow: var(--wedding-shadow-soft);
    padding: 1.25rem;
}

.rsvp-actions .wpr-wrapper form {
    display: grid;
    gap: 1.1rem;
    padding: 1.5rem;
    width: 100%;
}

.rsvp-actions .wpr-wrapper > form > h2 {
    margin: 0;
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 251, 248, 0.98), rgba(249, 238, 236, 0.94)),
        linear-gradient(135deg, rgba(134, 16, 14, 0.04), rgba(244, 185, 185, 0.16));
    border: 1px solid var(--wedding-line);
    box-shadow: var(--wedding-shadow-soft);
    font-size: 2.2rem;
    line-height: 1.05;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.rsvp-actions .wpr-wrapper h3 {
    margin: 0 0 0.9rem;
    font-size: 1.7rem;
    line-height: 1.1;
}

.rsvp-actions .wpr-guest-card {
    display: grid;
    gap: 0.85rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 245, 0.94)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.08), rgba(210, 204, 147, 0.1));
}

.rsvp-actions .wpr-party-card {
    gap: 1.1rem;
    padding: 1.35rem;
}

.rsvp-actions .wpr-party-group-fields {
    display: grid;
    gap: 0.85rem;
}

.rsvp-actions .wpr-party-members {
    display: grid;
    gap: 0.95rem;
}

.rsvp-actions .wpr-member-list-header label {
    display: block;
    margin-bottom: 0.1rem;
}

.rsvp-actions .wpr-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rsvp-actions .wpr-member-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wedding-line-soft);
    border-radius: 999px;
    background: rgba(255, 248, 245, 0.9);
    color: var(--wedding-ink);
    padding: 0.72rem 1rem;
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-actions .wpr-member-chip:hover,
.rsvp-actions .wpr-member-chip:focus-visible {
    border-color: rgba(235, 141, 87, 0.34);
    box-shadow: 0 10px 20px rgba(134, 16, 14, 0.08);
    transform: translateY(-1px);
    outline: none;
}

.rsvp-actions .wpr-member-chip.is-active {
    background: linear-gradient(135deg, rgba(134, 16, 14, 0.14), rgba(235, 141, 87, 0.2));
    border-color: rgba(134, 16, 14, 0.24);
    color: var(--wedding-red);
    box-shadow: 0 12px 24px rgba(134, 16, 14, 0.1);
}

.rsvp-actions .wpr-member-chip.is-complete {
    background: linear-gradient(135deg, rgba(125, 122, 70, 0.22), rgba(210, 204, 147, 0.46));
    border-color: rgba(125, 122, 70, 0.34);
    color: var(--wedding-sage-deep);
    box-shadow: 0 12px 24px rgba(125, 122, 70, 0.14);
}

.rsvp-actions .wpr-member-chip.is-active.is-complete {
    background: linear-gradient(135deg, rgba(125, 122, 70, 0.32), rgba(210, 204, 147, 0.56));
}

.rsvp-actions .wpr-member-validation-summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rsvp-actions .wpr-member-progress {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wedding-sage-deep);
}

.rsvp-actions .wpr-member-panels {
    display: grid;
}

.rsvp-actions .wpr-member-panel {
    padding: 1.15rem;
    border-radius: 20px;
    border-color: var(--wedding-line);
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(252, 245, 241, 0.95)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.06), rgba(210, 204, 147, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rsvp-actions .wpr-member-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding-top: 0.2rem;
}

.rsvp-actions .wpr-member-status {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wedding-muted);
}

.rsvp-actions .wpr-member-status.is-complete {
    color: var(--wedding-sage-deep);
}

.rsvp-actions .wpr-member-validate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    border: 1px solid rgba(125, 122, 70, 0.22);
    border-radius: 999px;
    background: rgba(255, 252, 248, 0.95);
    color: var(--wedding-sage-deep);
    padding: 0.8rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rsvp-actions .wpr-member-validate:hover,
.rsvp-actions .wpr-member-validate:focus-visible {
    border-color: rgba(125, 122, 70, 0.42);
    background: rgba(246, 245, 231, 0.98);
    box-shadow: 0 12px 24px rgba(125, 122, 70, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.rsvp-actions .wpr-field {
    margin-bottom: 0;
}

.rsvp-actions .wpr-field label {
    font-size: 0.9rem;
    letter-spacing: 0;
    color: var(--wedding-ink);
}

.rsvp-actions .wpr-help {
    margin: 0.2rem 0 0.55rem;
    font-size: 0.92rem;
    color: var(--wedding-muted);
}

.rsvp-actions .wpr-field input[type="text"],
.rsvp-actions .wpr-field input[type="email"],
.rsvp-actions .wpr-field select,
.rsvp-actions .wpr-field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--wedding-line-soft);
    background: rgba(255, 248, 245, 0.92);
    padding: 0.9rem 1rem;
}

/* Force a stable native select rendering inside the RSVP block. */
.rsvp-actions .wpr-field select {
    color: var(--wedding-ink);
    -webkit-text-fill-color: var(--wedding-ink);
    font: inherit;
    line-height: 1.35;
    min-height: 3.4rem;
    opacity: 1;
    appearance: auto;
}

.rsvp-actions .wpr-field select option {
    color: var(--wedding-ink);
    background: #fffaf7;
}

.rsvp-actions .wpr-field select:disabled {
    color: var(--wedding-muted);
    -webkit-text-fill-color: var(--wedding-muted);
    opacity: 1;
}

.rsvp-actions .wpr-checkbox-group {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
}

.rsvp-actions .wpr-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(255, 250, 247, 0.86);
    border: 1px solid var(--wedding-line-soft);
    font-weight: 500;
}

.rsvp-actions .wpr-program-option {
    border-radius: 18px;
    border: 1px solid var(--wedding-line);
    background: rgba(255, 250, 247, 0.86);
    padding: 0;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rsvp-actions .wpr-program-option.is-active {
    background:
        linear-gradient(180deg, rgba(255, 251, 248, 0.98), rgba(249, 238, 236, 0.94)),
        linear-gradient(135deg, rgba(244, 185, 185, 0.1), rgba(210, 204, 147, 0.12));
    border-color: rgba(235, 141, 87, 0.24);
    box-shadow: 0 12px 24px rgba(134, 16, 14, 0.08);
}

.rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
}

.rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle input {
    margin-top: 0.15rem;
}

.rsvp-actions .wpr-program-option-panel {
    margin-top: 0;
    padding: 0.95rem 0.9rem 0.15rem;
    border-top: 1px solid var(--wedding-line-soft);
}

.rsvp-actions .wpr-program-option-panel .wpr-dinner-allergies > input[name*="[dietary]"] {
    margin-bottom: 0.65rem;
}

.rsvp-actions .wpr-program-option-panel .wpr-field {
    display: grid;
    gap: 0.55rem;
}

.rsvp-actions .wpr-program-option-panel .wpr-field > label {
    padding: 0;
    border: none;
    background: transparent;
    font-weight: 600;
}

.rsvp-actions .wpr-program-option-panel .wpr-checkbox-group {
    margin: 0;
}

.rsvp-actions .wpr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, var(--wedding-red) 0%, var(--wedding-orange) 100%);
    color: var(--wedding-white);
    border: none;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(134, 16, 14, 0.22);
    font-weight: 700;
}

.rsvp-actions .wpr-family-submit {
    display: grid;
    gap: 0.55rem;
}

.rsvp-actions .wpr-family-submit-help {
    margin: 0;
}

.rsvp-actions .wpr-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    filter: saturate(0.85);
}

.rsvp-actions .wpr-button:hover {
    opacity: 1;
    background: linear-gradient(135deg, #5f0d0c 0%, var(--wedding-red) 58%, var(--wedding-orange) 100%);
}

.rsvp-actions .wpr-notice {
    margin-bottom: 1rem;
    border-radius: 18px;
}

.story-card,
.info-card,
.venue-copy,
.venue-map,
.editorial-card,
.faq-item,
.rsvp-actions .wpr-guest-card,
.rsvp-actions .wpr-wrapper form,
.rsvp-actions .wpr-wrapper > form > h2,
.rsvp-actions .wpr-member-panel,
.rsvp-actions .wpr-program-option,
.rsvp-actions .wpr-field input[type="text"],
.rsvp-actions .wpr-field input[type="email"],
.rsvp-actions .wpr-field select,
.rsvp-actions .wpr-field textarea,
.rsvp-actions .wpr-checkbox-group label,
.rsvp-actions .wpr-notice {
    border-radius: var(--wedding-radius);
}

section {
    padding: 5em 1.5em;
    background-color: transparent;
}

.entry-content > *,
.site-main .wp-block-group,
.site-main .wp-block-cover,
.site-main .wp-block-columns,
.widget,
.calendar_wrap,
.comment-respond,
.post,
.page .entry-content > .wp-block-group,
.page .entry-content > p,
.page .entry-content > ul,
.page .entry-content > ol {
    position: relative;
    z-index: 1;
}

.entry-content > .wp-block-group,
.entry-content > .wp-block-cover,
.entry-content > .wp-block-columns,
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.widget,
.comment-respond {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content > .wp-block-group,
.entry-content > .wp-block-columns,
.widget,
.comment-respond,
.post .entry-content > blockquote {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(250, 243, 239, 0.82));
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow);
    padding: 2rem;
}

.wp-block-cover {
    overflow: hidden;
    border-radius: calc(var(--wedding-radius) + 8px);
    box-shadow: var(--wedding-shadow);
}

.wp-block-cover .wp-block-cover__inner-container {
    padding: 2rem;
}

.wp-block-image img,
.wp-block-gallery img {
    border-radius: 20px;
}

.wp-block-quote,
blockquote {
    border-left: 4px solid var(--wedding-gold);
    padding-left: 1.25rem;
    font-style: italic;
}

.wp-block-separator {
    border-color: rgba(235, 141, 87, 0.32);
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea,
select {
    border: 1px solid var(--wedding-line);
    border-radius: 18px;
    background: rgba(255, 250, 247, 0.94);
    color: var(--wedding-ink);
    padding: 0.9rem 1rem;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--wedding-rose);
    box-shadow: 0 0 0 3px rgba(244, 185, 185, 0.22);
    outline: none;
}

footer {
    background: var(--wedding-red);
    color: #ffe6e2;
    text-align: center;
    padding: 0;
    border-top: 1px solid rgba(255, 230, 226, 0.22);
}

.site-footer a,
footer a {
    color: #ffe6e2;
}

.site-footer,
.site-below-footer-wrap,
footer .ast-builder-grid-row-container,
.ast-footer-copyright {
    background: transparent !important;
}

.ast-footer-copyright,
.ast-footer-copyright p,
.ast-footer-copyright a {
    color: #ffe6e2 !important;
}

.ast-footer-copyright a:hover {
    color: var(--wedding-white) !important;
}

.jw-wedding-footer-copyright {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.15rem 0;
}

.jw-wedding-footer-copyright p {
    margin: 0;
    font-family: var(--wedding-font-title);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.jw-wedding-footer-copyright span {
    display: inline-block;
    margin: 0 0.55rem;
    color: var(--wedding-blush);
    opacity: 0.85;
}

@media (max-width: 921px) {
    .hero {
        padding: 6rem 0 4rem;
        background-size: cover;
        background-position: center;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: none;
        text-align: center;
    }

    .hero-panel {
        max-width: 42rem;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero .button {
        min-width: 12.5rem;
    }

    .hero-support {
        margin-left: auto;
        margin-right: auto;
    }

    .entry-content > .wp-block-group,
    .entry-content > .wp-block-columns,
    .widget,
    .comment-respond {
        padding: 1.4rem;
    }

    .story-grid,
    .info-grid,
    .rsvp-panel,
    .venue-showcase,
    .venues-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .story-grid > :first-child {
        grid-column: auto;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wedding-section-alt .wedding-shell {
        padding: 1.5rem;
    }

    #dresscode.dresscode-maquette {
        padding: 3.8rem 0 4.6rem;
    }

    .dresscode-maquette-header {
        margin-bottom: 3.4rem;
    }

    .dresscode-maquette-header h2 span,
    .dresscode-maquette-header h2 em {
        font-size: 3.7rem;
    }

    .dresscode-maquette-group {
        margin-bottom: 3.2rem;
    }

    .dresscode-maquette-group h3,
    .dresscode-maquette-gallery {
        width: min(680px, 100%);
    }

    .dresscode-maquette-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .dresscode-maquette-reserved {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        width: min(680px, 100%);
    }

    .dresscode-maquette-reserved-photo {
        width: min(320px, 100%);
        justify-self: center;
    }

    .dresscode-maquette-reserved-copy {
        text-align: center;
    }

    .venue-map {
        min-height: 360px;
    }

    .venue-map iframe {
        min-height: 346px;
    }

}

@media (max-width: 544px) {
    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    body {
        font-size: 15px;
    }

    #dresscode.dresscode-maquette {
        padding: 3.1rem 0 3.7rem;
    }

    #dresscode.dresscode-maquette .wedding-shell {
        width: min(calc(100% - 1.25rem), 32rem);
    }

    .dresscode-maquette-header {
        margin-bottom: 2.8rem;
    }

    .dresscode-maquette-header h2 {
        gap: 0.12em;
        margin-bottom: 1.2rem;
    }

    .dresscode-maquette-header h2 span,
    .dresscode-maquette-header h2 em {
        font-size: 3rem;
    }

    .dresscode-maquette-intro {
        text-align: center;
    }

    .dresscode-maquette-intro p,
    .dresscode-maquette-copy,
    .dresscode-maquette-reserved-copy p {
        font-size: 0.96rem;
    }

    .dresscode-maquette-group h3 {
        font-size: 1.65rem;
    }

    .dresscode-maquette-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: min(18rem, 100%);
    }

    .dresscode-maquette-copy {
        text-align: left;
    }

    .dresscode-maquette-reserved {
        width: min(20rem, 100%);
    }

    .dresscode-maquette-reserved-copy {
        text-align: left;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        background-size: cover;
        background-position: center;
    }

    .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    .detail-pill {
        min-width: auto;
        width: 100%;
    }

    .hero-actions,
    .hero .button {
        width: 100%;
    }

    .countdown-panel {
        width: 100%;
        padding: 1.2rem 1rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-fact {
        width: 100%;
        justify-content: center;
    }

    .hero-summary-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .venue-map {
        min-height: 300px;
    }

    .venue-map iframe {
        min-height: 286px;
    }
}

body.home .site-header,
body.wedding-info-page .site-header {
    display: none !important;
}

body.wedding-info-page.ast-separate-container #primary,
body.wedding-info-page.ast-separate-container.ast-left-sidebar #primary,
body.wedding-info-page.ast-separate-container.ast-right-sidebar #primary {
    margin: 0;
    padding: 0;
}

.wedding-site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 5.75rem 1fr;
    align-items: center;
    gap: 1.5rem;
    min-height: 6rem;
    padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
    background: var(--wedding-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.wedding-site-header-page {
    grid-template-columns: 5.75rem 1fr;
}

.wedding-site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.9rem;
    aspect-ratio: 1;
    background: var(--wedding-blush);
    border: 1px solid rgba(255, 230, 230, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wedding-site-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(36, 26, 25, 0.18);
}

.wedding-site-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wedding-site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 4vw, 4rem);
}

.wedding-site-nav a {
    color: #ffe6e2;
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(1.55rem, 2.55vw, 2.45rem);
    font-style: italic;
    line-height: 0.9;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 3px 10px rgba(36, 26, 25, 0.16);
}

.wedding-site-nav a:hover,
.wedding-site-nav a:focus-visible {
    color: var(--wedding-white);
}

.wedding-hero {
    min-height: auto;
    display: block;
}

.hero {
    padding: 2rem 0 4.25rem;
    background: #f4eeee;
    color: var(--wedding-red);
    box-shadow: none;
    overflow: visible;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-layout {
    width: min(1120px, calc(100% - 2rem));
    gap: clamp(2.5rem, 4.5vw, 4.25rem);
}

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(13.5rem, 1fr) minmax(17rem, 0.95fr) minmax(13.5rem, 1fr);
    align-items: center;
    gap: clamp(1.4rem, 3.3vw, 3rem);
    width: 100%;
    min-height: 27.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--wedding-blush);
    color: var(--wedding-red);
}

.hero-copy {
    display: grid;
    gap: 1.35rem;
    align-content: center;
    text-align: left;
}

.hero-copy p {
    max-width: 18.5rem;
    margin: 0;
    color: var(--wedding-red);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.25;
}

.hero-copy-right {
    justify-items: center;
}

.hero-copy-right p {
    justify-self: start;
}

.hero-arrival {
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(1.55rem, 2.2vw, 1.9rem) !important;
    line-height: 1.06 !important;
}

.hero-arrival span {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--wedding-font-script);
    font-size: clamp(1.95rem, 3vw, 2.55rem);
    line-height: 0.8;
}

.hero-program-link {
    justify-self: start;
    color: var(--wedding-red);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    text-decoration-thickness: 1px;
}

.hero-program-link:hover {
    color: #5f0d0c;
}

.hero-photo-block {
    position: relative;
    justify-self: center;
    width: min(100%, 19rem);
    margin: 0;
    padding-bottom: 7.15rem;
}

.hero-photo-block img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 0%;
    border: 0.5rem solid rgba(255, 250, 247, 0.92);
    box-shadow: 0 18px 34px rgba(134, 16, 14, 0.12);
}

.hero-title-lockup {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    column-gap: 1.05rem;
    width: max-content;
    max-width: min(42rem, 92vw);
    transform: translateX(-50%);
    color: var(--wedding-red);
    text-align: center;
    white-space: nowrap;
}

.hero-title-main {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.85rem, 5vw, 3.9rem);
    line-height: 0.82;
    letter-spacing: 0;
}

.hero-title-script {
    font-family: "Shell Roundhand", "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(2.9rem, 5.4vw, 4.25rem);
    font-style: italic;
    line-height: 0.75;
}

.hero-title-date {
    grid-column: 1 / -1;
    margin-top: 0.1rem;
    font-family: var(--wedding-font-title);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    line-height: 1;
}

.hero-rsvp-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6.8rem;
    aspect-ratio: 1;
    margin-top: 0.6rem;
    border: 1px solid var(--wedding-red);
    border-radius: 50%;
    color: var(--wedding-red);
    font-size: 0.95rem;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero-rsvp-button span {
    display: block;
}

.hero-rsvp-button:hover {
    background: var(--wedding-red);
    color: var(--wedding-white);
    box-shadow: 0 14px 28px rgba(134, 16, 14, 0.18);
    transform: translateY(-2px);
}

.hero-panel {
    position: absolute;
    left: 50%;
    bottom: -1.0rem;
    width: max-content;
    max-width: min(31rem, 94vw);
    margin: 0;
    transform: translateX(-50%);
}

.maquette-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: auto;
    padding: 0.68rem 1.05rem;
    background:
        linear-gradient(145deg, rgba(255, 250, 248, 0.72), rgba(255, 247, 243, 0.34)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(134, 16, 14, 0.035));
    border: 1px solid rgba(255, 250, 248, 0.56);
    border-radius: 999px;
    box-shadow:
        0 14px 32px rgba(134, 16, 14, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        inset 0 -1px 0 rgba(134, 16, 14, 0.06);
    overflow: visible;
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

.maquette-countdown .countdown-intro {
    max-width: none;
    margin: 0;
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

.maquette-countdown .countdown-grid {
    display: inline-flex;
    align-items: baseline;
    grid-template-columns: none;
    max-width: none;
    margin: 0;
    gap: 0.46rem;
}

.maquette-countdown .countdown-card {
    display: inline-flex;
    align-items: baseline;
    gap: 0.16rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.maquette-countdown .countdown-card:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.24rem;
    height: 0.24rem;
    margin: 0 0.2rem 0 0.36rem;
    border-radius: 50%;
    background: rgba(134, 16, 14, 0.36);
    transform: translateY(-0.08rem);
}

.maquette-countdown .countdown-value {
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: clamp(1.18rem, 1.85vw, 1.45rem);
    font-weight: 800;
    line-height: 1;
}

.maquette-countdown .countdown-unit {
    margin-top: 0;
    color: var(--wedding-red);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.78;
    text-transform: none;
}

@media (max-width: 921px) {
    .wedding-site-header {
        grid-template-columns: 4.2rem 1fr;
        gap: 1rem;
        min-height: 5.25rem;
        padding: 0.8rem 1rem;
    }

    .wedding-site-header-page {
        grid-template-columns: 4.2rem 1fr;
    }

    .wedding-site-logo {
        width: 3.25rem;
    }

    .wedding-site-nav {
        justify-content: flex-start;
        gap: 1.4rem;
        overflow-x: auto;
        padding: 0.3rem 0;
        scrollbar-width: thin;
    }

    .wedding-site-nav a {
        flex: 0 0 auto;
        font-size: 1.55rem;
    }

    .hero {
        padding: 1.2rem 0 3.5rem;
    }

    .hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 1.5rem;
    }

    .hero-copy,
    .hero-copy-right,
    .hero-copy-right p {
        justify-items: center;
        text-align: center;
    }

    .hero-copy p {
        max-width: 34rem;
    }

    .hero-program-link {
        justify-self: center;
    }

    .hero-photo-block {
        order: -1;
        width: min(21rem, 100%);
        padding-bottom: 7.85rem;
    }

    .maquette-countdown {
        text-align: center;
    }

    .maquette-countdown .countdown-intro {
        text-align: center;
    }

    .program-maquette-section {
        min-height: auto;
        padding: 2.75rem 0;
    }

    .program-maquette-shell {
        display: grid;
        gap: 1.5rem;
        min-height: 0;
    }

    .program-maquette-card {
        width: 100%;
        margin-left: 0;
    }

    .program-maquette-info-link {
        right: clamp(1rem, 5vw, 2rem);
        bottom: 1.4rem;
        width: 6.25rem;
        font-size: 0.74rem;
    }

}

@media (max-width: 544px) {
    .wedding-site-header {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.75rem;
    }

    .wedding-site-header-page {
        grid-template-columns: 1fr;
    }

    .wedding-site-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1.1rem;
        overflow-x: visible;
        padding: 0;
    }

    .wedding-site-nav a {
        font-size: 1.28rem;
        line-height: 0.95;
    }

    .hero-layout {
        width: min(1120px, calc(100% - 1rem));
    }

    .hero-card {
        padding: 1.1rem;
    }

    .hero-title-lockup {
        grid-template-columns: 1fr;
        row-gap: 0.15rem;
        width: min(19rem, calc(100vw - 2rem));
        white-space: normal;
    }

    .hero-title-main,
    .hero-title-script {
        font-size: 2.35rem;
        line-height: 0.86;
    }

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

    .hero-panel {
        bottom: 0.25rem;
    }

    .maquette-countdown {
        gap: 0.52rem;
        padding: 0.56rem 0.72rem;
    }

    .maquette-countdown .countdown-grid {
        display: inline-flex;
        gap: 0.26rem;
    }

    .maquette-countdown .countdown-intro {
        font-size: 0.72rem;
    }

    .maquette-countdown .countdown-value {
        font-size: 1rem;
    }

    .maquette-countdown .countdown-unit {
        font-size: 0.58rem;
    }

    .maquette-countdown .countdown-card:not(:last-child)::after {
        width: 0.18rem;
        height: 0.18rem;
        margin-left: 0.22rem;
        margin-right: 0.08rem;
    }

    .program-maquette-shell {
        width: min(1120px, calc(100% - 1rem));
    }

    .program-maquette-card {
        padding: 1.45rem 1.1rem 1.65rem;
    }

    .program-maquette-card h2 {
        font-size: 3rem;
    }

    .program-maquette-timeline {
        --program-axis-x: 0.68rem;
        --program-content-x: 4.95rem;
        --program-marker-x: calc(var(--program-axis-x) - var(--program-content-x) - 0.25rem);
        gap: 0.85rem;
        padding-left: var(--program-content-x);
    }

    .program-maquette-timeline::before {
        top: 2.2rem;
        left: calc(var(--program-axis-x) - 1px);
    }

    .program-maquette-date {
        font-size: 0.7rem;
        margin-left: calc(var(--program-axis-x) - var(--program-content-x));
        padding: 0.34rem 0.62rem 0.32rem;
    }

    .program-maquette-date::before {
        display: none;
    }

    .program-maquette-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .program-maquette-item::before {
        display: none;
    }

    .program-maquette-time {
        top: 0.06rem;
        min-width: 3.05rem;
        min-height: 1.42rem;
        padding: 0.24rem 0.42rem;
        font-size: 0.74rem;
    }

    .program-maquette-copy {
        padding-bottom: 0.75rem;
    }

    .program-maquette-item h3 {
        font-size: 1.12rem;
    }

    .program-maquette-place {
        font-size: 0.66rem !important;
    }

    .program-maquette-address,
    .program-maquette-location-note {
        font-size: 0.66rem !important;
    }

    .program-maquette-route {
        font-size: 0.62rem;
        padding: 0.18rem 0.42rem 0.2rem;
    }

    .program-maquette-item.is-away .program-maquette-copy {
        padding: 0.65rem 0.7rem 0.7rem;
    }

    .program-maquette-item.is-away .program-maquette-time {
        min-width: 4rem;
    }

    .program-maquette-time-icon {
        width: 0.9rem;
        height: 0.9rem;
    }

    .program-maquette-time-icon svg {
        width: 0.9rem;
        height: 0.9rem;
    }

    .program-maquette-info-link {
        position: relative;
        right: auto;
        bottom: auto;
        display: flex;
        width: 6.5rem;
        margin: 1.25rem 1rem 0 auto;
        font-size: 0.72rem;
    }
}

#rsvp.rsvp-maquette {
    padding: 5.2rem 0 5.5rem;
    background: var(--wedding-blush);
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .wedding-shell {
    display: grid;
    gap: 2rem;
    width: min(1320px, calc(100% - 2rem));
}

#rsvp.rsvp-maquette .section-heading {
    max-width: 820px;
    margin: 0 auto;
}

#rsvp.rsvp-maquette .section-kicker,
#rsvp.rsvp-maquette .section-heading h2,
#rsvp.rsvp-maquette .section-heading p {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .section-kicker {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .section-heading h2 {
    margin-bottom: 0.8rem;
    font-family: var(--wedding-font-script);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 0.9;
}

#rsvp.rsvp-maquette .section-heading p {
    font-size: 1.05rem;
    line-height: 1.45;
}

#rsvp.rsvp-maquette .rsvp-panel {
    width: min(1120px, 100%);
    margin: 0 auto;
}

#rsvp.rsvp-maquette .rsvp-actions {
    text-align: left;
}

#rsvp.rsvp-maquette .rsvp-note {
    margin: 1rem 0 0;
    color: var(--wedding-red);
    text-align: center;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper form,
#rsvp.rsvp-maquette .rsvp-actions .wpr-guest-card {
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.98), rgba(244, 185, 185, 0.94));
    border: 1px solid rgba(255, 230, 226, 0.42);
    box-shadow: 0 24px 60px rgba(36, 26, 25, 0.2);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper form {
    gap: 1.2rem;
    padding: 1.7rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2,
#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper h3 {
    color: var(--wedding-red);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    background: rgba(255, 247, 243, 0.72);
    border-color: rgba(134, 16, 14, 0.12);
    box-shadow: none;
    font-family: Georgia, "Times New Roman", serif;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field label,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-list-header label,
#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel .wpr-field > label {
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-help {
    color: rgba(134, 16, 14, 0.72);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 250, 247, 0.92);
    border-color: rgba(134, 16, 14, 0.16);
    color: var(--wedding-ink);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input:focus,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select:focus,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea:focus {
    border-color: rgba(134, 16, 14, 0.42);
    box-shadow: 0 0 0 3px rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip,
#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label,
#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    background: rgba(255, 250, 247, 0.78);
    border-color: rgba(134, 16, 14, 0.14);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip.is-active,
#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option.is-active {
    background: rgba(255, 247, 243, 0.96);
    border-color: rgba(134, 16, 14, 0.28);
    box-shadow: 0 12px 28px rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-button {
    min-height: 3.35rem;
    background: var(--wedding-red);
    border: 1px solid rgba(134, 16, 14, 0.9);
    border-radius: var(--wedding-radius);
    box-shadow: 0 14px 30px rgba(134, 16, 14, 0.24);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-button:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:focus-visible {
    background: #5f0d0c;
    border-color: #5f0d0c;
    outline: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate {
    border-radius: var(--wedding-radius);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper form {
    gap: 1.35rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    padding: 0 0 1rem;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-guest-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card {
    display: grid;
    gap: 1.1rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card > h3,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel > h3 {
    margin: 0;
    font-family: var(--wedding-font-title);
    font-size: 1.45rem;
    line-height: 1.05;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card > .wpr-help {
    margin-top: -0.4rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-members,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panels,
#rsvp.rsvp-maquette .rsvp-actions .wpr-family-submit {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(134, 16, 14, 0.16);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    display: grid;
    gap: 1rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field {
    display: grid;
    gap: 0.45rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 247, 243, 0.9);
    border-color: rgba(134, 16, 14, 0.2);
    color: var(--wedding-ink);
    border-radius: var(--wedding-radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip {
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip.is-active,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip.is-complete {
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group {
    gap: 0;
    border-top: 1px solid rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label {
    margin: 0;
    padding: 0.72rem 0.2rem;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: 0;
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option {
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option.is-active {
    background: rgba(255, 247, 243, 0.48);
    border-color: rgba(134, 16, 14, 0.18);
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group .wpr-program-option-toggle {
    padding: 0.72rem 0.2rem;
    border-bottom: 0;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel {
    padding: 0.85rem 0.2rem 0.25rem 1.35rem;
    border-top: 1px dashed rgba(134, 16, 14, 0.18);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option-panel .wpr-checkbox-group {
    margin-top: 0.2rem;
}

#faq.faq-maquette {
    padding: 4.4rem 0 4.8rem;
    background: #f4eeee;
}

#faq.faq-maquette .wedding-shell {
    width: min(980px, calc(100% - 2rem));
}

#faq.faq-maquette .section-heading {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

#faq.faq-maquette .section-kicker {
    margin-bottom: 0.25rem;
    color: var(--wedding-red);
}

#faq.faq-maquette .section-heading h2 {
    margin: 0 0 0.65rem;
    color: var(--wedding-red);
    font-family: var(--wedding-font-script);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 0.9;
}

#faq.faq-maquette .section-heading p {
    max-width: 38rem;
    margin: 0 auto;
    color: var(--wedding-red);
    font-size: 0.98rem;
    line-height: 1.45;
}

#faq.faq-maquette .faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 820px;
    border-top: 1px solid rgba(134, 16, 14, 0.18);
}

#faq.faq-maquette .faq-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.18);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

#faq.faq-maquette .faq-item[open] {
    background: rgba(244, 185, 185, 0.28);
}

#faq.faq-maquette .faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    list-style: none;
    padding: 0.92rem 0.35rem;
    color: var(--wedding-red);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.2;
}

#faq.faq-maquette .faq-item summary::marker {
    content: "";
}

#faq.faq-maquette .faq-item summary::-webkit-details-marker {
    display: none;
}

#faq.faq-maquette .faq-item summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    aspect-ratio: 1;
    border: 1px solid rgba(134, 16, 14, 0.2);
    color: var(--wedding-red);
    font-family: var(--wedding-font-title);
    font-size: 0.9rem;
    line-height: 1;
}

#faq.faq-maquette .faq-item[open] summary::after {
    content: "-";
}

#faq.faq-maquette .faq-item p {
    max-width: 680px;
    margin: 0;
    padding: 0 2.6rem 1rem 0.35rem;
    color: var(--wedding-red);
    font-size: 0.94rem;
    line-height: 1.45;
}

@media (max-width: 921px) {
    #rsvp.rsvp-maquette {
        padding: 4.2rem 0 4.6rem;
    }

    #rsvp.rsvp-maquette .section-heading h2,
    #faq.faq-maquette .section-heading h2 {
        font-size: 3.2rem;
    }

    #faq.faq-maquette {
        padding: 3.8rem 0 4.1rem;
    }

    #faq.faq-maquette .section-heading {
        margin-bottom: 1.65rem;
    }

    #faq.faq-maquette .section-heading p {
        margin: 0 auto;
    }
}

@media (max-width: 544px) {
    #rsvp.rsvp-maquette .wedding-shell,
    #faq.faq-maquette .wedding-shell {
        width: min(1120px, calc(100% - 1.25rem));
    }

    #rsvp.rsvp-maquette {
        padding: 3.35rem 0 3.8rem;
    }

    #rsvp.rsvp-maquette .section-heading h2,
    #faq.faq-maquette .section-heading h2 {
        font-size: 2.55rem;
    }

    #rsvp.rsvp-maquette .section-heading p,
    #faq.faq-maquette .section-heading p {
        font-size: 0.96rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper form {
        padding: 1.15rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
        font-size: 1.55rem;
        padding: 0.95rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-member-actions,
    #rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate {
        width: 100%;
    }

    #faq.faq-maquette {
        padding: 3rem 0 3.4rem;
    }

    #faq.faq-maquette .section-heading {
        margin-bottom: 1.35rem;
    }

    #faq.faq-maquette .faq-item summary {
        padding: 0.82rem 0.15rem;
        font-size: 0.96rem;
    }

    #faq.faq-maquette .faq-item p {
        padding: 0 1.8rem 0.9rem 0.15rem;
        font-size: 0.95rem;
    }
}

/* Premium refinement layer: visual polish only, no layout or content changes. */
:root {
    --wedding-ivory: #fff8f5;
    --wedding-blush: #f3b9b8;
    --wedding-rose: #f0aaa9;
    --wedding-sage: #b7b06d;
    --wedding-sage-deep: #64672f;
    --wedding-gold: #e98a56;
    --wedding-orange: #e98a56;
    --wedding-muted: #625553;
    --wedding-surface: rgba(255, 250, 247, 0.8);
    --wedding-surface-strong: rgba(255, 252, 249, 0.96);
    --wedding-surface-soft: rgba(255, 244, 240, 0.86);
    --wedding-line: rgba(134, 16, 14, 0.14);
    --wedding-line-soft: rgba(134, 16, 14, 0.09);
    --wedding-shadow-soft: 0 12px 28px rgba(36, 26, 25, 0.06);
    --wedding-shadow: 0 24px 55px rgba(70, 33, 29, 0.1);
    --wedding-shadow-lift: 0 18px 38px rgba(70, 33, 29, 0.12);
    --wedding-radius: 8px;
    --wedding-hairline: linear-gradient(90deg, transparent, rgba(134, 16, 14, 0.28), transparent);
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background:
        repeating-linear-gradient(135deg, rgba(134, 16, 14, 0.018) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, #fff8f5 0%, #f8e5e0 32%, #fff7f1 68%, #fffbf8 100%);
}

::selection {
    background: rgba(244, 185, 185, 0.55);
    color: var(--wedding-red);
}

h1,
h2,
h3,
h4,
h5 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

a,
button,
input,
select,
textarea,
.button,
.wpr-button {
    transition-duration: 0.22s;
    transition-timing-function: ease;
}

button,
input[type="submit"],
.wp-block-button__link,
.ast-button,
.button,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button {
    background: linear-gradient(180deg, #8b1512 0%, #6f0d0b 100%);
    border-color: rgba(111, 13, 11, 0.9);
    box-shadow:
        0 12px 24px rgba(134, 16, 14, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.button:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-button:focus-visible {
    background: linear-gradient(180deg, #74100e 0%, #5d0b0a 100%);
    box-shadow:
        0 16px 30px rgba(134, 16, 14, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

button:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.ast-button:active,
.button:active,
.wpr-button:active {
    transform: translateY(0);
}

.wedding-site-header {
    background:
        linear-gradient(180deg, rgba(134, 16, 14, 0.98), rgba(109, 14, 12, 0.97)),
        linear-gradient(90deg, rgba(255, 230, 226, 0.08), rgba(255, 230, 226, 0));
    box-shadow: 0 14px 34px rgba(36, 26, 25, 0.12);
}

.wedding-site-header::after {
    content: "";
    position: absolute;
    inset: auto clamp(1rem, 4vw, 3rem) 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 230, 226, 0.36), transparent);
    pointer-events: none;
}

.wedding-site-logo {
    border-radius: 50%;
    box-shadow:
        0 10px 22px rgba(36, 26, 25, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.wedding-site-nav a {
    position: relative;
    padding: 0.15rem 0 0.4rem;
    color: rgba(255, 236, 232, 0.9);
    transition: color 0.22s ease, text-shadow 0.22s ease;
}

.wedding-site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(2.8rem, 72%);
    height: 1px;
    background: rgba(255, 230, 226, 0.68);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.wedding-site-nav a:hover,
.wedding-site-nav a:focus-visible {
    color: #fffaf7;
    text-shadow: 0 5px 16px rgba(36, 26, 25, 0.2);
}

.wedding-site-nav a:hover::after,
.wedding-site-nav a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
}

.hero {
    background:
        linear-gradient(180deg, #f6eeee 0%, #f4eeee 58%, #fff8f5 100%);
}

.hero-card {
    overflow: hidden;
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(135deg, rgba(255, 238, 233, 0.9) 0%, rgba(244, 185, 185, 0.82) 54%, rgba(255, 247, 243, 0.74) 100%);
    box-shadow:
        0 28px 70px rgba(134, 16, 14, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: clamp(0.7rem, 1.5vw, 1rem);
    z-index: 0;
    border: 1px solid rgba(255, 250, 247, 0.44);
    border-radius: calc(var(--wedding-radius) - 2px);
    pointer-events: none;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-copy p,
.hero-title-date {
    color: rgba(134, 16, 14, 0.82);
}

.hero-arrival,
.navigation-programme-item h2,
.navigation-programme-item h3,
.dresscode-maquette-group h3,
#galerie.gallery-maquette .editorial-card h3,
#faq.faq-maquette .faq-item summary {
    font-family: var(--wedding-font-title);
    font-weight: 600;
    letter-spacing: 0;
}

.hero-program-link {
    text-decoration: none;
    border-bottom: 1px solid rgba(134, 16, 14, 0.38);
    padding-bottom: 0.15rem;
    transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.hero-program-link:hover,
.hero-program-link:focus-visible {
    border-color: rgba(95, 13, 12, 0.78);
    transform: translateY(-1px);
}

.hero-photo-block img {
    border-color: rgba(255, 250, 247, 0.96);
    filter: saturate(0.96) contrast(1.02);
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover .hero-photo-block img {
    filter: saturate(1.02) contrast(1.04);
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(134, 16, 14, 0.15);
}

.hero-title-lockup {
    text-shadow: 0 10px 24px rgba(255, 248, 245, 0.55);
}

.hero-rsvp-button,
.program-maquette-info-link,
.navigation-programme-route {
    box-shadow:
        0 14px 28px rgba(134, 16, 14, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-rsvp-button {
    background: rgba(255, 247, 243, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.maquette-countdown {
    border-color: rgba(255, 255, 255, 0.7);
    background:
        linear-gradient(145deg, rgba(255, 252, 249, 0.82), rgba(255, 247, 243, 0.42)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(134, 16, 14, 0.04));
    box-shadow:
        0 16px 34px rgba(134, 16, 14, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.program-maquette-section {
    background-color: #f2eeee;
}

.program-maquette-section::before {
    filter: blur(1.6px) saturate(0.94) contrast(0.98);
}

.program-maquette-section::after {
    background:
        linear-gradient(90deg, rgba(36, 26, 25, 0.04), rgba(255, 248, 245, 0.1)),
        linear-gradient(180deg, rgba(255, 247, 243, 0.28), rgba(36, 26, 25, 0.14));
}

.program-maquette-card {
    border: 1px solid rgba(255, 247, 243, 0.34);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(150deg, rgba(255, 247, 243, 0.42), rgba(255, 247, 243, 0.12)),
        linear-gradient(180deg, rgba(203, 198, 130, 0.7), rgba(183, 176, 109, 0.5));
    box-shadow:
        0 30px 72px rgba(36, 26, 25, 0.15),
        inset 0 1px 0 rgba(255, 247, 243, 0.42);
}

.program-maquette-card h2::after,
.dresscode-maquette-header::after,
#rsvp.rsvp-maquette .section-heading::after,
#faq.faq-maquette .section-heading::after,
#galerie.gallery-maquette .section-heading::after,
.navigation-programme-heading::after {
    content: "";
    display: block;
    width: min(8rem, 42%);
    height: 1px;
    margin: 1rem auto 0;
    background: var(--wedding-hairline);
}

.program-maquette-card h2::after {
    width: 8rem;
    margin: 0.95rem 0 0;
}

.program-maquette-timeline::before {
    width: 1px;
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.34), rgba(255, 247, 243, 0) 10%),
        linear-gradient(180deg, rgba(244, 185, 185, 0.86), rgba(239, 140, 86, 0.66) 48%, rgba(134, 16, 14, 0.34));
}

.program-maquette-time,
.program-maquette-date,
.program-maquette-route {
    border-color: rgba(134, 16, 14, 0.12);
    background: rgba(255, 248, 245, 0.78);
}

.program-maquette-copy {
    border-bottom-color: rgba(134, 16, 14, 0.12);
}

.program-maquette-item.is-away .program-maquette-copy {
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(135deg, rgba(255, 247, 243, 0.48), rgba(255, 247, 243, 0.2));
}

.program-maquette-route,
.navigation-programme-route {
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.program-maquette-route:hover,
.program-maquette-route:focus-visible {
    box-shadow: 0 10px 20px rgba(134, 16, 14, 0.08);
    transform: translateY(-1px);
}

.navigation-programme-section {
    background:
        linear-gradient(180deg, #f7f0ef 0%, #f4eeee 100%);
}

.navigation-programme-band.is-cream {
    background:
        linear-gradient(180deg, #f7f0ef 0%, #fff8f5 100%);
}

.navigation-programme-band.is-blush {
    background:
        linear-gradient(180deg, #f3b9b8 0%, #f7c9c4 100%);
}

.navigation-programme-item {
    position: relative;
}

.navigation-programme-item + .navigation-programme-item {
    padding-top: 0.45rem;
}

.navigation-programme-media img {
    border: 1px solid rgba(134, 16, 14, 0.1);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow-lift);
}

.navigation-programme-media figcaption {
    color: rgba(100, 103, 47, 0.9);
}

#dresscode.dresscode-maquette,
#rsvp.rsvp-maquette {
    background:
        linear-gradient(180deg, rgba(255, 248, 245, 0.16), rgba(134, 16, 14, 0.035)),
        linear-gradient(180deg, #f3b9b8 0%, #f5c4bf 100%);
}

.dresscode-maquette-header {
    position: relative;
    margin-bottom: clamp(3.1rem, 5vw, 4.8rem);
}

.dresscode-maquette-intro {
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2.6vw, 1.8rem);
    border-top: 1px solid rgba(134, 16, 14, 0.12);
    border-bottom: 1px solid rgba(134, 16, 14, 0.12);
}

.dresscode-maquette-gallery {
    gap: clamp(1rem, 2.6vw, 2.35rem);
}

.dresscode-maquette-photo,
.dresscode-maquette-reserved-photo {
    border: 1px solid rgba(134, 16, 14, 0.1);
    border-radius: var(--wedding-radius);
    box-shadow: 0 18px 36px rgba(134, 16, 14, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.dresscode-maquette-photo img,
.dresscode-maquette-reserved-photo img {
    filter: saturate(0.96) contrast(1.01);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.dresscode-maquette-photo:hover,
.dresscode-maquette-reserved-photo:hover {
    box-shadow: 0 24px 44px rgba(134, 16, 14, 0.16);
    transform: translateY(-3px);
}

.dresscode-maquette-photo:hover img,
.dresscode-maquette-reserved-photo:hover img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.018);
}

.dresscode-maquette-copy,
.dresscode-maquette-reserved-copy {
    color: rgba(134, 16, 14, 0.86);
}

#rsvp.rsvp-maquette .rsvp-panel {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 247, 243, 0.62), rgba(255, 247, 243, 0.28));
    box-shadow: var(--wedding-shadow);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 252, 249, 0.88), rgba(255, 247, 243, 0.64));
    box-shadow: 0 18px 38px rgba(134, 16, 14, 0.08);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    padding: 0 0 1.15rem;
    border-bottom-color: rgba(134, 16, 14, 0.16);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-members,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panels,
#rsvp.rsvp-maquette .rsvp-actions .wpr-family-submit {
    border-top-color: rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    min-height: 3.15rem;
    background: rgba(255, 251, 248, 0.94);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    min-height: 6rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip {
    background: rgba(255, 251, 248, 0.76);
    border-color: rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-chip:focus-visible,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate:hover,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-validate:focus-visible {
    box-shadow: 0 12px 24px rgba(134, 16, 14, 0.1);
}

#faq.faq-maquette {
    background:
        linear-gradient(180deg, #fff8f5 0%, #f4eeee 100%);
}

#faq.faq-maquette .faq-list {
    gap: 0.65rem;
    border-top: 0;
}

#faq.faq-maquette .faq-item {
    border: 1px solid rgba(134, 16, 14, 0.12);
    border-radius: var(--wedding-radius);
    background: rgba(255, 252, 249, 0.64);
    box-shadow: 0 10px 24px rgba(36, 26, 25, 0.04);
    overflow: hidden;
    transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#faq.faq-maquette .faq-item:hover,
#faq.faq-maquette .faq-item[open] {
    background: rgba(255, 247, 243, 0.86);
    border-color: rgba(134, 16, 14, 0.18);
    box-shadow: 0 14px 30px rgba(36, 26, 25, 0.06);
}

#faq.faq-maquette .faq-item summary {
    padding: 1.05rem 1rem;
}

#faq.faq-maquette .faq-item p {
    padding: 0 3rem 1.15rem 1rem;
}

#faq.faq-maquette .faq-item summary::after {
    border-radius: 50%;
    background: rgba(255, 247, 243, 0.64);
}

#galerie.gallery-maquette {
    background:
        linear-gradient(180deg, #f4eeee 0%, rgba(244, 185, 185, 0.62) 100%);
}

#galerie.gallery-maquette .editorial-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(134, 16, 14, 0.14);
    border-radius: var(--wedding-radius);
    background: rgba(255, 252, 249, 0.42);
    box-shadow: var(--wedding-shadow-soft);
}

#galerie.gallery-maquette .editorial-card {
    transition: background 0.22s ease, transform 0.22s ease;
}

#galerie.gallery-maquette .editorial-card:hover {
    background: rgba(255, 248, 245, 0.42);
    transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea,
select {
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 921px) {
    .hero-card {
        gap: 1.8rem;
        box-shadow: 0 20px 48px rgba(134, 16, 14, 0.11);
    }

    .hero-photo-block {
        padding-bottom: 7.1rem;
    }

    .hero-panel {
        bottom: -0.15rem;
    }

    .navigation-programme-media img {
        box-shadow: 0 16px 34px rgba(70, 33, 29, 0.12);
    }

    #rsvp.rsvp-maquette .rsvp-panel {
        padding: 1.35rem;
    }
}

@media (max-width: 544px) {
    .wedding-site-header::after {
        inset-inline: 1rem;
    }

    .hero-card::before {
        inset: 0.55rem;
    }

    .hero-photo-block {
        padding-bottom: 6.65rem;
    }

    .hero-panel {
        bottom: 0.15rem;
        width: min(19.5rem, calc(100vw - 2rem));
    }

    .maquette-countdown {
        width: 100%;
        flex-wrap: wrap;
        row-gap: 0.45rem;
    }

    .maquette-countdown .countdown-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .maquette-countdown .countdown-card:not(:last-child)::after {
        display: none;
    }

    .dresscode-maquette-intro {
        padding-inline: 0.85rem;
    }

    .dresscode-maquette-photo:hover,
    .dresscode-maquette-reserved-photo:hover {
        transform: none;
    }

    #rsvp.rsvp-maquette .rsvp-panel,
    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
        padding: 1rem;
    }

    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
        padding: 0 0 0.9rem;
    }

    #faq.faq-maquette .faq-item summary {
        padding: 0.92rem 0.85rem;
    }

    #faq.faq-maquette .faq-item p {
        padding: 0 2.2rem 1rem 0.85rem;
    }

    #galerie.gallery-maquette .editorial-card {
        padding: 1.25rem 0.95rem;
    }
}

/* RSVP refinement: remove nested-window effect around the plugin form. */
#rsvp.rsvp-maquette .rsvp-panel {
    width: min(980px, 100%);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions {
    display: grid;
    gap: 1rem;
    width: 100%;
    text-align: left;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border: 1px solid rgba(134, 16, 14, 0.14);
    border-radius: var(--wedding-radius);
    background:
        linear-gradient(180deg, rgba(255, 252, 249, 0.92), rgba(255, 247, 243, 0.78));
    box-shadow:
        0 22px 48px rgba(70, 33, 29, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper > form > h2 {
    padding: 0 0 1.1rem;
    border: 0;
    border-bottom: 1px solid rgba(134, 16, 14, 0.16);
    border-radius: 0;
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-guest-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-card,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    gap: 1.15rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-party-group-fields,
#rsvp.rsvp-maquette .rsvp-actions .wpr-party-members,
#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panels,
#rsvp.rsvp-maquette .rsvp-actions .wpr-family-submit {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(134, 16, 14, 0.12);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-member-panel {
    padding-top: 0.35rem;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="text"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="email"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field input[type="number"],
#rsvp.rsvp-maquette .rsvp-actions .wpr-field select,
#rsvp.rsvp-maquette .rsvp-actions .wpr-field textarea {
    background: rgba(255, 252, 249, 0.92);
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option,
#rsvp.rsvp-maquette .rsvp-actions .wpr-checkbox-group label {
    background: transparent;
}

#rsvp.rsvp-maquette .rsvp-actions .wpr-program-option.is-active {
    background: rgba(255, 247, 243, 0.55);
}

#rsvp.rsvp-maquette .rsvp-note {
    margin: 0;
    opacity: 0.82;
}

@media (max-width: 544px) {
    #rsvp.rsvp-maquette .rsvp-actions .wpr-wrapper {
        padding: 1rem;
    }
}
