/* Haberden habere akış: Haber sonu bandı + akışa eklenen haber.
   Bant iki temada da koyu sahne (footer gibi); zemin tonu haber kapağının kenar renginden gelir
   (--band-ton, ürün profili sahnesiyle aynı yöntem). Yükseklik sabit: Akış yüklenirken sayfa kaymaz.
   Gece modu tuzağı: site.css'teki genel "a:not(...)" kuralı (özgüllük 0,6,0) özel linklerin rengini
   mercana çevirir; bu dosyadaki link renkleri bu yüzden !important. */

/* ========================= HABER SONU BANDI ========================= */

.og-band {
    --band-ton: #1d2540;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    height: 300px;
    margin: 72px 0 40px;
    border-radius: 24px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    isolation: isolate;
    background: linear-gradient(160deg, #1b2236 0%, #0b0e17 100%);
    background:
        radial-gradient(90% 120% at 50% 118%, color-mix(in srgb, var(--band-ton) 85%, #ffffff 15%) 0%, transparent 62%),
        linear-gradient(160deg, color-mix(in srgb, var(--band-ton) 62%, #0b0e17) 0%, color-mix(in srgb, var(--band-ton) 22%, #07090f) 100%);
    box-shadow: 0 26px 50px -30px rgba(15, 20, 40, 0.6);
}

/* Marka şeridi: Footer'ın kırmızısı, iki temada aynı */
.og-band::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #ef3a2b, #ff6b6b);
    z-index: 0;
}

[data-theme="dark"] .og-band {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 26px 50px -30px rgba(0, 0, 0, 0.8);
}

/* ---------- karakter sahnesi ---------- */

/* Sahne bandın 48px üstüne taşar: Karakterlerin başı banttan (ve marka şeridinin önünden) dışarı çıkar. */
.og-band__sahne {
    position: absolute;
    inset: -48px 0 0 0;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    pointer-events: none;
    z-index: 1;
}

.og-band__kadro {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32%;
}

.og-band__kadro--sol { left: 0; }
.og-band__kadro--sag { right: 0; }

/* Boy boy çizimler (şeffaf zemin): Önde büyük, arkada soluk ikinci figür */
.og-band--boy .og-band__k {
    position: absolute;
    bottom: -6px;
    width: auto;
    height: 340px;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
}

.og-band--boy .og-band__kadro--sol .og-band__k--1 { left: -2%; z-index: 2; }
.og-band--boy .og-band__kadro--sol .og-band__k--2 { left: 34%; height: 290px; opacity: 0.5; z-index: 1; filter: brightness(0.75) blur(0.5px); }
.og-band--boy .og-band__kadro--sag .og-band__k--1 { right: -2%; z-index: 2; }
.og-band--boy .og-band__kadro--sag .og-band__k--2 { right: 34%; height: 290px; opacity: 0.5; z-index: 1; filter: brightness(0.75) blur(0.5px); }

/* Portreler: Halkalı yuvarlak rozetler, hafifçe süzülür */
.og-band--portre .og-band__k {
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    /* Görsel gelene kadar boş delik gibi durmasın */
    background: linear-gradient(135deg, #3a4266, #171c2c);
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
    animation: og-band-suzul 6s ease-in-out infinite;
}

.og-band--portre .og-band__kadro--sol .og-band__k--1 { left: 10%; top: 44%; width: 108px; height: 108px; }
.og-band--portre .og-band__kadro--sol .og-band__k--2 { left: 42%; top: 18%; width: 74px; height: 74px; animation-delay: -2s; }
.og-band--portre .og-band__kadro--sol .og-band__k--3 { left: 46%; top: 66%; width: 62px; height: 62px; animation-delay: -4s; }
.og-band--portre .og-band__kadro--sag .og-band__k--1 { right: 10%; top: 44%; width: 108px; height: 108px; animation-delay: -1s; }
.og-band--portre .og-band__kadro--sag .og-band__k--2 { right: 42%; top: 18%; width: 74px; height: 74px; animation-delay: -3s; }
.og-band--portre .og-band__kadro--sag .og-band__k--3 { right: 46%; top: 66%; width: 62px; height: 62px; animation-delay: -5s; }

@keyframes og-band-suzul {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .og-band--portre .og-band__k { animation: none; }
}

/* ---------- orta: sıradaki haber ---------- */

.og-band__orta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 24px 10px;
    min-height: 0;
}

/* Karakterler yazının arkasına girerse okunsun: Ortada hafif karartma */
.og-band__orta::before {
    content: "";
    position: absolute;
    inset: 10px 26%;
    background: radial-gradient(closest-side, rgba(6, 8, 15, 0.55), transparent);
    z-index: -1;
    pointer-events: none;
}

.og-band__sonraki,
.og-band__son {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(540px, 100%);
}

.og-band__son { display: none; }
.og-band.is-son .og-band__son { display: flex; }
.og-band.is-son .og-band__sonraki { display: none; }

.og-band__etiket {
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff8a80;
}

.og-band__kart {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.og-band__kart:hover,
.og-band__kart:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 138, 128, 0.6);
    transform: translateY(-2px);
}

.og-band__kapak {
    flex: 0 0 160px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.og-band__kapak img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.og-band__metin {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    text-align: left;
}

.og-band__baslik {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.og-band__git {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.og-band__kart--son { justify-content: center; padding: 16px; }
.og-band__kart--son .og-band__metin { align-items: center; text-align: center; }

/* ---------- alt: kompakt footer ---------- */

.og-band__alt {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    margin: 0 22px;
    padding: 12px 6px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.og-band .og-band__logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none !important;
}

.og-band__linkler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
}

.og-band__sosyal {
    display: flex;
    gap: 14px;
    font-size: 1rem;
}

.og-band .og-band__linkler a,
.og-band .og-band__sosyal a {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.og-band .og-band__linkler a:hover,
.og-band .og-band__sosyal a:hover {
    color: #fff !important;
}

/* Akış tetikleyicisi (görünmez işaret) */
.og-akis-tetik {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* ---------- mobil ---------- */

@media (max-width: 767.98px) {
    .og-band {
        height: 410px;
        margin: 64px 0 32px;
        border-radius: 20px;
    }

    .og-band__sahne { border-radius: 0 0 20px 20px; }
    .og-band__kadro { width: 50%; }

    /* Karakterler üst köşelerden bakar, etiket ve kart altlarında kalır */
    .og-band--boy .og-band__k--2 { display: none; }
    .og-band--boy .og-band__k--1 { height: 170px; bottom: auto; top: 0; }
    .og-band--boy .og-band__kadro--sol .og-band__k--1 { left: -18%; }
    .og-band--boy .og-band__kadro--sag .og-band__k--1 { right: -18%; }

    .og-band--portre .og-band__kadro--sol .og-band__k--1 { left: 6%; top: 34px; width: 72px; height: 72px; }
    .og-band--portre .og-band__kadro--sol .og-band__k--2 { left: 34%; top: 14px; width: 52px; height: 52px; }
    .og-band--portre .og-band__kadro--sol .og-band__k--3 { display: none; }
    .og-band--portre .og-band__kadro--sag .og-band__k--1 { right: 6%; top: 34px; width: 72px; height: 72px; }
    .og-band--portre .og-band__kadro--sag .og-band__k--2 { right: 34%; top: 14px; width: 52px; height: 52px; }
    .og-band--portre .og-band__kadro--sag .og-band__k--3 { display: none; }

    .og-band__orta {
        align-items: flex-start;
        padding: 126px 14px 8px;
    }

    .og-band__orta::before { inset: 104px 4% 0; }

    .og-band__kapak { flex-basis: 112px; }
    .og-band__baslik { font-size: 1rem; -webkit-line-clamp: 3; }
    .og-band__git { font-size: 0.8rem; }

    .og-band__alt {
        justify-content: center;
        margin: 0 12px;
        padding: 10px 4px 14px;
        gap: 6px 14px;
    }
}

/* ========================= AKIŞA EKLENEN HABER ========================= */

/* Ekran dışındaki haber çizilmez (uzun oturumda mobil akıcı kalır); boyut hatırlanır, kayma olmaz. */
.og-akis-birim--akis {
    content-visibility: auto;
    contain-intrinsic-size: auto 2400px;
}

.og-akis-birim--akis,
.og-akis-birim {
    scroll-margin-top: 80px;
}

/* Dolu reklam bloğu iç boşluklarını kendi içinde tutsun: Budanınca aynı yükseklik korunur. */
.og-akis-birim--akis .og-ad-block:has(*) {
    display: flow-root;
}

.og-akis-haber {
    padding-top: 8px;
}

.og-akis-h .og-akis-h__link {
    color: inherit !important;
    text-decoration: none !important;
}

.og-akis-eylem {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.og-akis-eylem .og-akis-eylem__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #1f2430 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.og-akis-eylem .og-akis-eylem__btn:hover {
    border-color: #ef3a2b;
    color: #ef3a2b !important;
}

[data-theme="dark"] .og-akis-eylem .og-akis-eylem__btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: #e8eaf0 !important;
}

[data-theme="dark"] .og-akis-eylem .og-akis-eylem__btn:hover {
    border-color: #ff6b6b;
    color: #ff8a80 !important;
}

.og-akis-reklam {
    margin-bottom: 24px;
}

/* ---------- yükleme iskeleti ---------- */

.og-akis-iskelet {
    padding: 40px 0 24px;
    --sk-a: rgba(0, 0, 0, 0.06);
    --sk-b: rgba(0, 0, 0, 0.11);
}

[data-theme="dark"] .og-akis-iskelet {
    --sk-a: rgba(255, 255, 255, 0.05);
    --sk-b: rgba(255, 255, 255, 0.1);
}

.og-akis-iskelet span {
    display: block;
    border-radius: 10px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%);
    background-size: 200% 100%;
    animation: og-akis-parilti 1.4s linear infinite;
}

.og-akis-iskelet__rozet { width: 90px; height: 22px; }
.og-akis-iskelet__baslik { width: 92%; height: 34px; }
.og-akis-iskelet__baslik.is-kisa { width: 60%; margin-bottom: 26px !important; }
.og-akis-iskelet__kapak { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px !important; margin-bottom: 26px !important; }
.og-akis-iskelet__satir { width: 100%; height: 14px; }
.og-akis-iskelet__satir.is-kisa { width: 70%; }

@keyframes og-akis-parilti {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .og-akis-iskelet span { animation: none; }
}

/* ---------- elle yükleme düğmesi (hata ya da veri tasarrufu) ---------- */

.og-akis-dugme-kap {
    padding: 24px 0 40px;
    text-align: center;
}

.og-akis-dugme {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ef3a2b, #ff6b6b);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    box-shadow: 0 10px 24px -12px rgba(239, 58, 43, 0.7);
    cursor: pointer;
}

.og-akis-dugme:hover { filter: brightness(1.05); }
