@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700&display=swap');

/* ─── Wrapper ─── */
.la-sol-matches-wrap {
    position: relative;
    background: #021528;
    padding: 40px 0;
    overflow: hidden;
}

/* ─── Top border ─── */
.la-sol-matches-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

/* ─── Right fade overlay (dims last partial card) ─── */
.la-sol-matches-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 220px;
    background: linear-gradient(to right, transparent 0%, #021528 80%);
    pointer-events: none;
    z-index: 5;
}

/* ─── Left fade overlay (appears when scrolled) ─── */
.la-sol-matches-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 120px;
    background: linear-gradient(to left, transparent 0%, #021528 80%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.la-sol-matches-fade-left.visible {
    opacity: 1;
}

/* ─── Carousel ─── */
.la-sol-matches-carousel {
    overflow: visible;
    /* Symmetric gutters (was a left-only 40px peek that stranded the last card
       under the fade and left a wall of empty space when games < slidesPerView). */
    padding: 0 40px;
}

.la-sol-matches-carousel .swiper-wrapper {
    align-items: stretch;
}

/* Divider lives between cards only — never trailing after the last one. */
.la-sol-matches-carousel .swiper-slide:last-child {
    border-right: none;
}

/* ─── Few-games states (set by JS): no scroll chrome, centered cards ─────────────
   .is-static  → all games fit (e.g. 2-up with 2 games): hide arrows + fades.
   .is-single  → exactly one game: no carousel, one centered card.            */
.la-sol-matches-wrap.is-static .la-sol-matches-fade-left,
.la-sol-matches-wrap.is-static .la-sol-matches-fade-right {
    display: none !important;
}
.la-sol-matches-wrap.is-static button.la-sol-matches-prev,
.la-sol-matches-wrap.is-static button.la-sol-matches-next {
    display: none !important;
}

/* One game: center a single comfortably-sized card instead of a stranded sliver. */
.la-sol-matches-wrap.is-single .swiper-wrapper {
    justify-content: center;
}
.la-sol-matches-wrap.is-single .swiper-slide {
    flex: 0 1 480px;
    max-width: 100%;
    border-right: none;
}
/* No carousel runs for a single card, so its pagination strip is empty — hide it. */
.la-sol-matches-wrap.is-single .la-sol-swiper-pagination {
    display: none !important;
}

/* ─── Location badge on carousel card ─── */
.match-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;          /* long date + badge wrap rather than clip */
    gap: 6px 8px;
    padding-bottom: 14px;
}

.match-header-row .match-date {
    min-width: 0;
    flex: 1 1 auto;
}

.match-location-badge {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
}

.match-location-home {
    background: #16a34a;
    color: #ffffff;
}

.match-location-home::before {
    content: "⌂";
    font-size: 11px;
    line-height: 1;
}

.match-location-away {
    background: #d97706;
    color: #ffffff;
}

.match-location-away::before {
    content: "→";
    font-size: 11px;
    line-height: 1;
}

/* ─── Team info wrapper + H/A label ─── */
.team-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.team-ha-label {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

/* ─── Match Card ─── */
.la-sol-match-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    height: auto;
}

/* ─── Date ─── */
.match-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: left;
}

/* ─── Divider line ─── */
.match-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 14px;
}

/* ─── Tournament + Time Row ─── */
.match-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap;
}

.match-tournament {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;   /* let long league names wrap instead of overflow */
}

.match-time {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    /* Allow the livestream badge to wrap to its own line within this span
       instead of overflowing the card on narrow widths. */
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 8px;
    max-width: 100%;
}

/* When a livestream badge is rendered inside .match-time, force it onto its
   own line so the time text doesn't get pushed off the card. */
.match-time .la-sol-match-livestream {
    margin-left: 0;
    flex-basis: 100%;
    justify-content: center;
}

/* ─── Venue (carousel) ─── */
.match-venue {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 2px solid rgba(148, 223, 255, 0.25);
}

