﻿/* ================= ETKİNLİKLER + SON YÜKLENEN VİDEOLAR =================
     < 992px   : mobil — büyük görsel, altında 3 küçük yan yana
     >= 992px  : büyük görsel + sağda alt alta 3 küçük
     >= 1200px : iki bölüm yan yana (col-xl-5 / col-xl-7)
*/

.EvBolum {
    margin-bottom: 2.5rem;
}

/* ---------- Mobil başlık ---------- */
.EvMobilBaslik {
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #444;
}

.EvMobilBaslikSol {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

    .EvMobilBaslikSol h2 {
        margin: 0;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 700;
    }

.EvKare {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.EvKareBeyaz {
    background: #fff;
}

.EvKareYesil {
    background: #6aa94c;
}

.EvTumu {
    color: #e9a91b;
    text-decoration: none;
    font-size: 1.05rem;
}

    .EvTumu:hover {
        color: #fff;
    }


/* ===================== ETKİNLİKLER ===================== */
.EtIcerik {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
}

/* Görseller kırpılmaz: kendi oranlarıyla tam görünür */
.EtBuyukGorsel,
.EtKucuk {
    display: block;
    overflow: hidden;
    background: #1d1d1d;
}

    .EtBuyukGorsel img,
    .EtKucuk img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform .5s ease;
    }

    .EtBuyuk:hover .EtBuyukGorsel img,
    .EtKucuk:hover img {
        transform: scale(1.04);
    }

.EtBuyuk {
    display: block;
    text-decoration: none;
    background: #2f2f2f;
}

.EtBuyukMetin {
    display: block;
    padding: 12px 12px 14px;
}

.EtBaslik {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    color: #f0a020;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.EtBuyuk:hover .EtBaslik {
    color: #fff;
}

.EtOzet {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #d6d9de;
    font-size: .8rem;
    line-height: 1.55;
}

.EtKucukler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 4px;
}


/* ===================== VİDEOLAR ===================== */
.VdIcerik {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
}

.VdBuyuk {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.VdOynatici {
    position: absolute;
    inset: 0;
}

    .VdOynatici iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.VdBuyukLink {
    display: block;
    width: 100%;
    height: 100%;
}

    .VdBuyukLink img,
    .VdKucuk img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }

    .VdBuyukLink:hover img,
    .VdKucuk:hover img {
        transform: scale(1.04);
    }

/* Kuş adı etiketi (büyük video, sol üst, yeşil) */
.VdEtiket {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    max-width: 70%;
    padding: 2px 6px;
    background: #6aa94c;
    color: #fff;
    font-size: .7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.VdBuyuk.oynuyor .VdEtiket {
    display: none;
}

/* Oynat simgesi (sağ üst) */
.VdPlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    color: #fff;
    opacity: .85;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

    .VdPlay circle {
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
    }

    .VdPlay polygon {
        fill: currentColor;
    }

.VdBuyukLink:hover .VdPlay,
.VdKucuk:hover .VdPlay {
    opacity: 1;
    transform: scale(1.08);
}

/* Küçük videolar */
.VdKucukler {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.VdKucuk {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    text-decoration: none;
}

    .VdKucuk .VdPlay {
        top: 5px;
        right: 5px;
        width: 18px;
        height: 18px;
    }

    .VdKucuk.aktif {
        outline: 2px solid #6aa94c;
        outline-offset: -2px;
    }

.VdKucukAd {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 100%;
    padding: 2px 6px;
    background: rgba(30, 30, 30, .85);
    color: #fff;
    font-size: .68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===================== >= 992px : büyük + sağda 3 küçük ===================== */
@media (min-width: 992px) {

    /* Etkinlikler: 460 : 194 oranında iki sütun */
    .EtIcerik {
        grid-template-columns: minmax(0, 100%) minmax(0, 194fr);
        gap: 0px;
    }

    .EtBuyukMetin {
        padding: 12px 6px 12px;
    }

    .EtBaslik {
        color: #f0892a;
        font-size: 1.15rem;
        font-weight: 500;
    }

    .EtOzet {
        font-size: .85rem;
    }

    .EtKucukler {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
        margin: 0;
        padding: 8px;
        background: #333;
    }

    /* Videolar: 717 : 229 oranında iki sütun */
    .VdIcerik {
        grid-template-columns: minmax(0, 717fr) minmax(0, 229fr);
        gap: 32px;
    }

    .VdEtiket {
        top: 18px;
        left: 18px;
        padding: 4px 8px;
        font-size: 1.05rem;
    }

    .VdPlayBuyuk {
        top: 14px;
        right: 20px;
        width: 72px;
        height: 72px;
    }

    .VdKucukler {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
    }

    .VdKucuk .VdPlay {
        top: 8px;
        right: 14px;
        width: 28px;
        height: 28px;
    }

    .VdKucukAd {
        padding: 4px 8px;
        font-size: .95rem;
    }
}




/* ===================== >= 1200px : Etkinlikler alt hizası = Videolar alt hizası ===================== */
@media (min-width: 1200px) {

    /* Kolon içeriği dikeyde akar, row'un verdiği yüksekliği doldurur */
    .CNFaaliyetVeVideolar .EvBolum {
        display: flex;
        flex-direction: column;
    }

    .EtIcerik {
        display: flex; /* grid yerine */
        flex-direction: column;
        flex: 1 1 auto;
    }

    .EtBuyuk {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    /* Görsel alanı: kalan yüksekliği alır, kendi yüksekliğiyle kolonu uzatmaz */
    .EtBuyukGorsel {
        position: relative;
        flex: 1 1 0;
        min-height: 0;
    }

        .EtBuyukGorsel img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

    .EtBuyukMetin {
        flex: 0 0 auto;
    }
}

/* 1200–1399: video kutusu daha alçak, görsele yer kalsın diye özet 2 satır */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .EtOzet {
        -webkit-line-clamp: 2;
    }
}