.osmlf-finder,
.osmlf-finder *,
.osmlf-finder *::before,
.osmlf-finder *::after {
    box-sizing: border-box;
}

.osmlf-finder {
    --osmlf-blue: #0067b9;
    --osmlf-blue-dark: #005397;
    --osmlf-navy: #182641;
    --osmlf-sky: #dff3fc;
    --osmlf-sky-strong: #ccecf9;
    --osmlf-text: #1d2938;
    --osmlf-muted: #536274;
    --osmlf-line: #b8c6d1;
    --osmlf-white: #ffffff;
    --osmlf-heading-font: "Verveine", "Arial Narrow", "Trebuchet MS", sans-serif;
    position: relative;
    width: 100%;
    color: var(--osmlf-text);
    font-family: inherit;
    isolation: isolate;
}

.osmlf-finder--full-width {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    overflow-x: hidden;
    overflow-x: clip;
}

.osmlf-finder [hidden] {
    display: none !important;
}

.osmlf-finder button,
.osmlf-finder input,
.osmlf-finder select {
    font: inherit;
}

.osmlf-finder button {
    -webkit-appearance: none;
    appearance: none;
}

.osmlf-finder a,
.osmlf-finder button {
    -webkit-tap-highlight-color: transparent;
}

.osmlf-finder .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.osmlf-container {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

/* Intro/header module */
.osmlf-hero {
    position: relative;
    z-index: 2;
    background: var(--osmlf-white);
    text-align: center;
}

.osmlf-hero__inner {
    padding-block: clamp(50px, 6vw, 84px) clamp(46px, 5vw, 72px);
}

.osmlf-hero__eyebrow {
    margin: 0 0 4px;
    color: var(--osmlf-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.osmlf-hero__title,
.osmlf-section-title {
    font-family: var(--osmlf-heading-font);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.osmlf-hero__title {
    margin: 0;
    color: var(--osmlf-blue);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
}

.osmlf-hero__subtitle {
    max-width: 570px;
    margin: 14px auto 0;
    color: var(--osmlf-text);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.45;
}

.osmlf-hero__subtitle > :first-child {
    margin-top: 0;
}

.osmlf-hero__subtitle > :last-child {
    margin-bottom: 0;
}

.osmlf-quick-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.osmlf-quick-filters__label {
    color: var(--osmlf-blue);
    font-size: 15px;
    font-weight: 700;
}

.osmlf-quick-filters__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.osmlf-country-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 42px;
    padding: 8px 20px !important;
    border: 2px solid var(--osmlf-text) !important;
    border-radius: 999px !important;
    background: var(--osmlf-white) !important;
    color: var(--osmlf-text) !important;
    box-shadow: 0 2px 0 rgba(24, 38, 65, 0.2) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.osmlf-country-filter:hover,
.osmlf-country-filter:focus-visible {
    border-color: var(--osmlf-blue) !important;
    color: var(--osmlf-blue) !important;
    transform: translateY(-1px);
}

.osmlf-country-filter[aria-pressed="true"] {
    border-color: var(--osmlf-blue) !important;
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
    box-shadow: 0 2px 0 var(--osmlf-blue-dark) !important;
}

/* Wavy transition */
.osmlf-wave {
    position: relative;
    z-index: 2;
    height: clamp(34px, 4.4vw, 70px);
    margin-bottom: -1px;
    overflow: hidden;
    background: var(--osmlf-white);
    line-height: 0;
}

.osmlf-wave img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: fill !important;
    object-position: center bottom !important;
}

.osmlf-wave--bottom {
    z-index: 1;
    margin-top: -1px;
    margin-bottom: 0;
    background: var(--osmlf-sky);
}

.osmlf-wave--bottom img {
    transform: scaleY(-1);
    transform-origin: center;
}


.osmlf-finder--no-header .osmlf-wave {
    height: clamp(24px, 3vw, 48px);
}

/* Finder band */
.osmlf-search-section {
    position: relative;
    z-index: 1;
    background: var(--osmlf-sky);
}

.osmlf-search-section__inner {
    padding-block: clamp(44px, 5vw, 72px) clamp(62px, 7vw, 98px);
}

.osmlf-controls {
    display: grid;
    grid-template-columns: minmax(225px, 0.72fr) minmax(500px, 1.45fr) minmax(62px, 0.2fr);
    grid-template-areas: "heading form toggle";
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.osmlf-controls__heading {
    grid-area: heading;
    align-self: end;
    min-width: 0;
}

.osmlf-section-title {
    margin: 0;
    color: var(--osmlf-text);
    font-size: clamp(35px, 3vw, 48px);
    line-height: 1;
}

.osmlf-result-count {
    min-height: 1.3em;
    margin: 4px 0 0;
    padding: 0 !important;
    color: var(--osmlf-text);
    font-size: 16px;
    line-height: 1.3;
}

.osmlf-search-form {
    grid-area: form;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.55fr) 48px;
    gap: 12px;
    align-items: end;
    min-width: 0;
    margin: 0;
}

.osmlf-field {
    min-width: 0;
    margin: 0;
}

.osmlf-field--mode {
    grid-column: 1 / -1;
}

/* Distance is part of the search bar, aligned with its other fields. */
.osmlf-controls--distance-choice {
    grid-template-columns: minmax(220px, 0.7fr) minmax(560px, 1.65fr) auto;
}

.osmlf-search-form--distance-choice {
    grid-template-columns: minmax(140px, 1fr) minmax(100px, 0.55fr) 48px 214px;
}

.osmlf-field--distance {
    margin-left: 6px;
}

.osmlf-field__label {
    font-family: "lunchbox-reg", var(--osmlf-heading-font);
}

.osmlf-distance-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 2px;
    border: 0;
    border-radius: 999px;
    background: var(--osmlf-white);
    box-shadow: inset 0 0 0 1px rgba(0, 103, 185, 0.12);
}

.osmlf-finder .osmlf-distance-toggle__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 44px;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--osmlf-blue) !important;
    box-shadow: none !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.osmlf-finder .osmlf-distance-toggle__button::before,
.osmlf-finder .osmlf-distance-toggle__button::after {
    display: none !important;
}

.osmlf-finder .osmlf-distance-toggle__button:hover {
    background: rgba(255, 255, 255, 0.65) !important;
}

.osmlf-finder .osmlf-distance-toggle__button[aria-pressed="true"] {
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
}

.osmlf-finder .osmlf-distance-toggle__button:focus-visible {
    outline: 2px solid var(--osmlf-navy) !important;
    outline-offset: 2px;
}

.osmlf-location-card__distance,
.osmlf-google-marker__label-distance {
    white-space: pre-line;
}

.osmlf-field label,
.osmlf-field__label {
    display: flex;
    align-items: flex-end;
    min-height: 16px;
    margin: 0 0 6px;
    color: var(--osmlf-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.osmlf-input,
.osmlf-select {
    display: block;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    border: 1px solid #c9d5de !important;
    border-radius: 0 !important;
    background: var(--osmlf-white) !important;
    color: var(--osmlf-text) !important;
    box-shadow: none !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    outline: none;
}

.osmlf-input {
    padding: 0 14px !important;
}

.osmlf-input::-webkit-search-cancel-button {
    cursor: pointer;
}

.osmlf-input:focus,
.osmlf-select:focus {
    border-color: var(--osmlf-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 103, 185, 0.18) !important;
}

.osmlf-select-wrap {
    position: relative;
    display: block;
}

.osmlf-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--osmlf-text);
    border-bottom: 2px solid var(--osmlf-text);
    transform: translateY(-68%) rotate(45deg);
    pointer-events: none;
}

.osmlf-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding: 0 40px 0 14px !important;
    cursor: pointer;
}

