html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* STYLE LANDING PAGE */

:root {
    --bg: #0d1a2a;
    --line: #e6f1ff;
    --muted: #a9c4e2;
    --accent: #ffd34d;
    --spin: 6.2s
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg) !important;
    color: var(--line) !important;
    font: 16px/1.5 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial
}
.modal-backdrop {
    background: var(--bg) !important;
}
.modal-header {
    width: 100%;
    display: block!important;
    text-align: center;
}
.modal-header .btn-close
{
    float:right;
}
.wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px
}

.board {
    width: min(1000px,100%);
    border: 1px solid rgba(230,241,255,.35);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden
}

.grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent 31px, rgba(255,255,255,.06) 32px), linear-gradient(90deg, transparent 31px, rgba(255,255,255,.06) 32px);
    background-size: 32px 32px;
    pointer-events: none
}

header {
    /* display: flex
; */
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .08em;
    /* color: var(--muted); */
    font-size: 30pt;
    text-align: center;
    /* width: 100%; */
    /* border: 1px solid;*/
}

h1 {
    margin: 14px 0 2px;
    font-size: clamp(28px,6vw,54px)
}

.sub {
    color: var(--muted)
}

.row {
    margin-top: 18px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap
}

.prop {
    width: min(58vmin, 480px) !important;
/*    aspect-ratio: 1;
*/    margin: 0 auto;
}
svg * {
    vector-effect: non-scaling-stroke
}

.spin {
    transform-origin: 50% 50%;
    animation: spin var(--spin) linear infinite
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}
.count {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap; /* allows wrapping on small screens */
    font-variant-numeric: tabular-nums;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.t {
    border: 1px dashed rgba(230, 241, 255, .6);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 80px; /* slightly smaller */
    text-align: center;
    flex: 1 1 70px; /* allows shrink and grow */
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .t {
        min-width: 65px;
        padding: 8px 8px;
    }

    .num {
        font-size: 1.6rem;
    }

    .lab {
        font-size: 0.7rem;
    }
}

.num {
    font-size: 2.2rem;
    font-weight: 600;
}

.lab {
    font-size: 0.8rem;
    opacity: 0.8;
}
.cta {
    margin-top: 10px
}

    .cta a {
        color: var(--line);
        text-decoration: none;
        border-bottom: 1px dashed var(--line)
    }

.legend {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px
}


form.registrations {
    max-width: 100%;
}
/* --- Registration Form Tweaks --- */
    form {
    max-width: 520px;
    /*   margin: 40px auto;*/
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 1.1rem;
}

    form label {
        color: var(--line);
        font-weight: 600;
        margin-bottom: 4px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="number"],
    form input[type="password"],
    form select {
        background: rgba(255, 255, 255, 0.08);
        color: var(--line);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 1rem;
    }

    form input:disabled {
        opacity: 0.5;
    }

.form-check-label {
    color: var(--muted);
}

.btn {
    margin-top: 10px;
    background-color: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

    .btn:hover {
        background-color: #ffdf70;
        transform: translateY(-1px);
    }

    .btn.submit {
        width: 100%;
    }


/* ---- register ---- */
.reg-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    align-items: start;
    margin: 0px auto;
    width:100%;
    max-width:500pt!important;
}

@media (max-width: 900px) {
    .reg-grid {
        grid-template-columns: 1fr;
    }
}

.reg-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 18px;
}

.btn-row {
    display: flex;
    gap: 8px;
}

.cart-title {
    margin: 6px 0 12px;
    font-size: 1.05rem;
}

.cart-lines {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.cart-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.12);
    font-variant-numeric: tabular-nums;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 10px;
    margin-top: 8px;
    font-size: 1.05rem;
}

.pay-btn {
    margin-top: 10px;
    width: 100%;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.85rem;
}

/* Master grid: first row = room headers, first col = time labels */
.sched {
    display: grid;
    grid-template-columns: 110px repeat(var(--cols), 1fr);
    grid-template-rows: 48px repeat(var(--rows), 56px);
    gap: 6px;
}

