/**
 * Spor Hub — /haber-kategori/spor/
 *
 * Palet ve tipografi puan durumu modülü (sports-standings.css) ile ortaktır.
 * Boşluklar 4px tabanlı ritimde: 4 / 8 / 12 / 16 / 24 / 32 / 40.
 */

.yv-sports-hub {
    --yv-sp-red: #c41e3a;
    --yv-sp-navy: #1f2d75;
    --yv-sp-navy-deep: #05053d;
    --yv-sp-text: #1a1a2e;
    --yv-sp-muted: #5c6578;
    --yv-sp-faint: #667085;
    --yv-sp-line: #e8eaed;
    --yv-sp-line-soft: #f0f1f4;
    --yv-sp-surface: #f7f8fa;
    --yv-sp-white: #fff;
    --yv-sp-shadow: 0 18px 45px rgba(5, 5, 61, 0.1);

    --yv-sp-gap-1: 4px;
    --yv-sp-gap-2: 8px;
    --yv-sp-gap-3: 12px;
    --yv-sp-gap-4: 16px;
    --yv-sp-gap-6: 24px;
    --yv-sp-gap-8: 32px;
    --yv-sp-gap-10: 40px;

    margin-top: 20px;
    margin-bottom: 40px;
}

/* ---------- Sayfa kimliği + bölüm navigasyonu ---------- */

.yv-sports-hub__masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--yv-sp-gap-6);
    margin-bottom: var(--yv-sp-gap-4);
    padding: 18px 20px 16px;
    border-top: 4px solid var(--yv-sp-red);
    border-bottom: 1px solid var(--yv-sp-line);
    background: var(--yv-sp-white);
    box-shadow: 0 10px 26px rgba(5, 5, 61, 0.06);
}

.yv-sports-hub__masthead + .vatan-content-grid {
    margin-top: var(--yv-sp-gap-4) !important;
}

/* Sağ sütundaki bütün modüller aynı kompakt dikey ritmi kullanır. */
.yv-sports-hub .sidebar-column > .vatan-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--yv-sp-gap-4) !important;
}

.yv-sports-hub .sidebar-column > .vatan-sidebar > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.yv-sports-hub .sidebar-column > .vatan-sidebar > .yv-actions-box,
.yv-sports-hub .sidebar-column > .vatan-sidebar > .sidebar-box,
.yv-sports-hub .sidebar-flash-ticker-wrapper .home-flash-ticker {
    border: 1px solid var(--yv-sp-line) !important;
    border-radius: 4px !important;
    margin-bottom: 0 !important;
    background: var(--yv-sp-white);
    box-shadow: 0 6px 18px rgba(5, 5, 61, 0.06) !important;
}

.yv-sports-hub__masthead-copy {
    min-width: 0;
}

.yv-sports-hub__masthead-kicker {
    margin: 0 0 var(--yv-sp-gap-1);
    color: var(--yv-sp-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.yv-sports-hub__masthead-title {
    margin: 0;
    color: var(--yv-sp-navy-deep) !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.yv-sports-hub__masthead-summary {
    margin: var(--yv-sp-gap-2) 0 0;
    color: var(--yv-sp-muted);
    font-size: 13px;
    line-height: 1.45;
}

.yv-sports-hub__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    min-width: 0;
}

.yv-sports-hub__nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--yv-sp-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.yv-sports-hub__nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--yv-sp-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease-out;
}

.yv-sports-hub__nav a:hover,
.yv-sports-hub__nav a:focus-visible {
    color: var(--yv-sp-red);
}

.yv-sports-hub__nav a:hover::after,
.yv-sports-hub__nav a:focus-visible::after {
    transform: scaleX(1);
}

.yv-sports-hub__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--yv-sp-gap-4);
    background: var(--yv-sp-white);
    padding: 0;
    box-sizing: border-box;
}

/* Dikey ritim yalnızca ebeveyn gap değeriyle yönetilir. */
.yv-sports-hub__main > * + * {
    margin-top: 0 !important;
}

