/**
 * NWA Food 2026 — Redesign stylesheet
 *
 * Loads after main.css. New component styles land here as each view is
 * converted; eventually this replaces main.css entirely.
 *
 * Phase 2: base type + global chrome (header, footer).
 *
 * @package NWA_Food_2026
 */

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Legacy main.css forces h1–h6 to a dark color, which overrides the inherited
   white on headings placed in dark containers (hero, footer, dark cards) and
   makes them invisible. Inherit instead so every heading matches its container:
   dark on light surfaces (via body), white inside dark ones. Component rules
   with an explicit color still win. */
h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

/* Base links (ported from the retired main.css; components override as needed). */
a {
    color: var(--brand-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--brand-red-dark); }

html {
    overflow-x: clip; /* never scroll sideways; 'clip' (not 'hidden') keeps position:sticky working */
}

img {
    max-width: 100%;
}

body {
    font-family: var(--font-ui);
    color: var(--text);
    background: var(--page);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.nwa-eyebrow {
    font-size: var(--eyebrow-size);
    font-weight: 800;
    letter-spacing: var(--eyebrow-tracking);
    text-transform: uppercase;
    color: var(--brand-red);
}

/* Visible focus ring on interactive elements (accessibility). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.nwa-header {
    background: var(--ink);
}

.nwa-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px var(--gutter);
    max-width: var(--content-max);
    margin-inline: auto;
}

.nwa-header__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nwa-header__logo img,
.nwa-header__logo .custom-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nwa-header__title {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
}

/* Search pill */
.nwa-search {
    flex: 1;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 600px;
    min-width: 0;
}

.nwa-search__field {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}

.nwa-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    font-family: var(--font-ui);
    font-size: 14px;
    color: #14100d;
    outline: none;
}

.nwa-search__input::placeholder {
    color: rgba(20, 16, 13, .45);
}

.nwa-search__loc {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--border-14);
}

.nwa-search__select {
    height: 100%;
    border: 0;
    background: #fff;
    padding: 10px 30px 10px 14px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    color: #14100d;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2314100d' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.nwa-search__submit {
    flex: 0 0 auto;
    border: 0;
    background: var(--brand-red);
    color: #fff;
    padding: 10px 22px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
}

.nwa-search__submit:hover {
    background: var(--brand-red-dark);
}

/* Autocomplete dropdown (JS fills .search-autocomplete__dropdown) */
.nwa-search__field .search-autocomplete__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    z-index: var(--z-dropdown);
    overflow: hidden;
    display: none;
}

.nwa-search__field .search-autocomplete__dropdown:not(:empty) {
    display: block;
}

/* Navigation */
.nwa-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nwa-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nwa-nav__list li {
    position: relative;
}

.nwa-nav__list a {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--on-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition);
}

.nwa-nav__list a:hover {
    color: #fff;
}

/* Simple hover dropdowns (mega-menu contents kept from the assigned menu) */
.nwa-nav__list .sub-menu {
    position: absolute;
    top: 100%;
    /* Right-align: the nav sits on the right, so dropdowns open leftward and
       never push past the viewport edge. */
    right: 0;
    left: auto;
    min-width: 200px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--ink-light);
    border: 1px solid var(--on-dark-09);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: var(--z-dropdown);
}

.nwa-nav__list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nwa-nav__list .sub-menu a {
    padding: 7px 16px;
    color: var(--on-dark-72);
}

.nwa-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nwa-nav__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.nwa-footer {
    background: var(--ink);
    font-family: var(--font-ui);
}

.nwa-footer__top {
    background: var(--ink-deep);
    color: var(--on-dark-72);
}

.nwa-footer__top-inner {
    padding: 40px var(--gutter) 34px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr .9fr;
    gap: 36px;
    max-width: var(--content-max);
    margin-inline: auto;
}

.nwa-footer__heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.nwa-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.35;
}

.nwa-footer__links--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 20px;
}

.nwa-footer__links a {
    color: var(--on-dark-72);
    text-decoration: none;
    transition: color var(--transition);
}

.nwa-footer__links a:hover {
    color: var(--salmon);
}

.nwa-footer__bottom {
    background: var(--ink);
    border-top: 1px solid var(--on-dark-09);
}

.nwa-footer__bottom-inner {
    padding: 20px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--content-max);
    margin-inline: auto;
}

.nwa-footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nwa-footer__logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nwa-footer__logo-fallback {
    color: #fff;
    font-weight: 800;
}

.nwa-footer__tagline {
    font-size: 12.5px;
    color: var(--on-dark-60);
}

.nwa-footer__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: var(--on-dark-60);
}

.nwa-footer__social {
    display: flex;
    gap: 8px;
}

.nwa-footer__social a {
    width: 26px;
    height: 26px;
    border: 1px solid var(--on-dark-25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--on-dark-60);
    text-decoration: none;
    text-transform: lowercase;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.nwa-footer__social a:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.nwa-footer__copy {
    color: var(--on-dark-60);
    white-space: nowrap;
}

/* ==========================================================================
   Responsive (desktop-first; mobile refined in a later pass)
   ========================================================================== */
@media (max-width: 900px) {
    .nwa-header__inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    .nwa-search {
        order: 3;
        max-width: none;
        flex-basis: 100%;
    }
    .nwa-nav {
        margin-left: auto;
    }
    /* Tablet: 4 footer columns → 2. (Correct selector — the grid is on __inner;
       phones collapse to 1 column in the ≤768 block below.) */
    .nwa-footer__top-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   Front page (Phase 3)
   ========================================================================== */

/* Filter pill bar */
.filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.filter-bar__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px var(--gutter);
    max-width: var(--content-max);
    margin-inline: auto;
    overflow: hidden;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.filter-pill:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.filter-pill.is-active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
    font-weight: 600;
}

.filter-pill.is-active:hover {
    color: #fff;
}

.filter-bar__all,
.filter-bar__toggle {
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-red);
    white-space: nowrap;
    background: transparent;
    border: 0;
    padding: 7px 0;
    cursor: pointer;
}

.filter-bar__toggle:hover {
    text-decoration: underline;
}

/* Extra amenity pills stay hidden until "All filters" is expanded. */
.filter-pill--extra {
    display: none;
}

.filter-bar__inner.is-expanded {
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 8px;
}

.filter-bar__inner.is-expanded .filter-pill--extra {
    display: inline-flex;
    align-items: center;
}

/* When expanded the toggle should sit inline, not get pushed to a new row. */
.filter-bar__inner.is-expanded .filter-bar__toggle {
    margin-left: 8px;
}

/* Two-column body */
.home-body {
    display: grid;
    /* minmax(0,1fr) so the flexible track can shrink below its content's
       min-content width — prevents horizontal overflow from wide rows. */
    grid-template-columns: var(--sidebar-filters) minmax(0, 1fr);
    align-items: start;
    background: var(--page);
    max-width: var(--content-max);
    margin-inline: auto;
}

