/* =================== Breadcrumbs =================== */
.crumbs { padding: 20px 40px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--wine); }
.crumbs span { margin: 0 8px; color: var(--line-2); }
.crumbs strong { color: var(--ink); font-weight: 500; }

/* =================== City page =================== */
.city-hero { position: relative; height: 420px; color: #fff; overflow: hidden; }
.city-hero-bg { position: absolute; inset: 0; }
.city-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.city-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,31,27,.35), rgba(42,31,27,.65)); }
.city-hero-inner { position: relative; z-index: 1; padding-top: 110px; }
.city-hero h1 { color: #fff; font-size: 72px; line-height: 1; margin: 18px 0 16px; max-width: 720px; }
.city-hero h1 i { color: #FBDDA6; }
.city-hero p { color: #EADFD2; font-size: 16px; max-width: 540px; margin: 0 0 24px; }
.city-hero-badges { display: flex; gap: 10px; }
.city-hero-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(251,247,242,.15); border: 1px solid rgba(251,247,242,.3);
  font-size: 12px; backdrop-filter: blur(8px);
}

.city-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin: -40px auto 0; position: relative; z-index: 2;
  background: #fff; border-radius: var(--r-lg); padding: 28px 20px;
  box-shadow: var(--shadow-2); max-width: 1200px;
}
.city-stats .stat { text-align: center; border-right: 1px solid var(--line); padding: 4px 20px; }
.city-stats .stat:last-child { border-right: 0; }
.city-stats .stat strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--wine); font-weight: 400; }
.city-stats .stat span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.sub-tabs-wrap { padding-top: 56px; }
.sub-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.sub-tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; font-size: 14px; color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.sub-tab em { font-style: normal; font-size: 11px; color: var(--muted); padding: 2px 7px; background: var(--powder); border-radius: var(--r-pill); }
.sub-tab:hover { color: var(--ink); }
.sub-tab.active { color: var(--wine); border-bottom-color: var(--wine); font-weight: 500; }
.sub-tab.active em { background: var(--wine-soft); color: var(--wine); }

.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.sort select { padding: 8px 28px 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font: inherit; color: var(--ink); cursor: pointer; }

.map-mock { background: var(--powder); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }

