/* Infomedya ekleri — 2026-11-23 (SEO, hız ve mobil düzeltmeleri) */

/* Sayfaya eklenen <script>/<style> öğeleri hiçbir koşulda metin olarak görünmesin.
   (#ae-mobsub kimlik çakışması mobilde script kodunu ekrana basıp sayfayı sağa taşırıyordu.) */
script, style { display: none !important; }

/* Başlık etiketleri (H1/H2) mevcut görünümü aynen devralsın */
.ae-h { font: inherit; margin: 0; padding: 0; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit; text-align: inherit; }

/* İçerikteki geniş tablolar telefonda taşmasın (A15) */
.ae-tablo { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 15px; }
.ae-tablo > table { margin-bottom: 0; }
.subContent_right img { max-width: 100%; height: auto; }

/* Telefonda iki yana yaslı metin yerine sola yaslı (okunabilirlik) */
@media screen and (max-width: 767px) {
    .subContent_right_top, .subContent_right_top p, .subContent_right_top li, .subContent_right_top div { text-align: left !important; }
}

/* Ana sayfa: yorumlar "Tümünü Gör" */
.ae-tumunu { text-align: center; margin: 20px 0 10px; }

/* YouTube önizleme (tıklayınca yüklenir) */
.ae-video { position: relative; display: block; width: 100%; height: 100%; min-height: 220px; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.ae-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.ae-video:hover img, .ae-video:focus img { opacity: 1; }
.ae-video_oynat { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; background: #e00; border-radius: 12px; }
.ae-video_oynat::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
@media screen and (max-width: 1149px) { .content_video_box .ae-video { aspect-ratio: 16 / 9; height: auto; } }

/* Harita (tıklayınca / görününce yüklenir) */
.ae-harita { display: flex; align-items: center; justify-content: center; background: #e9eef2 linear-gradient(135deg, #eef2f5 0%, #dfe6ec 100%); }
.ae-harita iframe { width: 100%; height: 100%; border: 0; display: block; }
.ae-harita_btn { cursor: pointer; border: 0; border-radius: 6px; background: #B6132A; color: #fff; font-family: raleway-semibold, raleway-regular, sans-serif; font-size: 15px; padding: 12px 20px; }
.ae-harita_btn:hover, .ae-harita_btn:focus { background: #0d373f; }
.ae-yol { display: inline-block; margin: 15px 0 0; }
.contact_map .ae-yol { margin: 0 0 30px; }
.contact_icerik { margin: 0 0 30px; }

/* Alt iletişim şeridi */
.ae-serit { position: fixed; z-index: 10001; display: flex; font-family: raleway-semibold, raleway-regular, sans-serif; }
.ae-serit_btn { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff !important; text-decoration: none !important; font-size: 15px; line-height: 1; white-space: nowrap; }
.ae-serit_btn svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.ae-serit_wa { background: #1fa855; }
.ae-serit_ara { background: #0d373f; }
.ae-serit_randevu { background: #B6132A; }
.ae-serit_btn:hover, .ae-serit_btn:focus { filter: brightness(1.12); }

@media screen and (max-width: 1149px) {
    .ae-serit { left: 0; right: 0; bottom: 0; height: calc(56px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #0d373f; box-shadow: 0 -2px 10px rgba(0, 0, 0, .18); }
    .ae-serit_btn { flex: 1 1 0; min-height: 56px; font-size: 14px; }
    [canvas=container] { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
    .gdpr { bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
    .comment { bottom: calc(70px + env(safe-area-inset-bottom)) !important; right: 12px !important; width: 50px !important; height: 50px !important; }
    .scrollTop.visible { bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
}

@media screen and (min-width: 1150px) {
    .ae-serit { left: 50%; bottom: 16px; transform: translateX(-50%); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
    .ae-serit_btn { padding: 13px 20px; }
    [canvas=container] { padding-bottom: 76px; }
    .gdpr { bottom: 84px !important; }
}

@media print { .ae-serit { display: none !important; } }