/* Discovery sidebar */
.listing-sidebar {
    background: #fff;
    border-right: 1px solid var(--border);
    padding: 24px 22px;
    align-self: stretch;
}

.sidebar-block {
    margin-bottom: 26px;
}

.sidebar-block__heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brand-red);
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 7px;
    margin-bottom: 12px;
}

.sidebar-block__terms {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sidebar-term {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    font-size: 13.5px;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: border-color var(--transition), color var(--transition);
}

.sidebar-term:hover {
    border-left-color: rgba(200, 53, 43, .4);
    color: var(--brand-red);
}

.sidebar-term.is-active {
    font-weight: 700;
    border-left-color: var(--brand-red);
}

.sidebar-term__count {
    color: var(--text-45);
    font-weight: 500;
}

.sidebar-more {
    display: block;
    padding: 7px 11px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-red);
}

/* Main column */
.home-main {
    padding: 26px var(--gutter) 44px;
    min-width: 0;
}

.home-main__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 16px;
}

.home-main__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.home-main__count {
    font-weight: 500;
    color: var(--text-45);
    font-size: 15px;
}

.home-main__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

/* City selector styled to read as part of the heading */
.home-city {
    position: relative;
    display: inline-block;
}

.home-city__select {
    font-family: var(--font-ui);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--salmon);   /* always-visible underline */
    padding: 0 22px 1px 2px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath fill='%23c8352b' d='M0 0l5.5 7L11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    transition: border-color var(--transition);
}

.home-city__select:hover {
    border-bottom-color: var(--brand-red);   /* darker hue on hover */
}

/* Near me */
.home-nearme {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-55);          /* OFF (default): muted — "use my location" */
    background: transparent;
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition), opacity var(--transition);
}

/* Pin is greyed out when off, full colour when a location is active. */
.home-nearme__pin { filter: grayscale(1); opacity: .55; transition: filter var(--transition), opacity var(--transition); }

.home-nearme:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

/* ON: a location/city is active. */
.home-nearme.is-on {
    color: var(--brand-red);
    border-color: var(--brand-red);
    background: var(--brand-red-tint);
}
.home-nearme.is-on .home-nearme__pin { filter: none; opacity: 1; }

.home-nearme.is-loading {
    opacity: .55;
    cursor: progress;
}

/* "Near me" status message (geolocation denied/blocked/unavailable) */
.home-nearme__msg {
    flex-basis: 100%;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--brand-red);
}
.home-nearme__msg:empty { display: none; }

/* Sort menu (native <details>) */
.sortmenu {
    position: relative;
    font-size: 13px;
    color: var(--text-55);
}

.sortmenu__btn {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.sortmenu__btn::-webkit-details-marker {
    display: none;
}

.sortmenu__value {
    font-weight: 600;
    color: #14100d;
}

.sortmenu__list {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 160px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    z-index: var(--z-dropdown);
}

.sortmenu__item {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text);
}

.sortmenu__item:hover {
    background: var(--page);
    color: var(--brand-red);
}

.sortmenu__item.is-active {
    font-weight: 700;
    color: var(--brand-red);
}

/* Listing rows */
.listing-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.listing-row {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.listing-row:hover {
    border-left-color: var(--brand-red);
    box-shadow: var(--shadow-row);
}

.listing-row:first-child {
    border-left-color: var(--brand-red);
}

.listing-row__thumb {
    flex: none;
    width: 132px;
    height: 96px;
    border-radius: var(--radius-thumb);
    overflow: hidden;
    display: block;
    background: var(--wash);
}

.listing-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-row__body {
    flex: 1;
    min-width: 0;
}

.listing-row__head {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
}

.listing-row__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    transition: color var(--transition);
}

.listing-row__title:hover {
    color: var(--brand-red);
}

.listing-row__verified {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-red);
    border: 1px solid var(--brand-red);
    border-radius: 3px;
    padding: 1px 5px;
}

.listing-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-55);
    margin-top: 4px;
}

.listing-row__meta a {
    color: var(--text-55);
}

.listing-row__meta a:hover {
    color: var(--brand-red);
}

.listing-row__meta .star-rating {
    display: inline-flex;
}

.listing-row__meta .star {
    color: var(--star-gold);
    font-size: 13px;
}

.listing-row__meta .star-empty {
    color: #d9d5cd;
}

.listing-row__meta .rating-number {
    color: var(--text-55);
    font-weight: 600;
    margin-left: 4px;
}

.listing-row__count {
    color: var(--text-45);
}

.listing-row__noreviews {
    color: var(--text-45);
    font-style: italic;
}

.listing-row__sep {
    color: var(--text-45);
}

