/* The browse, theme and neighborhood sections share the same print-style rules. */
:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) {
    color: var(--ink);
    font-family: var(--cook-sans);
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) :is(h1, h2, h3) {
    color: var(--ink);
    font-family: var(--cook-serif);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) :is(.eyebrow, .text-link) {
    color: var(--brand);
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) :is(a, button, input, select):focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) .collection-hero {
    margin-top: clamp(20px, 4vw, 44px);
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: clamp(22px, 4.6vw, 55px) 0;
    background: transparent;
    color: var(--ink);
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) .collection-copy h1 {
    font-size: clamp(34px, 5.4vw, 64px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.06em;
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) .collection-copy > p:not(.eyebrow) {
    max-width: 46ch;
    margin-top: 14px;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.72;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) .section-head {
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: clamp(14px, 2vw, 23px);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) .section-head h2 {
    font-size: clamp(23px, 3.1vw, 35px);
    line-height: 1.35;
    letter-spacing: -.045em;
}

:is(.browse-page, .theme-page, .neighborhood-page) .collection-links {
    gap: 5px 18px;
}

:is(.browse-page, .theme-page, .neighborhood-page) .collection-links a {
    gap: 8px;
    border-top: 1px solid var(--ink);
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
}

:is(.browse-page, .theme-page, .neighborhood-page) .collection-links a:hover {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 4px;
}

:is(.browse-page, .theme-page, .neighborhood-page) .collection-links a span {
    color: var(--brand);
}

.browse-page .list-layout {
    gap: clamp(25px, 3vw, 37px);
    padding-block: clamp(20px, 3vw, 35px) clamp(30px, 5vw, 60px);
}

.browse-page .list-filter-bar {
    display: flex;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: clamp(12px, 2vw, 20px);
    background: var(--soft);
    box-shadow: none;
}

.browse-page .list-filter-bar .filter-field { flex: 1 1 112px; }
.browse-page .list-filter-bar .filter-field:first-child { flex: 2 1 225px; }
.browse-page .list-filter-bar .filter-field-search { flex: 2 1 190px; }

.browse-page .filter-field > span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 750;
}

.browse-page .filter-field :is(input, select) {
    min-height: 44px;
    border: 1px solid #9a9c8d;
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
}

.browse-page .filter-field select:not(.region-search-source) { padding-inline: 10px 28px; }
.browse-page .filter-field input { padding-inline: 10px; }
.browse-page .filter-field .region-search-source { min-height: 0; }

.browse-page .region-search.has-region-group {
    grid-template-columns: minmax(93px, .82fr) minmax(0, 1fr);
}

.browse-page .region-search-list {
    border-color: var(--line);
    border-radius: 0;
    background: var(--paper);
}

.browse-page .region-search-option { border-radius: 0; }

.browse-page .region-search-option:is(:hover, [aria-selected="true"]) {
    background: var(--soft);
    color: var(--ink);
}

.browse-page .list-filter-bar .filter-search-button,
.themes-page .app-install-button {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--ink);
    color: var(--paper);
    box-shadow: none;
    transform: none;
}

.browse-page .list-filter-bar .filter-search-button:hover,
.themes-page .app-install-button:hover { background: var(--brand); }

.browse-page .list-toolbar {
    border-top: 2px solid var(--ink);
    padding-top: 11px;
}

.browse-page .list-toolbar h2 { color: var(--ink); }

.browse-page .list-toolbar .result-total {
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--brand);
    font-size: 14px;
}

:is(.browse-page, .theme-page) .restaurant-list { gap: clamp(16px, 2.4vw, 28px); }

:is(.browse-page, .theme-page) .restaurant-card {
    align-items: start;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding-bottom: 6px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

:is(.browse-page, .theme-page) .restaurant-list > .restaurant-card:not(:last-child) { margin-bottom: 0; }

:is(.browse-page, .theme-page) .restaurant-card:hover h3,
.themes-page .curation-hub-body h3 a:hover {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: .2em;
}

:is(.browse-page, .theme-page) .restaurant-card > .restaurant-thumb {
    aspect-ratio: 4 / 3;
    background: var(--soft);
}

:is(.browse-page, .theme-page) .restaurant-thumb > span {
    border-radius: 0;
    background: var(--ink);
}

:is(.browse-page, .theme-page) .restaurant-card-body {
    gap: 6px;
    padding: 12px 0;
}

:is(.browse-page, .theme-page) .restaurant-card-body .tag {
    max-width: 100%;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--brand);
    white-space: normal;
}