.match-venue-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.match-venue-address {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ─── Teams ─── */
.match-teams {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.match-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;            /* allow the name column to shrink/wrap */
}

.match-team .team-info {
    min-width: 0;
}

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.05;
    /* Long names (e.g. "SAN FERNANDO VALLEY FC") wrap to a second line
       rather than overflowing the card edge. */
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ─── Streaming ─── */
.match-streaming {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin-top: auto;
}

/* ─── Navigation Buttons ─── */
.la-sol-matches-wrap button.la-sol-matches-prev,
.la-sol-matches-wrap button.la-sol-matches-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    background: #94DFFF !important;
    background-color: #94DFFF !important;
    border: none !important;
    outline: none !important;
    color: #03203E !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10;
    padding: 0 !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    text-decoration: none;
}

.la-sol-matches-wrap button.la-sol-matches-prev {
    left: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.la-sol-matches-wrap button.la-sol-matches-prev.visible {
    opacity: 1 !important;
    pointer-events: all;
}

.la-sol-matches-wrap button.la-sol-matches-next {
    right: 16px;
    transition: background 0.2s ease;
}

.la-sol-matches-wrap button.la-sol-matches-prev:hover,
.la-sol-matches-wrap button.la-sol-matches-next:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    transform: translateY(-50%) scale(1.07) !important;
}

.la-sol-matches-wrap button.la-sol-matches-prev.swiper-button-disabled,
.la-sol-matches-wrap button.la-sol-matches-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.la-sol-matches-wrap button.la-sol-matches-prev svg,
.la-sol-matches-wrap button.la-sol-matches-next svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    display: block;
}

/* ══════════════════════════════════════════════════════
   STACKED LAYOUT
══════════════════════════════════════════════════════ */

/* ─── Wrapper ─── */
.la-sol-stacked-wrap {
    background: #021528;
    padding: 48px 40px;
    font-family: 'Inter', sans-serif;
}

/* ─── Optional title ─── */
.la-sol-stacked-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    letter-spacing: 3px;
    color: #ffffff;
    margin: 0 0 36px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ─── Month group header ─── */
.la-sol-stacked-month {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    color: #94DFFF;
    padding: 28px 0 10px;
    text-transform: uppercase;
}

.la-sol-stacked-group:first-child .la-sol-stacked-month {
    padding-top: 0;
}

/* ─── Row ─── */
.la-sol-stacked-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 0 28px;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 3px solid transparent;
    padding-left: 18px;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: default;
}

.la-sol-stacked-row:hover {
    background: rgba(148, 223, 255, 0.04);
    border-left-color: #94DFFF;
}

/* ─── NEXT badge ─── */
.stacked-next-badge {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #94DFFF;
    color: #03203E;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 3px 8px;
    border-radius: 2px;
    pointer-events: none;
}

.la-sol-stacked-row.is-next {
    border-left-color: #94DFFF;
    background: rgba(148, 223, 255, 0.05);
}

/* ─── Date block ─── */
.stacked-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    gap: 2px;
}

.stacked-dow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.stacked-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 38px;
    color: #ffffff;
    line-height: 1;
}

