/* ==========================================================================
   Escortesz - Ozel tasarim (ClassiPress escort2 alt tema)
   Modern, koyu, mobil-oncelikli escort dizini gorunumu.
   Not: Detayli model-grid / filtre / profil tasarimi "design" fazinda genisletilir.
   ========================================================================== */

:root {
	--esz-bg: #0f1114;
	--esz-surface: #171a1f;
	--esz-surface-2: #1f242b;
	--esz-border: #2a2f37;
	--esz-text: #e8eaed;
	--esz-muted: #9aa3ad;
	--esz-accent: #e11d5c;
	--esz-accent-2: #ff4d7e;
	--esz-vip: #f5c518;
	--esz-radius: 12px;
}

/* ---- Temel ---- */
body {
	background: var(--esz-bg);
	color: var(--esz-text);
}
/* Tema .off-canvas-content'e acik gri bg veriyor -> koyulastir (tum sayfalar) */
.off-canvas-content,
.off-canvas-wrapper-inner { background: var(--esz-bg) !important; }
a { color: var(--esz-accent-2); }
a:hover { color: var(--esz-accent); }

/* ---- Kart / listeleme gorunumu ---- */
.listing-item,
.post-item,
.content-wrap {
	background: var(--esz-surface);
	border: 1px solid var(--esz-border);
	border-radius: var(--esz-radius);
	overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
}
.listing-item:hover,
.post-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.entry-cover,
.item-cover {
	min-height: 240px;
	background-size: cover;
	background-position: center top;
}
.entry-title a { color: var(--esz-text); }
.entry-title a:hover { color: var(--esz-accent-2); }

/* ---- Baslik / header ---- */
.site-title a { color: var(--esz-text); font-weight: 800; letter-spacing: .5px; }
.top-bar, .header { background: var(--esz-surface-2); }

/* ---- Butonlar ---- */
.button,
.wp-element-button {
	background: var(--esz-accent);
	border-radius: 999px;
	border: 0;
}
.button:hover { background: var(--esz-accent-2); }

/* ---- VIP / one cikan rozet ---- */
.listing-item.featured,
.item-single-featured {
	border-color: var(--esz-vip);
	box-shadow: 0 0 0 1px var(--esz-vip) inset;
}

/* ---- Footer ---- */
.site-footer { background: var(--esz-surface-2); color: var(--esz-muted); }
.site-footer a { color: var(--esz-muted); }

/* ---- Kucuk temizlikler ---- */
.adblock { display: none !important; }

/* Uye kaydi kapali -> "Kayit Ol" butonunu gizle (ClassiPress) */
#register-button-link,
[id="register-button-link"] { display: none !important; }

/* ==========================================================================
   ARSIV (il/ilce) - model kart grid
   ========================================================================== */
.esz-archive { width: 100% !important; max-width: 100% !important; float: none !important; }
.esz-archive__main { width: 100% !important; max-width: 1240px !important; margin: 0 auto !important; float: none !important; padding: 0 16px; }
.esz-archive .columns { width: 100%; max-width: 1240px; margin: 0 auto; float: none; padding-left: 16px; padding-right: 16px; }
.esz-archive__head { margin: 18px 0 8px; }
.esz-archive__head h1 {
	color: var(--esz-text) !important; font-size: 1.7rem; font-weight: 800; line-height: 1.2; margin: 0;
}
.esz-archive__count {
	display: inline-block; font-size: .8rem; font-weight: 600; color: var(--esz-accent-2);
	background: rgba(225,29,92,.12); border: 1px solid rgba(225,29,92,.3);
	padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}