:is(.browse-page, .theme-page) .restaurant-card h3 {
    color: var(--ink);
    font-size: clamp(20px, 2.25vw, 26px);
    line-height: 1.35;
}

:is(.browse-page, .theme-page) .restaurant-card :is(p, small) { color: var(--muted); }
:is(.browse-page, .theme-page) .restaurant-quick-info { color: var(--ink); }

.browse-page [data-list-next],
.browse-page .chip {
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: none;
    transform: none;
}

.browse-page :is([data-list-next], .chip):hover {
    background: var(--soft);
    color: var(--brand);
}

.browse-page .discovery-section { background: transparent; }

.themes-page .themes-hero .u002 {
    --bg: var(--ink);
    --fg: var(--paper);
    --blob: var(--brand);
}

.themes-page .u002-btn {
    gap: 8px;
    height: 46px;
    border-radius: 0;
    padding: 0 4px 0 14px;
    box-shadow: none;
}

.themes-page .u002-txt { font-size: 15px; }
.themes-page .u002-orb { width: 34px; height: 34px; }
.themes-page .u002-fill { clip-path: inset(0 0 0 100%); }
.themes-page .u002-btn:is(:hover, :focus-visible) .u002-fill { clip-path: inset(0); }
.themes-page .u002-glow { display: none; }

.themes-page .curation-hub-intro,
:is(.browse-page, .neighborhood-page) .district-intro {
    gap: clamp(17px, 3vw, 36px);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: clamp(22px, 3.6vw, 36px) 0;
    background: transparent;
}

.themes-page .curation-hub-intro h2,
:is(.browse-page, .neighborhood-page) .district-intro h2 {
    font-size: clamp(21px, 2.5vw, 28px);
}

.themes-page .curation-guide-points { gap: 0; }

.themes-page .curation-guide-points p {
    border-top: 1px solid var(--line);
    padding-block: 8px;
    color: var(--muted);
}

.themes-page .curation-guide-points p strong { color: var(--ink); }

.themes-page .curation-hub-grid { gap: clamp(18px, 3.2vw, 36px) clamp(17px, 2.6vw, 28px); }

.themes-page .curation-hub-card {
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.themes-page .curation-hub-visual { background: var(--soft); }
.themes-page .curation-hub-visual img { display: block; }
.themes-page .curation-hub-visual:focus-visible { outline-offset: 2px; }

.themes-page .curation-hub-visual span {
    inset: auto auto 0 0;
    border-radius: 0;
    padding: 5px 10px;
    background: var(--paper);
    color: var(--brand);
}

.themes-page .curation-hub-body {
    gap: 9px;
    align-content: start;
    padding: 15px 0 17px;
}

.themes-page .curation-hub-body h3 {
    font-size: clamp(21px, 2.35vw, 29px);
    line-height: 1.32;
}

.themes-page .curation-hub-body p {
    min-height: 0;
    color: var(--muted);
}

.themes-page .curation-hub-body .text-link { justify-self: start; }

.themes-page .theme-lead-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    gap: clamp(16px, 3vw, 36px);
    align-items: center;
    padding-bottom: clamp(14px, 2vw, 25px);
}

.themes-page .theme-lead-card .curation-hub-visual { height: auto; }
.themes-page .theme-lead-card .curation-hub-body h3 { font-size: clamp(25px, 3.4vw, 44px); }

.themes-page .app-install-banner {
    border: 0;
    border-block: 1px solid var(--line);
    border-radius: 0;
    padding: 18px 0;
    background: transparent;
    box-shadow: none;
}

.themes-page .app-install-mark {
    border-radius: 0;
    background: var(--ink);
    box-shadow: none;
}