/* base.css'teki "section + .yv-section" kuralı daha spesifik olduğu için eşlenmesi gerekiyor */
.yv-sports-hub__main > section + .yv-section,
.yv-sports-hub__main > .yv-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ---------- Başlık + AU özeti ---------- */

.yv-sports-hub__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px;
    background: var(--yv-sp-navy-deep);
    border-top: 6px solid var(--yv-sp-red);
    color: var(--yv-sp-white);
    box-shadow: var(--yv-sp-shadow);
}

.yv-sports-hub__hero::before {
    content: "SPOR";
    position: absolute;
    z-index: -1;
    top: -0.18em;
    right: -0.04em;
    font-size: clamp(7rem, 16vw, 11rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.045);
    pointer-events: none;
    user-select: none;
}

.yv-sports-hub__hero-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--yv-sp-gap-4);
    margin-bottom: var(--yv-sp-gap-6);
}

.yv-sports-hub__titles {
    min-width: 0;
}

.yv-sports-hub__eyebrow {
    margin: 0 0 var(--yv-sp-gap-1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff6b7f;
}

/*
 * base.css tüm h1/h2/h3'e !important ile sabit boyut + weight 600 dayatıyor.
 * Hub'ın tipografi skalası ancak aynı ağırlıkta ezilerek kurulabiliyor.
 */
.yv-sports-hub__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--yv-sp-white) !important;
}

.yv-sports-hub__wc-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    gap: var(--yv-sp-gap-2);
    padding: 0 var(--yv-sp-gap-4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--yv-sp-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.yv-sports-hub__wc-link:hover,
.yv-sports-hub__wc-link:focus-visible {
    background: var(--yv-sp-white);
    border-color: var(--yv-sp-white);
    color: var(--yv-sp-navy-deep);
}

.yv-sports-hub__brief {
    max-width: 680px;
    background: var(--yv-sp-white);
    border: 0;
    border-left: 5px solid var(--yv-sp-red);
    padding: var(--yv-sp-gap-4) 20px;
    box-shadow: 12px 12px 0 rgba(255, 255, 255, 0.08);
}

.yv-sports-hub__brief-title {
    margin: 0 0 var(--yv-sp-gap-3);
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--yv-sp-navy-deep);
}

.yv-sports-hub__brief-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: var(--yv-sp-gap-2);
}

.yv-sports-hub__brief-item {
    position: relative;
    padding-left: var(--yv-sp-gap-4);
    font-size: 14px;
    line-height: 1.5;
    color: var(--yv-sp-text);
    overflow-wrap: anywhere;
}

.yv-sports-hub__brief-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--yv-sp-red);
}

.yv-sports-hub__brief-item--result::before {
    background: var(--yv-sp-navy);
}

.yv-sports-hub__brief-item a {
    color: inherit;
    text-decoration: none;
}

.yv-sports-hub__brief-item a:hover {
    color: var(--yv-sp-red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.yv-sports-hub__brief-empty {
    margin: 0;
    font-size: 14px;
    color: var(--yv-sp-muted);
}

/* ---------- Bölüm başlıkları ---------- */

.yv-sports-hub__section-head,
.yv-sports-fixtures__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--yv-sp-gap-4);
    margin-bottom: var(--yv-sp-gap-4);
    padding-bottom: var(--yv-sp-gap-3);
    border-bottom: 2px solid var(--yv-sp-navy-deep);
}

.yv-sports-hub__section-head {
    position: relative;
    border-bottom-width: 1px;
}

.yv-sports-hub__section-head::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 72px;
    height: 3px;
    background: var(--yv-sp-red);
}

.yv-sports-hub__section-title,
.yv-sports-fixtures__title {
    margin: 0;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--yv-sp-navy-deep);
}

.yv-sports-hub__count,
.yv-sports-fixtures__meta {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--yv-sp-muted);
    white-space: nowrap;
}

/* ---------- Maç şeridi ---------- */

.yv-sports-fixtures {
    min-width: 0;
    padding: 20px;
    border-top: 5px solid var(--yv-sp-red);
    background: var(--yv-sp-navy-deep);
    box-shadow: var(--yv-sp-shadow);
}

