/* ==========================================================================
   Sirio & Morten Wedding - Hovedstilark
   Inspirert av The Aisle - elegant, luftig, romantisk
   ========================================================================== */

:root {
    --sg-primary: #b89968;
    --sg-secondary: #e9d8c4;
    --sg-accent: #8a6e4b;
    --sg-bg: #fbf7f2;
    --sg-text: #3d342b;
    --sg-muted: #8a7e70;
    --sg-line: rgba(184, 153, 104, 0.35);
    --sg-shadow: 0 30px 60px -30px rgba(61, 52, 43, 0.25);
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-script: 'Great Vibes', 'Pinyon Script', cursive;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sg-accent); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--sg-primary); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--sg-text);
    margin: 0 0 .6em;
    line-height: 1.2;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
    position: absolute; top: -100px; left: 0; padding: 10px 20px;
    background: var(--sg-primary); color: #fff; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ----- Site header ----- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    padding: 22px 0;
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
    background: rgba(251, 247, 242, 0.96);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 2px 30px rgba(61, 52, 43, 0.08);
}
.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-monogram {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--sg-accent);
    letter-spacing: .12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
}
.site-monogram .monogram-amp {
    font-family: var(--font-script);
    color: var(--sg-primary);
    font-size: 28px;
    text-transform: none;
}
.site-monogram--image { padding: 0; }
.site-monogram__img {
    height: 56px;
    width: auto;
    display: block;
    transition: height .3s ease;
}
.site-header.is-scrolled .site-monogram__img { height: 44px; }

.primary-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-menu a {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sg-text);
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}
.primary-menu a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 0;
    width: 0; height: 1px;
    background: var(--sg-primary);
    transition: width .3s ease, left .3s ease;
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after { width: 100%; left: 0; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle__bar {
    width: 26px; height: 1.5px;
    background: var(--sg-text);
    transition: transform .3s ease, opacity .3s ease;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .3s ease;
    border-radius: 0;
    text-align: center;
}
.btn--primary {
    background: var(--sg-primary);
    color: #fff;
    border-color: var(--sg-primary);
}
.btn--primary:hover {
    background: var(--sg-accent);
    border-color: var(--sg-accent);
    color: #fff;
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--sg-accent);
    border-color: var(--sg-line);
}
.btn--ghost:hover {
    background: var(--sg-primary);
    color: #fff;
    border-color: var(--sg-primary);
}
.btn--sm { padding: 10px 24px; font-size: 10px; }

