/**
 * Kashi of North — kon-archive.css
 * Shared layout for the five archive templates: archive-hotels.php,
 * archive-places.php, archive-taxi.php, archive-businesses.php,
 * archive-news.php.
 *
 * This consolidates what used to be five near-identical inline
 * <style> blocks (one dumped via wp_footer in each archive-*.php
 * file) into one real, cacheable stylesheet — so a fix or tweak here
 * now applies everywhere instead of needing to be copy-pasted five
 * times. It also holds the newer archive features: the Sort By
 * dropdown (reuses .kon-filter-select, no new CSS needed), the
 * Grid/List view toggle, and the sticky-on-scroll filter bar.
 *
 * Enqueued only on the 5 archive templates, after kon-enhance.css —
 * see kon_enqueue_styles() in functions.php.
 */

/* -------------------------------------------------------------
   1. ARCHIVE HEADER (hero banner + taxonomy chip row)
   Base is the green gradient used on Hotels; other post types get
   a darker/slate gradient via a modifier class on the same element.
   ------------------------------------------------------------- */
.kon-archive-header {
    background: linear-gradient(135deg, var(--kon-pine) 0%, var(--kon-pine-mid) 100%);
    padding: var(--kon-space-2xl) var(--kon-space-lg);
    color: var(--kon-white);
}
.kon-archive-header .kon-section-eyebrow { color: rgba(255, 255, 255, .7); }
.kon-archive-header .kon-section-title   { color: var(--kon-white); margin-bottom: .5rem; }
.kon-archive-header .kon-section-desc    { color: rgba(255, 255, 255, .8); max-width: 600px; }

.kon-archive-header--places { background: linear-gradient(135deg, #1a3a4a 0%, #2D5016 100%); }
.kon-archive-header--taxi   { background: linear-gradient(135deg, #1C2B3A 0%, var(--kon-pine) 100%); }
.kon-archive-header--biz    { background: linear-gradient(135deg, #2B3240 0%, var(--kon-pine) 100%); }
.kon-archive-header--news   { background: linear-gradient(135deg, #1C2B3A 0%, #2B3240 100%); }

.kon-archive-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.kon-archive-chip {
    display: inline-flex; align-items: center; gap: .3em;
    padding: .35em 1em; border-radius: 999px;
    background: rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .85);
    font-size: .8rem; font-weight: 500; text-decoration: none;
    transition: background var(--kon-transition);
}
.kon-archive-chip:hover,
.kon-archive-chip.is-active { background: rgba(255, 255, 255, .9); color: var(--kon-pine); }
.kon-archive-chip__count { font-size: .7em; opacity: .7; }


/* -------------------------------------------------------------
   2. FILTER BAR — taxonomy dropdowns, Sort By, Grid/List toggle,
   result count. Sticky on scroll (see §3) once it reaches the top.
   ------------------------------------------------------------- */
.kon-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--kon-space-md);
    background: var(--kon-white);
    border: 1px solid var(--kon-divider);
    border-radius: var(--kon-radius-lg);
    padding: var(--kon-space-md) var(--kon-space-lg);
    margin-bottom: var(--kon-space-xl);
    transition: box-shadow var(--kon-transition), border-radius var(--kon-transition);
}
.kon-filter-group { display: flex; flex-direction: column; gap: .3rem; }
.kon-filter-label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--kon-slate-light);
}
.kon-filter-select {
    appearance: none; -webkit-appearance: none;
    background: var(--kon-glacier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A95A3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--kon-divider); border-radius: var(--kon-radius-md);
    padding: .55em 2.2em .55em .85em; font-size: .88rem; color: var(--kon-slate);
    min-width: 180px; cursor: pointer;
}
.kon-filter-select:focus { outline: 2px solid var(--kon-pine-mid); outline-offset: 2px; }
.kon-filter-actions { display: flex; gap: var(--kon-space-sm); align-items: center; }
.kon-filter-count { font-size: .8rem; color: var(--kon-slate-light); margin: 0; flex-basis: 100%; padding-top: .25rem; }

/* -------------------------------------------------------------
   3. STICKY FILTER BAR (on scroll)
   Deliberately NOT `position: sticky` — same reasoning as the
   single-listing tab nav (see kon-single.css §8): sticky breaks
   under ancestor `overflow` rules this site's markup happens to
   trigger. `position: fixed`, toggled by JS (initArchiveFilterBar()
   in kon-enhance.js) once the bar scrolls to the header, is immune
   to that. .kon-filter-bar-spacer takes over its normal-flow space
   the instant it's pinned so the page never jumps.
   ------------------------------------------------------------- */
.kon-filter-bar-spacer { display: none; }
.kon-filter-bar-spacer.is-active { display: block; }

.kon-filter-bar.is-pinned {
    position: fixed;
    top: var(--kon-header-h);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--kon-container-max, 1360px), calc(100% - 2 * var(--kon-container-pad, 2rem)));
    z-index: 500; /* below site header (999) and tab nav (800), above page content */
    margin-bottom: 0;
    border-radius: 0 0 var(--kon-radius-lg) var(--kon-radius-lg);
    box-shadow: var(--kon-shadow-hover);
}

/* -------------------------------------------------------------
   4. GRID / LIST VIEW TOGGLE
   ------------------------------------------------------------- */
.kon-view-toggle {
    display: inline-flex;
    border: 1px solid var(--kon-divider);
    border-radius: var(--kon-radius-md);
    overflow: hidden;
    flex-shrink: 0;
}
.kon-view-toggle__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: var(--kon-white); color: var(--kon-slate-mid);
    font-size: 1rem; text-decoration: none;
    transition: background var(--kon-transition), color var(--kon-transition);
}
.kon-view-toggle__btn + .kon-view-toggle__btn { border-left: 1px solid var(--kon-divider); }
.kon-view-toggle__btn:hover { background: var(--kon-glacier); }
.kon-view-toggle__btn.is-active { background: var(--kon-pine-mid); color: var(--kon-white); }