.yv-sports-fixtures__head {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.yv-sports-fixtures__titles {
    min-width: 0;
}

.yv-sports-fixtures__meta {
    margin-top: var(--yv-sp-gap-1);
    color: rgba(255, 255, 255, 0.68);
}

.yv-sports-fixtures__title {
    color: var(--yv-sp-white) !important;
}

.yv-sports-fixtures__controls {
    display: flex;
    align-items: center;
    gap: var(--yv-sp-gap-2);
    flex: 0 0 auto;
}

.yv-sports-fixtures__tabs {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.yv-sports-fixtures__tab {
    appearance: none;
    min-height: 36px;
    padding: 0 var(--yv-sp-gap-3);
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.yv-sports-fixtures__tab + .yv-sports-fixtures__tab {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.yv-sports-fixtures__tab:hover {
    color: var(--yv-sp-white);
    background: rgba(255, 255, 255, 0.08);
}

.yv-sports-fixtures__tab.is-active {
    background: var(--yv-sp-red);
    color: var(--yv-sp-white);
}

.yv-sports-fixtures__nav {
    display: none;
    gap: var(--yv-sp-gap-1);
}

.yv-sports-fixtures__nav-btn {
    appearance: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--yv-sp-white);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.yv-sports-fixtures__nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.yv-sports-fixtures__nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.yv-sports-fixtures__status {
    margin-bottom: var(--yv-sp-gap-3);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
}

/* Kenarda kesilen kart için yumuşak geçiş */
.yv-sports-fixtures__viewport {
    position: relative;
    min-width: 0;
}

/* Kaydırma ipucu: sadece ok tuşlarının olmadığı küçük ekranlarda ve sonda değilken */
@media (max-width: 991px) {
    .yv-sports-fixtures__viewport::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 28px;
        height: 100%;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.2s ease;
        background: linear-gradient(to right, rgba(5, 5, 61, 0), var(--yv-sp-navy-deep) 80%);
    }

    .yv-sports-fixtures.is-scroll-end .yv-sports-fixtures__viewport::after {
        opacity: 0;
    }
}

.yv-sports-fixtures__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(232px, 1fr);
    gap: var(--yv-sp-gap-3);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--yv-sp-gap-3);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.yv-sports-fixtures__track::-webkit-scrollbar {
    height: 6px;
}

.yv-sports-fixtures__track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.yv-sports-fixtures__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
}

.yv-sports-fixtures__card {
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--yv-sp-gap-3);
    padding: var(--yv-sp-gap-3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 4px solid #4c5fac;
    background: var(--yv-sp-white);
    box-sizing: border-box;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.yv-sports-fixtures__card--finished {
    border-top-color: #b9c0cf;
    background: #f5f6f8;
}

.yv-sports-fixtures__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.yv-sports-fixtures__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--yv-sp-gap-2);
    min-height: 20px;
}

.yv-sports-fixtures__card-date {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yv-sp-muted);
    white-space: nowrap;
}

.yv-sports-fixtures__badge {
    flex: 0 0 auto;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
}

.yv-sports-fixtures__badge--finished {
    background: #eceef2;
    color: var(--yv-sp-muted);
}

.yv-sports-fixtures__badge--today {
    background: var(--yv-sp-red);
    color: #fff;
}

/* İki satırlı skor tablosu: uzun takım adları kutuyu taşırmaz */
.yv-sports-fixtures__rows {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: var(--yv-sp-gap-1);
    flex: 1 1 auto;
}

.yv-sports-fixtures__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: center;
    gap: var(--yv-sp-gap-2);
    min-height: 24px;
}

.yv-sports-fixtures__team-name {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--yv-sp-text);
    overflow-wrap: anywhere;
    hyphens: auto;
}

.yv-sports-fixtures__row.is-winner .yv-sports-fixtures__team-name {
    font-weight: 800;
    color: var(--yv-sp-navy-deep);
}