.listing-row__excerpt {
    margin: 7px 0 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-62);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-row__rail {
    flex: none;
    width: 132px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.listing-row__status {
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.listing-row__status.is-open {
    color: var(--open-green);
}

.listing-row__status.is-closed {
    color: var(--text-45);
}

/* Inline meta status — hidden on desktop (the rail shows it); revealed on mobile. */
.listing-row__meta-status,
.listing-row__meta-status-sep { display: none; }
.listing-row__meta-status { font-weight: 700; }
.listing-row__meta-status.is-open { color: var(--open-green); }
.listing-row__meta-status.is-closed { color: var(--text-55); font-weight: 600; }

.listing-row__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.listing-row__cta {
    background: var(--brand-red);
    color: #fff;
    border: 1px solid var(--brand-red);
    border-radius: var(--radius-thumb);
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.listing-row__cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

/* Secondary "Reviews" button */
.listing-row__cta--ghost {
    background: transparent;
    color: var(--brand-red);
    border-color: var(--border-16);
    padding: 6px 14px;
}

.listing-row__cta--ghost:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

/* New this week banner */
.home-banner {
    margin-top: 30px;
    background: var(--ink);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.home-banner__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.home-banner__sub {
    font-size: 13px;
    color: var(--on-dark-60);
    margin-top: 4px;
}

.home-banner__cta {
    background: var(--brand-red);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.home-banner__cta:hover {
    background: #fff;
    color: var(--brand-red);
}

/* Latest from the blog */
.home-blog {
    margin-top: 30px;
}

.home-blog__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}

.home-blog__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.home-blog__all {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-red);
    white-space: nowrap;
}

.home-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: block;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-tile);
}

.blog-card__img {
    width: 100%;
    aspect-ratio: 1.91 / 1; /* standard social/OG cover ratio */
    height: auto;
    object-fit: cover;
    display: block;
}

.blog-card__img--placeholder {
    background: var(--wash);
}

.blog-card__title {
    display: block;
    padding: 12px 14px 15px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.32;
    color: var(--text);
    text-wrap: pretty;
}

.home-empty {
    padding: 24px 0;
    color: var(--text-55);
}

/* Front-page responsive */
@media (max-width: 900px) {
    .filter-bar {
        flex-wrap: wrap;
    }
    .home-body {
        grid-template-columns: 1fr;
    }
    .listing-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .home-blog__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    /* Reclaim horizontal space on phones — halves the outer gutter everywhere
       that uses var(--gutter) (header, filter bar, main, footer, breadcrumbs…). */
    :root { --gutter: 16px; }

    /* --- Listing cards: stack, status inline in meta, full-width buttons below --- */
    .listing-row {
        flex-direction: column;
    }
    .listing-row__thumb {
        width: 100%;
        height: 180px;
    }
    .listing-row__meta-status,
    .listing-row__meta-status-sep { display: inline; }
    .listing-row__rail > .listing-row__status { display: none; }  /* moved into the meta line */
    .listing-row__rail {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    /* Actions inherit the base column/stretch → each button spans the full card
       width, stacked below the info. Slightly taller tap targets on mobile. */
    .listing-row__actions .listing-row__cta { padding: 11px 14px; font-size: 13px; }

    /* --- Filter pills: horizontal swipe strip (instead of clipping) --- */
    .filter-bar__inner,
    .filter-bar__inner.is-expanded {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        row-gap: 0;
    }
    .filter-bar__inner::-webkit-scrollbar { display: none; }
    .filter-bar__inner > * { flex: none; }
    .filter-bar__all,
    .filter-bar__toggle { margin-left: 4px; }
}

/* ==========================================================================
   Breadcrumbs (shared)
   ========================================================================== */
.breadcrumbs {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 10px var(--gutter);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 12.5px;
    color: var(--text-55);
}

.breadcrumbs a { color: var(--text-55); }
.breadcrumbs a:hover { color: var(--brand-red); }
.breadcrumbs__sep { color: var(--text-45); }
.breadcrumbs__current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Taxonomy index hub
   ========================================================================== */
.hub-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hub-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 26px var(--gutter) 22px;
}

.hub-header__title {
    margin: 4px 0 0;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.hub-header__intro {
    margin: 9px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(20, 16, 13, .65);
    max-width: 660px;
    text-wrap: pretty;
}

.hub-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hub-mode {
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 7px 15px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.hub-mode:hover { border-color: var(--brand-red); color: var(--brand-red); }

.hub-mode.is-active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.hub-body {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 28px var(--gutter) 48px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hub-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 9px;
    margin-bottom: 16px;
}

.hub-section__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.hub-section__meta { font-weight: 500; color: var(--text-45); font-size: 14px; }

.hub-section__pattern {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 12px;
    color: var(--text-45);
    white-space: nowrap;
}

/* Cuisine tiles */
.hub-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hub-tile {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 16px 18px;
    color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.hub-tile:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-tile);
    color: var(--ink);
}

.hub-tile__name { font-size: 16px; font-weight: 700; }
.hub-tile__count { font-size: 12.5px; font-weight: 600; color: var(--text-45); }

.hub-tile--invert {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.hub-tile--invert:hover { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.hub-tile--invert .hub-tile__count { color: var(--on-dark-60); }

/* Cuisine overflow chips */
.hub-chips {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hub-chip {
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 6px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition);
}

.hub-chip:hover { border-color: var(--brand-red); color: var(--brand-red); }
.hub-chip__count { color: var(--text-45); font-weight: 500; }
.hub-chip--more { border-color: var(--brand-red); color: var(--brand-red); font-weight: 700; }

/* City hero tiles */
.hub-cities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hub-city {
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: var(--ink);
    border-radius: var(--radius-card);
    padding: 20px 22px;
    color: #fff;
    transition: background var(--transition);
}

.hub-city:hover { background: var(--ink-light); color: #fff; }

.hub-city__count {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--salmon);
}

.hub-city__name { font-size: 18px; font-weight: 700; }

/* City small buttons */
.hub-city-buttons {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.hub-city-btn {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    transition: border-color var(--transition), color var(--transition);
}

.hub-city-btn:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Neighborhood cards */
.hub-hoods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hub-hood {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--ink);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.hub-hood--accent { border-left-color: var(--brand-red); }
.hub-hood:hover { border-left-color: var(--brand-red); box-shadow: var(--shadow-tile); color: var(--ink); }
.hub-hood__name { display: block; font-size: 15px; font-weight: 700; }
.hub-hood__meta { display: block; font-size: 12px; color: var(--text-55); margin-top: 3px; }

/* Amenity pills */
.hub-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-amenity {
    background: #fff;
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition);
}

.hub-amenity:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Closing banner */
.hub-banner {
    background: var(--ink);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
}

.hub-banner__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.hub-banner__sub { font-size: 13px; color: var(--on-dark-60); margin-top: 4px; }

.hub-banner__cta {
    background: var(--brand-red);
    color: #fff;
    padding: 11px 20px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--transition), color var(--transition);
}

.hub-banner__cta:hover { background: #fff; color: var(--brand-red); }

/* Hub responsive */
@media (max-width: 900px) {
    .hub-tiles { grid-template-columns: repeat(3, 1fr); }
    .hub-cities { grid-template-columns: repeat(2, 1fr); }
    .hub-city-buttons { grid-template-columns: repeat(4, 1fr); }
    .hub-hoods { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hub-header__title { font-size: 28px; }
    .hub-tiles { grid-template-columns: repeat(2, 1fr); }
    .hub-cities { grid-template-columns: repeat(2, 1fr); }
    .hub-city-buttons { grid-template-columns: repeat(2, 1fr); }
    .hub-hoods { grid-template-columns: 1fr; }
    .hub-section__pattern { display: none; }
    .hub-banner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Listing archives (Phase 3)
   ========================================================================== */
.archive-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.archive-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 26px var(--gutter) 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.archive-header__text { max-width: 720px; }

.archive-header__title {
    margin: 8px 0 0;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.archive-header__intro {
    margin: 10px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(20, 16, 13, .65);
    text-wrap: pretty;
}

.archive-stats { display: flex; gap: 22px; flex: none; }
.archive-stat__num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.archive-stat__num--open { color: var(--open-green); }
.archive-stat__label { font-size: 11.5px; color: rgba(20, 16, 13, .5); font-weight: 600; }

/* Price filter (sidebar) */
.sidebar-price { display: flex; gap: 6px; }

.sidebar-price__btn {
    border: 1px solid var(--border-18);
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.sidebar-price__btn:hover { border-color: var(--brand-red); color: var(--brand-red); }
.sidebar-price__btn.is-active { border-color: var(--brand-red); background: var(--brand-red); color: #fff; }

/* Row: NEW + permanently-closed variants */
.listing-row__new {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-red);
}

.listing-row__closed {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-55);
    border: 1px solid var(--border-18);
    border-radius: 3px;
    padding: 1px 5px;
}

.listing-row.is-closed { opacity: .72; }
.listing-row.is-closed:hover { opacity: 1; border-left-color: rgba(20, 16, 13, .3); box-shadow: none; }
.listing-row.is-closed .listing-row__thumb img { filter: grayscale(1); }

.listing-row__thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(20, 16, 13, .22);
    border-radius: var(--radius-thumb);
    font-size: 11px;
    font-weight: 600;
    color: rgba(20, 16, 13, .4);
    text-align: center;
    padding: 0 8px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 28px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border: 1px solid var(--border-16);
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.pagination a.page-numbers:hover { border-color: var(--brand-red); color: var(--brand-red); }
.pagination .page-numbers.current { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.pagination .next, .pagination .prev { padding: 0 14px; }

/* Empty state */
.archive-empty { padding: 20px 0 8px; }
.archive-empty__msg { margin: 0 0 14px; font-size: 15px; color: var(--text-62); }
.archive-empty__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Neighborhood card */
.archive-hoods {
    margin-top: 34px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 22px 24px;
}

.archive-hoods__title { margin: 0 0 12px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.archive-hoods__chips { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
    .archive-header__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* Active-filter chips (faceted archives) */
.facet-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.facet-chips__label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-55);
}

.facet-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-red);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    transition: background var(--transition);
}

.facet-chip:hover { background: var(--brand-red-dark); color: #fff; }
.facet-chip__x { font-size: 15px; line-height: 1; }

.facet-chips__clear {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-red);
    margin-left: 4px;
}

/* ==========================================================================
   Single restaurant (Phase 3)
   ========================================================================== */

/* Hero */
.listing-hero {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.listing-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.listing-hero.is-closed .listing-hero__img { filter: grayscale(1); opacity: .4; }

.listing-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 26, 25, .35), rgba(28, 26, 25, .92));
}

.listing-hero__inner {
    position: relative;
    min-height: 280px;
    max-width: var(--content-max);
    margin-inline: auto;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 0 var(--gutter) 22px;
}

.listing-hero__body { flex: 1; min-width: 0; }

.listing-hero__badges { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.listing-hero__status {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    color: #fff;
    background: var(--open-green);
}
.listing-hero__status.is-closed { background: rgba(255, 255, 255, .18); }

.listing-hero__closed {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, .5);
}

.listing-hero__verified {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, .35);
}

.listing-hero__title {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.listing-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .82);
}
.listing-hero__meta .price-level { color: #fff; }
.listing-hero__sep { color: rgba(255, 255, 255, .5); }
.listing-hero__term { color: #fff; font-weight: 600; }
.listing-hero__term:hover { color: var(--salmon); }
.listing-hero__stars .star { color: var(--star-gold); }
.listing-hero__stars .star-empty { color: rgba(255,255,255,.4); }
.listing-hero__stars .rating-number { color: #fff; font-weight: 600; margin-left: 3px; }
.listing-hero__reviews { color: rgba(255, 255, 255, .82); border-bottom: 1px solid rgba(255, 255, 255, .35); margin-left: 4px; }
.listing-hero__reviews:hover { color: #fff; }

.listing-hero__actions { display: flex; gap: 9px; flex: none; }

.listing-hero__btn {
    padding: 11px 18px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--transition);
}
.listing-hero__btn--primary { background: var(--brand-red); color: #fff; }
.listing-hero__btn--primary:hover { background: var(--brand-red-dark); color: #fff; }
.listing-hero__btn--ghost { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.listing-hero__btn--ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }

/* Tabs */
.listing-tabs { background: #fff; border-bottom: 1px solid var(--border); }
.listing-tabs__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 var(--gutter);
    display: flex;
    gap: 26px;
    overflow-x: auto;
}
.listing-tab {
    padding: 14px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-62);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
}
.listing-tab:hover { color: var(--brand-red); border-bottom-color: rgba(200, 53, 43, .35); }
.listing-tab.is-active { color: var(--ink); font-weight: 700; border-bottom-color: var(--brand-red); }

/* Body layout */
.listing-body {
    max-width: var(--content-max);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sidebar-detail);
    gap: 28px;
    padding: 28px var(--gutter) 48px;
    align-items: start;
}
.listing-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* Cards */
.lcard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 28px;
}
.lcard__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.lcard__title--rule { border-bottom: 2px solid var(--brand-red); padding-bottom: 9px; margin-bottom: 14px; }
.lcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lcard__head--rule { border-bottom: 2px solid var(--brand-red); padding-bottom: 9px; margin-bottom: 16px; }
.lcard__link { font-size: 12.5px; font-weight: 700; color: var(--brand-red); white-space: nowrap; }
.lcard__subtitle { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.lcard__prose { font-size: 14.5px; line-height: 1.65; color: var(--text-72); text-wrap: pretty; }
.lcard__prose p { margin: 0 0 12px; }
.lcard__prose p:last-child { margin-bottom: 0; }
.lcard__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lchip {
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 6px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--transition), color var(--transition);
}
.lchip:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Menu grid */
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.menu-grid__item { display: block; }
.menu-grid__item img { width: 100%; height: 190px; object-fit: cover; border-radius: 7px; border: 1px solid var(--border); }
.menu-grid__slot {
    height: 190px;
    border: 1px dashed rgba(20, 16, 13, .22);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-45);
    line-height: 1.4;
}

/* Reviews preview (overview) */
.rv-preview { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; }
.rv-preview__score { text-align: center; background: var(--page); border-radius: 8px; padding: 18px 12px; }
.rv-preview__num { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rv-preview__stars { margin-top: 4px; }
.rv-preview__stars .star, .rv-summary__stars .star, .rv-item__stars .star { color: var(--star-gold); font-size: 14px; }
.rv-preview__stars .star-empty, .rv-summary__stars .star-empty { color: #d9d5cd; }
.rv-preview__count { font-size: 12px; color: var(--text-45); margin-top: 5px; }
.rv-preview__empty { font-size: 14px; color: var(--text-55); margin: 0 0 14px; }

.rv-item { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.rv-item__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--wash); flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--text-55); }
.rv-item__head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.rv-item__author { font-size: 14px; font-weight: 700; }
.rv-item__title { font-size: 14.5px; font-weight: 700; margin-top: 6px; }
.rv-item__text { margin: 5px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-72); }
.rv-preview__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.rv-preview__prompt { font-size: 13px; color: var(--text-55); }

/* Reviews tab summary + histogram */
.rv-summary { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; margin-bottom: 20px; }
.rv-summary__score { text-align: center; background: var(--page); border-radius: 8px; padding: 18px 12px; }
.rv-summary__num { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rv-summary__count { font-size: 12px; color: var(--text-45); margin-top: 5px; }
.rv-histogram { display: flex; flex-direction: column; gap: 6px; }
.rv-hbar { display: grid; grid-template-columns: 14px 1fr 28px; align-items: center; gap: 10px; font-size: 12px; }
.rv-hbar__track { height: 7px; background: var(--wash); border-radius: 999px; overflow: hidden; }
.rv-hbar__fill { display: block; height: 100%; background: var(--star-gold); }
.rv-hbar__count { text-align: right; color: var(--text-55); }
.rv-list { display: flex; flex-direction: column; gap: 18px; }
.rv-empty { text-align: center; padding: 20px 0; color: var(--text-55); }
.rv-empty p { margin: 0 0 12px; }
.rv-closed { margin: 16px 0 0; font-size: 13px; color: var(--text-55); font-style: italic; }

/* Backend review cards (NWAFood_Listing_Reviews::render_review_card) */
.review-card { padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; overflow-wrap: anywhere; word-break: break-word; }
.review-card > * { min-width: 0; }
.review-card a { word-break: break-all; }
.review-card .star, .review-card .stars { color: var(--star-gold); }

/* Reviews toolbar + filter + load-more */
.rv-hbar { width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--font-ui); }
.rv-hbar[disabled] { cursor: default; opacity: .55; }
.rv-hbar:not([disabled]):hover .rv-hbar__track { box-shadow: 0 0 0 1px var(--brand-red); }
.rv-hbar.is-active .rv-hbar__fill { background: var(--brand-red); }

.reviews-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; font-size: 13px; color: var(--text-55); }
.reviews-toolbar__sort { margin-left: auto; }
.reviews-toolbar__select { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: #14100d; border: 1px solid var(--border-16); border-radius: 7px; padding: 6px 10px; background: #fff; cursor: pointer; }
.reviews-toolbar__clear { background: transparent; border: 0; color: var(--brand-red); font-weight: 600; cursor: pointer; font-size: 12.5px; }

.reviews-load-more { margin-top: 18px; }
.rv-loadmore { width: 100%; padding: 12px; text-align: center; }

.lbtn--ghost { background: transparent; color: var(--brand-red); border: 1px solid var(--border-16); }
.lbtn--ghost:hover { border-color: var(--brand-red); background: var(--brand-red); color: #fff; }

/* Nearby */
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nearby-card { border: 1px solid var(--border); border-radius: 8px; padding: 13px; color: var(--ink); transition: border-color var(--transition); }
.nearby-card:hover { border-color: var(--brand-red); color: var(--ink); }
.nearby-card__name { display: block; font-size: 14.5px; font-weight: 700; }
.nearby-card__new { font-size: 10px; color: var(--brand-red); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nearby-card__meta { display: block; font-size: 12px; color: var(--text-55); margin-top: 4px; }

/* Sidebar */
.listing-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.laside__heading { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.laside__heading--rule { border-bottom: 2px solid var(--brand-red); padding-bottom: 8px; margin-bottom: 12px; }
.lcard.laside-hours, .lcard.laside-contact { padding: 20px 22px; }

.laside-hours__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--brand-red); padding-bottom: 8px; margin-bottom: 12px; }
.laside-hours__now { font-size: 11.5px; font-weight: 700; }
.laside-hours__now.is-open { color: var(--open-green); }
.laside-hours__now.is-closed { color: var(--text-45); }
.laside-hours__list { display: flex; flex-direction: column; font-size: 13px; }
.laside-hours__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--text-72); border-top: 1px solid rgba(20, 16, 13, .07); }
.laside-hours__row:first-child { border-top: 0; }
.laside-hours__row.is-today { font-weight: 700; color: var(--ink); }

.laside-contact__list { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.laside-contact__addr { color: var(--ink); line-height: 1.4; }
.laside-contact__addr:hover, .laside-contact__phone:hover { color: var(--brand-red); }
.laside-contact__phone { color: var(--ink); font-weight: 600; }
.laside-contact__web { font-weight: 600; word-break: break-word; }
.laside-contact__social { display: flex; gap: 8px; margin-top: 14px; }
.laside-social {
    width: 30px; height: 30px; border: 1px solid var(--border-18); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
    color: var(--ink); text-transform: lowercase; transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.laside-social:hover { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }

.lcard--flush { padding: 0; overflow: hidden; }
.lcard--flush__head { padding: 20px 22px 12px; }
.laside__map { width: 100%; height: 200px; border: 0; display: block; }
.laside__directions { display: block; padding: 13px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--brand-red); border-top: 1px solid var(--border); }

.laside-cta { background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 20px 22px; }
.laside-cta__title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.laside-cta__text { margin: 7px 0 14px; font-size: 13px; line-height: 1.5; color: var(--on-dark-60); }

.lbtn { display: inline-block; border: 0; cursor: pointer; font-family: var(--font-ui); padding: 9px 16px; border-radius: var(--radius-btn); font-size: 12.5px; font-weight: 700; transition: background var(--transition), color var(--transition); }
.lbtn--ink { background: var(--ink); color: #fff; }
.lbtn--ink:hover { background: var(--brand-red); color: #fff; }
.lbtn--red { background: var(--brand-red); color: #fff; }
.lbtn--red:hover { background: #fff; color: var(--brand-red); }

/* Review dialog */
.review-dialog { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; }
.review-dialog[hidden] { display: none; }
.review-dialog__scrim { position: fixed; inset: 0; background: rgba(20, 16, 13, .62); animation: nwafade .2s ease; }
.review-dialog__panel { position: relative; width: 540px; max-width: calc(100% - 32px); margin: auto; background: #fff; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); overflow: hidden; animation: nwapop .26s cubic-bezier(.2, .8, .3, 1); }
@keyframes nwafade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nwapop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.review-dialog__head { position: relative; background: var(--ink); color: #fff; padding: 18px 24px; }
.review-dialog__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--salmon); }
.review-dialog__listing { font-size: 17px; font-weight: 800; margin-top: 2px; }
.review-dialog__sub { font-size: 12.5px; color: var(--on-dark-60); margin-top: 2px; }
.review-dialog__close { position: absolute; top: 14px; right: 16px; background: transparent; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.review-dialog__body { padding: 22px 24px 24px; }
.review-dialog__note { margin: 12px 0 0; font-size: 12px; color: var(--text-45); }

/* Review form (backend markup) */
.review-form__field { margin-bottom: 16px; }
.review-form__field > label { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--text-55); margin-bottom: 6px; }
.review-form__field .required { color: var(--brand-red); }
.review-form input[type="text"], .review-form input[type="email"], .review-form textarea {
    width: 100%; box-sizing: border-box; border: 1.5px solid var(--border-16); border-radius: 7px; padding: 10px 12px;
    font-family: var(--font-ui); font-size: 14px; color: var(--ink); background: #fff;
}
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--brand-red); }
.review-form textarea { resize: vertical; min-height: 96px; }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form small { display: block; font-size: 11.5px; color: var(--text-45); margin-top: 4px; }
.review-form__rating { background: var(--page); border-radius: 9px; padding: 16px; text-align: center; }
#star-rating-input.star-rating-input { display: inline-flex; gap: 4px; margin-top: 6px; transition: none; }
.star-btn { background: transparent; border: 0; cursor: pointer; font-size: 30px; line-height: 1; color: rgba(20, 16, 13, .18); padding: 0 2px; transition: color .1s ease; transform: none; }
.star-btn:hover, .star-btn.active, .star-btn.selected, .star-btn.is-active, .star-btn.hovered { color: var(--star-gold); }
/* Must be block BELOW the stars (id selector beats legacy #rating-text) so its
   appearance on hover doesn't re-center + shift the stars ("bounce"). */
#rating-text.rating-text { display: block; width: auto; float: none; font-size: 12.5px; color: var(--text-55); margin-top: 8px; min-height: 1.2em; }
.review-form__submit { margin-top: 6px; }
.review-form__submit .btn, .review-form #submit-review { display: inline-block; background: var(--brand-red); color: #fff; border: 0; cursor: pointer; font-family: var(--font-ui); font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: var(--radius-btn); transition: background var(--transition); }
.review-form__submit .btn:hover, .review-form #submit-review:hover { background: var(--ink); }
.review-form__message { margin-top: 12px; padding: 12px 14px; border-radius: 8px; font-size: 13.5px; }
.review-form__message.success, .review-form__message.is-success { background: var(--brand-red-tint); color: #7a1c15; }
.review-form__message.error, .review-form__message.is-error { background: #fdecea; color: #a11; }

/* Single-listing responsive */
@media (max-width: 980px) {
    .listing-body { grid-template-columns: 1fr; }
    .listing-aside { position: static; }
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
    .nearby-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .listing-hero__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .listing-hero__title { font-size: 28px; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .rv-preview, .rv-summary { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: 1fr; }
    .review-form__row { grid-template-columns: 1fr; }
    .review-dialog__panel { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 12px 12px 0 0; }
}

/* Reviews empty-state aggregate context */
.rv-empty__agg { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.rv-empty__agg .star { color: var(--star-gold); font-size: 18px; }
.rv-empty__agg .star-empty { color: #d9d5cd; font-size: 18px; }

/* ============================================================================
   BLOG INDEX  (home.php / category.php via template-parts/blog/index-shell.php)
   ========================================================================== */
.blog-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 26px var(--gutter) 20px;
}
.blog-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
}
.blog-header__title {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.025em;
}
.blog-header__intro {
    margin: 9px 0 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-62);
    max-width: 640px;
    text-wrap: pretty;
}
.blog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.blog-pill {
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 7px 15px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.blog-pill:hover { border-color: var(--brand-red); color: var(--brand-red); }
.blog-pill.is-active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.blog-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 32px;
    align-items: start;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 28px var(--gutter) 48px;
}
.blog-main { min-width: 0; }

/* Hero post */
.blog-hero {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    color: var(--text);
    transition: box-shadow var(--transition);
}
.blog-hero:hover { box-shadow: 0 8px 24px rgba(20, 16, 13, .10); }
.blog-hero__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.blog-hero__img--placeholder { background: #efece6; }
.blog-hero__body {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-hero__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 10px;
}
.blog-hero__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -.015em;
    text-wrap: pretty;
}
.blog-hero__excerpt {
    margin: 11px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-62);
    text-wrap: pretty;
}
.blog-hero__meta {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-45);
    font-weight: 600;
}

/* Two-up cards */
.blog-twoup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.blog-2card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    color: var(--text);
    transition: box-shadow var(--transition);
}
.blog-2card:hover { box-shadow: 0 8px 24px rgba(20, 16, 13, .10); }
.blog-2card__img { width: 100%; height: 170px; object-fit: cover; }
.blog-2card__img--placeholder { background: #efece6; display: block; }
.blog-2card__body { padding: 18px 20px 22px; }
.blog-2card__eyebrow {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 8px;
}
.blog-2card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-wrap: pretty;
}
.blog-2card__excerpt {
    margin: 9px 0 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-62);
}
.blog-2card__meta { margin-top: 12px; font-size: 12px; color: var(--text-45); font-weight: 600; }

/* Compact rows */
.blog-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.blog-row {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid transparent;
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--text);
    transition: border-left-color var(--transition), box-shadow var(--transition);
}
.blog-row:hover {
    border-left-color: var(--brand-red);
    box-shadow: 0 6px 18px rgba(20, 16, 13, .09);
}
.blog-row__img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--radius-thumb);
    flex: none;
}
.blog-row__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-18);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-45);
}
.blog-row__body { flex: 1; min-width: 0; }
.blog-row__eyebrow {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 5px;
}
.blog-row__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.blog-row__excerpt {
    margin: 5px 0 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-62);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog-row__date { font-size: 12px; color: var(--text-45); font-weight: 600; flex: none; }