/* -------------------------------------------------------------
   4b. LOCATION HUB — per-section toolbar (sort + view toggle)
   Used by taxonomy-location.php for its 3 mini-sections (Hotels,
   Places, Taxi), each independently sortable/toggleable since
   they all live on the same page. Lighter-weight than the full
   .kon-filter-bar card — sits directly under the section heading.
   ------------------------------------------------------------- */
.kon-section-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--kon-space-md);
    margin-bottom: var(--kon-space-lg);
}
.kon-section-toolbar__form {
    display: flex;
    align-items: flex-end;
    gap: var(--kon-space-md);
}


/* -------------------------------------------------------------
   5. LIST-VIEW VARIANTS per card family
   Same markup as grid view (no PHP branching needed) — toggling
   `.is-list` on the grid container rearranges each card from a
   vertical (thumb-over-body) layout to a horizontal row.
   ------------------------------------------------------------- */

/* Hotels & Places — .kon-cards-grid > .kon-card */
.kon-cards-grid.is-list { grid-template-columns: 1fr; }
.kon-cards-grid.is-list .kon-card { flex-direction: row; }
.kon-cards-grid.is-list .kon-card__thumb { width: 260px; flex-shrink: 0; aspect-ratio: 4 / 3; }
.kon-cards-grid.is-list .kon-card__body { flex: 1; }
.kon-cards-grid.is-list .kon-card__footer {
    flex-direction: column; justify-content: center; align-items: stretch;
    width: 170px; flex-shrink: 0;
    border-top: none; border-left: 1px solid var(--kon-border);
}
@media (max-width: 720px) {
    .kon-cards-grid.is-list .kon-card { flex-direction: column; }
    .kon-cards-grid.is-list .kon-card__thumb { width: 100%; }
    .kon-cards-grid.is-list .kon-card__footer {
        flex-direction: row; width: auto;
        border-left: none; border-top: 1px solid var(--kon-border);
    }
}

