/* Dış medya yer tutucusu (plans\site-denetim-seo-erisilebilirlik.md Dalga 5b, K17; CMS\Helpers\DisMedyaHelper, includes\cms\dis-medya.js).
   bundle.css'e girmez (bundleconfig ile üretiliyor); _Layout'ta ayrı ve asp-append-version ile bağlıdır. */

.dis-medya-yer-tutucu {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 200px;
    padding: 20px;
    background: #2f3538 repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 10px, transparent 10px, transparent 20px);
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    overflow: auto;
}

.dis-medya-yer-tutucu-icerik {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

/* Harita önizleme görseli (K21): kartın arka planı, metin okunabilsin diye üstünde koyu katman */
.dis-medya-yer-tutucu.dis-medya-onizlemeli {
    position: relative;
    overflow: hidden;
}

.dis-medya-yer-tutucu .dis-medya-onizleme {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dis-medya-yer-tutucu.dis-medya-onizlemeli::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.dis-medya-yer-tutucu .dis-medya-adres {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
}

.dis-medya-yer-tutucu .dis-medya-baslik {
    font-weight: bold;
    margin-bottom: 8px;
    color: #ffffff;
}

.dis-medya-yer-tutucu .dis-medya-aciklama {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #d8dcde;
}

/* Butonlar dar ekranda alt satıra düşünce birbirine yapışmasın (çerez bandıyla aynı) */
.dis-medya-yer-tutucu .dis-medya-butonlar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
}

.dis-medya-gosterilemez {
    padding: 16px;
    background: #f3f3f3;
    color: #666666;
    text-align: center;
    font-size: 13px;
}

/* Carousel YouTube slaytı (includes\js\carousel.js): izin yoksa küçük resim üzerinde oynat butonu + açıklama */
.carousel-youtube-yer-tutucu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-width: 90%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: #ffffff;
    text-align: center;
}

.carousel-youtube-yer-tutucu .carousel-youtube-oynat {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #ff0000;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
}

.carousel-youtube-yer-tutucu p {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #ffffff;
}

/* YouTube küçük resminin yerel kopyası henüz yokken (YoutubeKucukResimHelper boş görsel basar) nötr zemin */
img.youtube-thumb[src^="data:"],
img.carousel-bg.youtube[src^="data:"] {
    background: #2f3538;
}

/* iframe'ler (sunucu / yer tutucu) taşmasın */
iframe[src^="https://www.youtube-nocookie.com/"],
iframe[src^="https://player.vimeo.com/"] {
    max-width: 100%;
}