.yv-sports-fixtures__team-score {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    color: var(--yv-sp-muted);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.yv-sports-fixtures__row.is-winner .yv-sports-fixtures__team-score {
    color: var(--yv-sp-red);
}

.yv-sports-fixtures__card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--yv-sp-gap-2) var(--yv-sp-gap-3);
    padding-top: var(--yv-sp-gap-2);
    border-top: 1px solid var(--yv-sp-line);
}

.yv-sports-fixtures__tz {
    display: inline-flex;
    align-items: baseline;
    gap: var(--yv-sp-gap-1);
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.yv-sports-fixtures__tz-city {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--yv-sp-faint);
}

.yv-sports-fixtures__tz-time {
    font-weight: 700;
    color: var(--yv-sp-text);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.yv-sports-fixtures__empty {
    margin: 0;
    padding: var(--yv-sp-gap-6);
    border: 1px dashed #d6d9e0;
    background: var(--yv-sp-surface);
    color: var(--yv-sp-muted);
    font-size: 14px;
    text-align: center;
}

/* ---------- Manşet ---------- */

.yv-sports-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--yv-sp-gap-4);
    min-width: 0;
}

.yv-sports-featured__section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--yv-sp-gap-4);
    padding-bottom: var(--yv-sp-gap-3);
    border-bottom: 3px solid var(--yv-sp-navy-deep);
}

.yv-sports-featured__section-kicker {
    order: 2;
    margin: 0;
    color: var(--yv-sp-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.yv-sports-featured__section-title {
    margin: 0;
    color: var(--yv-sp-navy-deep);
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Mozaik: solda tam boy manşet, sağ üstte geniş kare, sağ altta iki küçük kare. */
.yv-sports-featured__mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 6px;
    aspect-ratio: 128 / 57;
    min-height: 330px;
    min-width: 0;
    border: 1px solid var(--yv-sp-line);
    background: var(--yv-sp-line);
    box-shadow: 0 12px 30px rgba(5, 5, 61, 0.08);
}

.yv-sports-featured__cell {
    position: relative;
    min-width: 0;
    min-height: 0;
}

.yv-sports-featured__cell--hero {
    grid-row: span 2;
}

.yv-sports-featured__cell--wide {
    grid-column: span 2;
}

.yv-sports-featured__tile {
    position: relative;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--yv-sp-navy-deep);
}

.yv-sports-featured__tile-link {
    display: block;
    position: relative;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.yv-sports-featured__tile-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--yv-sp-navy-deep);
}

.yv-sports-featured__tile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 35, 0.94) 0%, rgba(5, 5, 35, 0.58) 38%, rgba(5, 5, 35, 0.04) 72%);
    pointer-events: none;
}

.yv-sports-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.yv-sports-featured__tile-link:hover .yv-sports-featured__img {
    transform: scale(1.045);
}

.yv-sports-featured__tile-copy {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: var(--yv-sp-gap-3);
    color: var(--yv-sp-white);
}

.yv-sports-featured__chip {
    display: inline-block;
    margin-bottom: var(--yv-sp-gap-2);
    padding: 3px 8px;
    background: var(--yv-sp-navy-deep);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
}

.yv-sports-featured__tile--hero .yv-sports-featured__chip {
    background: var(--yv-sp-red);
}

.yv-sports-featured__tile-title {
    margin: 0;
    font-weight: 800 !important;
    line-height: 1.24;
    letter-spacing: -0.01em;
    color: var(--yv-sp-white) !important;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yv-sports-featured__tile-link:hover .yv-sports-featured__tile-title {
    text-decoration: underline;
    text-decoration-color: #ff6b7f;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.yv-sports-featured__tile--hero .yv-sports-featured__tile-copy {
    padding: var(--yv-sp-gap-6);
}

.yv-sports-featured__tile--hero .yv-sports-featured__tile-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    font-weight: 900 !important;
    -webkit-line-clamp: 3;
}

.yv-sports-featured__tile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--yv-sp-gap-1) var(--yv-sp-gap-2);
    margin: var(--yv-sp-gap-2) 0 0;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
}