.blog-row--closing .blog-row__eyebrow { color: var(--text-45); }
.blog-row--closing .blog-row__img { filter: grayscale(1); }

/* Blog sidebar */
.blog-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 16px;
}
.blog-aside__open { background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 22px; }
.blog-aside__open-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.blog-aside__open-copy { margin: 7px 0 14px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.blog-aside__open-btn {
    display: block;
    background: var(--brand-red);
    color: #fff;
    padding: 10px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition), color var(--transition);
}
.blog-aside__open-btn:hover { background: #fff; color: var(--brand-red); }
.blog-aside__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px 22px; }
.blog-aside__heading {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 8px;
}
.blog-aside__links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.blog-aside__links a { color: var(--text); }
.blog-aside__links a:hover { color: var(--brand-red); }

/* ============================================================================
   SINGLE BLOG POST  (single.php)
   ========================================================================== */
.post-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 32px;
    align-items: start;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 var(--gutter) 48px;
    background: var(--page);
}
.post-article {
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    overflow: hidden;
    min-width: 0;
}
.post-article__cover { width: 100%; height: auto; display: block; }
.post-article__inner { padding: 30px 44px 40px; }
.post-article__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 14px;
}
.post-article__eyebrow a { color: var(--brand-red); }
.post-article__dot { color: rgba(20, 16, 13, .3); }
.post-article__date { color: var(--text-45); letter-spacing: .08em; }
.post-article__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-wrap: pretty;
}
.post-article__standfirst {
    margin: 16px 0 0;
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-62);
    text-wrap: pretty;
}
.post-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.post-byline__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #efece6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-55);
    flex: none;
}
.post-byline__who { flex: 1; min-width: 0; }
.post-byline__name { font-size: 13.5px; font-weight: 700; }
.post-byline__date { font-size: 12px; color: var(--text-55); }
.post-byline__share {
    border: 1px solid var(--border-18);
    background: #fff;
    border-radius: var(--radius-thumb);
    padding: 6px 12px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}