/* Headers */
.room {
    grid-row: 1;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.time {
    grid-column: 1;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}



/* simple responsive grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .75rem;
    margin-top: .75rem;
}

.card {
    border: 1px solid #e3e3e3;
    border-radius: .75rem;
    padding: .9rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: transform .08s ease, box-shadow .08s ease;
}

    .card:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0,0,0,.08);
    }

.card-title {
    font-weight: 600;
    margin-bottom: .25rem;
}

.card-intro {
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.6em;
}

/* modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.modal-panel {
    width: 50%;
    margin: auto;
    background: white;
    margin-top: 20%;
    display: block;
    border-radius: 15pt;
    padding: 10pt;
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.modal-header, .modal-footer {
    padding: .75rem 1rem;
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
    border-bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

.modal-body {
    padding: 1rem;
}

.btn-close {
    border: 0;
    background: transparent;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

    .btn-close::before {
        font-size: 1.5rem;
        line-height: 2rem;
        display: inline-block;
    }

    .time {
    border: 1px solid gray;
    
}
.talk {
    display:block!important;
    background-color: rgba(245, 245, 245, 0.85); /* translucent white */
    backdrop-filter: blur(6px); /* subtle glassy look */
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    text-align: center;
    color: #0A0F1A; /* dark navy for high contrast */
    font-weight: 500;
    padding: 6px;
}
/* grid of cards */
.guest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.guest-cards {
    border: 1px solid #e7e7e7;
    background: #fff;
    border-radius: 14px;
    padding: .6rem;
    display: flex;
    gap: .7rem;
    text-align: left;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .06s ease;
}
.guest-card
{
    overflow:hidden;
    padding:0pt!important;
}

.guest-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
    /* new layered gradient behind the text (not a hard box) */
    .guest-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 42%;
        border-radius: 14px;
        background: linear-gradient( to top, rgba(0,0,0,.70) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 100% );
        pointer-events: none;
    }

.guest-photo {
    width: 64px;
    height: 100%;
    object-fit: cover;
    /* border-radius: 10px;*/
    flex: 0 0 64px;
    background: #f2f2f2;
    float: left;
}

.guest-meta {
    overflow: hidden;
}
.guest-name {
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

.guest-intro {
    opacity: .95;
    font-size: .9rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
}


/* modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.modal-panel {
    width: min(900px, 96vw);
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.modal-header, .modal-footer {
    padding: .75rem 1rem;
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
    border-bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

.modal-body {
    padding: 1rem;
}

.btn-close {
    border: 0;
    background: transparent;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

    .btn-close::before {
        font-size: 1.5rem;
        line-height: 2rem;
        display: inline-block;
    }

.modal-body-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.modal-photo {
    float: left;
    width: 220px; /* adjust for desired size */
    margin: 0 1.5rem 1rem 0; /* right & bottom spacing */
    border-radius: 10px;
    object-fit: cover;
}
@media (max-width: 700px) {
    .modal-photo {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
    }
}

.modal-text {
    flex: 1 1 auto;
    text-align: left;
    /*    overflow: auto;*/
}

@media (max-width: 640px) {
    .modal-body-layout {
        flex-direction: column;
    }

    .modal-photo {
        width: 100%;
        height: 220px;
    }
}




.list-group-item {
    position: relative;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .list-group-item:hover {
        background-color: rgba(255,255,255,0.95);
        transform: scale(1.01);
        cursor: pointer;
    }

.chevron {
    font-size: 1.4rem;
    color: #A0A8B8;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.list-group-item:hover .chevron {
    transform: translateX(3px);
    opacity: 1;
}

.cta-wrap {
    text-align: center;
    margin-top: 24px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px dashed rgba(230,241,255,.6);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #EAF2FF;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

    .cta:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.09);
        box-shadow: 0 6px 16px rgba(0,0,0,.25);
    }

.cta-arrow {
    opacity: .8;
    transition: transform .2s ease, opacity .2s ease;
}

.cta:hover .cta-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.cta-sub {
    margin-top: 8px;
    color: #9fb3cc;
    font-size: .9rem;
    opacity: .9;
}


.footer {
    position: fixed;
    width: 100%;
    bottom: 0pt;
    padding:10pt;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.55);
    border-top: 1px dashed rgba(230, 241, 255, 0.1);
}

    .footer a {
        color: rgba(230, 241, 255, 0.8);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease, opacity 0.2s ease;
    }

        .footer a:hover {
            color: #ffffff;
            opacity: 1;
        }

/* existing */
.back-btn {
    position: relative;
    margin: 10px;
    top: 10pt;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(230, 241, 255, 0.3);
    color: rgba(230, 241, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .2s ease, transform .15s ease;
    z-index: 100;
}

/* mobile: 100% width + centered */
@media (max-width: 576px) {
    .back-btn {
        display: flex; /* keeps icon + label aligned */
        width: 100%;
        margin: 10px 0; /* remove side margins so it spans edge-to-edge inside its parent */
        padding: 12px 16px; /* bigger touch target */
        position: static; /* let it sit naturally in flow */
    }
}

    .back-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }




