/* Variables are declared in style.css :root and loaded as a dependency. */

body {
    margin: 0;
}

.nc-listings-archive {
    --nc-page-accent: var(--nc-clay);
    background: #ffffff;
    color: var(--nc-ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
}

.nc-listings-archive *,
.nc-listings-archive *::before,
.nc-listings-archive *::after {
    box-sizing: border-box;
}

/* Hero — full-width photo with dark overlay, solid colour fallback,
   rolling dune divider into the page background below. */

.nc-listings-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(360px, 40vw, 540px);
    overflow: hidden;
    color: #ffffff;
    background: var(--nc-charcoal-blue);
}

.nc-listings-hero--image {
    background-position: center;
    background-size: cover;
}

/* Keep the person-and-goat action in the Experiences photo centred within
   the wide hero crop instead of favouring the empty water above it. */
.nc-listings-archive--experiences .nc-listings-hero--image {
    background-position: center 72%;
}

.nc-listings-hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 42, 54, 0.60) 0%, rgba(23, 42, 54, 0.28) 52%, rgba(23, 42, 54, 0.10) 100%),
        linear-gradient(180deg, rgba(23, 42, 54, 0.08) 30%, rgba(23, 42, 54, 0.42) 100%);
}

.nc-listings-hero__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(48px, 6vw, 76px) clamp(88px, 12vw, 160px);
}

.nc-listings-hero h1 {
    max-width: 680px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.nc-listings-hero h1::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 16px;
    background: var(--nc-page-accent);
    border-radius: 2px;
}

.nc-listings-hero__tagline {
    margin: 14px 0 0;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 245, 226, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Rolling dune divider — back dune peeks over the solid front dune */

.nc-listings-hero__divider {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 1;
    line-height: 0;
    pointer-events: none;
}

.nc-listings-hero__divider svg {
    display: block;
    width: 100%;
    height: clamp(56px, 9vw, 130px);
}


/* Layout */

.nc-listings-container {
    width: min(1440px, calc(100% - 48px));
    margin-inline: auto;
}

.nc-listings-browser {
    padding: clamp(30px, 4.5vw, 56px) 0 clamp(50px, 8vw, 96px);
}

.nc-listings-hero__intro {
    max-width: 660px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
    text-wrap: balance;
}

.nc-listings-archive--eat-drink { --nc-page-accent: #d9795e; }
.nc-listings-archive--places-to-stay { --nc-page-accent: #4383a5; }
.nc-listings-archive--things-to-do,
.nc-listings-archive--experiences { --nc-page-accent: #5f886c; }
.nc-listings-archive--events { --nc-page-accent: #d95f57; }
.nc-listings-archive--packages { --nc-page-accent: #9a6d9c; }

.nc-listings-browser--filters {
    padding-top: 0;
}

.nc-listings-browser > .nc-listings-container {
    position: relative;
    z-index: 3;
}

.nc-listings-intro {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    color: var(--nc-muted);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.6;
    text-wrap: balance;
}

.nc-listings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    grid-auto-rows: 1fr;
    gap: 26px 22px;
    align-items: stretch;
}

/* Hub subcategory gateway */

.nc-hub-categories {
    margin-top: clamp(56px, 8vw, 100px);
    padding: 0;
    color: var(--nc-charcoal-blue);
    background: transparent;
}

.nc-hub-categories__heading {
    max-width: 760px;
    margin-bottom: clamp(22px, 3vw, 30px);
}

.nc-hub-categories__eyebrow {
    margin: 0 0 7px;
    color: var(--nc-clay);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nc-hub-categories__heading h2 {
    margin: 0;
    color: var(--nc-charcoal-blue);
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.nc-hub-categories__heading > p:last-child {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--nc-muted);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.55;
}

.nc-hub-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: clamp(135px, 12vw, 170px);
    gap: 14px;
}

.nc-hub-category {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    align-items: flex-end;
    color: #ffffff;
    background: var(--nc-charcoal-blue);
    border-radius: 18px;
    box-shadow: 0 9px 24px rgba(20, 52, 77, 0.12);
    text-decoration: none;
    isolation: isolate;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.nc-hub-category--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.nc-hub-category--wide,
.nc-hub-category--tail {
    grid-column: span 2;
}

.nc-hub-category:hover {
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(20, 52, 77, 0.2);
    transform: translateY(-3px);
}

.nc-hub-category:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 3px;
}

.nc-hub-category__image,
.nc-hub-category__shade {
    position: absolute;
    inset: 0;
}

.nc-hub-category__image {
    z-index: -2;
    background-position: center;
    background-size: cover;
    transition: transform 420ms ease;
}

.nc-hub-category__shade {
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 33, 49, 0.04) 20%, rgba(11, 33, 49, 0.88) 100%);
}

.nc-hub-category:hover .nc-hub-category__image {
    transform: scale(1.055);
}

.nc-hub-category__body {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
}

.nc-hub-category__name {
    min-width: 0;
    font-size: clamp(0.88rem, 1.05vw, 1rem);
    font-weight: 800;
    line-height: 1.22;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.nc-hub-category__arrow {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 1rem;
    transition: transform 180ms ease;
}

.nc-hub-category:hover .nc-hub-category__arrow {
    transform: translateX(4px);
}

/* Listing card */

.nc-listing-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 620px;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(20, 52, 77, 0.14);
    border-radius: 18px;
    box-shadow: none;
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.nc-listing-card__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.nc-listing-card__link:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 4px;
}

.nc-listing-card:hover {
    box-shadow: 0 18px 38px rgba(20, 52, 77, 0.14);
    border-color: rgba(20, 52, 77, 0.24);
    transform: translateY(-2px);
}

.nc-listing-card__media {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
    background: var(--nc-sage);
}

.nc-listing-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.nc-listing-card:hover .nc-listing-card__image {
    transform: scale(1.045);
}

.nc-listing-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px 0;
}

.nc-listing-card__category {
    margin: 0;
    padding: 10px 20px 9px;
    color: #ffffff;
    background: var(--nc-charcoal-blue);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.nc-listing-card__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin: 0;
    color: var(--nc-charcoal-blue);
    font-family: var(--font-sans);
    font-size: clamp(1.55rem, 1.7vw, 1.7rem);
    font-weight: 800;
    line-height: 1.07;
}

.nc-listing-card__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin: 0;
    color: #24445b;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.nc-listing-card__location {
    display: inline-flex;
    max-width: 100%;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: #24445b;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
}

.nc-listing-card__location svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--nc-charcoal-blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.nc-listing-card__footer {
    display: flex;
    align-items: center;
    min-height: 60px;
    margin: auto -20px 0;
    padding: 0 20px;
    border-top: 1px solid rgba(35, 78, 112, 0.14);
    transition: background-color 160ms ease;
}

.nc-listing-card:hover .nc-listing-card__footer {
    background: rgba(194, 73, 46, 0.08);
}

.nc-listing-card__button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: var(--nc-charcoal-blue);
    font-size: 1.02rem;
    font-weight: 800;
    text-decoration: none;
}