.osmlf-search-button {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center !important;
    vertical-align: bottom;
    align-self: end;
    isolation: isolate;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.osmlf-search-button:hover,
.osmlf-search-button:focus-visible {
    background: var(--osmlf-blue-dark) !important;
    transform: translateY(-1px);
}

.osmlf-search-button:disabled {
    cursor: wait;
    opacity: 0.75;
    transform: none;
}

.osmlf-search-button__icon {
    position: absolute;
    inset: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    pointer-events: none;
}

.osmlf-search-button__icon svg {
    display: block !important;
    flex: 0 0 auto;
    width: 21px !important;
    height: 21px !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: none !important;
    transform-origin: center center;
}

.osmlf-search-button__spinner,
.osmlf-loading-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.42);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: osmlf-spin 0.75s linear infinite;
}

.osmlf-search-button__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    flex: 0 0 auto;
    margin: -11px 0 0 -11px !important;
}

.osmlf-search-button.is-loading .osmlf-search-button__icon {
    display: none !important;
}

.osmlf-search-button.is-loading .osmlf-search-button__spinner {
    display: block;
}

@keyframes osmlf-spin {
    to { transform: rotate(360deg); }
}

.osmlf-view-toggle {
    grid-area: toggle;
    justify-self: end;
    align-self: end;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 0 3px !important;
    margin: 0 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--osmlf-blue) !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-transform: none !important;
    cursor: pointer;
}