.post-byline__share:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Article body — Newsreader prose, editor output inherits */
.post-article__content { max-width: 720px; margin-top: 26px; }
.post-article__content > p {
    margin: 0 0 18px;
    font-family: var(--font-serif);
    font-size: 18.5px;
    line-height: 1.72;
    color: rgba(20, 16, 13, .85);
}
.post-article__content h2 {
    margin: 26px 0 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    scroll-margin-top: 20px;
}
.post-article__content h3 { margin: 22px 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.post-article__content ul,
.post-article__content ol {
    margin: 0 0 18px;
    padding-left: 24px;
    font-family: var(--font-serif);
    font-size: 18.5px;
    line-height: 1.7;
    color: rgba(20, 16, 13, .85);
}
.post-article__content li { margin-bottom: 8px; }
.post-article__content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 6px 0 22px; }
.post-article__content figure { margin: 6px 0 22px; }
.post-article__content figcaption { font-size: 12.5px; color: var(--text-45); margin-top: 8px; }
.post-article__content blockquote {
    margin: 0 0 22px;
    padding: 12px 20px;
    border-left: 4px solid var(--brand-red);
    background: var(--page);
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-72);
}
.post-article__content a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 2px; }
.post-article__content a:hover { color: var(--brand-red-dark); }

/* Mentioned in this post */
.post-mentions {
    background: var(--page);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-red);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin: 28px 0 0;
    max-width: 720px;
}
.post-mentions__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 12px;
}
.post-mentions__list { display: flex; flex-direction: column; gap: 11px; }
.post-mention { display: flex; align-items: center; gap: 12px; color: var(--text); }
.post-mention:hover { color: var(--brand-red); }
.post-mention__img { width: 46px; height: 46px; object-fit: cover; border-radius: var(--radius-thumb); flex: none; }
.post-mention__name { font-size: 14.5px; font-weight: 700; display: block; }
.post-mention__meta { font-size: 12px; color: var(--text-55); }