/* ----- Hero ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding: 120px 24px 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}
.hero--photo {
    color: #fff;
}
.hero--photo .hero__eyebrow,
.hero--photo .hero__title,
.hero--photo .hero__date {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero--photo .hero__venue {
    color: rgba(255,255,255,0.92);
}
.hero--photo .hero__amp,
.hero--photo .hero__invite {
    color: #f7e5c4;
}
.hero--photo .hero__divider span { background: rgba(255,255,255,0.55); }
.hero--photo .hero__divider { color: #f7e5c4; }
.hero--photo .countdown__item {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}
.hero--photo .countdown__num { color: #fff; }
.hero--photo .countdown__label { color: rgba(255,255,255,0.85); }
.hero__logo {
    height: 170px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(255,255,255,0.45));
}
.hero__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--sg-accent);
    margin: 0 0 14px;
}
.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 9vw, 120px);
    font-weight: 300;
    line-height: 1;
    margin: 0 0 18px;
    letter-spacing: .02em;
}
.hero__name {
    display: inline-block;
}
.hero__amp {
    font-family: var(--font-script);
    color: var(--sg-primary);
    font-size: .9em;
    font-weight: 400;
    margin: 0 .15em;
    display: inline-block;
    transform: translateY(0.08em);
}
.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--sg-primary);
    margin: 14px 0 22px;
    font-size: 14px;
}
.hero__divider span {
    height: 1px;
    width: 60px;
    background: var(--sg-line);
}
.hero__date {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(22px, 3vw, 32px);
    margin: 0 0 8px;
    color: var(--sg-accent);
}
.hero__venue {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin: 0 0 32px;
    color: var(--sg-muted);
}
.hero__invite {
    font-family: var(--font-script);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--sg-primary);
    margin: 0 0 28px;
    line-height: 1.1;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 4vw, 36px);
    margin: 36px 0 40px;
    flex-wrap: wrap;
}
.countdown__item {
    min-width: 90px;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--sg-line);
    backdrop-filter: blur(6px);
}
.countdown__num {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--sg-accent);
    line-height: 1;
}
.countdown__label {
    display: block;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--sg-muted);
    margin-top: 6px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px; left: 50%;
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, transparent, var(--sg-primary));
    transform: translateX(-50%);
}
.hero__scroll::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sg-primary);
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, -50px); opacity: 0; }
}

.hero__cta { margin-top: 12px; }

/* ----- Sections ----- */
.section {
    padding: 120px 24px;
    position: relative;
}
.section--story { background: #fff; }
.section--details { background: var(--sg-secondary); }
.section--schedule { background: var(--sg-bg); }
.section--gallery { background: #fff; }
.section--gifts { background: var(--sg-bg); }
.section--dresscode {
    background: linear-gradient(135deg, var(--sg-secondary) 0%, var(--sg-bg) 100%);
    padding: 90px 24px;
}
.section--rsvp { background: #fff; }
.section--contact { background: var(--sg-bg); padding: 80px 24px; }

.section__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section__inner--narrow { max-width: 760px; }
.section__inner--center { text-align: center; }

.section__inner--split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.section__header { margin-bottom: 60px; }
.section__header--center { text-align: center; }

.eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--sg-primary);
    margin: 0 0 16px;
    font-weight: 500;
}
.section__title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    margin: 0 0 18px;
    color: var(--sg-text);
}
.section__subtitle {
    font-family: var(--font-script);
    font-size: clamp(26px, 3vw, 36px);
    color: var(--sg-primary);
    margin: 0 0 24px;
    line-height: 1;
}
.section__lead {
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--sg-muted);
    max-width: 680px;
    margin: 0 auto;
}
.section__body p {
    margin: 0 0 1.2em;
    font-size: 16.5px;
    color: var(--sg-text);
    line-height: 1.85;
}

.ornament {
    display: inline-block;
    color: var(--sg-primary);
    margin: 8px 0 24px;
    font-size: 16px;
    position: relative;
    padding: 0 30px;
}
.ornament::before, .ornament::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px; height: 1px;
    background: var(--sg-line);
}
.ornament::before { right: 100%; }
.ornament::after { left: 100%; }

/* ----- Story / split ----- */
.frame-image {
    position: relative;
    padding: 16px;
}
.frame-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--sg-line);
    transform: translate(20px, 20px);
    z-index: 0;
}
.frame-image img {
    position: relative;
    width: 100%;
    box-shadow: var(--sg-shadow);
    z-index: 1;
}
.frame-image__caption {
    margin-top: 14px;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--sg-muted);
    letter-spacing: .04em;
}

.story-timeline {
    margin-top: 36px;
    display: grid;
    gap: 24px;
}
.story-timeline__item {
    padding: 22px 26px;
    background: var(--sg-bg);
    border-left: 2px solid var(--sg-primary);
}
.story-timeline__date {
    display: block;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--sg-primary);
    margin-bottom: 6px;
}
.story-timeline__title {
    font-family: var(--font-serif);
    font-size: 22px;
    margin: 0 0 4px;
}
.story-timeline__text {
    margin: 0;
    color: var(--sg-muted);
    font-size: 15px;
}

