/* ============================================================================
 * Component: bday-clubs (0.318.0) — the four clubs on the birthday hub, shown as their rooms.
 * Phones: a swipe strip (scroll-snap). ≥1024 px: two columns, the right column set lower.
 * The sign copies the layout of a Viennese street sign (district number, comma, street) in brand coal with the
 * white inner rule; the cream background is the one of the Standort pages' Partyraum block.
 * ========================================================================= */

.rc-bcl {
    --bcl-cream: #FFFBF5;
    --bcl-mint: #E6F9F0;
    overflow: hidden;
    padding: 64px 0 56px;
    background: var(--bcl-cream);
    color: var(--robbo-coal);
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-bcl *, .rc-bcl *::before, .rc-bcl *::after { box-sizing: border-box; }

.rc-bcl-wrap { max-width: 1180px; margin: 0 auto; }
.rc-bcl-head { max-width: 760px; margin: 0 auto 26px; padding: 0 16px; text-align: center; }
.rc-bcl-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bcl-mint);
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
}
.rc-bcl-h2 {
    margin: 0 0 12px;
    font-family: 'ProximaNova', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--robbo-coal);
    text-wrap: balance;
}
.rc-bcl-sub {
    margin: 0;
    font-size: var(--robbo-fs-base);
    line-height: 1.6;
    color: color-mix(in srgb, var(--robbo-coal) 88%, transparent);
    text-wrap: pretty;
}

/* ------------------------------------------------------------ strip -- */
.rc-bcl-track {
    list-style: none;
    margin: 0;
    padding: 12px 16px 26px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rc-bcl-track::-webkit-scrollbar { display: none; }
.rc-bcl-card {
    flex: 0 0 84%;
    max-width: 400px;
    margin: 0;
    display: flex;
    scroll-snap-align: start;
}
.rc-bcl-art {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ------------------------------------------------------------- photo -- */
.rc-bcl-fig { position: relative; margin: 0; }
.rc-bcl-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--robbo-coal) 14%, transparent);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.rc-bcl-sign {
    position: absolute;
    left: 14px;
    bottom: -19px;
    max-width: calc(100% - 28px);
    padding: 10px 14px 9px;
    border-radius: 7px;
    background: var(--robbo-coal);
    outline: 2px solid var(--robbo-white);
    outline-offset: -5px;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--robbo-black) 22%, transparent);
    color: var(--robbo-white);
    font-size: var(--robbo-fs-md);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -------------------------------------------------------------- body -- */
.rc-bcl-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 36px 2px 0;
}
.rc-bcl-h3 { margin: 0; font-family: 'ProximaNova', sans-serif; line-height: 1.2; }
.rc-bcl .rc-bcl-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--robbo-coal);
    text-decoration: none;
}
/* The whole card opens the club's page. */
.rc-bcl-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.rc-bcl .rc-bcl-link:focus-visible { outline: none; }
.rc-bcl .rc-bcl-link:focus-visible::after { outline: 3px solid var(--robbo-green-dark); outline-offset: 6px; }
.rc-bcl-title { min-width: 0; }
.rc-bcl-kicker {
    display: block;
    margin: 0 0 2px;
    font-size: var(--robbo-fs-md);
    font-weight: 600;
    color: var(--robbo-green-dark);
}
.rc-bcl-name {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.rc-bcl-plz {
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--robbo-green-dark);
}
.rc-bcl-go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--robbo-green);
    border-radius: 50%;
    background: var(--robbo-white);
    color: var(--robbo-green-dark);
    transition: background 0.2s ease, color 0.2s ease;
}
.rc-bcl-go svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
@media (hover: hover) {
    .rc-bcl-art:hover .rc-bcl-go { background: var(--robbo-green); color: var(--robbo-white); }
    .rc-bcl-art:hover .rc-bcl-go svg { transform: translateX(2px); }
}
.rc-bcl-stats {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.75fr);
    margin: 0;
    border-top: 1px solid var(--robbo-line);
    border-bottom: 1px solid var(--robbo-line);
}
.rc-bcl-stat { min-width: 0; padding: 12px 10px 11px; }
.rc-bcl-stat:first-child { padding-left: 0; }
.rc-bcl-stat + .rc-bcl-stat { border-left: 1px solid var(--robbo-line); }
.rc-bcl-stat dt {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--robbo-coal);
}
.rc-bcl-stat dd {
    margin: 4px 0 0;
    font-size: var(--robbo-fs-md);
    line-height: 1.3;
    hyphens: manual;
    color: color-mix(in srgb, var(--robbo-coal) 78%, transparent);
}
.rc-bcl-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.rc-bcl-chips li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: var(--robbo-fs-md);
    font-weight: 600;
    line-height: 1.35;
}
.rc-bcl-chips svg {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 10px;
    background: var(--bcl-mint);
    color: var(--robbo-green-dark);
}
.rc-bcl-hint {
    margin: 0;
    padding: 0 16px;
    font-size: var(--robbo-fs-md);
    font-weight: 600;
    color: color-mix(in srgb, var(--robbo-coal) 70%, transparent);
}

/* Cards rise in one after another once the block is in view (JS adds .rc-js / .is-in). */
.rc-bcl.rc-js .rc-bcl-art { opacity: 0; transform: translateY(18px); }
.rc-bcl.rc-js.is-in .rc-bcl-art {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
    .rc-bcl.rc-js .rc-bcl-art { opacity: 1; transform: none; transition: none; }
    .rc-bcl-img, .rc-bcl-go, .rc-bcl-go svg { transition: none; }
}

@media (max-width: 359px) {
    .rc-bcl-card { flex-basis: 88%; }
    .rc-bcl-sign { padding: 10px 11px 9px; letter-spacing: 0; white-space: normal; }
    .rc-bcl-stat { padding-left: 8px; padding-right: 6px; }
    .rc-bcl-stat dt { font-size: 21px; }
}

/* ----------------------------------------------------------- desktop -- */
@media (min-width: 1024px) {
    .rc-bcl { padding: 88px 32px 128px; }
    .rc-bcl-head { margin: 0 auto 52px; padding: 0; }
    .rc-bcl-h2 { font-size: 40px; }
    .rc-bcl-sub { font-size: var(--robbo-fs-lg); }
    .rc-bcl-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px 48px;
        padding: 0;
        overflow: visible;
    }
    .rc-bcl-card { max-width: none; }
    .rc-bcl-card:nth-child(even) { transform: translateY(64px); }
    .rc-bcl-img { aspect-ratio: 16 / 10; }
    .rc-bcl-sign { left: 20px; font-size: var(--robbo-fs-base); }
    .rc-bcl-body { gap: 16px; padding: 42px 4px 0; }
    .rc-bcl-name { font-size: 28px; }
    .rc-bcl-go { width: 52px; height: 52px; }
    .rc-bcl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-bcl-stat { padding: 14px 16px 12px; }
    .rc-bcl-stat dt { font-size: 30px; }
    .rc-bcl-chips { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
    .rc-bcl-art:hover .rc-bcl-img {
        transform: translateY(-4px) rotate(-0.4deg);
        box-shadow: 0 22px 40px color-mix(in srgb, var(--robbo-coal) 20%, transparent);
    }
    .rc-bcl-hint { display: none; }
}
