/* Erzurum şehir rehberi 1.0.3 — TEST denetimi (G kodları) için kapsamlı düzeltmeler.
   Yalnız .esr-prototype altındaki onaylı bileşenleri hedefler; tema ve ortak tasarım kurallarına dokunmaz. */

/* G021: yeni sekme bildirimi ve galeri/eczane metinleri için ekran okuyucu yardımcısı */
.esr-prototype .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* G006: tema button dolgusu (15px 30px) mevsim sekmelerini taşırıyordu; yerel tarayıcı varsayılanına eşitlenir */
.esr-prototype .season-switch button{padding:1px 6px;line-height:normal;min-width:0;letter-spacing:normal}

/* G011: başlıklar kelime ortasından değil, yalnız satıra sığmayan tek sözcükte bölünür */
body.esr-restored-page .esr-prototype main :is(h1,h2,h3,h4),body.esr-restored-page .esr-prototype :is(.library-card h3,.stop h3){overflow-wrap:break-word;word-break:normal;hyphens:manual}
@media (max-width:420px){body.esr-restored-page .esr-prototype .result-copy h3{font-size:16px;overflow-wrap:break-word}}
/* 1.0.4: kaydırma kabındaki coğrafi işaret tablosu başlıkları sözcük ortasından bölünmez; tablo kendi kabında kayar */
body.esr-restored-page .esr-prototype .batch-table-scroll th{overflow-wrap:normal;word-break:keep-all;hyphens:manual}
@media (max-width:380px){body.esr-restored-page .esr-prototype section.hero h1{font-size:27px}}

/* G012: kart zemini (#6E6876) üzerindeki küçük şeftali ve gri metinler (ölçüm: 3,75:1 ve 3,79:1).
   Aynı tonun açık hâli (#FFE9DD 4,6:1) ve krem (#F1EEF4 4,68:1); büyük başlık ve oklar değişmez. */
