:root {
    --burnt-orange: #cc5500;
    --burnt-orange-soft: #f4a261;

    --dark-teal: #1b4d4d;
    --dark-teal-soft: #52bcbc;

    --text-light: rgba(255, 255, 255, 0.85);

    --bg: #fff7fb;
    --panel: #ffffff;
    --text: var(--burnt-orange-soft);
    --muted: var(--dark-teal-soft);
    --line: #e5e7eb;
    --brand: #db2777;
    --soft: #fdf2f8;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #fff7fb 0%, #ffffff 60%, #fff1f2 100%);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(229,231,235,0.8);
}

.topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.brand { font-size: 20px; font-weight: 700; }

.menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.menu a {
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
}

.menu .primary {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px;
}

.hero, .card {
    background: var(--panel);
    border: 1px solid rgba(229,231,235,0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero {
    padding: 24px;
    margin-top: 18px;
}

.hero h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
}

.hero p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.pill-row, .grid, .photo-grid, .list {
    display: grid;
    gap: 12px;
}

.pill-row { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.grid { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.photo-grid { grid-template-columns: repeat(3, 1fr); }

.card { padding: 20px; margin-top: 16px; }

.pill, .gift-item, .program-item, .photo-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
}

.pill { background: var(--soft); }

h2 { margin-top: 0; font-size: 24px; }

label {
    display: block;
    margin-top: 12px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 16px;
}

textarea { min-height: 120px; resize: vertical; }

.btn {
    display: inline-block;
    width: 100%;
    margin-top: 14px;
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: var(--brand);
    cursor: pointer;
}

.muted { color: var(--muted); }

.alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 12px;
    font-size: 14px;
}

.alert-error { background: #fef2f2; color: #b91c1c; }
.alert-success { background: #f0fdf4; color: #166534; }

.gift-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
}

.gift-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.photo-placeholder {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: linear-gradient(135deg, #fce7f3, #ffe4e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9d174d;
    font-weight: 700;
    text-align: center;
    padding: 16px;
}

img.photo {
    width: 100%;
    border-radius: 16px;
    display: block;
}

@media (max-width: 800px) {
    .grid, .pill-row, .photo-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 { font-size: 28px; }

    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .menu {
        width: 100%;
        justify-content: flex-start;
    }
}

.program-item.rsvp-warning {
    border: 2px solid #ef4444;
    background: #fef2f2;
}

.program-item.rsvp-warning strong {
    color: #b91c1c;
}

.program-item.rsvp-warning .muted {
    color: #b91c1c;
}body.home-page {
     background: #fffafc;
 }

body.home-page .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

body.home-page .brand,
body.home-page .menu a {
    color: white;
}

body.home-page .menu a {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

body.home-page .menu .primary {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-image {
    min-height: 88vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-bottom: 56px;
}

.hero-overlay-content {
    width: 100%;
}

.hero-copy {
    max-width: 720px;
    color: white;
    padding-top: 120px;
}

.hero-kicker {
    margin: 0 0 10px 0;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-overlay-content {
    padding: 0 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.hero-copy h1 {
    margin: 0;
    font-size: 56px;
    line-height: 1.02;
}

.hero-intro {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
}

.home-content {
    margin-top: 32px;
    padding-bottom: 32px;
}

@media (max-width: 800px) {
    .hero-image {
        background-size: cover;
        min-height: 72vh;
        padding-bottom: 32px;
    }

    .hero-copy {
        padding-top: 100px;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-intro {
        font-size: 17px;
    }

    body.home-page .menu a {
        color: white;
    }
}

/* HTML5UP Dimension home integration */
body.dimension-home #header nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

body.dimension-home #header nav ul li a.needs-attention {
    background: rgba(239, 68, 68, 0.22);
    color: #fff;
}

body.dimension-home .wedding-logo {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dimension-home .home-eyebrow {
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

body.dimension-home .home-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

body.dimension-home .home-highlights li {
    border: solid 1px rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

body.dimension-home .home-panels {
    display: block;
    width: min(70rem, calc(100vw - 2.5rem));
    max-width: 100%;
}

body.dimension-home .home-panels article {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 2rem;
}

body.dimension-home .quick-links-panel {
    margin-bottom: 0;
}

body.dimension-home .info-grid,
body.dimension-home .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.dimension-home .info-card,
body.dimension-home .quick-link-card {
    border: solid 1px rgba(255, 255, 255, 0.18);
    border-radius: 0.4rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    display: block;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.dimension-home .quick-link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

body.dimension-home .info-card h3,
body.dimension-home .quick-link-card strong {
    display: block;
    margin-bottom: 0.45rem;
}

body.dimension-home .quick-link-card span,
body.dimension-home .info-card p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

body.dimension-home .quick-link-warning {
    border-color: rgba(248, 113, 113, 0.85);
    background: rgba(127, 29, 29, 0.28);
}

body.dimension-home .quick-link-warning span,
body.dimension-home .quick-link-warning strong {
    color: #fff;
}

body.dimension-home #main article > .image.main img {
    max-height: 24rem;
    object-fit: cover;
}

body.dimension-home #bg.proposal-bg {
    background-position: center center;
    background-size: cover;
    filter: none;
}

@media screen and (max-width: 736px) {
    body.dimension-home .info-grid,
    body.dimension-home .quick-links-grid {
        grid-template-columns: 1fr;
    }

    body.dimension-home .home-panels {
        width: calc(100vw - 1.25rem);
    }
}

/* Shared HTML5UP Dimension page styling */
body.dimension-page #header nav ul,
body.dimension-home #header nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

body.dimension-page .content.compact {
    max-width: 38rem;
}

body.dimension-page .wedding-logo,
body.dimension-home .wedding-logo {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dimension-page .home-eyebrow,
body.dimension-home .home-eyebrow {
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

body.dimension-page #header nav ul li a.is-current,
body.dimension-home #header nav ul li a.is-current {
    background: rgba(255, 255, 255, 0.18);
}

body.dimension-page #header nav ul li a.needs-attention,
body.dimension-home #header nav ul li a.needs-attention {
    background: rgba(239, 68, 68, 0.22);
    color: #fff;
}

body.dimension-page #main.inner-page-main {
    display: flex !important;
    transform: none !important;
    width: min(58rem, calc(100vw - 2.5rem));
    max-width: 100%;
}

body.dimension-page .page-panel {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}

body.dimension-page .page-panel-narrow {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

body.dimension-page .page-panel > :last-child {
    margin-bottom: 0;
}

body.dimension-page .page-panel img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.dimension-page .dimension-form .fields {
    margin-top: 1.5rem;
}

body.dimension-page .dimension-form .field {
    margin-bottom: 1rem;
}

body.dimension-page .alert {
    border: solid 1px rgba(255, 255, 255, 0.2);
    border-radius: 0.325rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

body.dimension-page .alert-error {
    background: rgba(185, 28, 28, 0.18);
    color: #fff;
}

body.dimension-page .alert-success {
    background: rgba(22, 163, 74, 0.18);
    color: #fff;
}

body.dimension-page .login-highlights {
    justify-content: flex-start;
}

body.dimension-page .timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

body.dimension-page .timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: solid 1px rgba(255,255,255,0.16);
    border-left: 4px solid var(--burnt-orange);
    border-radius: 0.55rem;
    background: rgba(85, 85, 85, 0.24);
}

body.dimension-page .timeline-time {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 243, 199, 0.17);
    color: var(--burnt-orange-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

body.dimension-page .timeline-item > div {
    display: block;
}

body.dimension-page .timeline-item h3 {
    margin: 0 0 0.25rem 0;
    color: white;
    letter-spacing: 0.18rem;
    line-height: 1.2;
}

body.dimension-page .timeline-item p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.45;
}

.timeline-item.disabled {
    opacity: 0.45;

    background: rgba(85, 85, 85, 0.12);

    border-left-color: rgba(255,255,255,0.18);

    filter: grayscale(40%);
}

.timeline-item.disabled .timeline-time {
    background: rgba(255,255,255,0.08);

    color: rgba(255,255,255,0.45);
}

.timeline-item.disabled h3 {
    color: rgba(255,255,255,0.45);
}

.timeline-item.disabled p {
    color: rgba(255,255,255,0.35);
}

@media screen and (max-width: 736px) {
    body.dimension-page .timeline-item {
        gap: 0.85rem;
        padding: 1rem;
    }

    body.dimension-page .timeline-time {
        width: 3.4rem;
        height: 3.4rem;
        font-size: 0.72rem;
        letter-spacing: 0.04rem;
    }
}

body.dimension-page .program-parts-accordion {
     position: relative;
     margin-top: 0.5rem;
}

body.dimension-page .accordion-toggle {
    width: 100%;
    min-height: 3rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;

    padding: 0.8rem 1rem;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.4rem;

    background: rgba(255,255,255,0.06);
    color: white;

    cursor: pointer;
    text-align: left;
}

body.dimension-page .selected-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--burnt-orange-soft);
    white-space: nowrap;
}

body.dimension-page .accordion-chevron {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

body.dimension-page .program-parts-accordion.open .accordion-chevron {
    transform: rotate(180deg);
}

body.dimension-page .accordion-panel {
    display: none;

    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 0.35rem;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.4rem;

    background: rgba(20, 35, 35, 0.96);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.35);
}

body.dimension-page .program-parts-accordion.open .accordion-panel {
    display: block;
}

body.dimension-page .checkbox-list {
    display: grid;
    gap: 0;
    margin-top: 0;
}

body.dimension-page .checkbox-option {
    min-height: 2.1rem;

    padding: 0.35rem 0.55rem;

    border-radius: 0.25rem;

    font-size: 0.85rem;

    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    background: transparent;
}

body.dimension-page .checkbox-option:last-child {
    border-bottom: 0;
}

body.dimension-page .checkbox-option input {
    width: 0.95rem;
    height: 0.95rem;
    margin: 0;
}

body.dimension-page .checkbox-option.selected {
    border-color: var(--burnt-orange-soft);
    background: rgba(204, 85, 0, 0.18);
}

body.dimension-page .gift-list-dimension {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

body.dimension-page .gift-choice {
    display: grid;
    border: solid 1px var(--dark-teal-soft);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
}

body.dimension-page .gift-choice input {
    margin: 0.2rem 0 0;
    width: 1.1rem;
    height: 1.1rem;
}

body.dimension-page .gift-choice-copy {
    display: block;
}

body.dimension-page .gift-choice-copy h3,
body.dimension-page .gift-choice-copy strong {
    display: block;
    margin: 0 0 0.35rem 0;
}

body.dimension-page .gift-choice-copy p,
body.dimension-page .gift-choice-copy small {
    display: block;
    margin: 0.35rem 0;
    color: rgba(255, 255, 255, 0.72);
}

body.dimension-page .gift-choice form {
    margin: 0.75rem 0 0 0;
}

body.dimension-page .gift-choice .actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

body.dimension-page .gift-choice .actions form {
    margin: 0;
}

body.dimension-page .gift-choice button.disabled,
body.dimension-page .gift-choice button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

body.dimension-page button.primary {
    background: var(--burnt-orange-soft);
    border-color: var(--burnt-orange-soft);
}

body.dimension-page button.primary:hover {
    background: var(--burnt-orange);
}

body.dimension-page .gift-choice:hover {
    border-color: var(--burnt-orange);
}

body.dimension-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

body.dimension-page .gallery-card {
    position: relative;
    border: solid 1px rgba(255, 255, 255, 0.16);
    border-radius: 0.4rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    min-height: 13rem;
}

body.dimension-page .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.2rem;
    display: block;
}

body.dimension-page .photo-wrapper {
    position: relative;
}

body.dimension-page .gallery-card .photo {
    width: 100%;
    display: block;

    border-radius: 0.35rem;

    object-fit: cover;
}

body.dimension-page .photo-meta {
    margin: 0.75rem 0 0 0;

    font-size: 0.8rem;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.72);
}

body.dimension-page .delete-photo-form {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;

    margin: 0;
}

body.dimension-page .delete-photo-button {
    width: 2rem;
    height: 2rem;
    padding: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.delete-photo-icon {
    position: relative;
    left: 1px;
}

body.dimension-page .delete-photo-button:hover {
    background: var(--burnt-orange);
}

body.dimension-page .gallery-card.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    padding: 1.25rem;
}
body.dimension-page .clickable-photo {
    cursor: zoom-in;
}

.photo-modal {
    visibility: hidden;
    opacity: 0;

    position: fixed;
    z-index: 10000;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    background: rgba(0, 0, 0, 0.75);

    transition: opacity 0.2s ease;
}

.photo-modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.photo-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
}

.photo-modal-content img {
    max-width: 95vw;
    max-height: 90vh;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6);
}

.photo-modal-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    border: 1px solid rgba(255,255,255,0.6);
    cursor: pointer;
    z-index: 2;
}

body.dimension-page .profile-preview {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
}

body.dimension-page #bg.proposal-bg,
body.dimension-home #bg.proposal-bg {
    background-image: linear-gradient(rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.42)), url('/images/HomePicture.png');
    background-position: center center;
    background-size: cover;
    filter: none;
}

@media screen and (max-width: 980px) {
    body.dimension-page .timeline-item {
        grid-template-columns: 1fr;
    }

    body.dimension-page .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    body.dimension-page #main.inner-page-main {
        width: calc(100vw - 1.25rem);
    }

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

body.dimension-page .close {
    display: none !important;
}
body.dimension-page .color-preview {
    text-align: center;
    margin: 1.5rem 0;
}

body.dimension-page .color-preview img {
    width: 90%;
    opacity: 0.85;
}

body.dimension-page select {
    height: auto;
    min-height: 3rem;
    line-height: 1.5;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
body.dimension-page .ceremoniemeester-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

body.dimension-page .ceremoniemeester-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 0.5rem;
    background: rgba(27, 77, 77, 0.28);
    border-left: 4px solid var(--burnt-orange);
    backdrop-filter: blur(8px);
}

body.dimension-page .ceremoniemeester-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

body.dimension-page .ceremoniemeester-info h3 {
    margin: 0 0 0.4rem 0;
    color: var(--burnt-orange-soft);
    font-size: 1.2rem;
}

body.dimension-page .ceremoniemeester-info p {
    margin: 0.25rem 0;
    color: rgba(255,255,255,0.82);
}

body.dimension-page .ceremoniemeester-info a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

body.dimension-page .ceremoniemeester-info a:hover {
    color: var(--burnt-orange-soft);
}
.upload-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.upload-modal-content {
    pointer-events: auto;
    width: 100%;
    max-width: 520px;
    padding: 2rem;
    border-radius: 0.6rem;
    background: rgba(20, 35, 35, 0.95);
    border: 1px solid var(--burnt-orange);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

.upload-modal {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.upload-modal.is-visible {
    visibility: visible;
    opacity: 1;
}
.upload-modal-header {
    position: relative;
    margin-bottom: 1.5rem;
}

.upload-modal-header h3 {
    margin: 0;
}

.upload-modal-close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 10%;
    color: white;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.upload-modal-close:hover {
    background: rgba(255,255,255,0.18);
}
body.dimension-page .info-card h3 a {
    color: inherit;
    text-decoration: none;
}

body.dimension-page .info-card h3 a:hover {
    color: var(--burnt-orange-soft);
}

.story-slideshow {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.story-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.story-slide.active {
    opacity: 1;
}

.story-slide.active {
    display: block;
}

.wedding-logo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

body.dimension-page .program-parts-accordion {
    position: relative;
    width: 100%;
}

body.dimension-page .program-parts-accordion > .accordion-panel {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 9999;

    padding: 0.35rem;
    background: rgba(20, 35, 35, 0.98);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.4rem;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.45);
}

body.dimension-page .program-parts-accordion.open > .accordion-panel {
    display: block !important;
}

body.dimension-page .checkbox-option {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;

    padding: 0.45rem 0.6rem !important;
    margin: 0 !important;

    font-size: 0.85rem !important;
    letter-spacing: normal !important;
    text-transform: none !important;

    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dimension-page .checkbox-option input[type="checkbox"] {
    display: inline-block !important;
    opacity: 1 !important;
    position: static !important;
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 !important;
    appearance: auto !important;
}

body.dimension-page .checkbox-option.selected {
    background: rgba(204, 85, 0, 0.35) !important;
}

body.dimension-page .checkbox-option.selected span {
    color: white !important;
    font-weight: 700 !important;
}