/* ----- Details cards ----- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.detail-card {
    background: #fff;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid var(--sg-line);
    transition: transform .35s ease, box-shadow .35s ease;
}
.detail-card:hover { transform: translateY(-6px); box-shadow: var(--sg-shadow); }
.detail-card__icon {
    display: inline-flex;
    width: 70px; height: 70px;
    background: var(--sg-bg);
    color: var(--sg-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.detail-card__title {
    font-family: var(--font-serif);
    font-size: 26px;
    margin: 0 0 10px;
}
.detail-card__time {
    font-family: var(--font-script);
    color: var(--sg-primary);
    font-size: 28px;
    margin: 0 0 6px;
}
.detail-card__place {
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--sg-accent);
    margin: 0 0 14px;
}
.detail-card__text {
    color: var(--sg-muted);
    font-size: 14px;
    margin: 0 0 18px;
}
.detail-card--featured {
    background: var(--sg-primary);
    color: #fff;
    border-color: var(--sg-primary);
}
.detail-card--featured .detail-card__icon { background: rgba(255,255,255,.18); color: #fff; }
.detail-card--featured .detail-card__title,
.detail-card--featured .detail-card__time,
.detail-card--featured .detail-card__place,
.detail-card--featured .detail-card__text { color: #fff; }
.detail-card--featured .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.detail-card--featured .btn--ghost:hover { background: #fff; color: var(--sg-primary); }

/* ----- Schedule ----- */
.schedule {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.schedule--weekend { padding-left: 0; }
.schedule__day-group {
    position: relative;
    margin-bottom: 40px;
    padding-top: 18px;
}
.schedule__day-group::before {
    content: '';
    position: absolute;
    left: 80px; top: 60px; bottom: 10px;
    width: 1px;
    background: var(--sg-line);
}
.schedule__day {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--sg-primary);
    margin: 0 0 12px 0;
    padding-left: 0;
    text-align: left;
    letter-spacing: .02em;
}
.schedule__item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 16px 0;
    position: relative;
    align-items: baseline;
}
.schedule__item::before {
    content: '';
    position: absolute;
    left: 75px; top: 25px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--sg-primary);
    border: 3px solid var(--sg-bg);
}
.schedule__time {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--sg-accent);
    text-align: right;
}
.schedule__title {
    font-family: var(--font-serif);
    font-size: 22px;
    margin: 0 0 4px;
}
.schedule__text {
    margin: 0;
    color: var(--sg-muted);
}

/* ----- Gallery ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 18px;
    margin-top: 40px;
}
.gallery-grid__item {
    margin: 0;
    overflow: hidden;
    position: relative;
}
.gallery-grid__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease, filter .8s ease;
    filter: saturate(0.95);
}
.gallery-grid__item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gallery-grid__item--1, .gallery-grid__item--5 { grid-row: span 2; }

/* ----- Gifts ----- */
.gift-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gift-card {
    padding: 36px 24px;
    border: 1px solid var(--sg-line);
    text-align: center;
    background: #fff;
    transition: transform .35s ease;
}
.gift-card:hover { transform: translateY(-4px); }
.gift-card__icon {
    display: block;
    font-size: 32px;
    color: var(--sg-primary);
    margin-bottom: 14px;
}
.gift-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin: 0 0 8px;
}
.gift-card p {
    margin: 0;
    font-size: 14px;
    color: var(--sg-muted);
}

/* ----- RSVP form ----- */
.rsvp-form {
    margin-top: 50px;
    background: var(--sg-bg);
    padding: 50px 40px;
    border: 1px solid var(--sg-line);
}
.form-row { margin-bottom: 22px; }
.form-row label,
.form-row .form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--sg-accent);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--sg-line);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--sg-text);
    border-radius: 0;
    transition: border-color .25s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--sg-primary);
}
.form-radio-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.radio-pill {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: 1px solid var(--sg-line);
    background: #fff;
    cursor: pointer;
    transition: all .25s ease;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
    color: var(--sg-text);
}
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill:hover { border-color: var(--sg-primary); }
.radio-pill:has(input:checked) {
    background: var(--sg-primary);
    color: #fff;
    border-color: var(--sg-primary);
}
.form-row--submit { text-align: center; margin-top: 30px; }
.form-feedback {
    margin-top: 18px;
    text-align: center;
    font-style: italic;
    color: var(--sg-accent);
    min-height: 24px;
}
.form-feedback.is-error { color: #b54a4a; }
.form-feedback.is-success { color: #5a8a4a; }

.section__signature {
    margin-top: 30px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--sg-text);
}
.section__signature--script {
    font-family: var(--font-script);
    font-style: normal;
    font-size: 36px;
    color: var(--sg-primary);
    margin-top: 8px;
    line-height: 1.1;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--sg-text);
    color: var(--sg-secondary);
    padding: 70px 24px 40px;
    text-align: center;
}
.site-footer__inner {
    max-width: 900px;
    margin: 0 auto;
}
.footer-monogram {
    font-family: var(--font-serif);
    font-size: 28px;
    letter-spacing: .15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.footer-monogram span {
    font-family: var(--font-script);
    color: var(--sg-primary);
    font-size: 32px;
    text-transform: none;
}
.footer-date {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--sg-secondary);
    margin: 0 0 28px;
}
.footer-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-wrap: wrap;
}
.footer-menu a {
    color: var(--sg-secondary);
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
}
.site-footer__credit {
    margin: 30px 0 0;
    font-size: 12px;
    letter-spacing: .15em;
    color: rgba(233, 216, 196, 0.55);
}