/* Page width + breathing room */
.reg-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr; /* form | cart */
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
    align-items: start;
}

/* Cards */
.reg-card {
    background: rgba(255,255,255,.06);
    border: 1px dashed rgba(230,241,255,.35);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

    /* Make inputs comfy & full width */
    .reg-card .form-control,
    .reg-card .form-check-input {
        font-size: 1rem;

    }


.reg-card .form-control {
    width: 100%;
}

/* Cart styling */
.cart {
    position: sticky; /* stays in view on desktop */
    top: 80px;
}

.cart-title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.cart-lines {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
}

.cart-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(230,241,255,.15);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px dashed rgba(230,241,255,.35);
}

.pay-btn {
    width: 100%;
}

/* Mobile & tablet */
@media (max-width: 992px) {
    .reg-grid {
        grid-template-columns: 1fr; /* stack */
        gap: 16px;
        padding: 0 8px;
    }

    .cart {
        position: static;
        top: auto;
    }
    /* no sticky on small screens */
    .reg-card {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .reg-card {
        padding: 12px;
        border-radius: 10px;
    }

    .cart-line {
        padding: 8px 0;
    }

    .cart-title {
        font-size: 1rem;
    }
}


/* Base container */
.form-check {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Hide default radio appearance */
.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(230, 241, 255, 0.4);
    border-radius: 50%;
    background: transparent;
    transition: all 0.25s ease;
    position: relative;
    margin-right: 10px;
}

    /* Glowing active state */
    .form-check-input:checked {
        border-color: #4db8ff;
        box-shadow: 0 0 6px rgba(77, 184, 255, 0.6);
    }

        /* Inner dot */
        .form-check-input:checked::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0.5rem;
            height: 0.5rem;
            background: #4db8ff;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(1);
            transition: transform 0.25s ease;
        }

    .form-check-input:not(:checked)::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
    }

/* Label text styling */
.form-check-label {
    color: rgba(230, 241, 255, 0.9);
    transition: color 0.25s ease;
    user-select: none;
}

/* Highlight on hover */
.form-check:hover .form-check-input {
    border-color: #89d1ff;
    box-shadow: 0 0 8px rgba(137, 209, 255, 0.4);
}

.form-check:hover .form-check-label {
    color: #ffffff;
}
/* Let global container behave like fluid (prevents clipping/overflow issues) */
.container {
    max-width: none !important; /* removes breakpoint caps */
    padding-left: 0;
    padding-right: 0;
    overflow: visible; /* make sure children can render outside */
}

/* Use this inside pages where you DO want centered content width */
.content {
    max-width: 980px; /* or 1100/1200, your call */
    margin-inline: auto;
    padding-inline: clamp(12px, 4vw, 24px);
}


.sub-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px dashed rgba(230,241,255,.35);
    background: rgba(255,255,255,.04);
    color: rgba(230,241,255,.85);
    text-decoration: none;
    font-size: .9rem;
    line-height: 1;
    transition: background .2s ease, transform .15s ease, color .2s ease;
}

    .chip:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
        transform: translateY(-1px);
    }


.modal-panel {
    min-width: 200pt !important;
    max-width:500pt!important;
    margin-top: 0pt;
    width:50%;
}

.cta-wrap {
    text-align: center;
    margin-top: 10px; /* reduced from 24px */
}

.sub-links {
    margin-top: 12px; /* tighter stack below the button */
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 14px 26px;
    border-radius: 12px;
    border: 1px dashed rgba(230, 241, 255, .6);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #EAF2FF;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
    position: relative;
    overflow: hidden;
}

    /* Subtle blue glow that pulses slowly */
    .cta::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at 50% 50%, rgba(77,184,255,0.4), transparent 70%);
        opacity: 0;
        transition: opacity .4s ease;
    }

    .cta:hover {
        transform: translateY(-1px);
        background: rgba(77,184,255,0.15);
        box-shadow: 0 0 20px rgba(77,184,255,0.35);
    }

        .cta:hover::before {
            opacity: 0.8;
        }

/* Gentle breathing animation when idle */
@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(77,184,255,0.2);
    }

    50% {
        box-shadow: 0 0 22px rgba(77,184,255,0.4);
    }
}

.cta {
    animation: ctaPulse 4s ease-in-out infinite;
}