.osmlf-view-toggle:hover,
.osmlf-view-toggle:focus-visible {
    color: var(--osmlf-blue-dark) !important;
}

.osmlf-message {
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid #e3a919;
    background: #fff8df;
    color: #5f4600;
    font-size: 15px;
    line-height: 1.5;
}

.osmlf-message a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.osmlf-view {
    width: 100%;
}

/* Google map */
.osmlf-map-shell {
    position: relative;
    min-height: var(--osmlf-map-height, 520px);
    overflow: hidden;
    background: #d9e7ed;
}

.osmlf-map {
    width: 100%;
    height: var(--osmlf-map-height, 520px);
    min-height: 360px;
}

.osmlf-map-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(223, 243, 252, 0.88);
    color: var(--osmlf-blue-dark);
    font-weight: 700;
}

.osmlf-map-loading .osmlf-loading-spinner {
    border-color: rgba(0, 103, 185, 0.25);
    border-top-color: var(--osmlf-blue);
}

.osmlf-map .gm-style,
.osmlf-map .gm-style button,
.osmlf-map .gm-style div {
    font-family: inherit;
}

/* Advanced Marker HTML */
.osmlf-google-marker {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--osmlf-white);
    color: var(--osmlf-blue);
    box-shadow: 0 3px 12px rgba(20, 39, 63, 0.28);
    cursor: pointer;
    transform-origin: center bottom;
    transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

.osmlf-google-marker:hover,
.osmlf-google-marker:focus-visible {
    transform: scale(1.08);
    outline: 3px solid rgba(0, 103, 185, 0.24);
    outline-offset: 2px;
}

.osmlf-google-marker__icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.osmlf-google-marker--origin {
    border: 2px solid var(--osmlf-blue);
    cursor: default;
}

.osmlf-google-marker--selected {
    width: 24px;
    height: 24px;
    border: 3px solid var(--osmlf-white);
    background: var(--osmlf-blue);
    box-shadow: 0 2px 8px rgba(20, 39, 63, 0.34);
}

.osmlf-google-marker--selected:hover,
.osmlf-google-marker--selected:focus-visible {
    /* Scaling this parent also moves/scales the positioned information bubble. */
    transform: none;
}

.osmlf-google-marker--selected .osmlf-google-marker__icon {
    display: none;
}

.osmlf-google-marker__label {
    position: absolute;
    left: calc(100% + 13px);
    top: 50%;
    width: max-content;
    min-width: 190px;
    max-width: 240px;
    padding: 10px 12px 12px;
    border: 2px solid var(--osmlf-blue);
    background: var(--osmlf-white);
    color: var(--osmlf-blue-dark);
    box-shadow: 0 3px 10px rgba(20, 39, 63, 0.12);
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    transform: translateY(-50%);
    pointer-events: auto;
}

.osmlf-google-marker__label-title {
    display: block;
    font-weight: 700;
}