.theme-page .theme-hero {
    align-items: center;
    overflow: visible;
}

.theme-page .theme-hero:has(.theme-hero-photo) {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(20px, 4vw, 48px);
}

.theme-page .theme-hero .collection-copy { padding: 0; }

.theme-page .collection-back {
    min-height: 32px;
    margin-bottom: 20px;
    color: var(--brand);
    font-size: 14px;
}

.theme-page .theme-hero-photo {
    align-self: center;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    background: var(--soft);
}

.neighborhood-page .region-directory { gap: clamp(18px, 3vw, 34px); }

.neighborhood-page .region-directory-panel {
    border: 0;
    border-top: 2px solid var(--ink);
    border-radius: 0;
    padding: 15px 0;
    background: transparent;
}

.neighborhood-page .region-directory-links { gap: 0 14px; }

.neighborhood-page .region-directory-links a {
    border-color: var(--line);
    padding-inline: 5px;
    color: var(--ink);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.neighborhood-page .region-directory-links a:hover { background: var(--soft); }
.neighborhood-page .region-directory-links a span { color: var(--brand); }

:is(.neighborhood-page, .theme-page) :is(.district-guide-grid, .district-restaurant-grid) {
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: clamp(15px, 2.4vw, 26px);
}

:is(.neighborhood-page, .theme-page) :is(.district-guide-card, .district-restaurant-card) {
    align-content: start;
    border: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 14px 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow-wrap: anywhere;
}

:is(.neighborhood-page, .theme-page) :is(.district-guide-card, .district-restaurant-card) > :is(h3, strong) {
    margin: 0;
    font: 800 clamp(19px, 2.15vw, 25px) / 1.35 var(--cook-serif);
}

.neighborhood-page :is(.district-guide-card, .district-restaurant-card):hover strong { color: var(--brand); }
.theme-page .district-guide-card h3 .text-link { color: var(--ink); }

:is(.browse-page, .theme-page, .neighborhood-page) .district-facts div { border-color: var(--line); }
:is(.browse-page, .theme-page, .neighborhood-page) .district-facts dt { color: var(--brand); }
:is(.browse-page, .theme-page, .neighborhood-page) .district-facts dd { overflow-wrap: anywhere; }

:is(.browse-page, .themes-page, .theme-page, .neighborhood-page) :is(.restaurant-list, .curation-hub-grid, .district-guide-grid) > .empty {
    grid-column: 1 / -1;
    padding: 12px 0;
    color: var(--muted);
}

@media (min-width: 641px) {
    :is(.browse-page, .theme-page) .restaurant-card { grid-template: auto 1fr / minmax(0, 1fr); }
}

@media (min-width: 641px) and (max-width: 860px) {
    :is(.browse-page, .theme-page) .restaurant-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .theme-page .theme-hero:has(.theme-hero-photo),
    .themes-page .theme-lead-card { grid-template-columns: minmax(0, 1fr); }

    .themes-page .theme-lead-card { gap: 0; }
}

@media (max-width: 640px) {
    .browse-page .list-filter-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .browse-page .list-filter-bar .filter-field:first-child { grid-column: 1 / -1; }
    .browse-page .list-filter-bar .filter-field-search { grid-column: 1; }
    .browse-page .list-filter-bar .filter-search-button { grid-column: 2; }
    .browse-page .list-filter-bar:has(select[name="district"]) .filter-field-search { grid-column: 1 / -1; }
    .browse-page .list-filter-bar:has(select[name="district"]) .filter-search-button { grid-column: 1 / -1; }

    :is(.browse-page, .theme-page) .restaurant-card {
        grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
        gap: 12px;
        padding-bottom: 12px;
    }

    :is(.browse-page, .theme-page) .restaurant-card-body { padding: 0; }
    :is(.browse-page, .theme-page) .restaurant-card h3 { font-size: 19px; }
}

@media (max-width: 420px) {
    .browse-page .list-filter-bar .filter-field-search { grid-column: 1 / -1; }
    .browse-page .list-filter-bar .filter-search-button { grid-column: 1 / -1; }
}