.yv-sports-featured__tile-meta > * + *::before {
    content: "•";
    margin-right: var(--yv-sp-gap-2);
    color: rgba(255, 255, 255, 0.5);
}

.yv-sports-featured__tile--wide .yv-sports-featured__tile-copy {
    padding: var(--yv-sp-gap-4);
}

.yv-sports-featured__tile--wide .yv-sports-featured__tile-title {
    font-size: clamp(1rem, 1.35vw, 1.25rem) !important;
    -webkit-line-clamp: 2;
}

.yv-sports-featured__tile--square .yv-sports-featured__tile-title {
    font-size: 14px !important;
    -webkit-line-clamp: 3;
}

/* Geniş kare: kayan manşetler */
.yv-sports-featured__slider,
.yv-sports-featured__slides {
    position: relative;
    height: 100%;
}

.yv-sports-featured__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms ease-out;
}

.yv-sports-featured__slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* Okuma-listesi butonu sağ üstte durduğu için kontroller sol üstte. */
.yv-sports-featured__slider-ui {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: var(--yv-sp-gap-1);
    padding: 4px;
    background: rgba(5, 5, 35, 0.72);
}

.yv-sports-featured__slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background 160ms ease-out;
}

.yv-sports-featured__slider-btn:hover {
    background: var(--yv-sp-red);
}

.yv-sports-featured__dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 var(--yv-sp-gap-1);
}

.yv-sports-featured__dot {
    position: relative;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: background 160ms ease-out, transform 160ms ease-out;
}

.yv-sports-featured__dot.is-active {
    background: var(--yv-sp-red);
    transform: scale(1.35);
}

.yv-sports-featured__slider-btn:focus-visible,
.yv-sports-featured__dot:focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 2px;
}

/* Manşet karelerinde global kaydet butonu koyu görsel üzerinde okunur kalmalı. */
.yv-sports-featured__tile .vatan-reading-save-btn {
    z-index: 3;
    color: #fff;
    background: rgba(5, 5, 35, 0.6);
}

.yv-sports-featured__tile .vatan-reading-save-btn:hover {
    background: rgba(196, 30, 58, 0.92);
}

/* Global okuma-listesi emojisini bu editoryal alanda net bir SVG-benzeri işarete dönüştür. */
.yv-sports-hub .vatan-reading-save-btn {
    width: 40px;
    height: 40px;
    border-radius: 0;
    font-size: 0;
    color: var(--yv-sp-navy-deep);
    background: transparent;
    border: 0;
}

.yv-sports-hub .vatan-reading-save-btn::before {
    content: "";
    width: 12px;
    height: 17px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.7));
}

.yv-sports-hub .vatan-reading-save-btn:hover {
    background: rgba(5, 5, 61, 0.08);
}

.yv-sports-hub .vatan-reading-save-btn.is-saved {
    color: var(--yv-sp-red);
    background: transparent;
}

.yv-sports-hub .vatan-reading-save-btn:focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 3px;
}

/* ---------- Puan durumu ---------- */

.yv-sports-hub__standings {
    min-width: 0;
}

/* Spor hub içinde dış hairline kenarlık yok; bölüm başlığı yeterli. */
.yv-sports-hub__standings .yv-standings {
    border: 0;
    padding-top: 0;
}

/* ---------- Haber listesi ---------- */

.yv-sports-hub__feed {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
}

/* Üç sütunlu haber akışı; kart yüksekliği içeriğe göre doğal kalır. */
.yv-sports-hub__news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: var(--yv-sp-gap-3);
    align-items: stretch;
    flex: none;
}

.yv-sports-hub__news-item {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--yv-sp-line);
    background: var(--yv-sp-white);
    box-sizing: border-box;
    transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.yv-sports-hub__news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--yv-sp-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 180ms ease-out;
}

.yv-sports-hub__news-item:hover::before {
    transform: scaleY(1);
}

.yv-sports-hub__news-item:hover {
    transform: translateY(-2px);
    border-color: #d6d9e2;
    box-shadow: 0 10px 22px rgba(5, 5, 61, 0.09);
}

