/* Sosyal Tesisler Rehberi – ön yüz tasarım sistemi */
:root {
  --primary: #173D35;
  --secondary: #24594B;
  --primary-soft: #E8F0EC;
  --bg: #F5F7F5;
  --card: #FFFFFF;
  --text: #252B28;
  --muted: #6B756F;
  --border: #E5EAE6;
  --success: #1F7A4D;
  --warning: #A86B00;
  --danger: #B3261E;
  --info: #2F5D8A;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 61, 53, .05), 0 4px 14px rgba(23, 61, 53, .06);
  --shadow-hover: 0 2px 4px rgba(23, 61, 53, .06), 0 10px 24px rgba(23, 61, 53, .10);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
:focus-visible { outline: 3px solid rgba(36, 89, 75, .45); outline-offset: 2px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; color: var(--primary); }
.logo img { max-height: 44px; width: auto; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.main-nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); min-width: 220px; padding: 6px; flex-direction: column; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: flex; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--primary); }
.nav-toggle svg { display: block; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; line-height: 1.2; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--secondary); color: var(--primary); }
.btn-light { background: var(--primary-soft); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.form-group { margin-bottom: 14px; }
.form-group label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
.form-control { width: 100%; padding: 10px 12px; font: inherit; font-size: .95rem; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.form-control:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(36, 89, 75, .15); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B756F' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; margin-bottom: 6px; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 4px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid; font-size: .95rem; }
.alert-success { background: #EAF6EF; border-color: #BFE3CD; color: #14532D; }
.alert-error, .alert-danger { background: #FDECEA; border-color: #F5C2BE; color: #7F1D1D; }
.alert-warning { background: #FFF6E5; border-color: #F3DAA6; color: #6B4500; }
.alert-info { background: #EAF1F8; border-color: #C5D7EA; color: #1E3A5F; }

/* Hero / search */
.hero { background: var(--primary); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .04); }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 720px; margin-bottom: 28px; }
.search-box { position: relative; z-index: 1; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.search-box .form-group { margin: 0; }
.search-box label { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.search-box .btn { height: 44px; padding: 0 24px; }
.search-box .form-control { height: 44px; }
.hero-stats { display: flex; gap: 28px; margin-top: 22px; color: rgba(255, 255, 255, .85); font-size: .95rem; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats strong { color: #fff; font-size: 1.2rem; margin-right: 4px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover); z-index: 20; display: none; max-height: 320px; overflow: auto; }
.suggest a { display: block; padding: 9px 12px; color: var(--text); border-bottom: 1px solid var(--border); font-size: .92rem; }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.active { background: var(--primary-soft); text-decoration: none; }
.suggest small { color: var(--muted); display: block; font-size: .8rem; }
.pos-rel { position: relative; }

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.page-head { background: #fff; border-bottom: 1px solid var(--border); padding: 28px 0 24px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { color: var(--muted); margin: 0; max-width: 820px; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #A8B2AC; }
.breadcrumb a { color: var(--muted); }

/* Grid & cards */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 20px; }
.card-title { font-size: 1.05rem; margin: 0 0 6px; }
.card-link { display: block; color: inherit; transition: box-shadow .15s, border-color .15s; }
.card-link:hover { box-shadow: var(--shadow-hover); border-color: #CFDAD3; text-decoration: none; color: inherit; }

.cat-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.cat-icon { flex: 0 0 44px; height: 44px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.cat-card h3 { font-size: 1rem; margin: 0; color: var(--primary); }
.cat-card .count { font-size: .85rem; color: var(--muted); }

.city-chip { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 600; color: var(--primary); }
.city-chip span { font-weight: 500; font-size: .85rem; color: var(--muted); background: var(--bg); border-radius: 20px; padding: 2px 10px; }
.city-list { columns: 4; column-gap: 24px; list-style: none; padding: 0; margin: 0; }
.city-list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 8px; }
.city-list .cnt { color: var(--muted); font-size: .85rem; }

.facility-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.facility-card .thumb { aspect-ratio: 16 / 9; background: var(--primary-soft); display: grid; place-items: center; color: var(--secondary); overflow: hidden; }
.facility-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.facility-card .card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.facility-card h3 { font-size: 1.02rem; margin: 0; }
.facility-card h3 a { color: var(--primary); }
.facility-card .meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.facility-card .foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.facility-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; padding: 16px; align-items: center; }
.facility-row .thumb { width: 160px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--primary-soft); overflow: hidden; display: grid; place-items: center; color: var(--secondary); }
.facility-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.facility-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.facility-row .meta { color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.facility-row .actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.list-stack { display: flex; flex-direction: column; gap: 12px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; background: var(--bg); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; line-height: 1.4; }
.badge-cat { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.badge-verified { background: #EAF6EF; color: var(--success); border-color: #BFE3CD; }
.badge-reported { background: #EAF1F8; color: var(--info); border-color: #C5D7EA; }
.badge-outdated { background: #FFF6E5; color: var(--warning); border-color: #F3DAA6; }
.badge-unverifiable { background: #F2F2F2; color: #555; border-color: #DDD; }
.badge-conflicting { background: #FDECEA; color: var(--danger); border-color: #F5C2BE; }
.badge-none { background: #fff; color: var(--muted); }
.badge-closed { background: #FDECEA; color: var(--danger); border-color: #F5C2BE; }
.badge-featured { background: #FFF6E5; color: #7A4E00; border-color: #F3DAA6; }

/* Layout with sidebar */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding: 28px 0 48px; }
.layout-left { grid-template-columns: 290px 1fr; }
.sidebar .card + .card { margin-top: 18px; }
.sidebar h3 { font-size: 1rem; }
.sticky { position: sticky; top: 90px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; }
.side-list li:last-child { border-bottom: 0; }

/* Facility detail */
.detail-head { background: #fff; border-bottom: 1px solid var(--border); padding: 24px 0; }
.detail-head .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.detail-head h1 { margin-bottom: 6px; }
.detail-head .sub { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; max-height: 420px; }
.gallery a { display: block; overflow: hidden; background: var(--primary-soft); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.info-section { margin-bottom: 18px; }
.info-section > .card-body > h2 { font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th, .info-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table th { width: 34%; color: var(--muted); font-weight: 600; padding-right: 14px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.vstat { display: block; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.service-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.service-list li { background: var(--primary-soft); color: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: .88rem; font-weight: 500; }
.price-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.price-table th, .price-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.price-table th { background: var(--bg); font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .02em; }
.price-table td.amount { font-weight: 700; color: var(--primary); white-space: nowrap; }
.contact-box .row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .94rem; align-items: flex-start; }
.contact-box .row:last-child { border-bottom: 0; }
.contact-box .row svg { flex: 0 0 18px; margin-top: 3px; color: var(--secondary); }
.contact-box .row div { min-width: 0; word-break: break-word; }
.map-mini { height: 220px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin-top: 10px; }
.notice { background: var(--bg); border: 1px dashed #CBD5CF; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .88rem; color: var(--muted); }
.content-body { font-size: 1.02rem; }
.content-body h2 { margin-top: 1.4em; }
.content-body h3 { margin-top: 1.2em; }
.content-body ul, .content-body ol { padding-left: 1.3em; }
.content-body li { margin-bottom: .35em; }
.content-body img { border-radius: var(--radius-sm); margin: 1em 0; }
.content-body blockquote { margin: 1em 0; padding: 10px 18px; border-left: 4px solid var(--secondary); background: var(--primary-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.content-body th, .content-body td { border: 1px solid var(--border); padding: 8px 10px; }

/* Filters */
.filters .card-body { padding: 18px; }
.filters h3 { font-size: .95rem; margin: 16px 0 8px; color: var(--text); }
.filters h3:first-child { margin-top: 0; }
.filter-toggle { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-head .form-control { width: auto; }
.loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state svg { color: #B9C4BD; margin: 0 auto 10px; }

/* Pagination */
.pagination ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination a, .pagination span { display: block; min-width: 40px; padding: 8px 12px; text-align: center; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); color: var(--text); font-size: .92rem; }
.pagination a:hover { border-color: var(--secondary); text-decoration: none; }
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .dots { padding: 8px 4px; color: var(--muted); }

/* Verification info block */
.verify-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.verify-states { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.verify-states .item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; font-size: .88rem; color: var(--muted); }
.verify-states .item .badge { margin-bottom: 6px; }

/* Article */
.article-card .thumb { aspect-ratio: 16 / 9; background: var(--primary-soft); overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .card-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.article-meta { color: var(--muted); font-size: .88rem; margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }

/* Map page */
.map-wrap { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 69px); min-height: 520px; }
.map-panel { background: #fff; border-right: 1px solid var(--border); overflow: auto; padding: 18px; }
#map { width: 100%; height: 100%; background: #E9EFEA; }
.map-results { margin-top: 14px; }
.map-results .item { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; cursor: pointer; }
.map-results .item:hover strong { color: var(--secondary); text-decoration: underline; }
.map-popup h4 { margin: 0 0 4px; font-size: .98rem; }
.map-popup p { margin: 0 0 6px; font-size: .85rem; color: var(--muted); }

/* Ads */
.ad-slot { margin: 18px auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font-size: .68rem; color: #9AA39D; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.ad-mobile { display: none; }

/* Footer */
.site-footer { background: var(--primary); color: rgba(255, 255, 255, .8); padding: 44px 0 20px; margin-top: 40px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.disclaimer { background: rgba(255, 255, 255, .06); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .85rem; margin-top: 14px; }

.error-page { text-align: center; padding: 80px 20px; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--primary); line-height: 1; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
  .city-list { columns: 3; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 10px 20px 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav .sub { position: static; display: flex; box-shadow: none; border: 0; padding-left: 14px; }
  .search-box { grid-template-columns: 1fr 1fr; }
  .search-box .form-group:first-child { grid-column: 1 / -1; }
  .search-box .btn { grid-column: 1 / -1; }
  .layout, .layout-left { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .verify-block { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .filter-toggle { display: inline-flex; }
  .filters.collapsed .card-body { display: none; }
  .map-wrap { grid-template-columns: 1fr; height: auto; }
  .map-panel { border-right: 0; border-bottom: 1px solid var(--border); }
  #map { height: 65vh; }
  .ad-desktop { display: none; }
  .ad-mobile { display: block; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 40px; }
  .search-box { grid-template-columns: 1fr; padding: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .city-list { columns: 2; }
  .facility-row { grid-template-columns: 96px 1fr; }
  .facility-row .thumb { width: 96px; }
  .facility-row .actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; max-height: none; }
  .gallery a:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }
  .gallery a { aspect-ratio: 4/3; }
  .info-table th { width: 40%; }
  .verify-states { grid-template-columns: 1fr; }
  .section { padding: 34px 0; }
  .price-table { font-size: .85rem; }
}
@media print {
  .site-header, .site-footer, .ad-slot, .sidebar .btn, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* Grid taşma düzeltmesi: geniş tablolar sütunu genişletmesin */
.layout > *, .grid > *, .footer-grid > * { min-width: 0; }
.info-table td { word-break: break-word; }
@media (max-width: 640px) {
  .info-section > .card-body > h2 .badge { font-size: .7rem; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .info-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
  .detail-head .btn { flex: 1 1 auto; }
}

/* Okuma genişliği: içerik sola hizalı */
.narrow { max-width: 900px; }