/* ----- Page hero / blog ----- */
.page-hero {
    padding: 200px 24px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--sg-secondary) 0%, var(--sg-bg) 100%);
}
.page-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 60px);
    margin: 0 0 14px;
}
.page-hero__lead {
    color: var(--sg-muted);
    max-width: 600px;
    margin: 18px auto 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}
.container--narrow {
    max-width: 800px;
    grid-template-columns: 1fr;
}

.posts-grid {
    display: grid;
    gap: 40px;
}
.post-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    background: #fff;
    border: 1px solid var(--sg-line);
    overflow: hidden;
}
.post-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.post-card__media:hover img { transform: scale(1.05); }
.post-card__body { padding: 30px 30px 30px 0; }
.post-card__date {
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--sg-primary);
    margin: 0 0 8px;
}
.post-card__title {
    font-family: var(--font-serif);
    font-size: 26px;
    margin: 0 0 12px;
}
.post-card__title a { color: var(--sg-text); }
.post-card__title a:hover { color: var(--sg-primary); }
.post-card__excerpt p { margin: 0 0 14px; color: var(--sg-muted); }

.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content__thumb { margin: 0 0 36px; }

.pagination-wrap { margin-top: 50px; text-align: center; }
.pagination-wrap .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid var(--sg-line);
    color: var(--sg-text);
    font-size: 13px;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: var(--sg-primary);
    color: #fff;
    border-color: var(--sg-primary);
}

.widget {
    background: #fff;
    padding: 24px;
    border: 1px solid var(--sg-line);
    margin-bottom: 24px;
}
.widget-title {
    font-family: var(--font-serif);
    font-size: 18px;
    margin: 0 0 14px;
    color: var(--sg-accent);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .section { padding: 80px 24px; }
    .section__inner--split { grid-template-columns: 1fr; gap: 50px; }
    .details-grid { grid-template-columns: 1fr; }
    .gift-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .gallery-grid__item--1, .gallery-grid__item--5 { grid-row: span 1; }
    .post-card { grid-template-columns: 1fr; }
    .post-card__body { padding: 24px; }
    .container { grid-template-columns: 1fr; padding: 60px 24px; }
    .schedule::before { left: 60px; }
    .schedule__item { grid-template-columns: 70px 1fr; gap: 24px; }
    .schedule__item::before { left: 55px; }
    .schedule__time { font-size: 22px; }
}

@media (max-width: 720px) {
    .menu-toggle { display: inline-flex; }
    .primary-menu {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(251, 247, 242, 0.98);
        backdrop-filter: blur(12px);
        padding: 30px;
        gap: 18px;
        text-align: center;
        transform: translateY(-120%);
        transition: transform .4s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }
    .main-navigation.is-open .primary-menu { transform: translateY(0); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-header__inner { padding: 0 20px; }
    .countdown__item { min-width: 72px; padding: 14px 8px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .rsvp-form { padding: 32px 20px; }
}

/* ----- WordPress core classes ----- */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption .wp-caption-text { font-size: 13px; color: var(--sg-muted); font-style: italic; margin-top: 6px; }
.sticky { background: var(--sg-secondary); }
.bypostauthor { }