.yv-sports-hub__news-item:first-child {
    padding: 0;
}

.yv-sports-hub__news-media {
    overflow: hidden;
    background: var(--yv-sp-surface);
    min-height: 0;
    aspect-ratio: 16 / 9;
}

.yv-sports-hub__news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 260ms ease-out;
}

.yv-sports-hub__news-item:hover .yv-sports-hub__news-img {
    transform: scale(1.025);
}

.yv-sports-hub__news-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: var(--yv-sp-gap-3) var(--yv-sp-gap-4) var(--yv-sp-gap-4);
}

.yv-sports-hub__news-title {
    margin: 0 0 var(--yv-sp-gap-2);
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.32;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yv-sports-hub__news-title a {
    color: var(--yv-sp-navy-deep);
    text-decoration: none;
}

.yv-sports-hub__news-title a:hover {
    color: var(--yv-sp-red);
}

.yv-sports-hub__news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--yv-sp-gap-1) var(--yv-sp-gap-3);
    margin-bottom: var(--yv-sp-gap-2);
    font-size: 12px;
    font-weight: 600;
    color: var(--yv-sp-faint);
    font-variant-numeric: tabular-nums;
}

.yv-sports-hub__news-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--yv-sp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Haber akışına karışan editoryal hava durumu kartı. */
.yv-sports-weather-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    padding: var(--yv-sp-gap-4);
    overflow: hidden;
    background: var(--yv-sp-navy-deep);
    color: #fff;
    box-sizing: border-box;
}

.yv-sports-weather-card::before {
    content: "SYD";
    position: absolute;
    z-index: -1;
    right: -8px;
    bottom: -20px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 86px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.yv-sports-weather-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--yv-sp-red);
}

.yv-sports-weather-card__head,
.yv-sports-weather-card__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--yv-sp-gap-3);
}

.yv-sports-weather-card__kicker,
.yv-sports-weather-card__live {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.yv-sports-weather-card__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.72);
}

.yv-sports-weather-card__live::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #62d98b;
    border-radius: 50%;
}

.yv-sports-weather-card__current {
    flex: 1 1 auto;
}

.yv-sports-weather-card__city {
    margin: 0;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2;
}

.yv-sports-weather-card__temp {
    display: block;
    margin-top: var(--yv-sp-gap-1);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.yv-sports-weather-card__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.yv-sports-weather-card__forecast {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--yv-sp-gap-2);
    margin: 0;
    padding: var(--yv-sp-gap-3) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
}

.yv-sports-weather-card__forecast li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 4px;
    min-width: 0;
    font-size: 11px;
}

.yv-sports-weather-card__forecast li > span {
    grid-column: 1 / -1;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.7);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yv-sports-weather-card__forecast strong {
    font-size: 13px;
}

.yv-sports-weather-card__forecast small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.yv-sports-weather-card__unavailable {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}