/* Ilce ic linkleri */
.esz-districts {
	display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
	background: var(--esz-surface); border: 1px solid var(--esz-border);
	border-radius: var(--esz-radius); padding: 12px 14px; margin: 12px 0 20px;
}
.esz-districts__label { color: var(--esz-muted); font-weight: 700; font-size: .82rem; margin-right: 4px; }
.esz-districts a {
	color: var(--esz-text); background: var(--esz-surface-2); border: 1px solid var(--esz-border);
	padding: 4px 11px; border-radius: 999px; font-size: .8rem; text-decoration: none; transition: .15s;
}
.esz-districts a:hover { background: var(--esz-accent); color: #fff; border-color: var(--esz-accent); }

/* Grid */
.esz-grid {
	display: grid; gap: 16px; margin: 4px 0 26px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px)  { .esz-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px)  { .esz-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .esz-grid { grid-template-columns: repeat(5, 1fr); } }

/* Kart */
.esz-card {
	background: var(--esz-surface); border: 1px solid var(--esz-border);
	border-radius: var(--esz-radius); overflow: hidden; display: flex; flex-direction: column;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.esz-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.5); border-color: var(--esz-accent); }
.esz-card__media { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--esz-surface-2); }
.esz-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.esz-card:hover .esz-card__media img { transform: scale(1.06); }
.esz-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%); pointer-events: none; }
.esz-card__price {
	position: absolute; left: 8px; bottom: 8px; z-index: 2;
	background: rgba(15,17,20,.82); color: #fff; font-weight: 700; font-size: .8rem;
	padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
}
.esz-badge--vip {
	position: absolute; top: 8px; right: 8px; z-index: 2;
	background: var(--esz-vip); color: #1a1400; font-weight: 800; font-size: .7rem;
	padding: 2px 8px; border-radius: 6px; letter-spacing: .5px;
}
.esz-card__body { padding: 10px 11px 12px; }
.esz-card__title { margin: 0 0 5px; font-size: .92rem; line-height: 1.25; font-weight: 700; }
.esz-card__title a { color: var(--esz-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esz-card__title a:hover { color: var(--esz-accent-2); }
.esz-card__loc { display: flex; align-items: center; gap: 4px; color: var(--esz-muted); font-size: .78rem; margin-bottom: 7px; }
.esz-card__loc a { color: var(--esz-muted); text-decoration: none; }
.esz-card__loc a:hover { color: var(--esz-accent-2); }
.esz-card__meta { display: flex; flex-wrap: wrap; gap: 5px; }
.esz-chip {
	background: var(--esz-surface-2); border: 1px solid var(--esz-border); color: var(--esz-text);
	font-size: .72rem; padding: 2px 8px; border-radius: 6px;
}
.esz-card--vip { border-color: var(--esz-vip); box-shadow: 0 0 0 1px var(--esz-vip) inset; }

/* Pagination */
.esz-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 30px; }
.esz-pagination .page-numbers {
	min-width: 38px; text-align: center; padding: 7px 12px; border-radius: 8px;
	background: var(--esz-surface); border: 1px solid var(--esz-border); color: var(--esz-text);
	text-decoration: none; font-weight: 600;
}
.esz-pagination .page-numbers.current { background: var(--esz-accent); border-color: var(--esz-accent); color: #fff; }
.esz-pagination a.page-numbers:hover { background: var(--esz-surface-2); border-color: var(--esz-accent); }

/* SEO metni (aciklama) - okunabilir */
.esz-seotext {
	background: var(--esz-surface); border: 1px solid var(--esz-border);
	border-radius: var(--esz-radius); padding: 20px 22px; margin: 10px 0 36px;
}
.esz-seotext h2 { color: var(--esz-text); font-size: 1.2rem; margin: 0 0 12px; }
.esz-seotext p { color: var(--esz-muted); line-height: 1.75; margin: 0 0 12px; font-size: .93rem; }
.esz-seotext p:last-child { margin-bottom: 0; }
.esz-empty { color: var(--esz-muted); padding: 30px 0; text-align: center; }

/* Genel okunabilirlik: acik icerik kutularini koyulastir */
.site-main, .content-area, #main, .page-header, .taxonomy-description { color: var(--esz-text); }
.taxonomy-description { color: var(--esz-muted); }

/* ==========================================================================
   BREADCRUMB (profil/arsiv) - koyu zeminde okunabilir
   ========================================================================== */
#breadcrumb { max-width: 1100px; margin: 14px auto 4px; padding: 0 12px; }
#breadcrumb .breadcrumb-trail, #breadcrumb nav { background: transparent; border: 0; }
#breadcrumb .trail-items {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
	font-size: .82rem;
}
#breadcrumb .trail-items li { color: var(--esz-muted) !important; display: inline-flex; align-items: center; }
#breadcrumb .trail-items li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--esz-border); }
#breadcrumb .trail-items a { color: var(--esz-accent-2) !important; text-decoration: none; }
#breadcrumb .trail-items a:hover { color: var(--esz-accent) !important; }
#breadcrumb .trail-end, #breadcrumb .trail-items li:last-child { color: var(--esz-text) !important; }
#breadcrumb .fa-home { color: var(--esz-muted); }

/* ==========================================================================
   TEKIL ILAN (profil) sayfasi
   ========================================================================== */
.esz-profile { max-width: 1100px; margin: 18px auto 40px; padding: 0 12px; }
.esz-profile #breadcrumb { max-width: 100%; padding: 0; margin: 4px 0 10px; }
.esz-profile__top { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 800px) { .esz-profile__top { grid-template-columns: 420px 1fr; } }
.esz-gallery__main { position: relative; border-radius: var(--esz-radius); overflow: hidden; border: 1px solid var(--esz-border); background: var(--esz-surface-2); }
.esz-gallery__main img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
.esz-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.esz-gallery__thumbs img { width: 66px; height: 88px; object-fit: cover; border-radius: 8px; border: 1px solid var(--esz-border); cursor: pointer; }
.esz-profile__info h1 { color: var(--esz-text) !important; font-size: 1.7rem; font-weight: 800; margin: 0 0 6px; }
.esz-profile__desc h2, .esz-related__title, .esz-seotext h2 { color: var(--esz-text) !important; }
.esz-profile__loc { color: var(--esz-muted); margin-bottom: 14px; }
.esz-profile__loc a { color: var(--esz-accent-2); text-decoration: none; }
.esz-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 18px; }
@media (min-width: 480px) { .esz-specs { grid-template-columns: repeat(4, 1fr); } }
.esz-spec { background: var(--esz-surface); border: 1px solid var(--esz-border); border-radius: 10px; padding: 10px; text-align: center; }
.esz-spec b { display: block; color: var(--esz-text); font-size: 1.05rem; }
.esz-spec span { color: var(--esz-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.esz-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.esz-cta a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.esz-cta__wa { background: #25d366; color: #06210f; }
.esz-cta__call { background: var(--esz-accent); color: #fff; }
.esz-cta a:hover { filter: brightness(1.08); }
.esz-profile__desc { margin: 26px 0; background: var(--esz-surface); border: 1px solid var(--esz-border); border-radius: var(--esz-radius); padding: 20px 22px; }
.esz-profile__desc h2 { color: var(--esz-text); font-size: 1.15rem; margin: 0 0 10px; }
.esz-profile__desc, .esz-profile__desc p { color: var(--esz-muted); line-height: 1.75; }
.esz-related__title { color: var(--esz-text); font-size: 1.2rem; margin: 26px 0 14px; }

/* ==========================================================================
   ANA SAYFA - sehir gridi
   ========================================================================== */
.esz-cities { max-width: 1240px; margin: 28px auto; padding: 0 12px; }
.esz-cities h2 { color: var(--esz-text); font-size: 1.4rem; margin: 0 0 16px; }
.esz-cities__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width: 560px){ .esz-cities__grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 820px){ .esz-cities__grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1080px){ .esz-cities__grid { grid-template-columns: repeat(6,1fr); } }
.esz-city {
	display: flex; justify-content: space-between; align-items: center;
	background: var(--esz-surface); border: 1px solid var(--esz-border); border-radius: 10px;
	padding: 12px 14px; color: var(--esz-text) !important; text-decoration: none; font-weight: 600; transition: .15s;
}
.esz-city span { color: var(--esz-text) !important; }
.esz-city:hover, .esz-city:hover span { background: var(--esz-accent); color: #fff !important; border-color: var(--esz-accent); }
.esz-city small { color: var(--esz-muted) !important; font-weight: 500; }
.esz-city:hover small { color: rgba(255,255,255,.85) !important; }