.osmlf-google-marker__label-distance {
    display: block;
    margin-top: 2px;
    font-weight: 500;
}

.osmlf-google-marker__label-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    margin: 9px 0 0 !important;
    padding: 7px 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

.osmlf-google-marker__label-button:hover,
.osmlf-google-marker__label-button:focus-visible {
    background: var(--osmlf-blue-dark) !important;
    color: var(--osmlf-white) !important;
    transform: translateY(-1px);
}

/* Carousels */
.osmlf-carousel {
    position: relative;
    width: 100%;
}

.osmlf-carousel--map {
    margin-top: 16px;
}

.osmlf-carousel--list {
    margin-top: 4px;
}

.osmlf-carousel__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.osmlf-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.osmlf-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 54px) / 4);
    align-items: stretch;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.osmlf-carousel__track > * {
    min-width: 0;
    height: auto;
    align-self: stretch;
}

.osmlf-carousel__track.is-empty {
    display: block;
    width: 100%;
}

.osmlf-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: grid !important;
    place-items: center;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
    box-shadow: 0 2px 8px rgba(20, 39, 63, 0.22) !important;
    cursor: pointer;
    transform: translateY(-50%);
}

.osmlf-carousel-button--previous {
    left: -23px;
}

.osmlf-carousel-button--next {
    right: -23px;
}

.osmlf-carousel-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.osmlf-carousel-button:hover,
.osmlf-carousel-button:focus-visible {
    background: var(--osmlf-blue-dark) !important;
}

.osmlf-carousel-button:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Location cards */
.osmlf-location-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: auto;
    border: 2px solid transparent;
    background: var(--osmlf-white);
    color: var(--osmlf-text);
    scroll-snap-align: start;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.osmlf-location-card.is-selected {
    border-color: var(--osmlf-blue);
}

.osmlf-location-card--list {
    padding: 18px;
}

.osmlf-location-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7edf1;
}

.osmlf-location-card__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.osmlf-location-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #708193;
    font-size: 14px;
    text-align: center;
}

.osmlf-location-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: auto;
}

.osmlf-location-card--list .osmlf-location-card__body {
    min-height: 121px;
    padding-top: 13px;
}

.osmlf-location-card__title {
    --osmlf-card-title-size: 16px;
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: 42px;
    min-height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--osmlf-text) !important;
    font-family: inherit !important;
    font-size: var(--osmlf-card-title-size) !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-synthesis: none;
    letter-spacing: 0.01em !important;
    line-height: 20px !important;
    text-overflow: clip;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
}

.osmlf-location-card--map .osmlf-location-card__title {
    --osmlf-card-title-size: 15.5px;
}

.osmlf-location-card__title.is-truncated {
    cursor: help;
}

.osmlf-location-card__distance {
    display: block;
    flex: 0 0 auto;
    height: 18px;
    min-height: 18px;
    margin-top: 2px;
    color: var(--osmlf-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.osmlf-location-card__distance.is-empty {
    visibility: hidden;
}

.osmlf-location-card__button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    height: auto !important;
    margin: auto 0 0 !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--osmlf-blue) !important;
    color: var(--osmlf-white) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background-color 150ms ease, transform 150ms ease;
}

.osmlf-location-card--list .osmlf-location-card__button {
    margin-top: auto !important;
}

.osmlf-location-card__button:hover,
.osmlf-location-card__button:focus-visible {
    background: var(--osmlf-blue-dark) !important;
    color: var(--osmlf-white) !important;
    transform: translateY(-1px);
}

.osmlf-location-card--map {
    min-height: 158px;
    padding: 18px;
    cursor: pointer;
}

.osmlf-location-card--map .osmlf-location-card__body {
    min-height: 121px;
    padding-top: 13px;
}

.osmlf-location-card--map:hover,
.osmlf-location-card--map:focus-within {
    box-shadow: inset 0 0 0 1px var(--osmlf-blue);
}

.osmlf-location-card--map .osmlf-location-card__button {
    margin-top: auto !important;
}