.yv-sports-weather-card__unavailable p {
    margin: var(--yv-sp-gap-2) 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

/* Yan panelin dibiyle hizalanan sütunda sayfalama en altta durur. */
.yv-sports-hub__pagination {
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: var(--yv-sp-gap-6);
    border-top: 1px solid var(--yv-sp-line);
}

.yv-sports-hub__pagination > ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.yv-sports-hub__pagination > ul.page-numbers > li {
    margin: 0;
    padding: 0;
}

.yv-sports-hub__pagination a.page-numbers,
.yv-sports-hub__pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0;
    padding: 0 var(--yv-sp-gap-2);
    border: 1px solid var(--yv-sp-line);
    color: var(--yv-sp-text);
    text-decoration: none;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.yv-sports-hub__pagination span.page-numbers.current,
.yv-sports-hub__pagination a.page-numbers:hover {
    background: var(--yv-sp-red);
    border-color: var(--yv-sp-red);
    color: #fff;
}

.yv-sports-hub__empty {
    margin: 0;
    padding: var(--yv-sp-gap-6);
    border: 1px dashed #d6d9e0;
    background: var(--yv-sp-surface);
    color: var(--yv-sp-muted);
    text-align: center;
}

/* Klavye odağı renk değişiminden bağımsız ve net görünür. */
.yv-sports-hub :is(a, button):focus-visible {
    outline: 3px solid #f2b705;
    outline-offset: 3px;
}

/* ---------- Kırılmalar ---------- */

@media (min-width: 992px) {
    .yv-sports-fixtures__nav {
        display: inline-flex;
    }

    /* Masaüstünde 3 kart tam sığar, sonraki kart kenarda ipucu bırakır */
    .yv-sports-fixtures__track {
        grid-auto-columns: calc((100% - (2 * var(--yv-sp-gap-3))) / 3);
    }
}

@media (max-width: 991px) {
    .yv-sports-hub .vatan-reading-save-btn {
        width: 44px;
        height: 44px;
    }

    /* Tablet: manşet üstte tam genişlik, kareler altta üç sütun. */
    .yv-sports-featured__mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
        aspect-ratio: auto;
        min-height: 0;
    }

    .yv-sports-featured__cell--hero {
        grid-row: auto;
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .yv-sports-featured__cell--wide {
        grid-column: span 2;
        aspect-ratio: 16 / 7;
    }

    .yv-sports-featured__cell--square {
        aspect-ratio: 16 / 10;
    }

    .yv-sports-hub__news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: auto;
        flex: none;
    }
}