.nc-listing-card__button span:last-child {
    color: var(--nc-clay);
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.nc-listing-card:hover .nc-listing-card__button {
    color: var(--nc-charcoal-blue);
}

.nc-listing-card:hover .nc-listing-card__button span:last-child {
    transform: translateX(4px);
}

/* Generic page content + simple search-result cards */

.nc-page-content {
    max-width: 860px;
    color: #24445b;
    font-size: 1.05rem;
    line-height: 1.65;
}

.nc-page-content h2,
.nc-page-content h3 {
    color: var(--nc-charcoal-blue);
    font-family: var(--font-sans);
}

.nc-listing-card--simple {
    min-height: 0;
}

.nc-listing-card--simple .nc-listing-card__body {
    padding-top: 26px;
}

/* Filter bar — centered row of labelled multi-select dropdowns + search,
   results line beneath */

.nc-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: clamp(22px, 3vw, 34px);
}

.nc-listings-browser--filters .nc-filter-bar {
    margin-top: clamp(-64px, -5vw, -46px);
}

.nc-filter-bar__form {
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(20, 52, 77, 0.10);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(20, 52, 77, 0.14);
}

.nc-filter-bar__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
    justify-content: center;
}

.nc-filter-bar__field {
    display: flex;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    padding: 0 10px;
    border-right: 1px solid rgba(20, 52, 77, 0.12);
}

.nc-filter-bar__label,
.nc-filter-bar__field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Multi-select dropdown (details/summary with a checkbox list) */

.nc-filter-dropdown {
    position: relative;
}

.nc-filter-dropdown__summary {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 10px 44px 10px 16px;
    color: var(--nc-charcoal-blue);
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314344d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
    border: 0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color 160ms ease;
}