.cta-arrow {
    opacity: .8;
    transition: transform .25s ease, opacity .25s ease;
}

.cta:hover .cta-arrow {
    transform: translateX(4px);
    opacity: 1;
}


.guest-links {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom:5pt;
}

.link-icon {
    display: inline-flex;
    padding: .35rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
    line-height:12pt;
}

    .link-icon:hover {
        background: #e5e7eb
    }

form.loginform
{
    background:none;
    border:none;
}



/** LOCATION **/
/* Put in your site.css or this component’s scoped stylesheet */
.venue-wrap {
    border-radius: 1rem;
}

.venue-header h3 {
    font-weight: 700;
}

.venue-gallery {
    position: relative;
    min-height: 260px;
}

.slides {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 40%; /* 2.5:1 aspect; adjust to taste */
    border-radius: .75rem;
    overflow: hidden;
    background: #111;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .8s ease, transform 1.2s ease;
}

    .slide.active {
        opacity: 1;
        transform: scale(1);
    }

.gallery-fallback {
    display: grid;
    place-items: center;
    height: 240px;
    background: repeating-linear-gradient( 45deg, #f6f6f6, #f6f6f6 10px, #efefef 10px, #efefef 20px );
    border-radius: .75rem;
    color: #777;
}

.caption {
    padding-left: .25rem;
}
.venue-gallery-full {
    position: relative;
    width: 100vw; /* full viewport width */
    height: 70vh; /* tall and cinematic */
    overflow: hidden;
    margin-left: calc(50% - 50vw); /* stretch beyond container */
    background: #000;
}

@media (max-width: 768px) {
    .venue-gallery-full {
        height: 50vh;
    }
}

.venue-gallery-full .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fully fills, no bars */
    object-position: center; /* center crop */
    opacity: 0;
    transform: scale(1.05); /* subtle zoom out */
    transition: opacity 1.2s ease-in-out, transform 3s ease-in-out;
}

    .venue-gallery-full .slide.active {
        opacity: 1;
        transform: scale(1);
    }

.caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
}

.venue-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
}
.venue-gallery-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6));
    pointer-events: none;
}


.result-box {
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

    .result-box.success {
        background-color: #2e7d32; /* green */
    }

    .result-box.warning {
        background-color: #f9a825; /* orange/yellow */
        color: #222;
    }

    .result-box.danger {
        background-color: #c62828; /* red */
    }

    .result-box.neutral {
        background-color: #424242;
    }

.result-box {
    transition: transform 0.3s ease, background-color 0.3s ease;
    color:white!important;
}

    .result-box:active {
        transform: scale(0.97);
    }
.scanner-wrap {
    position: relative;
    max-width: 720px;
}

    .scanner-wrap video {
        width: 100%;
        border-radius: .75rem;
        background: #000;
    }

.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
form.qrform
{
    border:none;
    background:none;
    margin:0;
    padding:0;
}
#validateBtn {
    margin:0;
}
form.qrform .form-check
{
    font-size:larger;
}



.talk.clickable {
    cursor: pointer;
    position: relative;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .talk.clickable:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0,0,0,.25);
    }

    .talk.clickable:focus-visible {
        outline: 2px solid var(--accent, #3fa9f5);
        outline-offset: 2px;
    }

.talk .hint {
    position: absolute;
    right: .75rem;
    bottom: .4rem;
    font-size: .75rem;
    opacity: .0;
    transition: opacity .2s;
    color: #666;
}

.talk.clickable:hover .hint {
    opacity: .85;
}

/* Modal basics (reuse what you have, or add if needed) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-panel {
    width: min(900px, 92vw);
    max-height: 90vh;
    overflow: auto;
    border-radius: 14px;
}

.modal-body .lead {
    margin-bottom: .5rem;
}

.modal-body .meta {
    color: #9aa3af;
    margin-bottom: .5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.modal-body .lead
{
    text-align:center;
}

/* Page grid stays as-is */
.guest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

/* Embed mode: horizontal slider (pure CSS) */
.guest-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 75vw, 420px);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
/*    max-width: 40%;
    margin: 0pt auto;*/
}

    .guest-slider .slide {
        scroll-snap-align: start;
        opacity:1;
        background:none;
    }

/* Shared card bits */
.guest-card {
    text-align: left;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}
.guest-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center; /* keep faces centered */
    border-radius: 14px;
    display: block;
}

.guest-meta {
    margin-top: .5rem;
}