/* Businesses — .kon-biz-grid > .kon-biz-card */
.kon-biz-grid.is-list { grid-template-columns: 1fr; }
.kon-biz-grid.is-list .kon-biz-card { flex-direction: row; }
.kon-biz-grid.is-list .kon-biz-card__media { width: 220px; flex-shrink: 0; aspect-ratio: 4 / 3; }
.kon-biz-grid.is-list .kon-biz-card__body { flex: 1; }
.kon-biz-grid.is-list .kon-biz-card__footer {
    flex-direction: column; justify-content: center; align-items: stretch;
    width: 150px; flex-shrink: 0;
    border-top: none; border-left: 1px solid var(--kon-divider);
}
@media (max-width: 720px) {
    .kon-biz-grid.is-list .kon-biz-card { flex-direction: column; }
    .kon-biz-grid.is-list .kon-biz-card__media { width: 100%; aspect-ratio: 16 / 7; }
    .kon-biz-grid.is-list .kon-biz-card__footer {
        flex-direction: row; width: auto;
        border-left: none; border-top: 1px solid var(--kon-divider);
    }
}

/* Taxi — .kon-driver-grid > .kon-driver-card-archive */
.kon-driver-grid.is-list { grid-template-columns: 1fr; }
.kon-driver-grid.is-list .kon-driver-card-archive { flex-direction: row; align-items: stretch; }
.kon-driver-grid.is-list .kon-dca__header {
    flex-direction: column; text-align: center; justify-content: center;
    width: 150px; flex-shrink: 0;
    border-right: 1px solid var(--kon-divider); padding-right: var(--kon-space-md);
}
.kon-driver-grid.is-list .kon-dca__id { text-align: center; }
.kon-driver-grid.is-list .kon-dca__details { border-top: none; padding-top: 0; flex: 1; justify-content: center; }
.kon-driver-grid.is-list .kon-dca__actions { flex-direction: column; width: 170px; flex-shrink: 0; margin-top: 0; }
@media (max-width: 780px) {
    .kon-driver-grid.is-list .kon-driver-card-archive { flex-direction: column; }
    .kon-driver-grid.is-list .kon-dca__header {
        width: 100%; flex-direction: row; text-align: left;
        border-right: none; border-bottom: 1px solid var(--kon-divider);
        padding: 0 0 var(--kon-space-md);
    }
    .kon-driver-grid.is-list .kon-dca__id { text-align: left; }
    .kon-driver-grid.is-list .kon-dca__actions { flex-direction: row; width: 100%; }
}


/* -------------------------------------------------------------
   6. PAGINATION
   ------------------------------------------------------------- */
