/* /assets/css/schedule.css */

body.page--schedule {
    overflow-x: hidden;
    overflow-y: auto;
}

body.page--schedule .site-shell {
    height: auto;
    min-height: 0;
    overflow: visible;
    align-items: start;
}

body.page--schedule .site-main {
    min-height: 0;
    overflow: visible;
}

body.page--schedule .site-footer {
    position: relative;
    bottom: auto;
    height: auto;
    min-height: auto;
}

.schedule-page {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2.25rem);
}

.schedule-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(224, 214, 188, 0.72);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(20, 31, 25, 0.76), rgba(21, 34, 27, 0.84)),
        url("/assets/images/container3.png") center center / cover no-repeat,
        linear-gradient(180deg, #263f2d, #17261d);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #f8f1df;
    padding: clamp(1.15rem, 3vw, 2rem);
}

.schedule-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(185, 146, 31, 0.12), transparent 38%, rgba(185, 146, 31, 0.08));
    pointer-events: none;
}

.schedule-panel > * {
    position: relative;
    z-index: 1;
}

.schedule-panel__header {
    max-width: 820px;
    margin-bottom: clamp(1rem, 3vw, 1.65rem);
}

.schedule-panel__eyebrow {
    margin: 0 0 0.35rem;
    color: #d7b94a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.schedule-panel__title {
    margin: 0;
    color: #fff8e7;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 0.96;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

.schedule-panel__intro {
    margin: 0.85rem 0 0;
    max-width: 680px;
    color: rgba(248, 241, 223, 0.86);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    line-height: 1.55;
}

.schedule-list {
    display: grid;
    gap: 0.78rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: minmax(112px, 0.24fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(224, 214, 188, 0.20);
    border-radius: 20px;
    background: rgba(9, 17, 13, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.12);
}

.schedule-item__month {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-left: 1.15rem;
    color: #ffe28a;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.schedule-item__month::before {
    content: "";
    position: absolute;
    left: 0;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: #d7b94a;
    box-shadow: 0 0 0 5px rgba(215, 185, 74, 0.16);
}

.schedule-item__details {
    min-width: 0;
}

.schedule-item__host {
    margin: 0;
    color: #fff9ec;
    font-size: clamp(1.02rem, 2.2vw, 1.22rem);
    line-height: 1.25;
}

.schedule-item__meal,
.schedule-item__address {
    margin: 0.28rem 0 0;
    color: rgba(248, 241, 223, 0.84);
    font-size: 0.95rem;
    line-height: 1.45;
}

.schedule-item__meal {
    color: #e4ca70;
    font-weight: 700;
    text-transform: uppercase;
}

.schedule-item__address--empty {
    color: rgba(248, 241, 223, 0.62);
    font-style: italic;
}

@media (max-width: 760px) {
    .schedule-page {
        padding: 0.85rem;
    }

    .schedule-panel {
        border-radius: 22px;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .schedule-item__month {
        min-height: 0;
    }
}


/* Prevent page-transition leftovers from rendering below the footer. */
body.page--schedule .member-clubs-toast,
body.page--schedule [data-member-clubs-toast],
body.page--schedule .gallery-modal {
    display: none !important;
}