.stacked-mon {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* ─── Match body ─── */
.stacked-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* ─── Stacked top meta row (tournament + location badge) ─── */
.stacked-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.stacked-tournament {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── Stacked location badge ─── */
.stacked-location-badge {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    line-height: 1.4;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
}

.stacked-loc-home {
    background: #16a34a;
    color: #ffffff;
}

.stacked-loc-home::before {
    content: "⌂";
    font-size: 11px;
    line-height: 1;
}

.stacked-loc-away {
    background: #d97706;
    color: #ffffff;
}

.stacked-loc-away::before {
    content: "→";
    font-size: 11px;
    line-height: 1;
}

/* ─── Stacked team info + H/A label ─── */
.stacked-team-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.stacked-ha-label {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
}

/* ─── Home game row: subtle left accent ─── */
.la-sol-stacked-row.loc-home:not(.is-next):hover {
    border-left-color: #94DFFF;
}

.stacked-matchup {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.stacked-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.stacked-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.stacked-team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.stacked-vs {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    flex-shrink: 0;
}

/* ─── Meta ─── */
.stacked-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    padding-right: 48px; /* space for NEXT badge */
}

.stacked-time {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.stacked-streaming {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* ─── Stacked venue ─── */
.stacked-venue {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(148, 223, 255, 0.2);
}

.stacked-venue-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.3;
}

.stacked-venue-address {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1.3;
}

/* ─── Stacked Responsive ─── */
@media (max-width: 767px) {
    .la-sol-stacked-wrap {
        padding: 32px 16px;
    }

    .la-sol-stacked-row {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        gap: 0 16px;
    }

    /* Meta row sits below body, in the body column */
    .stacked-meta {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding-right: 0;
        margin-top: 6px;
        gap: 12px;
    }

    /* NEXT badge: moves out of conflict with home/away badge.
       Repositioned to bottom of the date column (col 1), centred under the date numbers.
       Add bottom padding to the row so it doesn't clip. */
    .la-sol-stacked-row.is-next {
        padding-bottom: 32px;
    }

    .stacked-next-badge {
        top: auto;
        right: auto;
        bottom: 10px;
        left: 18px;          /* aligns to the date column start */
        transform: none;
        width: 56px;         /* matches date column width */
        text-align: center;
        font-size: 9px;
        letter-spacing: 1.5px;
        padding: 2px 0;
    }

    .stacked-day { font-size: 30px; }
    .stacked-team-name { font-size: 17px; }
    .stacked-matchup { gap: 10px; }
    .stacked-logo { width: 28px; height: 28px; }
}

/* ─── Empty State ─── */
.la-sol-matches-empty {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── Pagination dots ─── */
.la-sol-swiper-pagination {
    display: none; /* hidden on desktop */
}

/* ─── Responsive: medium screens ─── */
@media (max-width: 1280px) {
    .la-sol-matches-carousel { padding: 0 30px; }
    .la-sol-match-card { padding: 0 22px; }
}

/* ─── Responsive: mobile ─── */
@media (max-width: 767px) {
    /* Wrapper */
    .la-sol-matches-wrap { padding: 24px 0 48px; }

    /* Hide the fade overlays — full card is visible */
    .la-sol-matches-fade-right,
    .la-sol-matches-fade-left { display: none !important; }

    /* Hide arrows — swipe to navigate on mobile */
    .la-sol-matches-wrap button.la-sol-matches-prev,
    .la-sol-matches-wrap button.la-sol-matches-next { display: none !important; }

    /* Full-width carousel on mobile (no side gutters) */
    .la-sol-matches-carousel { padding: 0; }

    /* Single-game state: card spans full width on phones; no dots → less bottom padding */
    .la-sol-matches-wrap.is-single .swiper-slide { flex-basis: 100%; }
    .la-sol-matches-wrap.is-single { padding-bottom: 24px; }

    /* Card: full-width, comfortable padding, no right border divider */
    .la-sol-match-card {
        padding: 0 24px;
        border-right: none;
    }

    /* Typography */
    .match-date { font-size: 16px; }
    .team-name  { font-size: 20px; }

    /* Pagination dots — visible on mobile */
    .la-sol-swiper-pagination {
        display: block;
        position: absolute;
        bottom: 14px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 10;
    }

    .la-sol-swiper-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.3);
        opacity: 1;
        margin: 0 3px;
    }

    .la-sol-swiper-pagination .swiper-pagination-bullet-active {
        background: #94DFFF;
        width: 18px;
        border-radius: 3px;
        transition: width 0.2s ease;
    }
}

/* ════════════════════════════════════════════════════════════
   NEXT MATCH CARD (homepage hero)
   ════════════════════════════════════════════════════════════ */

.la-sol-next-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    color: #FFFFFF;
    text-align: center;
}

.la-sol-next-match .lsnm-title {
    margin: 0 0 20px;
    font-family: 'ROG LyonsType', 'Bebas Neue', sans-serif;
    font-size: 2.3em;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.la-sol-next-match .lsnm-teams {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin-bottom: 4px;
}

.la-sol-next-match .lsnm-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.la-sol-next-match .lsnm-vs {
    font-family: 'ROG LyonsType', 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    flex-shrink: 0;
}

.la-sol-next-match .lsnm-datetime {
    margin: 8px 0 14px;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.la-sol-next-match .lsnm-venue {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
}

.la-sol-next-match .lsnm-buttons {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.la-sol-next-match .lsnm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    flex: 1 1 0;
    white-space: nowrap;
    padding: 16px 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #FFFFFF;
    transition: all 0.25s ease;
    cursor: pointer;
}

.la-sol-next-match .lsnm-btn-outline {
    background: transparent;
    color: #FFFFFF;
}

.la-sol-next-match .lsnm-btn-outline:hover {
    background: #03203E;
    border-color: #03203E;
    color: #94DFFF;
}

.la-sol-next-match .lsnm-btn-filled {
    background: #FFFFFF;
    color: #03203E;
}

.la-sol-next-match .lsnm-btn-filled:hover {
    background: #03203E;
    border-color: #03203E;
    color: #94DFFF;
}

.la-sol-next-match-empty {
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
    .la-sol-next-match .lsnm-title {
        font-size: 2em;
        margin-bottom: 14px;
    }
    .la-sol-next-match .lsnm-logo {
        width: 90px;
        height: 90px;
    }
    .la-sol-next-match .lsnm-datetime {
        font-size: 20px;
    }
    .la-sol-next-match .lsnm-venue {
        font-size: 16px;
    }
}

/* ─── Mobile ─── */
@media (max-width: 767px) {
    .la-sol-next-match .lsnm-title {
        font-size: 1.8em;
        margin-bottom: 12px;
    }
    .la-sol-next-match .lsnm-teams {
        gap: 14px;
    }
    .la-sol-next-match .lsnm-logo {
        width: 70px;
        height: 70px;
    }
    .la-sol-next-match .lsnm-vs {
        font-size: 18px;
    }
    .la-sol-next-match .lsnm-datetime {
        font-size: 17px;
        margin: 6px 0 10px;
    }
    .la-sol-next-match .lsnm-venue {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .la-sol-next-match .lsnm-buttons {
        gap: 10px;
    }
    .la-sol-next-match .lsnm-btn {
        padding: 13px 10px;
        font-size: 17px;
    }
}

/* ─── Livestream link badge ─────────────────────────────────────────────────── */
.la-sol-match-livestream {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #C8102E;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    margin-left: 8px;
    transition: background .15s ease;
}
.la-sol-match-livestream:hover { background: #a00d26; color: #fff; }

/* ─── Matchday activities list ──────────────────────────────────────────────── */
.la-sol-stacked-row > .la-sol-match-activities {
  grid-column: 1 / -1;
  margin-top: 16px;
  margin-left: 0;
}
.la-sol-match-activities {
    list-style: none;
    padding: 16px 20px;
    margin: 12px 0 0;
    background: rgba(3, 32, 62, 0.55);
    border: 1px solid rgba(148, 223, 255, 0.25);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4px 24px;
}
.la-sol-match-activities li {
    padding: 4px 0 4px 24px;
    position: relative;
    white-space: normal;
}
.la-sol-match-activities li::before {
    content: "\2605";
    position: absolute;
    left: 4px;
    top: 4px;
    color: #94DFFF;
    font-size: 11px;
}

/* Next-match card activity bullets + livestream */
.lsnm-activities {
  list-style: none;
  padding: 12px 16px;
  margin: 12px 0;
  background: rgba(3, 32, 62, 0.55);
  border: 1px solid rgba(148, 223, 255, 0.25);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  text-align: left;
}
.lsnm-activities li {
  padding: 3px 0 3px 22px;
  position: relative;
}
.lsnm-activities li::before {
  content: "\2605";
  position: absolute;
  left: 4px;
  top: 3px;
  color: #94DFFF;
  font-size: 11px;
}
/* ─── Hero next-match: Live Stream button (below NEXT MATCH title) ─── */
.la-sol-next-match .lsnm-livestream-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 16px;
    margin: -8px 0 18px;          /* lifts it tight under the title, then breathes before logos */
    background: linear-gradient(135deg, #ff0033 0%, #c8001f 100%);
    color: #fff !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: 1.8px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 999px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 8px 22px rgba(255, 0, 51, 0.4),
        0 0 30px rgba(255, 0, 51, 0.28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    position: relative;
    overflow: hidden;
    align-self: center;
}

.la-sol-next-match .lsnm-livestream-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .65s ease;
    pointer-events: none;
}

.la-sol-next-match .lsnm-livestream-btn:hover {
    transform: translateY(-1px) scale(1.04);
    filter: brightness(1.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 12px 32px rgba(255, 0, 51, 0.55),
        0 0 44px rgba(255, 0, 51, 0.45);
}
.la-sol-next-match .lsnm-livestream-btn:hover::before { transform: translateX(100%); }

.la-sol-next-match .lsnm-livestream-btn:focus-visible {
    outline: 2px solid #94DFFF;
    outline-offset: 3px;
}

.la-sol-next-match .lsnm-livestream-btn .lsb-yt {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.la-sol-next-match .lsnm-livestream-btn .lsb-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    animation: lsb-pulse 1.6s ease-out infinite;
}

.la-sol-next-match .lsnm-livestream-btn .lsb-label {
    padding-top: 2px; /* optical alignment for Bebas */
}

@media (max-width: 640px) {
    .la-sol-next-match .lsnm-livestream-btn {
        font-size: 13px;
        letter-spacing: 1.5px;
        padding: 8px 15px 8px 13px;
        gap: 8px;
        margin: -4px 0 16px;
    }
    .la-sol-next-match .lsnm-livestream-btn .lsb-yt    { width: 17px; height: 17px; }
    .la-sol-next-match .lsnm-livestream-btn .lsb-pulse { width: 7px;  height: 7px;  }
}

/* ─── Stacked: Live Stream button (next HOME match, top-right) ─── */
/* The button is now bound to the next-home row (not the next-overall row),
   so add clearance to whichever row actually contains the button. */
.la-sol-stacked-row:has(.stacked-livestream-btn) {
    padding-top: 56px;
}

.stacked-livestream-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    background: linear-gradient(135deg, #ff0033 0%, #c8001f 100%);
    color: #fff !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 999px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 6px 18px rgba(255, 0, 51, 0.35),
        0 0 24px rgba(255, 0, 51, 0.25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    z-index: 3;
    overflow: hidden;
}

.stacked-livestream-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
}

.stacked-livestream-btn:hover {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.08);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 10px 26px rgba(255, 0, 51, 0.5),
        0 0 36px rgba(255, 0, 51, 0.4);
}

.stacked-livestream-btn:hover::before {
    transform: translateX(100%);
}

.stacked-livestream-btn:focus-visible {
    outline: 2px solid #94DFFF;
    outline-offset: 2px;
}

.stacked-livestream-btn .lsb-yt {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.stacked-livestream-btn .lsb-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    animation: lsb-pulse 1.6s ease-out infinite;
}

.stacked-livestream-btn .lsb-label {
    position: relative;
    padding-top: 1px; /* optical alignment for Bebas */
}

@keyframes lsb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .stacked-livestream-btn .lsb-pulse { animation: none; }
    .stacked-livestream-btn::before    { display: none; }
}

/* Hide the redundant inline "Watch livestream" text link on the next-match row
   since the prominent top-right button covers the same action. */
.la-sol-stacked-row.is-next .la-sol-match-livestream {
    display: none;
}

/* Mobile: scale down + reposition slightly */
@media (max-width: 767px) {
    .la-sol-stacked-row.is-next {
        padding-top: 48px;
        padding-bottom: 44px; /* keep clearance for relocated NEXT badge */
    }
    .stacked-livestream-btn {
        top: 10px;
        right: 10px;
        padding: 6px 11px 6px 10px;
        font-size: 11px;
        letter-spacing: 1.2px;
        gap: 6px;
    }
    .stacked-livestream-btn .lsb-yt    { width: 15px; height: 15px; }
    .stacked-livestream-btn .lsb-pulse { width: 6px; height: 6px; }
}

@media (max-width: 420px) {
    /* Tight phones: drop the wordmark, keep the icon + pulse */
    .stacked-livestream-btn .lsb-label { display: none; }
    .stacked-livestream-btn { padding: 7px 10px; }
}