.nc-filter-dropdown__summary::-webkit-details-marker {
    display: none;
}

.nc-filter-dropdown__summary:hover,
.nc-filter-dropdown[open] .nc-filter-dropdown__summary {
    border-color: var(--nc-charcoal-blue);
}

.nc-filter-dropdown__summary:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-filter-dropdown__summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-filter-dropdown__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 100%;
    width: max-content;
    max-width: 320px;
    max-height: 280px;
    overflow: auto;
    padding: 8px;
    background: #ffffff;
    border: 1px solid var(--nc-border);
    border-radius: 12px;
    box-shadow: var(--nc-shadow);
}

.nc-filter-dropdown__option {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 9px 12px;
    color: var(--nc-ink);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.nc-filter-dropdown__option:hover {
    background: rgba(20, 52, 77, 0.07);
}

.nc-filter-dropdown__option input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--nc-clay);
    cursor: pointer;
}

/* Keyword search */

.nc-filter-bar__field--search {
    flex: 1 1 320px;
    min-width: 260px;
    border-right: 0;
}

.nc-filter-search {
    position: relative;
    display: flex;
}

.nc-filter-search input {
    width: 100%;
    min-height: 54px;
    padding: 10px 52px 10px 16px;
    color: var(--nc-charcoal-blue);
    background: #ffffff;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    transition: border-color 160ms ease;
}

.nc-filter-search input:hover,
.nc-filter-search input:focus {
    border-color: var(--nc-charcoal-blue);
}

.nc-filter-search input:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-filter-search input::placeholder {
    color: var(--nc-muted);
    font-weight: 400;
}

.nc-filter-search button {
    position: absolute;
    top: 50%;
    right: 6px;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--nc-clay);
    border: none;
    border-radius: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 160ms ease;
}

.nc-filter-search button:hover {
    background: var(--nc-charcoal-blue);
}

.nc-filter-search button:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-filter-search svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.nc-filter-bar__apply:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-filter-bar__apply {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #ffffff;
    background: var(--nc-clay);
    border: 1px solid var(--nc-clay);
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.nc-filter-bar__apply:hover {
    background: var(--nc-charcoal-blue);
    border-color: var(--nc-charcoal-blue);
}

/* Selects auto-submit once JS is running, so hide the manual Apply button. */
.nc-filter-bar__form--js .nc-filter-bar__apply {
    display: none;
}

/* Results toolbar */

.nc-results-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: space-between;
}

.nc-filter-bar__results {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: baseline;
    justify-content: flex-start;
}

.nc-filter-bar__results-title {
    color: var(--nc-charcoal-blue);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
}

.nc-filter-bar__results-count {
    color: var(--nc-muted);
    font-size: 1.02rem;
    font-weight: 600;
}

