/* /Components/Layout/MainLayout.razor.rz.scp.css */
.skip-link[b-8atjoehbha] {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--lp-pink);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus[b-8atjoehbha] {
    left: 0;
}

.site-header[b-8atjoehbha] {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(14px);
    background: color-mix(in srgb, var(--lp-bg) 78%, transparent);
    border-bottom: 1px solid var(--lp-line);
}

.header-inner[b-8atjoehbha] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
}

.brand[b-8atjoehbha] {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--lp-ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: 1.15rem;
}

.header-nav[b-8atjoehbha] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 600;
    font-size: .95rem;
}

.header-nav[b-8atjoehbha]  a {
    color: var(--lp-muted);
    text-decoration: none;
    white-space: nowrap;
}

.header-nav .theme-toggle[b-8atjoehbha] {
    flex: none;
}

.header-nav[b-8atjoehbha]  a:hover,
.header-nav[b-8atjoehbha]  a.active {
    color: var(--lp-ink);
}

.site-footer[b-8atjoehbha] {
    border-top: 1px solid var(--lp-line);
    margin-top: 5rem;
    color: var(--lp-muted);
    font-size: .9rem;
}

.footer-inner[b-8atjoehbha] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 2rem;
}

.footer-inner nav[b-8atjoehbha] {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.25rem;
}

.footer-inner nav a[b-8atjoehbha] {
    white-space: nowrap;
}

.footer-inner a[b-8atjoehbha] {
    color: var(--lp-muted);
    text-decoration: none;
}

.footer-inner a:hover[b-8atjoehbha] {
    color: var(--lp-ink);
}

@media (max-width: 600px) {
    .header-nav > a:not(.btn)[b-8atjoehbha] {
        display: none;
    }
}

/* Brand logo (brand/README.md): fish + "Lively Pass" on every screen. On phones it scales with the screen width
   (zoomed displays and large text make phones narrow), so it always fits beside Sign in and the theme button. */
.footer-brand[b-8atjoehbha] {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

@media (max-width: 600px) {
    .header-inner[b-8atjoehbha],
    .header-nav[b-8atjoehbha] {
        gap: .5rem;
    }

    .brand[b-8atjoehbha] {
        flex: none;
    }

    .brand[b-8atjoehbha]  .brand-full {
        height: auto;
        width: clamp(84px, 30vw, 130px);
    }
}
/* /Components/Shared/EventArt.razor.rz.scp.css */
.event-art[b-jby6eh8np6] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--art);
}

/* Behind a poster: one flat dark panel (posters bring their own colours). */
.event-art.has-poster[b-jby6eh8np6] { background: #1B1A22; }
.event-art.has-poster .event-art-tile[b-jby6eh8np6] { visibility: hidden; }

/* The poster itself: whole, never cut. */
.event-art-poster[b-jby6eh8np6] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* No poster: flat colour (brand rule: no gradients) with the date set large, bottom left. */
.event-art-tile[b-jby6eh8np6] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .3rem;
    padding: 1rem 1.1rem;
    color: var(--art-ink);
}

.event-art-kicker[b-jby6eh8np6] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .75;
}

.event-art-title[b-jby6eh8np6] {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}
/* /Components/Shared/EventCard.razor.rz.scp.css */
.event-card[b-7fdush7ajx] {
    border-radius: var(--radius);
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    overflow: hidden;
    transition: border-color .15s ease;
}

.event-card:hover[b-7fdush7ajx] {
    border-color: color-mix(in srgb, var(--lp-pink) 45%, var(--lp-line));
}

.event-card:hover .card-title[b-7fdush7ajx] { text-decoration: underline; text-underline-offset: 3px; }

.card-link[b-7fdush7ajx] {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card-media[b-7fdush7ajx] {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--lp-surface-2);
}

.date-chip[b-7fdush7ajx] {
    position: absolute;
    left: .75rem;
    top: .75rem;
    display: grid;
    place-items: center;
    width: 52px;
    padding: .35rem 0;
    border-radius: 6px;
    background: #FFFFFF;
    color: #1B1A22;
    line-height: 1.05;
}

.date-chip.is-hidden[b-7fdush7ajx] { display: none; }

.date-month[b-7fdush7ajx] {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #C2185B; /* the chip is always white, so always the light-mode pink */
}

.date-day[b-7fdush7ajx] {
    font-size: 1.35rem;
    font-weight: 700;
}

.status-badge[b-7fdush7ajx] {
    position: absolute;
    right: .75rem;
    top: .75rem;
    padding: .3rem .6rem;
    border-radius: 6px;
    background: var(--lp-danger);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.card-body[b-7fdush7ajx] {
    padding: .9rem 1.1rem 1.15rem;
}

.card-category[b-7fdush7ajx] {
    margin: 0 0 .3rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lp-pink-text);
}

.card-title[b-7fdush7ajx] {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    /* Two lines at most, so cards line up. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta[b-7fdush7ajx] {
    margin: 0;
    color: var(--lp-muted);
    font-size: .88rem;
}

.card-price[b-7fdush7ajx] {
    margin: .6rem 0 0;
    font-weight: 700;
    color: var(--lp-ink);
}

/* Phones: one compact row per event (small picture, details beside it), so a screen shows several events. */
@media (max-width: 600px) {
    .card-link[b-7fdush7ajx] { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
    .card-media[b-7fdush7ajx] { aspect-ratio: auto; min-height: 112px; }
    .date-chip[b-7fdush7ajx] { display: none; }
    .card-body[b-7fdush7ajx] { padding: .7rem .9rem; align-self: center; }
    .card-title[b-7fdush7ajx] { font-size: 1rem; margin-bottom: .2rem; }
    .card-meta[b-7fdush7ajx] { font-size: .82rem; }
    .card-price[b-7fdush7ajx] { margin-top: .35rem; font-size: .92rem; }
    .card-media[b-7fdush7ajx]  .event-art-tile { padding: .6rem; }
    .card-media[b-7fdush7ajx]  .event-art-kicker { font-size: .58rem; letter-spacing: .06em; }
    .card-media[b-7fdush7ajx]  .event-art-title { font-size: 1.35rem; }
}
