/* Sport previews section — Lovable mockup. Prefix: spv- */

.spv-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 20px 40px; box-sizing: border-box; }
.spv-wrap * { box-sizing: border-box; }

/* ---- 1 + 2: Hero + More Stories ---- */
.spv-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 20px; }

.spv-hero {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
    background: #fff; border: 1px solid #e7e7e7; border-radius: 12px;
}
/* Media area (top): gradient + centered play; a <video>/<iframe> can replace it later. */
.spv-hero-media { position: relative; flex: 1 1 auto; min-height: 240px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e5bb8 0%, #3a78c9 100%); }
.spv-hero-media > iframe, .spv-hero-media > video, .spv-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.spv-play {
    width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95);
    color: #1e5bb8; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .15s;
}
.spv-play svg { width: 24px; height: 24px; margin-left: 3px; }
.spv-hero:hover .spv-play { transform: scale(1.06); }
/* Text area (below) on white — matches the Lovable. */
.spv-hero-body { padding: 18px 20px 20px; }
.spv-hero-tag { display: inline-block; background: #eaf2fe; color: #1e5bb8; font-size: 11px; font-weight: 700;
    letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.spv-hero-title { font-size: 24px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; color: #111; }
.spv-hero-sub { font-size: 14px; margin: 0; color: #6d6d6d; }

.spv-stories { background: #fff; border: 1px solid #e7e7e7; border-radius: 12px; padding: 18px; }
.spv-stories-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #1e5bb8; text-transform: uppercase; margin: 0 0 12px; }
.spv-story { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f0f0f0; text-decoration: none; }
.spv-story:first-of-type { border-top: 0; }
.spv-badge { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; background: #eaf2fe; color: #1e5bb8; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.spv-badge-img { padding: 0; overflow: hidden; background: #eaf2fe; }
.spv-badge-img img { width: 100%; height: 100%; object-fit: cover; }
.spv-story-text { display: flex; flex-direction: column; }
.spv-story-text small { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8a8f96; text-transform: uppercase; }
.spv-story-text strong { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.spv-story:hover strong { color: #1e5bb8; }

/* ---- 3: CTA bar ---- */
.spv-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: #1e5bb8; color: #fff; border-radius: 10px; padding: 18px 24px; margin-bottom: 36px; }
.spv-cta-text { margin: 0; font-size: 15px; font-weight: 600; }
.spv-cta-btn { background: #fff; color: #1e5bb8; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.spv-cta-btn:hover { background: #eaf2fe; }

/* ---- 4: Grid ---- */
.spv-heading { text-align: center; font-size: 30px; font-weight: 800; margin: 0 0 24px; color: #111; }
.spv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Grid-only mode (league sections stacked on the home): drop the hero-oriented
   padding/width so sibling sections are spaced only by the page wrapper's row-gap. */
.spv-layout-grid { max-width: 100%; padding: 0; }
.spv-layout-grid .spv-heading { font-size: 24px; margin-bottom: 16px; }

/* Hero (full) layout spans the full page content width (not the 1200px cap). */
.spv-wrap.spv-layout-full { max-width: none; }

/* Each league grid wrapped in its own card/box with a header. */
.spv-box { background: #fff; border: 1px solid #e7e7e7; border-radius: 12px; padding: 20px; }
.spv-box-head { display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid #e7e7e7; }
.spv-box-title { margin: 0; font-size: 18px; line-height: 1.35; color: #1a1a1a; font-weight: 400; }
.spv-box-title strong { font-weight: 700; color: #111; }
.spv-box-arrow { flex: 0 0 auto; color: #0366d6; font-size: 22px; line-height: 1; text-decoration: none; }
.spv-box-arrow:hover { color: #c81414; }
@media (max-width: 767px) { .spv-box { padding: 16px; } .spv-box-title { font-size: 16px; } }

/* League-level actions: "All <Sport> Previews" + "<Sport> Odds". */
.spv-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.spv-action { background: #0366d6; color: #fff; font-weight: 700; font-size: 15px; line-height: 1;
    padding: 14px 32px; border-radius: 8px; text-decoration: none; border: 1px solid #0366d6;
    transition: background .15s, border-color .15s; }
.spv-action:hover, .spv-action:focus { background: #c81414; border-color: #c81414; color: #fff; }
@media (max-width: 600px) { .spv-action { flex: 1 1 100%; text-align: center; } }

.spv-card { background: #fff; border: 1px solid #e7e7e7; border-radius: 10px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.spv-card-head { background: #1e5bb8; color: #fff; text-transform: uppercase; font-size: 13px; font-weight: 700;
    letter-spacing: .03em; text-align: center; padding: 12px 14px; }

.spv-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; padding: 16px 14px 8px; }
.spv-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.spv-circle { width: 48px; height: 48px; border-radius: 50%; background: #eaf2fe; color: #1e5bb8;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; overflow: hidden; }
.spv-circle img { width: 100%; height: 100%; object-fit: contain; }
.spv-team-name { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.spv-vs { align-self: center; font-size: 13px; font-weight: 700; color: #8a8f96; }

.spv-date { display: flex; align-items: center; justify-content: center; gap: 5px; color: #1e5bb8;
    font-size: 13px; font-weight: 600; padding: 4px 14px 12px; }

.spv-odds { padding: 0 14px 12px; }
.spv-odds-head, .spv-odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.spv-odds-head { margin-bottom: 6px; }
.spv-odds-head span { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8a8f96; }
.spv-odds-row { margin-bottom: 6px; }
.spv-cell { background: #f4f8fe; border-radius: 6px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; }
.spv-cell b { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.spv-cell small { font-size: 11px; color: #6d6d6d; }
.spv-ml { justify-content: center; font-size: 13px; font-weight: 700; color: #1a1a1a; }
.spv-cell .is-neg { color: #1a7f37; }
.spv-cell .is-pos { color: #6d6d6d; }

.spv-odds-empty { display: flex; align-items: center; justify-content: center; min-height: 84px; margin: 0 14px 12px;
    padding: 14px; text-align: center; color: #8a8f96; font-size: 13px; font-style: italic;
    background: #f4f8fe; border-radius: 6px; }

.spv-angle { padding: 4px 14px 12px; }
.spv-angle-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #1e5bb8; text-transform: uppercase; margin-bottom: 4px; }
.spv-angle p { margin: 0; font-size: 13px; line-height: 1.45; color: #585b5b; }

.spv-btn { margin: auto 14px 16px; background: #1e5bb8; color: #fff; text-align: center; font-weight: 700;
    font-size: 14px; padding: 12px; border-radius: 8px; text-decoration: none; }
.spv-btn:hover, .spv-btn:focus { background: #16407f; color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .spv-top { grid-template-columns: 1fr; }
    .spv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .spv-grid { grid-template-columns: 1fr; }
    .spv-hero-title { font-size: 22px; }
    .spv-cta { flex-direction: column; align-items: flex-start; }
}