/* =================== Listing page =================== */
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.view-toggle { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-pill); font-size: 13px; color: var(--ink-2); fill: currentColor; }
.view-toggle button.on { background: var(--ink); color: #fff; }

.listing-body { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-bottom: 96px; }

.filters { display: flex; flex-direction: column; gap: 20px; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.filter-card h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list label { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.check-list label input { accent-color: var(--wine); width: 16px; height: 16px; }
.check-list label span { flex: 1; }
.check-list label em { font-style: normal; color: var(--muted); font-size: 11px; }
.check-list label:hover span { color: var(--ink); }

.price-slider { padding: 4px 0; }
.slider-track { position: relative; height: 4px; background: var(--line); border-radius: var(--r-pill); margin: 12px 8px; }
.slider-range { position: absolute; top: 0; bottom: 0; background: var(--wine); border-radius: var(--r-pill); }
.slider-handle { position: absolute; top: 50%; width: 16px; height: 16px; background: #fff; border: 2px solid var(--wine); border-radius: 50%; transform: translate(-50%, -50%); cursor: grab; }
.slider-values { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 10px; }

.star-filter { display: flex; flex-direction: column; gap: 10px; }
.star-filter label { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.star-filter label input { accent-color: var(--wine); }
.star-filter label span { display: inline-flex; gap: 2px; align-items: center; }
.star-filter label em { font-style: normal; margin-left: 6px; font-size: 12px; color: var(--muted); }

.results-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-filter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--wine-soft); color: var(--wine); border-radius: var(--r-pill); font-size: 12px; }
.clear-all { font-size: 12px; color: var(--muted); text-decoration: underline; }

.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 48px; }
.page-btn { width: 38px; height: 38px; border-radius: 50%; font-size: 13px; color: var(--ink-2); border: 1px solid transparent; }
.page-btn:hover { border-color: var(--line); }
.page-btn.on { background: var(--wine); color: #fff; }

/* =================== Detail page =================== */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.detail-meta { display: flex; gap: 20px; margin-top: 12px; color: var(--ink-2); font-size: 13px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-actions { display: flex; gap: 10px; }
.icon-btn.fav-on { color: var(--wine); border-color: var(--wine); background: var(--wine-soft); }

.gallery { padding-bottom: 24px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 8px; height: 488px;
}
.gallery-grid .main-img { grid-row: span 2; grid-column: 1; border-radius: var(--r) 0 0 var(--r); overflow: hidden; }
.gallery-grid .sub-img { overflow: hidden; position: relative; }
.gallery-grid .sub-img:nth-child(3) { border-radius: 0 var(--r) 0 0; }
.gallery-grid .sub-img:nth-child(5) { border-radius: 0 0 var(--r) 0; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid .main-img:hover img, .gallery-grid .sub-img:hover img { transform: scale(1.03); }
.more-overlay { position: absolute; inset: 0; background: rgba(42,31,27,.4); display: grid; place-items: center; color: #fff; font-size: 14px; backdrop-filter: blur(2px); }

.detail-body { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.detail-main { display: flex; flex-direction: column; gap: 56px; }
.detail-main h2 { font-size: 32px; margin-bottom: 16px; }

.summary p { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin: 0 0 24px; max-width: 660px; }
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.amenity { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.amenity svg { color: var(--wine); }

.pkg-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: all .15s; }
.pkg-card:hover { border-color: var(--wine); }
.pkg-card.active { border-color: var(--wine); background: var(--wine-soft); }
.pkg-card.recommended { background: var(--ink); color: #fff; border-color: var(--ink); }
.pkg-card.recommended h3, .pkg-card.recommended .pkg-price strong { color: #fff; }
.pkg-card.recommended .eyebrow, .pkg-card.recommended .pkg-price .from { color: #E4D3C0; }
.pkg-card.recommended .pkg-feat li { color: #D6C7B9; }
.rec-tag { position: absolute; top: -10px; right: 20px; background: var(--gold); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: .04em; }
.pkg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pkg-head h3 { font-size: 22px; margin: 4px 0 0; }
.pkg-price { text-align: right; }
.pkg-price .from { font-size: 11px; color: var(--muted); display: block; }
.pkg-price strong { font-family: var(--font-display); font-size: 22px; color: var(--wine); font-weight: 400; }
.pkg-feat { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); }
.pkg-feat li { display: flex; align-items: center; gap: 8px; }
.pkg-feat svg { color: var(--wine); flex-shrink: 0; }
.pkg-card.recommended .pkg-feat svg { color: var(--gold); }

.map-wide svg { max-height: 320px; }

.reviews-block { display: flex; flex-direction: column; gap: 24px; }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; }
.rev-score { display: flex; align-items: center; gap: 12px; }
.rev-score strong { font-family: var(--font-display); font-size: 32px; color: var(--wine); font-weight: 400; }
.rev-list { display: flex; flex-direction: column; gap: 20px; }
.rev-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.rev-item > img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rev-meta strong { font-weight: 500; }
.rev-meta span { color: var(--muted); font-size: 13px; }
.rev-item p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.reviews-block .btn { align-self: flex-start; }

/* Payment pages (start + result) */
.payment-page { max-width: 720px; margin: 32px auto 64px; }
.payment-shell { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.04); }
.payment-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.payment-head h1 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 0 0 8px; }
.payment-head p { font-size: 13.5px; color: var(--ink-2, #5b5147); line-height: 1.5; margin: 0; }
.payment-summary { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--cream); border-radius: 10px; margin-bottom: 18px; }
.payment-summary img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.payment-summary small { display: block; font-size: 11px; color: var(--ink-2, #5b5147); text-transform: uppercase; letter-spacing: .04em; }
.payment-summary strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--ink); margin: 2px 0; }
.payment-summary span { font-size: 12px; color: var(--ink-2, #5b5147); }
.payment-amount { text-align: right; }
.payment-amount strong { font-family: var(--font-display); color: var(--wine); font-size: 22px; }
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.payment-grid .form-field { display: flex; flex-direction: column; gap: 4px; }
.payment-grid label { font-size: 12px; color: var(--ink-2, #5b5147); }
.payment-grid input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.payment-grid input:focus { outline: 2px solid rgba(107,30,43,.15); border-color: var(--wine); }
.provider-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.provider-radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.provider-radio:has(input:checked) { border-color: var(--wine); background: #fff8f9; }
.provider-radio input { accent-color: var(--wine); }
.provider-radio span { display: flex; flex-direction: column; }
.provider-radio strong { font-size: 14px; }
.provider-radio small { font-size: 11px; color: var(--ink-2, #5b5147); }
.payment-disclaimer { font-size: 11.5px; color: var(--ink-2, #5b5147); line-height: 1.5; margin: 14px 0 18px; display: flex; align-items: flex-start; gap: 6px; }
.payment-disclaimer a { color: var(--wine); text-decoration: underline; }

.payment-result { background: #fff; border-radius: var(--r-lg); padding: 40px 32px; text-align: center; border: 1px solid var(--line); }
.payment-result .result-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; }
.payment-result.is-ok .result-icon { background: #e8f3eb; color: #2e7a45; }
.payment-result.is-fail .result-icon { background: #fdeef0; color: var(--wine); }
.payment-result h1 { font-family: var(--font-display); font-size: 32px; font-weight: 500; margin-bottom: 12px; }
.payment-result p { font-size: 15px; color: var(--ink-2, #5b5147); line-height: 1.6; margin-bottom: 12px; }
.payment-receipt { display: grid; grid-template-columns: 140px 1fr; gap: 10px 18px; margin: 28px auto 24px; max-width: 460px; padding: 18px 24px; background: #fafafa; border-radius: 10px; font-size: 13.5px; text-align: left; }
.payment-receipt dt { color: var(--ink-2, #5b5147); }
.payment-receipt dd { margin: 0; color: var(--ink); font-weight: 500; }
.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
    .payment-grid { grid-template-columns: 1fr; }
    .payment-summary { grid-template-columns: 64px 1fr; }
    .payment-summary .payment-amount { grid-column: span 2; text-align: left; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.08); }
    .provider-pick { grid-template-columns: 1fr; }
}

/* Site search results page */
.search-page { max-width: 1100px; margin: 32px auto 64px; }
.search-head { margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.search-head h1 { font-family: var(--font-display); font-size: 32px; font-weight: 500; margin: 0 0 18px; }
.search-form { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; max-width: 720px; }
.search-form .search-icon { padding-left: 14px; color: var(--wine); display: inline-flex; }
.search-form input { border: 0; background: transparent; padding: 12px 0; font-size: 15px; outline: none; min-width: 0; }
.search-summary { margin: 14px 0 0; color: var(--ink-2, #5b5147); font-size: 14px; }
.search-block { margin-bottom: 36px; }
.search-block h2 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 16px; }
.search-block h2 small { color: var(--ink-2, #5b5147); font-weight: 500; font-size: 14px; margin-left: 4px; }
.search-empty { text-align: center; padding: 60px 20px; color: var(--ink); }
.search-empty p { font-size: 16px; line-height: 1.6; }
.search-empty a { color: var(--wine); }

/* Static pages (KVKK, Hakkımızda, etc.) */
.static-page { max-width: 880px; margin: 32px auto 64px; }
.static-cover { margin-bottom: 28px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; }
.static-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.static-head { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.static-head h1 { font-family: var(--font-display); font-size: 38px; line-height: 1.15; color: var(--ink); margin: 0 0 10px; font-weight: 500; }
.static-sub { font-size: 17px; color: var(--ink-2, #5b5147); line-height: 1.5; margin: 0 0 12px; }
.static-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2, #5b5147); }
.static-body { font-size: 15.5px; line-height: 1.8; color: var(--ink); }
.static-body h2 { font-family: var(--font-display); font-size: 24px; margin: 32px 0 12px; font-weight: 500; }
.static-body h3 { font-family: var(--font-display); font-size: 19px; margin: 24px 0 10px; font-weight: 500; }
.static-body p { margin: 0 0 14px; }
.static-body ul, .static-body ol { padding-left: 22px; margin: 12px 0 18px; }
.static-body li { margin-bottom: 6px; }
.static-body a { color: var(--wine); text-decoration: underline; }
.static-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 700px) { .static-head h1 { font-size: 28px; } .static-body { font-size: 14.5px; } }

/* Booking aside */
.booking-aside { position: sticky; top: 80px; align-self: flex-start; }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 16px; }
.bc-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.bc-from { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.bc-price { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); color: var(--wine); font-size: 18px; }
.bc-price strong { font-size: 32px; font-weight: 400; margin: 0 2px 0 4px; }
.bc-price span { font-size: 12px; color: var(--muted); font-family: var(--font-body); }
.bc-tag { background: var(--wine-soft); color: var(--wine); font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); }
.bc-form { display: flex; flex-direction: column; gap: 10px; }
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bc-field label { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.bc-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; color: var(--ink); cursor: pointer; transition: border .15s; }
.bc-input:hover { border-color: var(--ink); }
.bc-breakdown { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.bc-breakdown > div { display: flex; justify-content: space-between; }
.bc-breakdown strong { color: var(--ink); font-weight: 500; }
.bc-total { padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; font-size: 15px; }
.bc-total strong { font-family: var(--font-display); font-size: 22px; color: var(--wine); font-weight: 400; }
.bc-foot { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.bc-foot span { display: flex; align-items: center; gap: 6px; }
.bc-foot svg { color: var(--wine); }
.bc-help { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--powder); border-radius: var(--r); }
.bc-help > svg { color: var(--wine); flex-shrink: 0; }
.bc-help > div { flex: 1; line-height: 1.3; }
.bc-help strong { font-size: 13px; display: block; }
.bc-help span { font-size: 12px; color: var(--muted); }

/* =================== Blog =================== */
.blog-hero { padding: 72px 0 32px; background: var(--powder); }
.blog-hero h1 { font-size: 64px; line-height: 1.05; max-width: 820px; margin: 18px 0 32px; }
.blog-hero .blog-cats { display: flex; gap: 10px; flex-wrap: wrap; }

.blog-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.bf-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 5/4; }
.bf-media img { width: 100%; height: 100%; object-fit: cover; }
.bf-body h2 { font-size: 44px; line-height: 1.1; margin: 14px 0; }
.bf-body p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
.bf-meta { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.bf-meta span:nth-child(odd) { color: var(--wine); }

/* Post */
.post-head { text-align: center; padding: 72px 40px 40px; }
.post-head h1 { font-size: 60px; line-height: 1.05; max-width: 900px; margin: 16px auto 24px; }
.post-head .lede { max-width: 680px; margin: 0 auto 32px; font-size: 18px; color: var(--ink-2); line-height: 1.5; }
.post-author { display: inline-flex; align-items: center; gap: 12px; }
.post-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.post-author strong { display: block; font-weight: 500; font-size: 14px; text-align: left; }
.post-author span { font-size: 12px; color: var(--muted); }
.post-cover { padding-bottom: 48px; }
.post-cover img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--r-lg); }

.post-body { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-bottom: 96px; max-width: 1080px; }
.post-toc { position: sticky; top: 80px; align-self: flex-start; }
.post-toc .eyebrow { display: block; margin-bottom: 16px; }
.post-toc ul { list-style: none; padding: 0; margin: 0 0 24px; border-left: 1px solid var(--line); }
.post-toc li a { display: block; padding: 8px 14px; font-size: 13px; color: var(--muted); border-left: 1px solid transparent; margin-left: -1px; transition: all .15s; }
.post-toc li a:hover { color: var(--ink); }
.post-toc li a.on { color: var(--wine); border-left-color: var(--wine); font-weight: 500; }
.toc-share { display: flex; gap: 8px; }

.post-prose h2 { font-size: 32px; margin: 40px 0 16px; }
.post-prose h2:first-child { margin-top: 0; }
.post-prose p { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 0 0 20px; max-width: 640px; }
.post-prose ul { font-size: 16px; line-height: 1.7; color: var(--ink); padding-left: 20px; margin: 0 0 20px; }
.post-prose blockquote { border-left: 3px solid var(--wine); padding: 4px 0 4px 24px; margin: 28px 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); max-width: 620px; }

/* ==========================================================================
   Pages — Responsive
   ========================================================================== */

/* Sub-tabs (city) — always horizontally scrollable on small screens */
@media (max-width: 1080px) {
  .sub-tabs-wrap { padding-top: 36px; }
  .sub-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .sub-tab { padding: 12px 16px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }

  /* City hero shorter */
  .city-hero { height: 360px; }
  .city-hero-inner { padding-top: 80px; }
  .city-hero h1 { font-size: 52px; }

  /* City stats — 5 → 3 + 2 wrap */
  .city-stats { grid-template-columns: repeat(3, 1fr); padding: 22px 16px; }
  .city-stats .stat:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
  .city-stats .stat strong { font-size: 22px; }

  /* Detail page: stack booking aside under main */
  .detail-body { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; padding-bottom: 64px; }
  .detail-main { gap: 40px; }
  .detail-main h2 { font-size: 26px; }
  .booking-aside { position: static; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .detail-actions { align-self: flex-end; }

  /* Gallery grid */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; height: auto; }
  .gallery-grid .main-img { grid-row: span 2; grid-column: 1 / 2; border-radius: var(--r) 0 0 var(--r); }
  .gallery-grid .sub-img:nth-child(3) { border-radius: 0 var(--r) 0 0; }
  .gallery-grid .sub-img:nth-child(4),
  .gallery-grid .sub-img:nth-child(5) { display: none; }

  /* Amenities & packages */
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .pkg-list { grid-template-columns: 1fr; }

  /* Listing page: filters move above grid as accordion */
  .listing-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .listing-body > * { min-width: 0; }
  .filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .filter-card { flex: 1 1 220px; min-width: 0; padding: 14px; }
  .filter-card h4 { font-size: 12px; margin-bottom: 12px; }

  /* Listing head stack */
  .listing-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .listing-head h1 { font-size: 30px !important; }

  /* Blog hero */
  .blog-hero { padding: 44px 0 24px; }
  .blog-hero h1 { font-size: 38px; margin-top: 12px; }
  .blog-featured { grid-template-columns: 1fr; gap: 24px; }
  .bf-body h2 { font-size: 28px; }

  /* Post body: TOC stacks above */
  .post-body { grid-template-columns: 1fr; gap: 24px; padding-bottom: 56px; }
  .post-toc { position: static; }
  .post-toc ul { display: flex; gap: 0; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); }
  .post-toc li a { padding: 8px 12px; border-left: 0; border-bottom: 2px solid transparent; }
  .post-toc li a.on { border-bottom-color: var(--wine); border-left: 0; }
  .post-head h1 { font-size: 38px; }
  .post-head .lede { font-size: 16px; }
  .post-prose h2 { font-size: 24px; }
  .post-prose p { font-size: 16px; }
  .post-prose blockquote { font-size: 18px; padding-left: 18px; }
}

@media (max-width: 720px) {
  .crumbs { padding: 14px 0; font-size: 12px; }
  .city-hero { height: 300px; }
  .city-hero-inner { padding-top: 60px; }
  .city-hero h1 { font-size: 32px; line-height: 1.1; }
  .city-hero p { font-size: 14px; }

  .city-stats { grid-template-columns: repeat(2, 1fr); padding: 18px 12px; gap: 8px 0; margin-top: -28px; }
  .city-stats .stat { border-right: 0; padding: 10px; }
  .city-stats .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .city-stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 0; }
  .city-stats .stat strong { font-size: 20px; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 240px; }
  .gallery-grid .main-img { grid-column: 1; border-radius: var(--r); }
  .gallery-grid .sub-img:nth-child(3) { display: none; }

  .amenities { grid-template-columns: 1fr; padding: 18px; }
  .booking-card { padding: 18px; }
  .bc-row { grid-template-columns: 1fr; }
  .bc-price strong { font-size: 26px; }
  .bc-total strong { font-size: 18px; }

  .post-cover { padding-bottom: 28px; }
  .post-cover img { aspect-ratio: 16/9; border-radius: var(--r); }
  .post-head { padding: 40px 0 24px; }
  .post-head h1 { font-size: 28px; }

  .pagination { flex-wrap: wrap; }
  .reviews-block .rev-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .city-stats { grid-template-columns: 1fr; }
  .city-stats .stat { border-right: 0; }
  .city-stats .stat:nth-child(odd) { border-right: 0; }
  .city-stats .stat:not(:first-child) { border-top: 1px solid var(--line); }
  .filters { flex-direction: column; flex-wrap: nowrap; }
  .filter-card { flex: 1 1 auto; width: 100%; }
  .city-hero h1 { font-size: 26px; }
  .blog-hero h1 { font-size: 28px; }
}