/* Tag row */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 26px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    max-width: 720px;
}
.post-tags__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-45);
    margin-right: 4px;
}
.post-tag {
    border: 1px solid var(--border-16);
    border-radius: var(--radius-pill);
    padding: 6px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    transition: border-color var(--transition), color var(--transition);
}
.post-tag:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Post sidebar */
.post-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 16px;
    padding-top: 24px;
}
.post-toc, .post-aside__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px 22px; }
.post-toc__title, .post-aside__heading {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--brand-red);
    padding-bottom: 8px;
}
.post-toc__list { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.post-toc__link {
    color: var(--text-72);
    border-left: 3px solid transparent;
    padding-left: 10px;
    transition: border-color var(--transition), color var(--transition);
}
.post-toc__link:hover { border-left-color: rgba(200, 53, 43, .4); color: var(--brand-red); }
.post-toc__link.is-active { color: var(--text); border-left-color: var(--brand-red); font-weight: 600; }
.post-aside__more { display: flex; flex-direction: column; gap: 14px; }
.post-more { display: flex; gap: 11px; color: var(--text); align-items: center; }
.post-more:hover { color: var(--brand-red); }
.post-more__img { width: 66px; height: 50px; object-fit: cover; border-radius: var(--radius-thumb); flex: none; }
.post-more__img--placeholder { background: #efece6; }
.post-more__title { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.post-aside__cta { background: var(--ink); color: #fff; border-radius: var(--radius-card); padding: 22px; }
.post-aside__cta-title { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.post-aside__cta-copy { margin: 7px 0 14px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.post-aside__cta-btn {
    display: block;
    background: var(--brand-red);
    color: #fff;
    padding: 10px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background var(--transition), color var(--transition);
}
.post-aside__cta-btn:hover { background: #fff; color: var(--brand-red); }

/* ============================================================================
   PLAIN PAGE  (page.php)
   ========================================================================== */
.page-body {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 28px var(--gutter) 48px;
}
.page-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.page-card__inner { padding: 40px 44px 44px; max-width: 760px; margin-inline: auto; }
.page-card__title { margin: 0 0 20px; font-size: 34px; font-weight: 800; letter-spacing: -.025em; }
.page-card__cover { width: 100%; height: auto; border-radius: var(--radius-sm); margin-bottom: 22px; }
.page-card__content { font-size: 15.5px; line-height: 1.7; color: var(--text-72); }
.page-card__content p { margin: 0 0 16px; }
.page-card__content h2 { margin: 28px 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--text); }
.page-card__content h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 700; color: var(--text); }
.page-card__content ul, .page-card__content ol { margin: 0 0 16px; padding-left: 24px; }
.page-card__content li { margin-bottom: 7px; }
.page-card__content a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 2px; }
.page-card__content a:hover { color: var(--brand-red-dark); }
.page-card__content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.page-card__content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.page-card__content th, .page-card__content td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

/* ============================================================================
   BLOG / POST / PAGE — responsive
   ========================================================================== */
@media (max-width: 980px) {
    .blog-body, .post-body { grid-template-columns: 1fr; }
    .blog-aside, .post-aside { position: static; }
    .post-aside { padding-top: 0; }
    .blog-hero { grid-template-columns: 1fr; }
    .blog-hero__img { height: 220px; }
    .post-article__inner { padding: 26px 28px 32px; }
}
@media (max-width: 640px) {
    .blog-header__title { font-size: 28px; }
    .blog-twoup { grid-template-columns: 1fr; }
    .blog-row { flex-wrap: wrap; }
    .blog-row__date { order: 3; }
    .post-article__title { font-size: 32px; }
    .post-article__standfirst { font-size: 18px; }
    .post-article__inner { padding: 22px 20px 28px; }
    .page-card__inner { padding: 26px 22px 30px; }
    .page-card__title { font-size: 27px; }
}

/* ============================================================================
   MEDIA LIGHTBOX  (menu + photo images — single-listing.php)
   ========================================================================== */
.menu-grid__item { cursor: zoom-in; }

.nwa-lb {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nwa-lb[hidden] { display: none; }
.nwa-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 13, .92);
}
.nwa-lb__figure {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nwa-lb__img {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-btn);
    box-shadow: 0 12px 44px rgba(0, 0, 0, .5);
    background: #fff;
    cursor: zoom-in;
    touch-action: none;
    -webkit-user-drag: none;
    user-select: none;
    will-change: transform;
    transition: transform .15s ease;
}
.nwa-lb__img.is-zoomed { cursor: grab; }
.nwa-lb__img.is-panning { cursor: grabbing; transition: none; }
.nwa-lb__caption {
    margin-top: 12px;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    text-align: center;
    max-width: 90vw;
    text-wrap: pretty;
}
.nwa-lb__close,
.nwa-lb__nav {
    position: absolute;
    z-index: 3;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
}
.nwa-lb__close:hover,
.nwa-lb__nav:hover { background: rgba(255, 255, 255, .26); }
.nwa-lb__close {
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 26px;
}
.nwa-lb__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 32px;
}
.nwa-lb__nav--prev { left: 20px; }
.nwa-lb__nav--next { right: 20px; }
.nwa-lb__counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
}
.nwa-lb__ad {
    position: absolute;
    bottom: 16px;
    right: 20px;
    z-index: 3;
    max-width: min(40vw, 336px);
}
.nwa-lb__ad[hidden] { display: none; }

@media (max-width: 640px) {
    .nwa-lb__nav { width: 40px; height: 40px; font-size: 26px; }
    .nwa-lb__nav--prev { left: 6px; }
    .nwa-lb__nav--next { right: 6px; }
    .nwa-lb__img { max-height: 70vh; }
    .nwa-lb__ad { position: static; margin-top: 12px; max-width: 92vw; }
}

/* ============================================================================
   DISCLAIMERS  (single-listing.php per-tab + single.php blog blurb)
   ========================================================================== */
.listing-disclaimer {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--page);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.listing-disclaimer__label,
.post-disclaimer__label {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-45);
    margin-bottom: 5px;
}
.listing-disclaimer__text,
.post-disclaimer__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-55);
    text-wrap: pretty;
}