.esr-prototype :is(.nearby-card h3,.nearby-card h3>span,.discovery-card h3,.discovery-card h3>span,.place-card-caption h4,.result-copy h3,
 .eyebrow,.guide-status,.nature-status,.library-access,.library-details>a,.culture-action>span,.gi-card-action>span,.guide-place-action>span,
 #index-rows a,.place-card-arrow,.district-row-arrow,.place-result>span,
 .nature-copy h3,.guide-place-copy h3,.stop-copy h3,.stop-copy h3>span,.culture-guide-copy h3,.library-card h3,#selected-district){color:#FFE9DD}
.esr-prototype[data-esrd-key=S15] :is(article>a,article h3){color:#FFE9DD}
/* 1.0.4: #655F6C zemininde 18 px kalın kart başlıkları (4,24:1) */
.esr-prototype:is([data-esrd-key=S08],[data-esrd-key=S09]) :is(article>h3,a>h3,h3>span){color:#FFE9DD}
.esr-prototype :is(.library-card dt,.visit-card dt,dl div>dt){color:#F1EEF4}

/* G016: kısaltılan başlığın tam adı içeriğin ilk bölümünde korunur (hero'ya açıklama eklenmez) */
.esr-prototype .esrd-tam-ad{margin:0 0 14px;font-size:15px;line-height:1.55;color:#F1EEF4;max-width:46em}
.esr-prototype .esrd-tam-ad span{font-weight:700}

/* G017: kurum telefonları dokunarak aranabilir; metin biçimi korunur */
.esr-prototype a.esrd-tel{color:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;display:inline-block;min-height:24px}

/* G018: küçük dokunma hedefleri (kırıntı yolu, okuma ve kaynak listeleri) en az 24 px */
.esr-prototype nav.breadcrumb a{display:inline-block;min-height:24px;padding-block:2px;line-height:20px}
.esr-prototype :is(.reading-section,.esr-source,.district-sources,.district-reading) li>a{display:inline-block;min-height:24px;padding-block:2px}
.esr-prototype input[type=checkbox]{min-width:24px;min-height:24px}
/* Satır yüksekliğini değiştirmeden tıklama alanı: satır içi bağlantılara dikey dolgu (≥24 px kutu) */
.esr-prototype main :is(p,li,article,small,.hero-actions,.featured-heading)>a:not(.button):not([class*=card]){padding-block:4px}
.esr-prototype .hero-actions>a,.esr-prototype .history-note>a{padding-block:4px}
/* G018 (1.0.7): yer künyesindeki kaynak etiketi bağlantıları (ör. E01 "Kültür Portalı", "TDV", "VGM") 12 px yazıyla
   23 px kalıyordu. Yalnız bu bileşende gerçek tıklama kutusu en az 24×24; metin, adres ve satır akışı değişmez. */
body.esr-restored-page .esr-prototype .place-key-facts dd small>a{display:inline-flex;align-items:center;justify-content:center;min-height:24px;min-width:24px;padding-block:0}

/* G020: mobil ilçe haritasında yakınlaştırma düğmeleri ilçe etiketlerini örtmez; harita altında sağa hizalanır */
@media (max-width:640px){
 .esr-prototype .map-corner-controls{position:static;flex-direction:row;width:max-content;margin:8px 0 0 auto}
 .esr-prototype .map-corner-controls button+button{border-top:0;border-left:1px solid var(--eot-sinir-guclu)}
}

/* G010: boş ilçe açıklaması */
.esr-prototype .esrd-empty-district{margin-top:10px}
.esr-prototype .esrd-empty-district a{text-decoration:underline;text-underline-offset:3px}
/* FOTO (1.0.8): galerisi olmayan bölümlerde sade fotoğraf bloğu; kırpma yok (oran korunur) */
body.esr-restored-page .esr-prototype figure.esrd-foto{margin:20px 0 24px;max-width:680px}
body.esr-restored-page .esr-prototype figure.esrd-foto.esrd-foto--kucuk{max-width:420px}
body.esr-restored-page .esr-prototype figure.esrd-foto.esrd-foto--dikey{max-width:360px}
body.esr-restored-page .esr-prototype figure.esrd-foto img{display:block;width:100%;height:auto;max-width:100%;border-radius:10px;background:#2f2a35}
body.esr-restored-page .esr-prototype figure.esrd-foto figcaption{margin-top:9px}
body.esr-restored-page .esr-prototype figure.esrd-foto figcaption p{margin:0;max-width:none;font-size:13px;line-height:1.6;color:#ddd6e2}
body.esr-restored-page .esr-prototype figure.esrd-foto .esrd-foto-aciklama{font-size:14px;color:#f3edf6}
body.esr-restored-page .esr-prototype figure.esrd-foto .esrd-foto-kunye{margin-top:3px;color:#e6e0ea}
body.esr-restored-page .esr-prototype figure.esrd-foto .esrd-foto-kunye a{color:#ffcdb2;text-decoration:underline;text-underline-offset:2px}
/* T4-05: hedef bölüm sabit başlığın altında kalsın; prototip bölümlerindeki ayrı scroll-margin değerleri html scroll-padding'e eklenmesin */
body.esr-restored-page .esr-prototype [id]{scroll-margin-top:12px}
/* T4-02/T4-04 (1.0.9): S01 Coğrafya ve Tarih — 25 Ekim'de metin div.city-copy içine alındığında onaylı .reading-section>p tipografisi
   artık eşleşmiyordu. Onaylı değerler (24 Ekim): gövde #ddd6e2 16/1.85, en çok 76ch, paragraf arası 16 px; alt başlık şeftali 20 px. */
body.esr-restored-page .esr-prototype .reading-section .city-copy>p,
body.esr-restored-page .esr-prototype .reading-section .city-copy>ul{color:#ddd6e2;font-size:16px;line-height:1.85;max-width:76ch;margin:0 0 16px}
body.esr-restored-page .esr-prototype .reading-section .city-copy>ul{padding-left:1.2em}
body.esr-restored-page .esr-prototype .reading-section .city-copy>ul>li{margin:0 0 6px}
body.esr-restored-page .esr-prototype .reading-section .city-copy>h3{font-size:20px;line-height:1.35;color:var(--eot-seftali);margin:30px 0 10px;font-weight:700}
body.esr-restored-page .esr-prototype .reading-section .city-copy>h3:first-child{margin-top:0}
body.esr-restored-page .esr-prototype .reading-section .city-copy>h2{font-size:23px;line-height:1.3;color:var(--eot-seftali);margin:34px 0 12px}
body.esr-restored-page .esr-prototype .reading-section .city-copy{margin-top:22px}
body.esr-restored-page .esr-prototype .reading-section .history-timeline+.city-copy{margin-top:34px;padding-top:26px;border-top:1px solid var(--eot-sinir)}
body.esr-restored-page .esr-prototype .reading-section .city-copy+.city-copy{margin-top:30px}
@media (max-width:767px){body.esr-restored-page .esr-prototype .reading-section .city-copy>p,body.esr-restored-page .esr-prototype .reading-section .city-copy>ul{font-size:15px;line-height:1.8}
body.esr-restored-page .esr-prototype .reading-section .city-copy>h2{font-size:21px}}
/* T4-09 (1.0.9): S09 güncel-1 bölümündeki iki görsel yan yana, dengeli; oran korunur. 360 px altında alt alta. */
body.esr-restored-page .esr-prototype .esrd-ikili-gorsel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:656px;margin:0 0 18px}
body.esr-restored-page .esr-prototype .esrd-ikili-gorsel>.transport-art{height:auto;margin:0}
body.esr-restored-page .esr-prototype .esrd-ikili-gorsel>.transport-art img{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain}
@media (max-width:359px){body.esr-restored-page .esr-prototype .esrd-ikili-gorsel{grid-template-columns:1fr}}
/* T4-11 (1.0.9): S09 genel bakış çay görseli sola hizalı (kutu görsel genişliğine iner; oran ve 260 px üst sınır korunur) */
body.esr-restored-page .esr-prototype #genel-bakis>.transport-art img{width:auto;max-width:100%;height:auto;max-height:260px;object-position:left center;display:block}