@media (max-width: 768px) {
    .yv-sports-hub {
        margin-top: var(--yv-sp-gap-3);
        margin-bottom: var(--yv-sp-gap-8);
    }

    .yv-sports-hub__masthead {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--yv-sp-gap-3);
        margin-bottom: var(--yv-sp-gap-3);
        padding: var(--yv-sp-gap-4);
    }

    .yv-sports-hub__masthead-title {
        font-size: 25px !important;
    }

    .yv-sports-hub__masthead-summary {
        max-width: 34rem;
    }

    .yv-sports-hub__nav {
        justify-content: flex-start;
        gap: var(--yv-sp-gap-6);
        margin: 0 calc(var(--yv-sp-gap-4) * -1) calc(var(--yv-sp-gap-4) * -1);
        padding: 0 var(--yv-sp-gap-4);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .yv-sports-hub__nav::-webkit-scrollbar {
        display: none;
    }

    .yv-sports-hub__nav a {
        min-height: 44px;
    }

    .yv-sports-hub__main {
        padding: 0;
    }

    .yv-sports-hub__hero-top {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--yv-sp-gap-3);
    }

    .yv-sports-hub__hero {
        padding: var(--yv-sp-gap-6);
    }

    .yv-sports-hub__wc-link {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .yv-sports-fixtures__head,
    .yv-sports-hub__section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--yv-sp-gap-3);
    }

    .yv-sports-fixtures__controls {
        width: 100%;
    }

    .yv-sports-fixtures__tabs {
        flex: 1 1 auto;
    }

    .yv-sports-fixtures__tab {
        flex: 1 1 0;
        min-height: 44px;
    }

    .yv-sports-fixtures__track {
        grid-auto-columns: 78%;
    }

    .yv-sports-hub__feed {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .yv-sports-fixtures__track {
        grid-auto-columns: 86%;
    }

    /* Mobil: iki ana haber tam genişlik, küçük haberler dengeli iki sütun. */
    .yv-sports-featured__mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--yv-sp-gap-2);
    }

    .yv-sports-featured__cell--hero,
    .yv-sports-featured__cell--wide {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .yv-sports-featured__cell--square {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .yv-sports-featured__tile--square .yv-sports-featured__tile-copy {
        padding: var(--yv-sp-gap-2);
    }

    .yv-sports-featured__tile--square .yv-sports-featured__chip {
        margin-bottom: var(--yv-sp-gap-1);
        padding: 2px 6px;
        font-size: 9px;
    }

    .yv-sports-featured__tile--square .yv-sports-featured__tile-title {
        font-size: 12px !important;
        line-height: 1.25;
    }

    .yv-sports-featured__tile--hero .yv-sports-featured__tile-copy {
        padding: var(--yv-sp-gap-4);
    }

    /* Dokunmatikte kontroller büyür; kaydet butonu sağ üstte kaldığı için çakışmaz. */
    .yv-sports-featured__slider-btn {
        width: 36px;
        height: 36px;
    }

    .yv-sports-featured__dots {
        gap: var(--yv-sp-gap-2);
    }

    .yv-sports-featured__dot {
        width: 10px;
        height: 10px;
    }

    .yv-sports-hub__news-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .yv-sports-weather-card {
        min-height: 280px;
    }
}

/* Tema anahtarının spor hub bileşenlerinde kontrastı bozmasına izin verme. */
body.dark-mode .yv-sports-hub {
    --yv-sp-text: #eef0f7;
    --yv-sp-muted: #bbc1d0;
    --yv-sp-faint: #9fa7ba;
    --yv-sp-line: #3b4050;
    --yv-sp-line-soft: #2d3140;
    --yv-sp-surface: #202432;
    --yv-sp-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

body.dark-mode .yv-sports-hub__main,
body.dark-mode .yv-sports-hub__feed,
body.dark-mode .yv-sports-hub__news-list {
    background: #171a26;
}

body.dark-mode .yv-sports-hub__masthead {
    background: #202432;
}

body.dark-mode .yv-sports-hub__masthead-title,
body.dark-mode .yv-sports-hub__nav a {
    color: #f2f3f8 !important;
}

body.dark-mode .yv-sports-hub__news-item {
    background: #202432;
}

body.dark-mode .yv-sports-hub__brief {
    background: #202432;
}

body.dark-mode .yv-sports-hub__brief-title,
body.dark-mode .yv-sports-hub__brief-item,
body.dark-mode .yv-sports-hub__section-title,
body.dark-mode .yv-sports-featured__section-title,
body.dark-mode .yv-sports-hub__news-title a {
    color: #f2f3f8 !important;
}

body.dark-mode .yv-sports-hub__section-head,
body.dark-mode .yv-sports-featured__section-head {
    border-bottom-color: #767f9a;
}

body.dark-mode .yv-sports-fixtures__card,
body.dark-mode .yv-sports-fixtures__card--finished {
    background: #202432;
    border-color: #3b4050;
}

body.dark-mode .yv-sports-fixtures__team-name,
body.dark-mode .yv-sports-fixtures__team-score,
body.dark-mode .yv-sports-fixtures__tz-time {
    color: #eef0f7;
}

body.dark-mode .yv-sports-fixtures__row.is-winner .yv-sports-fixtures__team-name {
    color: #fff;
}

body.dark-mode .yv-sports-fixtures__badge--finished {
    background: #34394a;
    color: #c8cedd;
}

body.dark-mode .yv-sports-hub .vatan-reading-save-btn {
    color: #fff;
}

body.dark-mode .yv-sports-hub .vatan-reading-save-btn.is-saved {
    color: #ff6b7f;
}

body.dark-mode .yv-sports-hub__pagination .page-numbers {
    color: #eef0f7;
    border-color: #3b4050;
}

@media (prefers-reduced-motion: reduce) {
    .yv-sports-featured__img,
    .yv-sports-featured__slide,
    .yv-sports-featured__dot,
    .yv-sports-hub__news-img,
    .yv-sports-hub__news-item::before,
    .yv-sports-hub__news-item,
    .yv-sports-hub__wc-link,
    .yv-sports-hub__nav a::after,
    .yv-sports-fixtures__tab,
    .yv-sports-fixtures__nav-btn,
    .yv-sports-fixtures__card {
        transition: none;
    }

    .yv-sports-featured__tile-link:hover .yv-sports-featured__img,
    .yv-sports-hub__news-item:hover .yv-sports-hub__news-img,
    .yv-sports-hub__news-item:hover,
    .yv-sports-fixtures__card:hover {
        transform: none;
    }

    .yv-sports-featured__dot.is-active {
        transform: none;
    }
}