.guest-name {
    font-weight: 700;
}

.guest-intro {
    font-size: .9rem;
    opacity: .85;
}

/* Modal stays as you had it */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: grid;
    place-items: center;
    z-index: 1000;
}

.modal-panel {
    max-width: min(920px, 92vw);
    width: 100%;
}

.modal-photo {
    width: 100%;
    border-radius: 10px;
    margin: .5rem 0 1rem;
}
/* Wrapper adds edge gradients */
.guest-slider-wrap {
    position: relative;
    max-width: 50%;
    margin: 0pt auto;
}

    .guest-slider-wrap::before,
    .guest-slider-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 64px;
        pointer-events: none;
        /* Use your page bg color variable if you have one */
        --bg: #0f1c28;
    }

    .guest-slider-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--bg) 55%, transparent);
    }

    .guest-slider-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--bg) 55%, transparent);
    }

/* Slider core */
.guest-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(260px, 60vw, 420px);
    gap: 1rem;
    overflow-x: auto;
    padding: 0 .5rem .25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    width:90%;
    margin:0pt auto;
}

    .guest-slider .slide {
        scroll-snap-align: start;
    }

/* Card/image sizing */
.guest-card {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    width:90%;
    margin:0pt auto;
}

.guest-photo {
    width: 100%;
    aspect-ratio: 4 / 5; /* consistent height */
    object-fit: cover; /* no distortion */
    border-radius: 14px;
    display: block;
}

/* Overlay text: readable on bright photos */
.guest-meta.overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: rgba(0,0,0,.45);
    /*  backdrop-filter: blur(6px);*/
    color: #fff;
    padding: .6rem .75rem;
    border-radius: .8rem;
    max-height: 40%;
    top: 60%;
    min-height: 20%;
}

.guest-name {
    font-weight: 700;
}

.guest-intro {
    opacity: .95;
    font-size: .9rem;
    line-height: 1.25;
}

.clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Desktop arrow buttons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(10,16,24,.6);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index:9999999;
}

    .nav::before {
        content: "";
        width: 10px;
        height: 10px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
    }

    .nav.prev {
        left: 6px;
        padding:10pt;
    }

        .nav.prev::before {
            transform: rotate(-135deg);
        }

        .nav.next {
            right: 6px;
            padding: 8pt;
        }

        .nav.next::before {
            transform: rotate(45deg);
        }

/* Hide arrows on touch devices where swipe is natural */
@media (hover: none) and (pointer: coarse) {
    .nav {
        display: none;
    }

    .guest-slider-wrap::before, .guest-slider-wrap::after {
        display: none;
    }
    .guest-slider-wrap {
        max-width: 90%;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .guest-slider {
        scroll-behavior: auto;
    }
}


.guest-slider-wrap {
    position: relative;
    max-width: min(720px, 92vw); /* narrower, reads better */
    margin: 0 auto;
}

/* columns sized so one card fills the wrap; no awkward “almost two” */
.guest-slider {
    grid-auto-columns: 100%;
    padding: 0 .25rem .25rem;
    scroll-padding-inline: .25rem;
}

/* arrows sit just outside the image edge */
.nav.prev {
    left: -18px;
}

.nav.next {
    right: -18px;
}
/* Hide scrollbar cross-browser, but keep scroll */
.guest-slider {
    overflow-x: auto;
    -ms-overflow-style: none; /* IE/Edge legacy */
    scrollbar-width: none; /* Firefox */
}

    .guest-slider::-webkit-scrollbar {
        display: none;
    }
/* Chrome/Safari */




/* ===== Page mode (grid) ===== */
.sched {
    display: grid;
    grid-template-columns: 110px repeat(var(--cols), 1fr);
    grid-template-rows: 48px repeat(var(--rows), 56px);
    gap: 6px;
}

.room {
    grid-row: 1;
    border: 1px dashed rgba(230,241,255,.35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.time {
    grid-column: 1;
    border: 1px dashed rgba(230,241,255,.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}

.talk.card {
    background: rgba(255,255,255,.06);
    border: 1px dashed rgba(230,241,255,.35);
    color: #EAF2FF;
    border-radius: 10px;
    text-align: left;
    padding: .6rem .7rem;
}

.talk.clickable {
    cursor: pointer;
    position: relative;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .talk.clickable:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0,0,0,.25);
    }

.talk .hint {
    position: absolute;
    right: .6rem;
    bottom: .4rem;
    font-size: .75rem;
    opacity: .7;
    color: #9fb3cc;
}

/* ===== Embed mode (slider) ===== */
.prog-slider-wrap {
    position: relative;
    max-width: min(900px, 92vw);
    margin: 0 auto;
    height: 100pt;
}

    .prog-slider-wrap::before,
    .prog-slider-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 64px;
        pointer-events: none;
        --bg: #0f1c28;
    }

    .prog-slider-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--bg) 55%, transparent);
    }

    .prog-slider-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--bg) 55%, transparent);
    }