.kon-pagination {
    display: flex; justify-content: center; gap: .35rem; flex-wrap: wrap;
    margin-top: var(--kon-space-2xl); padding-top: var(--kon-space-xl);
    border-top: 1px solid var(--kon-divider);
}
.kon-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 .6em;
    border-radius: var(--kon-radius-md); border: 1px solid var(--kon-divider);
    font-size: .85rem; font-weight: 500; color: var(--kon-slate-mid);
    text-decoration: none; transition: all var(--kon-transition);
}
.kon-pagination .page-numbers:hover,
.kon-pagination .page-numbers.current { background: var(--kon-pine-mid); color: #fff; border-color: var(--kon-pine-mid); }
.kon-pagination .page-numbers.dots { border: none; background: none; }


/* -------------------------------------------------------------
   7. LOCATION QUICK LINKS (below results — Hotels/Places)
   ------------------------------------------------------------- */
.kon-location-quicklinks { margin-top: var(--kon-space-2xl); padding-top: var(--kon-space-xl); border-top: 1px solid var(--kon-divider); }
.kon-location-quicklinks__label {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: var(--kon-slate-light); margin-bottom: var(--kon-space-md);
}


/* -------------------------------------------------------------
   8. PLACES — card tag row (place-type / difficulty pills)
   ------------------------------------------------------------- */
.kon-card-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.kon-card-tag {
    font-size: .72rem; background: var(--kon-glacier); color: var(--kon-slate-mid);
    padding: .2em .6em; border-radius: var(--kon-radius-pill); border: 1px solid var(--kon-divider);
}
.kon-card__meta-link { color: inherit; text-decoration: underline; text-decoration-color: transparent; }
.kon-card__meta-link:hover { text-decoration-color: currentColor; }


/* -------------------------------------------------------------
   9. BUSINESSES — card grid, card, submit-listing strip
   ------------------------------------------------------------- */
.kon-biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--kon-space-lg); }
.kon-biz-card {
    background: var(--kon-white); border-radius: var(--kon-radius-lg); border: 1px solid var(--kon-divider);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow var(--kon-transition), transform var(--kon-transition);
}
.kon-biz-card:hover { box-shadow: var(--kon-shadow-hover); transform: translateY(-2px); }
.kon-biz-card__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--kon-pine-light); }
.kon-biz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kon-biz-card:hover .kon-biz-card__media img { transform: scale(1.04); }
.kon-biz-card__emoji { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.kon-biz-card__verified-dot {
    position: absolute; top: .5rem; right: .5rem; background: var(--kon-pine-mid); color: #fff;
    border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
}
.kon-biz-card__body { padding: var(--kon-space-md) var(--kon-space-lg); flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.kon-biz-card__meta-row { display: flex; gap: .3rem; flex-wrap: wrap; }
.kon-biz-card__title { font-family: var(--kon-font-serif); font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.3; }
.kon-biz-card__title a { color: var(--kon-slate); }
.kon-biz-card__title a:hover { color: var(--kon-pine-mid); }
.kon-biz-card__price { font-size: .78rem; color: var(--kon-amber); font-weight: 700; letter-spacing: .05em; }
.kon-biz-card__footer { padding: .75rem var(--kon-space-lg) var(--kon-space-md); border-top: 1px solid var(--kon-divider); display: flex; gap: .4rem; flex-wrap: wrap; }
.kon-btn--sm { font-size: .75rem !important; padding: .4em 1em !important; }

.kon-open-now { background: #E6F4EA; color: #2E7D32; }
.kon-closed-now { background: #FEE8E8; color: #C62828; }

.kon-biz-submit-strip {
    display: flex; align-items: center; justify-content: space-between; gap: var(--kon-space-lg); flex-wrap: wrap;
    background: var(--kon-pine-light); border: 1px solid var(--kon-divider); border-radius: var(--kon-radius-lg);
    padding: var(--kon-space-md) var(--kon-space-xl); margin-top: var(--kon-space-2xl);
}


/* -------------------------------------------------------------
   10. TAXI — driver card grid, card, safety strip
   ------------------------------------------------------------- */
.kon-driver-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--kon-space-lg); }
.kon-driver-card-archive {
    background: var(--kon-white); border: 1px solid var(--kon-divider); border-radius: var(--kon-radius-lg);
    padding: var(--kon-space-lg); display: flex; flex-direction: column; gap: var(--kon-space-md);
    transition: box-shadow var(--kon-transition), transform var(--kon-transition);
}
.kon-driver-card-archive:hover { box-shadow: var(--kon-shadow-hover); transform: translateY(-2px); }

.kon-dca__header { display: flex; gap: var(--kon-space-md); align-items: flex-start; }
.kon-dca__avatar {
    width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-size: 1.4rem; font-weight: 700; font-family: var(--kon-font-serif); color: #fff;
}
.kon-dca__avatar img { width: 100%; height: 100%; object-fit: cover; }
.kon-dca__id { flex: 1; min-width: 0; }
.kon-dca__name { font-size: .95rem; font-family: var(--kon-font-serif); font-weight: 500; margin: 0 0 .15rem; line-height: 1.25; }
.kon-dca__name a { color: var(--kon-slate); }
.kon-dca__name a:hover { color: var(--kon-pine-mid); }
.kon-dca__driver-name { font-size: .78rem; color: var(--kon-slate-mid); margin: 0 0 .3rem; }
.kon-dca__badges { display: flex; gap: .25rem; flex-wrap: wrap; }

.kon-dca__details { display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid var(--kon-divider); padding-top: var(--kon-space-md); }
.kon-dca__detail-item { display: flex; align-items: center; gap: .5rem; font-size: .84rem; }
.kon-dca__detail-icon { width: 1.2rem; text-align: center; flex-shrink: 0; font-size: .9rem; }
.kon-dca__detail-val { color: var(--kon-slate-mid); }
.kon-dca__detail-val a { color: var(--kon-pine-mid); }
.kon-dca__price { font-weight: 700; color: var(--kon-pine-mid); }

.kon-dca__routes { display: flex; flex-wrap: wrap; gap: .3rem; }
.kon-dca__route-pill {
    display: inline-block; padding: .2em .7em; border-radius: 999px;
    background: var(--kon-pine-light); color: var(--kon-pine-mid); font-size: .72rem; font-weight: 600;
    text-decoration: none; transition: background var(--kon-transition);
}
.kon-dca__route-pill:hover { background: var(--kon-pine-mid); color: #fff; }
.kon-dca__route-pill--more { background: var(--kon-glacier); color: var(--kon-slate-light); cursor: default; }

.kon-dca__actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }
.kon-dca__actions .kon-btn { flex: 1; min-width: 120px; justify-content: center; font-size: .82rem; }

.kon-taxi-safety-strip {
    display: flex; align-items: flex-start; gap: var(--kon-space-md);
    background: var(--kon-amber-light); border: 1px solid #F0C060; border-radius: var(--kon-radius-md);
    padding: var(--kon-space-md) var(--kon-space-lg); margin-top: var(--kon-space-2xl); font-size: .84rem;
}


/* -------------------------------------------------------------
   11. NEWS — featured hero + newspaper-style list rows
   ------------------------------------------------------------- */
.kon-news-featured-hero {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; text-decoration: none;
    background: var(--kon-white); border-radius: var(--kon-radius-xl); overflow: hidden;
    box-shadow: var(--kon-shadow-card); margin-bottom: var(--kon-space-2xl);
    transition: box-shadow var(--kon-transition);
}
.kon-news-featured-hero:hover { box-shadow: var(--kon-shadow-hover); }
@media (max-width: 760px) { .kon-news-featured-hero { grid-template-columns: 1fr; } }
.kon-news-featured-hero__img { position: relative; aspect-ratio: 4 / 3; background: var(--kon-pine-light); }
@media (max-width: 760px) { .kon-news-featured-hero__img { aspect-ratio: 16 / 9; } }
.kon-news-featured-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.kon-news-featured-hero__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.kon-news-featured-hero__badge {
    position: absolute; top: var(--kon-space-md); left: var(--kon-space-md);
    background: var(--kon-amber); color: #fff; font-size: .72rem; font-weight: 700;
    padding: .3em 1em; border-radius: 999px;
}
.kon-news-featured-hero__body { padding: var(--kon-space-xl); display: flex; flex-direction: column; justify-content: center; }
.kon-news-featured-hero__cat {
    display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--kon-pine-mid); margin-bottom: .5rem;
}
.kon-news-featured-hero__title {
    font-family: var(--kon-font-serif); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 500;
    color: var(--kon-slate); margin: 0 0 .6rem; line-height: 1.25;
}
.kon-news-featured-hero__excerpt { font-size: .92rem; color: var(--kon-slate-mid); line-height: 1.6; margin: 0 0 var(--kon-space-md); }
.kon-news-featured-hero__date { font-size: .8rem; color: var(--kon-pine-mid); font-weight: 600; }

.kon-news-list { display: flex; flex-direction: column; }
.kon-news-list-item { display: flex; gap: var(--kon-space-lg); padding: var(--kon-space-lg) 0; border-bottom: 1px solid var(--kon-divider); }
.kon-news-list-item:first-child { padding-top: 0; }
@media (max-width: 600px) { .kon-news-list-item { flex-direction: column; gap: var(--kon-space-md); } }
.kon-news-list-item__img { display: block; width: 200px; aspect-ratio: 4 / 3; border-radius: var(--kon-radius-md); overflow: hidden; flex-shrink: 0; background: var(--kon-pine-light); }
@media (max-width: 600px) { .kon-news-list-item__img { width: 100%; aspect-ratio: 16 / 9; } }
.kon-news-list-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.kon-news-list-item__img:hover img { transform: scale(1.04); }
.kon-news-list-item__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.kon-news-list-item__body { flex: 1; min-width: 0; }
.kon-news-list-item__meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: .4rem; font-size: .75rem; }
.kon-news-list-item__cat { color: var(--kon-pine-mid); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.kon-news-list-item__date { color: var(--kon-slate-light); }
.kon-news-list-item__source { color: var(--kon-slate-light); }
.kon-news-list-item__title { font-family: var(--kon-font-serif); font-size: 1.15rem; font-weight: 500; margin: 0 0 .4rem; line-height: 1.3; }
.kon-news-list-item__title a { color: var(--kon-slate); text-decoration: none; }
.kon-news-list-item__title a:hover { color: var(--kon-pine-mid); }
.kon-news-list-item__excerpt { font-size: .88rem; color: var(--kon-slate-mid); line-height: 1.6; margin: 0 0 .5rem; }
.kon-news-list-item__readmore { font-size: .8rem; font-weight: 600; color: var(--kon-pine-mid); text-decoration: none; }


/* -------------------------------------------------------------
   12. LOCATION HUB — hero banner, stats, jump-nav, section headers
   taxonomy-location.php renders all of this markup, but NONE of it
   had real visual styles anywhere in the theme — only a
   `body.kon-full-width-template` layout-fix rule existed for
   .kon-location-hero / .kon-location-tabs / .kon-location-section
   (width/display fixes only, not colors, spacing, or typography), so
   the whole page rendered as unstyled black-on-white text with no
   card layout at all. This section is the actual design.
   ------------------------------------------------------------- */

/* --- Hero banner ---
   Uses the same viewport-escape technique as .kon-location-section
   below (width:100vw + negative margins) rather than relying solely
   on the body.kon-full-width-template width-fix, so it's guaranteed
   truly edge-to-edge regardless of any padding still present on
   Astra's own wrapper elements. */
.kon-location-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--kon-pine) 0%, var(--kon-pine-mid) 100%);
    color: var(--kon-white);
    padding: var(--kon-space-2xl) calc(max((100vw - var(--kon-container-max)) / 2, 0px) + var(--kon-container-pad));
}
.kon-location-hero__eyebrow {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 .5rem;
}
.kon-location-hero__title {
    font-family: var(--kon-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--kon-white);
    margin: 0 0 .85rem;
}
.kon-location-hero__desc {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .85);
    max-width: 640px;
    margin: 0 0 var(--kon-space-xl);
}
.kon-location-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--kon-space-xl);
}
.kon-location-stat {
    display: flex;
    flex-direction: column;
}
.kon-location-stat__value {
    font-family: var(--kon-font-display);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: var(--kon-white);
}
.kon-location-stat__label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .7);
    margin-top: .35rem;
}

