/*
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
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Quicksand:wght@400;600&display=swap');

:root {
    --wedding-ivory: #fcf6f1;
    --wedding-blush: #e8c5d1;
    --wedding-rose: #f4b9b9;
    --wedding-rose-deep: #86100e;
    --wedding-sage: #d2cc93;
    --wedding-sage-deep: #7d7a46;
    --wedding-gold: #eb8d57;
    --wedding-orange: #eb8d57;
    --wedding-red: #86100e;
    --wedding-ink: #241a19;
    --wedding-muted: #6f5c59;
    --wedding-white: #ffffff;
    --wedding-surface: rgba(255, 255, 255, 0.8);
    --wedding-surface-strong: rgba(255, 251, 248, 0.92);
    --wedding-surface-soft: rgba(255, 246, 242, 0.9);
    --wedding-line: rgba(235, 141, 87, 0.16);
    --wedding-line-soft: rgba(235, 141, 87, 0.12);
    --wedding-shadow-soft: 0 12px 26px rgba(36, 26, 25, 0.06);
    --wedding-shadow: 0 20px 46px rgba(134, 16, 14, 0.12);
    --wedding-radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background:
        radial-gradient(circle at 8% 12%, rgba(134, 16, 14, 0.1), transparent 24%),
        radial-gradient(circle at 90% 10%, rgba(210, 204, 147, 0.18), transparent 22%),
        radial-gradient(circle at 50% 42%, rgba(244, 185, 185, 0.12), transparent 28%),
        linear-gradient(180deg, #fffaf7 0%, #f4e2e7 34%, #fcf6f1 72%, #fffaf7 100%);
    color: var(--wedding-ink);
    line-height: 1.75;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    color: var(--wedding-rose-deep);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

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.04em;
    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;
}

.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 {
    background: linear-gradient(135deg, var(--wedding-red) 0%, var(--wedding-orange) 100%);
    color: var(--wedding-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.85em 1.5em;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(134, 16, 14, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.button:hover {
    background: linear-gradient(135deg, #5f0d0c 0%, var(--wedding-red) 58%, var(--wedding-orange) 100%);
    color: var(--wedding-white);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(134, 16, 14, 0.24);
}

.hero {
    text-align: center;
    padding: 8em 2em 7em;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.48), transparent 42%),
        linear-gradient(135deg, rgba(255, 248, 244, 0.96), rgba(244, 185, 185, 0.46)),
        linear-gradient(180deg, rgba(210, 204, 147, 0.18), rgba(235, 141, 87, 0.05));
    color: var(--wedding-ink);
    border-radius: 0 0 48px 48px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 22px 54px rgba(134, 16, 14, 0.1);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    filter: blur(4px);
}

.hero::before {
    width: 280px;
    height: 280px;
    top: -90px;
    left: -70px;
}

.hero::after {
    width: 220px;
    height: 220px;
    right: -60px;
    bottom: -80px;
}

.hero h1 {
    margin-bottom: 0.5em;
    color: var(--wedding-rose-deep);
}

.hero p {
    font-size: 1.15rem;
    color: var(--wedding-muted);
    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: 72vh;
    display: flex;
    align-items: center;
}

.hero-kicker,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    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: 1rem;
    flex-wrap: wrap;
}

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

.detail-pill {
    min-width: 220px;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    background: var(--wedding-surface-strong);
    border: 1px solid var(--wedding-line);
    box-shadow: var(--wedding-shadow-soft);
}

.countdown-panel {
    width: min(720px, calc(100% - 1rem));
    margin: 0 auto 2rem;
    padding: 1.45rem 1.35rem 1.25rem;
    border-radius: calc(var(--wedding-radius) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 252, 250, 0.92), rgba(250, 238, 241, 0.92)),
        linear-gradient(135deg, rgba(134, 16, 14, 0.06), rgba(210, 204, 147, 0.16));
    border: 1px solid var(--wedding-line);
    box-shadow: var(--wedding-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-panel::before,
.countdown-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.55);
}

.countdown-panel::before {
    width: 180px;
    height: 180px;
    top: -110px;
    left: -70px;
}

.countdown-panel::after {
    width: 140px;
    height: 140px;
    right: -50px;
    bottom: -85px;
}

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

.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: 1.15rem 0.9rem;
    border-radius: 22px;
    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: var(--wedding-shadow-soft);
    text-align: center;
    position: relative;
    z-index: 1;
}

.countdown-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1;
    color: var(--wedding-rose-deep);
}

.countdown-unit {
    display: block;
    margin-top: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    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;
}

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

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

.button-secondary:hover {
    background: rgba(255, 245, 242, 0.96);
    color: var(--wedding-rose-deep);
    box-shadow: 0 10px 24px rgba(134, 16, 14, 0.12);
}

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

#rsvp {
    scroll-margin-top: 110px;
}

.wedding-section-alt .wedding-shell,
.closing-card,
.story-card,
.timeline-item,
.info-card {
    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);
}

.wedding-section-alt .wedding-shell {
    padding: 3rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 250, 0.88), rgba(249, 239, 242, 0.8)),
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.5), transparent 42%);
}

.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));
}

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

.story-card,
.info-card,
.timeline-item,
.program-civil,
.program-host,
.venue-copy,
.venue-map,
.closing-card {
    backdrop-filter: blur(8px);
}

.timeline {
    display: grid;
    gap: 1.25rem;
}

.program-layout {
    display: grid;
    gap: 1.5rem;
}

.program-civil,
.program-host {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 243, 239, 0.82));
    border: 1px solid var(--wedding-line);
    border-radius: var(--wedding-radius);
    box-shadow: var(--wedding-shadow);
}

.program-civil {
    padding: 1.85rem;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 249, 246, 0.96), rgba(255, 242, 236, 0.88)),
        radial-gradient(circle at top left, rgba(244, 185, 185, 0.12), transparent 42%);
}

.program-label {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--wedding-gold);
}

.program-civil-heading h3,
.program-host-heading h3 {
    margin: 0 0 0.6rem;
}

.program-civil-heading p:last-child,
.program-host-heading p:last-child {
    margin-bottom: 0;
}

.program-host {
    padding: 2rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 252, 250, 0.96), rgba(255, 245, 241, 0.9)),
        radial-gradient(circle at top right, rgba(166, 171, 98, 0.12), transparent 40%);
}

.program-host::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(244, 185, 185, 0.05)),
        radial-gradient(circle at 85% 16%, rgba(235, 141, 87, 0.08), transparent 22%);
    pointer-events: none;
}

.program-host-heading {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin-bottom: 1.4rem;
}

.program-civil-heading {
    max-width: 520px;
}

.program-civil .timeline,
.program-host .timeline {
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.program-civil .timeline-item,
.program-host .timeline-item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 245, 241, 0.9));
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
}

.timeline-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    min-height: 58px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 254, 252, 0.99), rgba(247, 240, 233, 0.97)),
        linear-gradient(135deg, rgba(235, 141, 87, 0.06), rgba(210, 204, 147, 0.12));
    border: 1px solid var(--wedding-line-soft);
    color: var(--wedding-rose-deep);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 12px 24px rgba(36, 26, 25, 0.05);
}

.venue-showcase {
    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);
}

.venue-copy {
    padding: 2rem;
}

.venue-eyebrow {
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    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-card {
    position: relative;
}

.dresscode-lead {
    max-width: 60ch;
    margin-bottom: 1.35rem;
}

.dresscode-summary {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 1.2rem 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 251, 248, 0.98), rgba(250, 241, 238, 0.94)),
        linear-gradient(135deg, rgba(134, 16, 14, 0.04), rgba(244, 185, 185, 0.08));
    border: 1px solid var(--wedding-line);
    box-shadow: var(--wedding-shadow-soft);
}

.dresscode-summary-bottom {
    margin-bottom: 0;
}

.dresscode-summary-bottom .dresscode-note {
    text-align: center;
}

.dresscode-summary-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 247, 243, 0.9);
    border: 1px solid var(--wedding-line-soft);
    color: var(--wedding-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dresscode-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dresscode-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 0.88rem 1rem;
    border-radius: 18px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dresscode-swatch-red {
    background: linear-gradient(145deg, #86100e, #b51d1a);
    color: var(--wedding-white);
}

.dresscode-swatch-rose {
    background: linear-gradient(145deg, #f4b9b9, #f7d6dd);
    color: #7e2c3f;
}

.dresscode-swatch-orange {
    background: linear-gradient(145deg, #eb8d57, #f6be91);
    color: #743117;
}

.dresscode-swatch-green {
    background: linear-gradient(145deg, #a6ab62, #d2cc93);
    color: #505428;
}

.dresscode-swatch-white {
    background: linear-gradient(145deg, #ffffff, #f4efea);
    color: #4f4744;
    border-color: rgba(36, 26, 25, 0.08);
}

.dresscode-swatch-black {
    background: linear-gradient(145deg, #241a19, #4b3a37);
    color: var(--wedding-white);
}

.dresscode-note {
    margin: 0;
    font-size: 0.92rem;
}

.dresscode-couple-visual {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 1 / 1;
    min-height: 0;
    justify-self: center;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--wedding-line-soft);
    box-shadow: var(--wedding-shadow-soft);
    background-color: rgba(255, 250, 247, 0.9);
    background-image: url('assets/images/dresscode/maries.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.dresscode-couple-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 250, 247, 0.02) 0%, rgba(255, 250, 247, 0) 40%, rgba(36, 26, 25, 0.06) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.02) 20%, transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.01) 18%, transparent 30%);
}

.dresscode-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.dresscode-summary .dresscode-board {
    margin-bottom: 0;
}

.dresscode-visual {
    position: relative;
    min-height: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--wedding-line);
    box-shadow: 0 18px 34px rgba(134, 16, 14, 0.12);
    isolation: isolate;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dresscode-summary .dresscode-visual {
    min-height: 210px;
    border-radius: 22px;
    border-color: var(--wedding-line-soft);
    box-shadow: var(--wedding-shadow-soft);
}

.dresscode-summary .dresscode-visual::after {
    inset: auto 10px 10px 10px;
}

.dresscode-visual::before,
.dresscode-visual::after {
    content: "";
    position: absolute;
    inset: 0;
}

.dresscode-visual::before {
    background:
        linear-gradient(180deg, rgba(255, 250, 247, 0.08) 0%, rgba(255, 250, 247, 0.02) 35%, rgba(36, 26, 25, 0.18) 100%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0.04) 20%, transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0.02) 18%, transparent 30%);
    opacity: 1;
}

.dresscode-visual::after {
    inset: auto 12px 12px 12px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(36, 26, 25, 0), rgba(36, 26, 25, 0.58));
}

.dresscode-visual span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: var(--wedding-white);
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    line-height: 1.1;
    text-shadow: 0 4px 18px rgba(36, 26, 25, 0.4);
}

.dresscode-visual-red {
    background-image: url('assets/images/dresscode/invite-rouge.png');
    background-position: center 18%;
}

.dresscode-visual-orange {
    background-image: url('assets/images/dresscode/invite-orange.png');
    background-position: center 16%;
}

.dresscode-visual-green {
    background-image: url('assets/images/dresscode/invite-vert.png');
    background-position: center 14%;
}

.dresscode-visual-mix {
    background-image: url('assets/images/dresscode/invite-melange.png');
    background-position: center 12%;
}

.wedding-section-gallery .wedding-shell {
    padding: 0;
}

.gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 180px;
}

.gallery-card {
    display: flex;
    align-items: end;
    padding: 1.25rem;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    color: var(--wedding-white);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(36, 26, 25, 0.44)),
        linear-gradient(135deg, rgba(134, 16, 14, 0.82), rgba(235, 141, 87, 0.72) 55%, rgba(125, 122, 70, 0.66));
    box-shadow: var(--wedding-shadow);
}

.gallery-card span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.gallery-card-large {
    grid-column: span 6;
    grid-row: span 2;
}

.gallery-card-wide {
    grid-column: span 6;
}

.gallery-grid > .gallery-card:not(.gallery-card-large):not(.gallery-card-wide) {
    grid-column: span 3;
}

.closing-card {
    padding: 2rem;
}

.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);
    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: clamp(1.65rem, 2.6vw, 2.65rem);
    line-height: 1.05;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.rsvp-actions .wpr-wrapper h3 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    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.04em;
    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;
}

.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-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;
}

.closing-card {
    text-align: center;
}

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:
        linear-gradient(180deg, rgba(255, 248, 244, 0.96), rgba(232, 197, 209, 0.82)),
        radial-gradient(circle at top center, rgba(210, 204, 147, 0.14), transparent 45%);
    color: var(--wedding-ink);
    text-align: center;
    padding: 2.5em 2em;
    border-top: 1px solid var(--wedding-line);
}

.site-footer a,
footer a {
    color: var(--wedding-rose-deep);
}

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

.ast-footer-copyright,
.ast-footer-copyright p,
.ast-footer-copyright a {
    color: var(--wedding-ink) !important;
}

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

@media (max-width: 921px) {
    .hero {
        padding: 6.5em 1.4em 5.5em;
        border-radius: 0 0 32px 32px;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }

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

    .dresscode-swatch {
        min-width: calc(50% - 0.5rem);
        flex: 1 1 calc(50% - 0.5rem);
    }

    .gallery-card,
    .gallery-card-large,
    .gallery-card-wide,
    .gallery-grid > .gallery-card:not(.gallery-card-large):not(.gallery-card-wide) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

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

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

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

}

@media (max-width: 544px) {
    .program-civil,
    .program-host {
        padding: 1.45rem;
    }

    .dresscode-board {
        grid-template-columns: 1fr;
    }

    .dresscode-visual {
        min-height: 180px;
    }

    .dresscode-couple-visual {
        width: min(100%, 280px);
    }

    .dresscode-swatch {
        min-width: 100%;
        flex-basis: 100%;
    }

    body {
        font-size: 15px;
    }

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

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

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

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

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

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