.post-disclaimer {
    max-width: 720px;
    margin: 26px 0 0;
    padding: 14px 16px;
    background: var(--page);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border-16);
    border-radius: var(--radius-sm);
}

/* ============================================================================
   LISTING FAQ  (single-listing.php overview)
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item__q {
    list-style: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    padding: 14px 30px 14px 0;
    position: relative;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 12px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: var(--brand-red);
}
.faq-item[open] .faq-item__q::after { content: '\2013'; }
.faq-item__a {
    padding: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-72);
    text-wrap: pretty;
}

/* ============================================================================
   PORTED FROM LEGACY main.css — the only rules the redesign still needs, so
   main.css can be dropped. (a11y helpers, header-search autocomplete items,
   and the [gallery] shortcode. Everything else in main.css was superseded.)
   ========================================================================== */

/* Accessibility helpers */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    width: auto;
    height: auto;
    padding: 10px 16px;
    background: var(--brand-red);
    color: #fff;
    clip: auto;
    border-radius: var(--radius-btn);
}

/* Header-search autocomplete items (JS-rendered; the dropdown container is
   styled above under .nwa-search__field .search-autocomplete__dropdown). */
.search-autocomplete__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text);
    text-decoration: none;
    transition: background var(--transition);
}
.search-autocomplete__item a:hover,
.search-autocomplete__item.is-active a { background: rgba(20, 16, 13, .05); }
.search-autocomplete__image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-thumb);
    flex-shrink: 0;
}
.search-autocomplete__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-autocomplete__title {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-autocomplete__location { font-size: 13px; color: var(--text-45); }
.search-autocomplete__empty { padding: 16px; text-align: center; color: var(--text-45); font-size: 13px; }

/* [gallery] shortcode output (nwafood_image_gallery_shortcode) */
.nwafood-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.nwafood-gallery__item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
}
.nwafood-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.nwafood-gallery__item:hover img { transform: scale(1.05); }

