/* ============================================================
   xBet Sports Feed — skin matching sublevelmag.com's light
   design system (neve-child/assets/custom.css --sv-* tokens).
   Rewritten for the light theme.
   ============================================================ */

.xsf-feed {
    position: relative;
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 0;
    overflow: visible;
}

.xsf-section {
    --xsf-header: var(--sv-surface);
    --xsf-accent: var(--sv-navy);
    --xsf-card-border: var(--sv-line);
    --xsf-cell: var(--sv-surface);
    --xsf-text: var(--sv-ink);
    --xsf-section-bg: #fff;
    --xsf-card-bg: #fff;
    --xsf-secondary-text: var(--sv-muted);
    margin: 0 0 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.xsf-section:last-child {
    margin-bottom: 0;
}

.xsf-section__header,
.xsf-section__header:hover,
.xsf-section__header:focus,
.xsf-section__header:active {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--sv-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    color: var(--sv-ink);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.xsf-section__header:hover {
    border-color: var(--sv-accent);
}

.xsf-section__header:focus-visible {
    box-shadow: 0 0 0 3px rgba(30, 166, 77, .25);
}

.xsf-section__header[aria-expanded="true"] {
    border-color: var(--sv-accent);
    background: #fff;
}

.xsf-section__icon {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
}

.xsf-section__header > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sv-ink);
    font-family: var(--sv-font);
    font-size: 15px;
    font-weight: 700;
}

.xsf-section__header > span[aria-hidden="true"]:last-child {
    margin-left: auto;
    color: var(--sv-muted);
    font-size: 16px;
    transition: transform .18s ease;
}

.xsf-section__header[aria-expanded="true"] > span[aria-hidden="true"]:last-child {
    transform: rotate(180deg);
}

.xsf-grid {
    padding: 14px 0 4px;
}

.xsf-card,
.xsf-casino-card {
    border: 1px solid var(--sv-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px -20px rgba(22, 46, 82, .35);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.xsf-card:hover,
.xsf-casino-card:hover {
    transform: translateY(-3px);
    border-color: var(--sv-accent);
    box-shadow: 0 16px 30px -18px rgba(30, 166, 77, .35);
}

.xsf-team,
.xsf-casino-card__name,
.xsf-odd__value {
    color: var(--sv-ink);
}

.xsf-team span,
.xsf-team {
    font-size: 14px;
}

.xsf-vs,
.xsf-time,
.xsf-casino-card__provider {
    color: var(--sv-muted);
}

.xsf-time {
    font-family: var(--sv-font);
    font-size: 12px;
}

.xsf-odd {
    border-color: var(--sv-line);
    background: var(--sv-surface);
    border-radius: 10px;
}

.xsf-odd__key {
    color: var(--sv-muted);
}

.xsf-odd__value {
    font-family: var(--sv-font);
    color: var(--sv-navy);
    font-weight: 800;
}

.xsf-casino-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.xsf-casino-card__thumb {
    aspect-ratio: 301 / 180;
    background: var(--sv-surface);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

@media (max-width: 960px) {
    .xsf-casino-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .xsf-casino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* CTA — same green gradient as .ob1x-btn--primary, so it reads as the
   same kind of call-to-action as the rest of the page. */
.xsf-cta-form {
    margin: 0 !important;
}

.xsf-cta {
    border: 2px solid var(--sv-accent) !important;
    border-radius: 12px !important;
    background: var(--sv-accent-deep) !important;
    box-shadow: 0 10px 22px -10px rgba(30, 166, 77, .55) !important;
    color: #fff !important;
    font-family: var(--sv-font);
    font-weight: 700 !important;
    transition: box-shadow .2s ease, transform .15s ease, background .2s ease;
}

.xsf-cta:hover {
    transform: translateY(-1px);
    background: #157a36 !important;
    box-shadow: 0 14px 28px -10px rgba(30, 166, 77, .7) !important;
}

.xsf-cta__icon {
    color: #fff;
}

.xsf-cta-form--section{ grid-column:1 / -1; display:flex; justify-content:center; margin:4px 0 10px; }
.xsf-cta--section{ width:min(100%,320px); }

.xsf-cta__icon{ color:#ffcf40 !important; }