.prog-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(280px, 70vw, 420px);
    gap: 1rem;
    overflow-x: auto;
    padding: 0 .5rem .25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox hide */
}

    .prog-slider::-webkit-scrollbar {
        display: none;
    }
    /* Chrome/Safari hide */
    .prog-slider .slide {
        scroll-snap-align: start;
        opacity: 1;
        position: relative;
    }

.prog-card {
    background: rgba(255,255,255,.06);
    border: 1px dashed rgba(230,241,255,.35);
    border-radius: 12px;
    text-align: left;
    color: #EAF2FF;
    padding: .9rem 1rem;
    cursor: pointer;
}

.prog-time {
    font-size: .9rem;
    color: #9fb3cc;
    margin-bottom: .25rem;
}

.prog-title {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: .15rem;
}

.prog-guest {
    opacity: .95;
}

/* arrows */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(10,16,24,.6);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
}

    .nav.prev {
        left: -18px;
    }

    .nav.next {
        right: -18px;
    }

    .nav::before {
        content: "";
        width: 10px;
        height: 10px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
    }

    .nav.prev::before {
        transform: rotate(-135deg);
    }

    .nav.next::before {
        transform: rotate(45deg);
    }

/* Touch: hide arrows/gradients */
@media (hover:none) and (pointer:coarse) {
    .nav, .prog-slider-wrap::before, .prog-slider-wrap::after {
        display: none;
    }
}

/* Modal bits (piggyback your existing modal styles) */
.modal-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    float: left;
    margin: 0 1rem .5rem 0;
}

@media (max-width: 700px) {
    .modal-photo {
        /* float: none;
        width: 100%;*/
        height: 220px;
        margin: 0 0 .75rem 0;
        margin: 0 0 .75rem 0;
        width: 50%;
    }
}


/* ===== Page mode (full gallery) ===== */
.venue-wrap {
    border-radius: 1rem;
}

.venue-gallery-full {
    position: relative;
    width: 100vw;
    height: 70vh;
    margin-left: calc(50% - 50vw); /* bleed to edges */
    overflow: hidden;
    background: #000;
}

@media (max-width: 768px) {
    .venue-gallery-full {
        height: 50vh;
    }
}

.venue-gallery-full .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.0s ease-in-out, transform 2.2s ease-in-out;
}

    .venue-gallery-full .slide.active {
        opacity: 1;
        transform: scale(1);
    }

.venue-gallery-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 62%, rgba(0,0,0,0.55));
    pointer-events: none;
}

.caption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    background: rgba(0,0,0,.4);
    color: #fff;
    padding: .55rem .75rem;
    border-radius: .5rem;
    font-size: .95rem;
}

.venue-info {
    text-align: center;
    margin-top: 1.25rem;
    padding: 0 .75rem;
}

/* ===== Embed mode (compact card + arrows) ===== */
.venue-embed-wrap {
    position: relative;
    max-width: min(900px, 92vw);
    margin: 0 auto;
}

.venue-embed {
    /* single card; no scrollbar chrome */
    overflow: hidden;
}

.embed-card {
    background: rgba(255,255,255,.06);
    border: 1px dashed rgba(230,241,255,.35);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

@media (max-width: 800px) {
    .embed-card {
        grid-template-columns: 1fr;
    }
}

.embed-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.embed-meta {
    color: #EAF2FF;
}

.embed-title {
    font-weight: 800;
    margin-bottom: .25rem;
}

.embed-cap {
    color: #9fb3cc;
    margin-bottom: .3rem;
}

.embed-addr {
    opacity: .95;
    margin-bottom: .4rem;
}

.clamp2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section-block {
    text-align: center;
    margin: 4rem auto;
    max-width: min(900px, 95vw);
}

.section-title {
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    letter-spacing: .5px;
    color: var(--line);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        display: block;
        width: 60%;
        height: 1px;
        margin: .5rem auto 0;
        background: linear-gradient(to right, transparent, var(--accent), transparent);
        opacity: .6;
    }