/* ============================================================================
   MOBILE NAV + COLLAPSIBLE FILTER SIDEBAR + FOOTER LEGAL BAR
   ========================================================================== */

/* Header anchors the mobile nav dropdown. */
.nwa-header { position: relative; }

/* Filter-sidebar collapse toggle — hidden on desktop (sidebar always expanded). */
.listing-sidebar__toggle { display: none; }
.listing-sidebar__toggle-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--brand-red);
}
.listing-sidebar__toggle-icon::before,
.listing-sidebar__toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: currentColor;
    border-radius: 2px;
}
.listing-sidebar__toggle-icon::before { width: 14px; height: 2px; }  /* horizontal bar */
.listing-sidebar__toggle-icon::after  { width: 2px; height: 14px; }  /* vertical bar → makes a + */
.listing-sidebar.is-open .listing-sidebar__toggle-icon::after { display: none; }  /* becomes − when open */

/* Footer legal / credits bar (all viewports). */
.nwa-footer__legal {
    background: var(--ink-deep);
    border-top: 1px solid var(--on-dark-09);
    padding: 12px var(--gutter);
    text-align: center;
}
.footer-copyright {
    max-width: var(--content-max);
    margin: 0 auto;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--on-dark-60);
    text-wrap: pretty;
}
.footer-copyright a { color: var(--on-dark-72); text-decoration: none; }
.footer-copyright a:hover { color: var(--salmon); }

@media (max-width: 900px) {
    /* --- Mobile primary nav (hamburger → dark dropdown) --- */
    .nwa-nav__toggle { display: flex; }
    .nwa-nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 6px 0;
        background: var(--ink);
        border-top: 1px solid var(--on-dark-09);
        box-shadow: var(--shadow-card);
        z-index: 60;
    }
    .nwa-nav.is-open .nwa-nav__list { display: flex; }
    .nwa-nav__list li { width: 100%; }
    .nwa-nav__list > li > a { padding: 13px var(--gutter); font-size: 15px; }
    .nwa-nav__list a:hover { background: var(--ink-light); color: #fff; }
    /* Submenus flatten inline (no hover on touch). */
    .nwa-nav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }
    .nwa-nav__list .sub-menu a { padding: 10px var(--gutter) 10px calc(var(--gutter) + 16px); font-size: 13.5px; }

    /* --- Collapsible filter sidebar (collapsed by default) --- */
    .listing-sidebar { padding: 0; border-right: 0; border-bottom: 1px solid var(--border); }
    .listing-sidebar__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 12px;
        padding: 14px var(--gutter);
        background: #fff;
        border: 0;
        cursor: pointer;
        font-family: var(--font-ui);
        font-size: 12.5px;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--text);
    }
    .listing-sidebar__body { display: none; padding: 4px 22px 22px; }
    .listing-sidebar.is-open .listing-sidebar__body { display: block; }

    /* --- Footer polish --- */
    .nwa-footer__top-inner { padding: 32px var(--gutter) 26px; gap: 26px; }
}

@media (max-width: 768px) {
    /* 1. Stack the four footer sections into one column (Popular Locations,
       Amenities, Support, Partner Sites), including the 2-col location sublist. */
    .nwa-footer__top-inner { grid-template-columns: 1fr; gap: 24px; }
    .nwa-footer__links--2col { grid-template-columns: 1fr; }

    /* 3. Stack + center the logo / tagline / social; make the logo bigger. */
    .nwa-footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
    .nwa-footer__brand { flex-direction: column; align-items: center; gap: 10px; }
    .nwa-footer__meta { justify-content: center; }
    .nwa-footer__logo img { height: 44px; }
    .footer-copyright { font-size: 11px; }
}