.osmlf-empty-state {
    width: 100%;
    min-height: 180px;
    padding: 36px 24px;
    background: var(--osmlf-white);
    color: var(--osmlf-text);
    text-align: center;
}

.osmlf-empty-state h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.osmlf-empty-state p {
    margin: 0;
    color: var(--osmlf-muted);
}

.osmlf-load-more {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 28px auto 0 !important;
    padding: 0 0 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--osmlf-blue) !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-transform: none !important;
    cursor: pointer;
}

.osmlf-load-more:hover,
.osmlf-load-more:focus-visible {
    color: var(--osmlf-blue-dark) !important;
}

@media (max-width: 1199px) and (min-width: 1025px) {
    .osmlf-controls {
        grid-template-columns: minmax(210px, 0.65fr) minmax(480px, 1.35fr) 54px;
        gap: 20px;
    }

    .osmlf-controls--distance-choice {
        grid-template-columns: minmax(210px, 0.65fr) minmax(540px, 1.65fr) auto;
    }

    .osmlf-carousel__track {
        grid-auto-columns: calc((100% - 36px) / 3);
    }
}

@media (max-width: 1024px) {
    .osmlf-container {
        width: min(100% - 48px, 850px);
    }

    .osmlf-controls {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title title"
            "form form"
            "count toggle";
        gap: 18px 16px;
        align-items: center;
    }

    .osmlf-controls__heading {
        display: contents;
    }

    .osmlf-section-title {
        grid-area: title;
    }

    .osmlf-result-count {
        grid-area: count;
        margin: 0;
    }

    .osmlf-search-form {
        grid-area: form;
    }

    .osmlf-view-toggle {
        grid-area: toggle;
        align-self: center;
        margin: 0 !important;
    }

    .osmlf-map-shell,
    .osmlf-map {
        height: min(58vw, 480px);
        min-height: 390px;
    }

    .osmlf-carousel__viewport {
        overflow: visible;
        scroll-snap-type: none;
    }

    .osmlf-carousel__track {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        width: 100%;
        min-width: 0;
    }

    .osmlf-carousel-button {
        display: none !important;
    }

    .osmlf-location-card[data-mobile-hidden="true"] {
        display: none !important;
    }

    .osmlf-location-card--list {
        padding: 20px;
    }

    .osmlf-location-card__media {
        aspect-ratio: 16 / 8.7;
    }

    .osmlf-location-card--map {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .osmlf-container {
        width: calc(100% - 36px);
    }

    .osmlf-hero__inner {
        padding-block: 38px 42px;
    }

    .osmlf-hero__title {
        font-size: 45px;
    }

    .osmlf-hero__subtitle {
        max-width: 310px;
        font-size: 16px;
    }

    .osmlf-quick-filters {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .osmlf-quick-filters__buttons {
        gap: 10px;
    }

    .osmlf-country-filter {
        min-height: 40px;
        padding-inline: 17px !important;
        font-size: 14px !important;
    }

    .osmlf-search-section__inner {
        padding-block: 36px 56px;
    }

    .osmlf-controls {
        margin-bottom: 22px;
    }

    .osmlf-section-title {
        font-size: 38px;
    }

    .osmlf-search-form {
        grid-template-columns: minmax(0, 1.15fr) minmax(105px, 0.72fr) 46px;
        gap: 8px;
    }

    .osmlf-field label,
    .osmlf-field__label {
        font-size: 12px;
    }

    .osmlf-field--distance {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 10px 0 0;
    }

    .osmlf-field--distance .osmlf-field__label {
        flex: 0 0 auto;
        margin: 0;
    }

    .osmlf-field--distance .osmlf-distance-toggle {
        flex: 1;
        min-width: 0;
    }

    .osmlf-input,
    .osmlf-select {
        height: 46px !important;
        min-height: 46px !important;
        font-size: 15px !important;
    }

    .osmlf-input {
        padding-inline: 11px !important;
    }

    .osmlf-select {
        padding-left: 11px !important;
        padding-right: 30px !important;
    }

    .osmlf-select-wrap::after {
        right: 11px;
        width: 7px;
        height: 7px;
    }

    .osmlf-search-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    .osmlf-result-count,
    .osmlf-view-toggle {
        font-size: 15px !important;
    }

    .osmlf-map-shell,
    .osmlf-map {
        height: 390px;
        min-height: 390px;
    }

    .osmlf-carousel--map {
        margin-top: 16px;
    }

    .osmlf-location-card--list {
        padding: 16px;
    }

    .osmlf-location-card__media {
        aspect-ratio: 16 / 9.3;
    }

    .osmlf-location-card__title {
        --osmlf-card-title-size: 15.5px;
    }

    .osmlf-location-card__button {
        min-height: 42px !important;
        padding-block: 10px !important;
        font-size: 14px !important;
    }

    .osmlf-google-marker__label {
        left: 50%;
        top: auto;
        bottom: calc(100% + 10px);
        max-width: 190px;
        transform: translateX(-50%);
        font-size: 12px;
    }
}

@media (max-width: 410px) {
    .osmlf-container {
        width: calc(100% - 28px);
    }

    .osmlf-search-form {
        grid-template-columns: minmax(0, 1fr) 105px 44px;
        gap: 6px;
    }

    .osmlf-search-button {
        width: 44px !important;
        min-width: 44px !important;
    }

    .osmlf-map-shell,
    .osmlf-map {
        height: 360px;
        min-height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .osmlf-finder *,
    .osmlf-finder *::before,
    .osmlf-finder *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Theme hardening: prevent global Salient/button/form effects changing the Figma UI. */
.osmlf-country-filter::before,
.osmlf-country-filter::after,
.osmlf-search-button::before,
.osmlf-search-button::after,
.osmlf-view-toggle::before,
.osmlf-view-toggle::after,
.osmlf-carousel-button::before,
.osmlf-carousel-button::after,
.osmlf-load-more::before,
.osmlf-load-more::after,
.osmlf-location-card__button::before,
.osmlf-location-card__button::after,
.osmlf-google-marker__label-button::before,
.osmlf-google-marker__label-button::after {
    content: none !important;
    display: none !important;
}

.osmlf-input,
.osmlf-select {
    background-image: none !important;
}

@media (max-width: 640px) {
    /* The approved mobile map runs to the edges of the blue finder band. */
    .osmlf-view--map .osmlf-map-shell {
        width: calc(100% + 36px);
        margin-inline: -18px;
    }
}

@media (max-width: 410px) {
    .osmlf-view--map .osmlf-map-shell {
        width: calc(100% + 28px);
        margin-inline: -14px;
    }
}

/* 2.2.0: keep result changes and pin selection out of page scroll anchoring. */
.osmlf-finder .osmlf-carousel__track,
.osmlf-finder .osmlf-map-shell {
    overflow-anchor: none;
}

/* The context belongs to the whole finder, not the narrow heading column. */
.osmlf-finder .osmlf-search-context {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: -8px 0 24px;
    color: var(--osmlf-text);
}
.osmlf-finder .osmlf-search-context__text {
    flex: 1 1 540px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.osmlf-finder .osmlf-clear-country {
    flex: 0 0 auto;
    min-height: 32px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--osmlf-blue-dark) !important;
    font: inherit !important;
    font-size: 14px !important;
    text-transform: none !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    cursor: pointer;
}
.osmlf-finder .osmlf-clear-country::before,
.osmlf-finder .osmlf-clear-country::after {
    content: none !important;
}
.osmlf-finder .osmlf-clear-country:focus-visible {
    outline: 2px solid var(--osmlf-blue);
    outline-offset: 4px;
}

/* Text labels identify alternatives without dimming or disabling those cards. */
.osmlf-finder .osmlf-location-card__radius-status {
    display: block;
    flex: 0 0 auto;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    min-height: 24px;
    margin: 8px 0 14px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #edf6fd;
    color: #004c8c;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
}
.osmlf-finder .osmlf-location-card__radius-status.is-outside {
    background: #fff4ce;
    color: #624a06;
}
.osmlf-finder .osmlf-location-card[data-radius-state] .osmlf-location-card__body {
    min-height: 165px;
}
.osmlf-finder .osmlf-location-card__title {
    flex-shrink: 0;
}
.osmlf-finder .osmlf-google-marker__label-radius {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--osmlf-muted);
    line-height: 1.35;
}
.osmlf-finder .osmlf-google-marker--outside:not(.osmlf-google-marker--selected) {
    border-color: #6b8da8;
    border-style: dashed;
}

/* A solid PGL-blue home pin distinguishes the visitor's origin from centres. */
.osmlf-finder .osmlf-google-marker--origin {
    display: block !important;
    width: 40px !important;
    height: 50px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--osmlf-blue) !important;
    transform: none !important;
    outline: none !important;
    cursor: default;
    pointer-events: none;
}
.osmlf-finder .osmlf-home-marker__svg {
    display: block !important;
    width: 40px !important;
    height: 50px !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: visible;
    filter: drop-shadow(0 2px 3px rgba(24, 38, 65, .28));
}
.osmlf-finder .osmlf-home-marker__pin {
    fill: var(--osmlf-blue) !important;
    stroke: #ffffff !important;
    stroke-width: 1.5px;
}
.osmlf-finder .osmlf-home-marker__house {
    fill: #ffffff !important;
    stroke: none !important;
}

.osmlf-google-marker__compact,
.osmlf-google-marker--origin > .osmlf-google-marker__icon {
    display: none;
}

/* Mobile follows the compact pin-and-bubble treatment in the location design. */
@media (max-width: 640px) {
    .osmlf-map-shell,
    .osmlf-map {
        height: clamp(420px, 116vw, 520px);
        min-height: 420px;
    }

    .osmlf-google-marker {
        width: 44px;
        height: 44px;
        box-shadow: 0 2px 5px rgba(20, 39, 63, 0.14);
        transition: none;
    }

    .osmlf-google-marker:hover {
        transform: none;
        outline: none;
    }

    .osmlf-google-marker--selected {
        width: 24px;
        height: 24px;
        border-width: 3px;
    }

    .osmlf-google-marker--selected::before {
        content: "";
        position: absolute;
        inset: -13px;
        border-radius: 50%;
    }

    .osmlf-finder .osmlf-google-marker--origin {
        display: grid !important;
        place-items: center;
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        border: 2px solid var(--osmlf-blue) !important;
        border-radius: 50% !important;
        background: var(--osmlf-white) !important;
    }

    .osmlf-google-marker--origin > .osmlf-google-marker__icon {
        display: block;
    }

    .osmlf-finder .osmlf-google-marker--origin > .osmlf-home-marker__svg {
        display: none !important;
    }

    .osmlf-finder .osmlf-google-marker__label {
        left: calc(100% + 12px);
        top: 50%;
        bottom: auto;
        width: 168px;
        min-width: 0;
        max-width: calc(100vw - 44px);
        padding: 0;
        border: 1.5px solid var(--osmlf-blue);
        border-radius: 14px;
        box-shadow: 0 2px 5px rgba(20, 39, 63, 0.1);
        font-family: "Poppins", sans-serif;
        font-size: 13px;
        line-height: 1.3;
        text-align: center;
        transform: translateY(-50%);
    }

    .osmlf-finder .osmlf-google-marker__label > :not(.osmlf-google-marker__compact) {
        display: none !important;
    }

    .osmlf-finder .osmlf-google-marker__compact {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 44px;
        padding: 8px 10px;
        border-radius: 12px;
        color: var(--osmlf-blue) !important;
        font-size: inherit;
        font-weight: 500;
        line-height: inherit;
        text-decoration: none !important;
        overflow-wrap: anywhere;
    }

    .osmlf-google-marker__compact-distance {
        margin-top: 2px;
        font-size: 12px;
        font-weight: 400;
        white-space: pre-line;
    }

    .osmlf-finder a.osmlf-google-marker__compact:focus-visible {
        outline: 3px solid var(--osmlf-blue);
        outline-offset: 3px;
    }
}