.nc-filter-bar__clear {
    color: var(--nc-clay);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nc-filter-bar__clear:hover {
    color: var(--nc-charcoal-blue);
}

.nc-results-toolbar__controls,
.nc-results-sort,
.nc-view-toggle {
    display: flex;
    align-items: center;
}

.nc-results-toolbar__controls {
    gap: 14px;
}

.nc-results-sort {
    gap: 9px;
    color: var(--nc-charcoal-blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.nc-results-sort select {
    min-height: 42px;
    padding: 8px 38px 8px 12px;
    color: var(--nc-charcoal-blue);
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314344d' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 15px;
    border: 1px solid rgba(20, 52, 77, 0.28);
    border-radius: 9px;
    font: inherit;
    appearance: none;
    cursor: pointer;
}

.nc-view-toggle {
    overflow: hidden;
    border: 1px solid rgba(20, 52, 77, 0.28);
    border-radius: 9px;
}

.nc-view-toggle button {
    display: grid;
    width: 42px;
    height: 40px;
    padding: 10px;
    place-items: center;
    color: var(--nc-charcoal-blue);
    background: #ffffff;
    border: 0;
    cursor: pointer;
}

.nc-view-toggle button + button {
    border-left: 1px solid rgba(20, 52, 77, 0.18);
}

.nc-view-toggle button[aria-pressed="true"] {
    color: #ffffff;
    background: var(--nc-charcoal-blue);
}

.nc-view-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
}

.nc-results-sort select:focus-visible,
.nc-view-toggle button:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-listings-grid--list {
    grid-template-columns: 1fr;
}

.nc-listings-grid--list .nc-listing-card {
    display: grid;
    min-height: 260px;
    grid-template-columns: clamp(260px, 28vw, 360px) 1fr;
    grid-template-rows: auto 1fr;
}

.nc-listings-grid--list .nc-listing-card__media {
    width: 100%;
    height: 260px;
    min-height: 0;
    grid-row: 1 / 3;
    align-self: start;
}

.nc-listings-grid--list .nc-listing-card__category {
    grid-column: 2;
}

.nc-listings-grid--list .nc-listing-card__body {
    grid-column: 2;
    padding-top: 18px;
}

.nc-listings-grid--list .nc-listing-card__title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Empty state */

.nc-listings-empty {
    padding: clamp(30px, 6vw, 58px);
    text-align: center;
    background: #f8f3ea;
    border: 1px solid var(--nc-border);
    border-radius: 8px;
    box-shadow: none;
}

.nc-listings-empty h3 {
    margin: 0;
    color: var(--nc-charcoal-blue);
    font-family: var(--font-sans);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 600;
    line-height: 1.12;
}

.nc-listings-empty p {
    max-width: 520px;
    margin: 12px auto 22px;
    color: var(--nc-muted);
}

.nc-listings-empty a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    color: #ffffff;
    background: var(--nc-clay);
    border: 1px solid var(--nc-clay);
    border-radius: 8px;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.nc-listings-empty a:hover {
    background: var(--nc-charcoal-blue);
    border-color: var(--nc-charcoal-blue);
}

/* Pagination (shared: hubs, archives, search — rendered by northcape_render_pagination) */

.navigation.pagination {
    margin-top: 40px;
}

.navigation.pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    color: var(--nc-charcoal-blue);
    background: #ffffff;
    border: 1px solid var(--nc-border);
    border-radius: 999px;
    font-weight: 750;
    font-size: 0.94rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

a.page-numbers:hover,
a.page-numbers:focus-visible {
    color: #ffffff;
    background: var(--nc-clay);
    border-color: var(--nc-clay);
}

.page-numbers.current {
    color: #ffffff;
    background: var(--nc-charcoal-blue);
    border-color: var(--nc-charcoal-blue);
}

.page-numbers.dots {
    min-width: 0;
    padding: 8px 4px;
    background: none;
    border: 0;
    color: var(--nc-charcoal-blue);
    opacity: 0.55;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 8px 20px;
}

@media (max-width: 600px) {
    .page-numbers .nc-pagination__word {
        display: none;
    }

    .page-numbers.prev,
    .page-numbers.next {
        padding: 8px 14px;
    }
}

/* Responsive */

@media (max-width: 1260px) {
    .nc-listings-grid {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
    }
}

@media (max-width: 980px) {
    .nc-listings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nc-hub-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 165px;
    }

    .nc-hub-category {
        grid-column: span 1;
        grid-row: span 1;
    }

    .nc-hub-category--featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .nc-hub-category--wide {
        grid-column: span 2;
    }

    .nc-listing-card__media {
        height: 280px;
    }
}

@media (max-width: 720px) {
    .nc-listings-container {
        width: min(100% - 24px, 1440px);
    }

    .nc-listings-grid {
        grid-template-columns: 1fr;
    }

    .nc-hub-categories {
        padding: 0;
    }

    .nc-hub-category {
        min-height: 145px;
    }

    .nc-results-toolbar,
    .nc-results-toolbar__controls {
        width: 100%;
    }

    .nc-results-toolbar__controls {
        justify-content: space-between;
    }

    .nc-filter-dates {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .nc-filter-dates input {
        width: 100%;
        min-width: 0;
        padding-inline: 8px;
    }

    .nc-listings-grid--list .nc-listing-card {
        min-height: 0;
        grid-template-columns: 112px 1fr;
    }

    .nc-listings-grid--list .nc-listing-card__media {
        width: 112px;
        height: 180px;
        min-height: 0;
    }

    .nc-listings-grid--list .nc-listing-card__summary,
    .nc-listings-grid--list .nc-listing-card__footer {
        display: none;
    }

    .nc-listings-browser--filters .nc-filter-bar {
        margin-top: -34px;
    }

    .nc-filter-bar__form {
        padding: 16px;
        border-radius: 14px;
    }

    .nc-listing-card {
        height: auto;
        min-height: 0;
    }

    .nc-listing-card__media {
        height: 260px;
    }

    .nc-filter-bar__field {
        flex: 1 1 100%;
        min-width: 0;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(20, 52, 77, 0.1);
    }

    .nc-filter-bar__field:last-of-type {
        border-bottom: 0;
    }

    .nc-filter-dropdown__panel {
        right: 0;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 460px) {
    .nc-hub-categories__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 170px;
    }

    .nc-hub-category {
        grid-column: span 1;
        grid-row: span 1;
    }

    .nc-hub-category--featured {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* Calendar-style date badge on event cards */

.nc-event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 42, 63, 0.35);
}

.nc-event-date-badge__month {
    width: 100%;
    padding: 4px 8px 3px;
    background: var(--nc-charcoal-blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.nc-event-date-badge__day {
    padding: 3px 8px 5px;
    color: var(--nc-ink);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

/* Date range inputs in the filter bar */

.nc-filter-dates {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nc-filter-dates input {
    min-height: 48px;
    padding: 10px 12px;
    color: var(--nc-charcoal-blue);
    background: #ffffff;
    border: 1.5px solid rgba(20, 52, 77, 0.45);
    border-radius: 10px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    transition: border-color 160ms ease;
}

.nc-filter-dates input:hover,
.nc-filter-dates input:focus {
    border-color: var(--nc-charcoal-blue);
}

.nc-filter-dates input:focus-visible {
    outline: 3px solid var(--nc-clay);
    outline-offset: 2px;
}

.nc-filter-dates__sep {
    color: var(--nc-muted);
    font-weight: 600;
}

/* Category chip on event cards (top-right, opposite the date badge) */

.nc-event-card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    max-width: calc(100% - 92px);
    overflow: hidden;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(15, 42, 63, 0.28);
    color: var(--nc-charcoal-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Available dates / season line on package & experience cards */

.nc-listing-card__dates {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    margin: 0;
    color: var(--nc-muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

.nc-listing-card__dates svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--nc-clay);
}

.nc-listing-card__dates span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Site search page — hero-less, led by a big editable search bar. The
   shared filter bar renders it; these overrides pull the keyword field
   out as a full-width centered "engine" bar above the dropdowns. */

.nc-search-page .nc-listings-browser {
    padding-top: clamp(26px, 4vw, 48px);
}

.nc-search-page__header {
    margin-bottom: clamp(20px, 3vw, 32px);
    text-align: center;
}

.nc-search-page__eyebrow {
    margin: 0 0 8px;
    color: var(--nc-clay);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nc-search-page__title {
    margin: 0;
    color: var(--nc-ink);
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.nc-search-page__title span {
    color: var(--nc-clay);
}

.nc-search-page .nc-filter-bar__fields {
    flex-wrap: nowrap;
    gap: 8px;
}

.nc-search-page .nc-filter-bar {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.nc-search-page .nc-filter-bar__form {
    padding: 8px;
    border-color: rgba(20, 52, 77, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(20, 52, 77, 0.12);
}

.nc-search-page .nc-filter-bar__field:not(.nc-filter-bar__field--search) {
    min-width: 205px;
    flex: 0 0 205px;
    padding: 0;
    overflow: visible;
    background: #f6f3ee;
    border: 0;
    border-radius: 14px;
}

.nc-search-page .nc-filter-bar__field--search {
    order: 0;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
}

.nc-search-page .nc-filter-bar__field--search > label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.nc-search-page .nc-filter-search input {
    min-height: 58px;
    padding: 14px 64px 14px 24px;
    background: #f6f3ee;
    border-radius: 999px;
    font-size: 1.05rem;
    box-shadow: none;
}

.nc-search-page .nc-filter-search button {
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.nc-search-page .nc-filter-search svg {
    width: 19px;
    height: 19px;
}

.nc-search-page .nc-filter-dropdown__summary {
    min-height: 58px;
    background-color: #f6f3ee;
    border-radius: 14px;
    font-weight: 650;
}

@media (max-width: 700px) {
    .nc-search-page .nc-filter-bar__fields {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nc-search-page .nc-filter-bar__field:not(.nc-filter-bar__field--search),
    .nc-search-page .nc-filter-bar__field--search {
        flex: 1 1 100%;
    }

    .nc-search-page .nc-filter-bar__form {
        padding: 8px;
    }
}