/* --- Jump nav (Hotels/Places/Taxi quick links — only rendered when
   more than one section is present on the page) --- */
.kon-location-tabs {
    display: flex;
    gap: var(--kon-space-sm);
    max-width: var(--kon-container-max);
    margin: 0 auto;
    padding: var(--kon-space-md) var(--kon-container-pad);
    overflow-x: auto;
    scrollbar-width: none;
}
.kon-location-tabs::-webkit-scrollbar { display: none; }
.kon-location-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding: .5em 1.1em;
    border-radius: var(--kon-radius-pill);
    background: var(--kon-glacier);
    color: var(--kon-slate-mid);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--kon-transition), color var(--kon-transition);
}
.kon-location-tab:hover {
    background: var(--kon-pine-light);
    color: var(--kon-pine-mid);
}

/* --- Section header row (title + "view all N →" link) --- */
.kon-location-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--kon-space-md);
    margin-bottom: var(--kon-space-lg);
}
.kon-location-section__title {
    font-family: var(--kon-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kon-ink);
    margin: 0;
}
.kon-location-section__link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--kon-pine-mid);
    text-decoration: none;
    white-space: nowrap;
}
.kon-location-section__link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .kon-location-hero {
        padding: var(--kon-space-xl) var(--kon-space-md);
    }
    .kon-location-stats {
        gap: var(--kon-space-lg);
    }
    .kon-location-stat__value {
        font-size: 1.5rem;
    }
    .kon-location-tabs {
        padding: var(--kon-space-sm) var(--kon-space-md);
    }
    .kon-location-tab {
        padding: .45em .9em;
        font-size: .82rem;
    }
    .kon-location-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
    }
    .kon-location-section__title {
        font-size: 1.25rem;
    }
}