.locations-map-v2 {
    --lm-red: #a6192e;
    --lm-charcoal: #242424;
    --lm-muted: #626262;
    --lm-neutral: #f4f2ef;
    --lm-border: #d7d3ce;
    --lm-white: #fff;
    background: var(--lm-white);
    color: var(--lm-charcoal);
    padding: 3rem clamp(1rem, 4vw, 4.5rem);
}

.locations-map-v2 *,
.locations-map-v2 *::before,
.locations-map-v2 *::after {
    box-sizing: border-box;
}

.locations-map-v2 [hidden] {
    display: none !important;
}

.locations-map-v2__inner {
    margin: 0 auto;
    max-width: 120rem;
}

.locations-map-v2__sprite {
    height: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.locations-map-v2__heading {
    font-size: clamp(2rem, 4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .98;
    margin: 0;
    max-width: 18ch;
    text-transform: uppercase;
}

.locations-map-v2__heading span,
.locations-map-v2__intro h3 {
    color: var(--lm-red);
}

.locations-map-v2__intro {
    margin-top: 1.25rem;
    max-width: 46rem;
}

.locations-map-v2__intro h3,
.locations-map-v2__intro p {
    margin: 0;
}

.locations-map-v2__intro h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.locations-map-v2__intro p {
    color: var(--lm-muted);
    margin-top: .35rem;
}

.locations-map-v2__controls {
    background: var(--lm-white);
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

.locations-map-v2__search-wrap {
    align-items: center;
    border: 1px solid var(--lm-border);
    border-radius: .25rem;
    display: flex;
    min-height: 3.25rem;
    position: relative;
}

.locations-map-v2__search-wrap:focus-within {
    border-color: var(--lm-charcoal);
    box-shadow: 0 0 0 3px rgb(166 25 46 / 18%);
}

.locations-map-v2__search-wrap > svg {
    fill: currentColor;
    flex: 0 0 1.35rem;
    height: 1.35rem;
    margin-left: 1rem;
    width: 1.35rem;
}

.locations-map-v2__search-wrap input {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--lm-charcoal);
    flex: 1;
    font: inherit;
    min-width: 0;
    outline: 0;
    padding: .8rem 1rem;
}

.locations-map-v2__search-wrap input::placeholder {
    color: #727272;
}

.locations-map-v2__reset,
.locations-map-v2__empty button,
.locations-map-v2__map-message button {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--lm-red);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 2.75rem;
    padding: .5rem 1rem;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.locations-map-v2__filters {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    overflow-x: auto;
    padding: .15rem .15rem .5rem;
    scrollbar-width: thin;
}

.locations-map-v2__filters button,
.locations-map-v2__mode button {
    align-items: center;
    appearance: none;
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: 999px;
    color: var(--lm-charcoal);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .55rem .9rem;
}

.locations-map-v2__filters button:hover,
.locations-map-v2__filters button.is-active,
.locations-map-v2__filters button[aria-pressed="true"] {
    background: var(--lm-charcoal);
    border-color: var(--lm-charcoal);
    color: var(--lm-white);
}

.locations-map-v2__filters svg {
    fill: currentColor;
    height: 1rem;
    width: 1rem;
}

.locations-map-v2__filters strong {
    background: var(--lm-neutral);
    border-radius: 999px;
    color: var(--lm-charcoal);
    font-size: .75rem;
    min-width: 1.5rem;
    padding: .1rem .4rem;
    text-align: center;
}

.locations-map-v2__mobile-category {
    display: none;
}

.locations-map-v2__mode {
    background: var(--lm-neutral);
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: .5rem;
    padding: .25rem;
}

.locations-map-v2__mode button {
    border-color: transparent;
    justify-content: center;
    width: 100%;
}

.locations-map-v2__mode button.is-active,
.locations-map-v2__mode button[aria-pressed="true"] {
    background: var(--lm-charcoal);
    color: var(--lm-white);
}

.locations-map-v2 button:focus-visible,
.locations-map-v2 a:focus-visible,
.locations-map-v2 input:focus-visible,
.locations-map-v2 summary:focus-visible {
    outline: 3px solid var(--lm-red);
    outline-offset: 3px;
}

.locations-map-v2__workspace {
    background: var(--lm-neutral);
    border: 1px solid var(--lm-border);
    border-radius: .5rem;
    margin-top: 1rem;
    min-height: 36rem;
    overflow: hidden;
}

.locations-map-v2__results {
    background: var(--lm-white);
    min-width: 0;
}

.locations-map-v2__results-heading {
    align-items: baseline;
    border-bottom: 1px solid var(--lm-border);
    display: flex;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
}

.locations-map-v2__results-heading h3,
.locations-map-v2__results-heading span {
    margin: 0;
}

.locations-map-v2__results-heading h3 {
    font-size: 1.25rem;
}

.locations-map-v2__results-heading span {
    color: var(--lm-muted);
    font-size: .875rem;
}

.locations-map-v2__list {
    background: #f7f6f4;
    display: grid;
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: .75rem;
}

.locations-map-v2__list > li {
    min-width: 0;
}

.locations-map-v2__card {
    background: var(--lm-white);
    border: 1px solid #e2ded9;
    border-radius: .75rem;
    box-shadow: 0 1px 2px rgb(36 36 36 / 5%);
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    overflow: hidden;
    padding: 1.1rem;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.locations-map-v2__card[data-select-location] {
    cursor: pointer;
}

.locations-map-v2__card[data-select-location]:focus-visible {
    border-color: var(--lm-red);
    box-shadow: 0 0 0 3px rgb(166 25 46 / 22%), 0 .45rem 1.25rem rgb(36 36 36 / 10%);
    outline: 0;
}

.locations-map-v2__card::before {
    background: var(--lm-red);
    content: "";
    inset: 0 auto 0 0;
    opacity: 0;
    position: absolute;
    transition: opacity .18s ease;
    width: .25rem;
}

.locations-map-v2__list > li:hover .locations-map-v2__card {
    border-color: #c8c2bb;
    box-shadow: 0 .45rem 1.25rem rgb(36 36 36 / 10%);
    transform: translateY(-1px);
}

.locations-map-v2__list > li[aria-current="true"] .locations-map-v2__card {
    border-color: var(--lm-red);
    box-shadow: 0 0 0 2px rgb(166 25 46 / 13%), 0 .45rem 1.25rem rgb(36 36 36 / 10%);
}

.locations-map-v2__list > li[aria-current="true"] .locations-map-v2__card::before {
    opacity: 1;
}

.locations-map-v2__card-icon {
    align-items: center;
    background: var(--lm-charcoal);
    border-radius: .7rem;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
    color: var(--lm-white);
    display: flex;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.locations-map-v2__card-icon svg {
    fill: currentColor;
    height: 1.25rem;
    width: 1.25rem;
}

.locations-map-v2__card-body > * {
    margin: 0;
}

.locations-map-v2__card-body > * + * {
    margin-top: .45rem;
}

.locations-map-v2__eyebrow {
    color: var(--lm-red);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .075em;
    line-height: 1.3;
    text-transform: uppercase;
}

.locations-map-v2__card h4,
.locations-map-v2__location-title {
    color: var(--lm-charcoal);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
}

.locations-map-v2__location-title {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
}

.locations-map-v2__card[data-select-location]:hover .locations-map-v2__location-title {
    color: var(--lm-red);
}

.locations-map-v2__subheading,
.locations-map-v2__additional,
.locations-map-v2__card-body > p:not(.locations-map-v2__eyebrow) {
    color: var(--lm-muted);
    font-size: .9rem;
    line-height: 1.5;
}

.locations-map-v2__contact-detail {
    display: grid;
    gap: .12rem;
}

.locations-map-v2__contact-label {
    color: #4f4f4f;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .075em;
    line-height: 1.25;
    text-transform: uppercase;
}

.locations-map-v2__contact-detail > a {
    width: fit-content;
}

.locations-map-v2__directory-summary {
    background: #f7f6f4;
    border: 1px solid #ded9d3;
    border-radius: .55rem;
    margin-top: .85rem !important;
    padding: .75rem;
}

.locations-map-v2__directory-count {
    color: var(--lm-red);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .07em;
    margin: 0;
    text-transform: uppercase;
}

.locations-map-v2__directory-preview-list {
    display: grid;
    gap: .65rem;
    margin-top: .45rem;
}

.locations-map-v2__directory-preview {
    min-width: 0;
}

.locations-map-v2__directory-preview + .locations-map-v2__directory-preview {
    border-top: 1px solid #e7e3df;
    padding-top: .65rem;
}

.locations-map-v2__directory-preview h5,
.locations-map-v2__info-directory-contact h4 {
    color: var(--lm-charcoal);
    font-size: .93rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.locations-map-v2__directory-preview-contact {
    display: grid;
    gap: .05rem;
    margin: .4rem 0 0;
    min-width: 0;
}

.locations-map-v2__directory-preview-contact a {
    overflow-wrap: anywhere;
    width: fit-content;
}

.locations-map-v2__directory-more {
    color: var(--lm-muted);
    font-size: .74rem;
    line-height: 1.4;
    margin: .7rem 0 0;
}

.locations-map-v2__directory-type {
    color: var(--lm-muted);
    font-size: .78rem;
    margin: .15rem 0 0;
}

.locations-map-v2__card a {
    color: var(--lm-red);
    font-weight: 700;
}

.locations-map-v2__card-actions {
    align-items: center;
    border-top: 1px solid #ebe8e4;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-top: .85rem;
    padding-top: .85rem;
}

.locations-map-v2__card-actions > a {
    align-items: center;
    background: var(--lm-charcoal);
    border-radius: 999px;
    color: var(--lm-white);
    display: inline-flex;
    font-size: .82rem;
    gap: .55rem;
    min-height: 2.75rem;
    padding: .55rem .85rem;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.locations-map-v2__card-actions > a::after {
    content: "\2192";
    font-size: 1rem;
    line-height: 1;
}

.locations-map-v2__card-actions > a:hover {
    background: var(--lm-red);
    color: var(--lm-white);
    transform: translateX(1px);
}

.locations-map-v2__position-note {
    background: var(--lm-neutral);
    border-radius: 999px;
    color: var(--lm-muted);
    font-size: .75rem;
    padding: .35rem .6rem;
}

.locations-map-v2__empty,
.locations-map-v2__map-message {
    padding: 3rem 1.5rem;
    text-align: center;
}

.locations-map-v2__empty h4,
.locations-map-v2__empty p,
.locations-map-v2__map-message h3,
.locations-map-v2__map-message p {
    margin: 0;
}

.locations-map-v2__empty p,
.locations-map-v2__map-message p {
    color: var(--lm-muted);
    margin-top: .5rem;
}

.locations-map-v2__map-panel {
    background: #dedbd6;
    display: none;
    min-height: 36rem;
    position: relative;
}

.locations-map-v2__workspace[data-mode-current="map"] .locations-map-v2__results {
    display: none;
}

.locations-map-v2__workspace[data-mode-current="map"] .locations-map-v2__map-panel {
    display: block;
}

.locations-map-v2__map {
    height: 100%;
    min-height: 36rem;
    width: 100%;
}

.locations-map-v2__loading,
.locations-map-v2__map-message {
    align-items: center;
    background: var(--lm-neutral);
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 2;
}

.locations-map-v2__loading span {
    animation: locations-map-v2-spin .8s linear infinite;
    border: 3px solid var(--lm-border);
    border-radius: 50%;
    border-top-color: var(--lm-red);
    height: 2rem;
    width: 2rem;
}

.locations-map-v2__loading p {
    margin: .75rem 0 0;
}

.locations-map-v2__map-panel .gm-style .gm-style-iw-c {
    border-radius: .75rem;
    padding: 0 !important;
}

.locations-map-v2__map-panel .gm-style .gm-style-iw-chr {
    height: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.locations-map-v2__map-panel .gm-style .gm-style-iw-d {
    max-height: none !important;
    overflow: auto !important;
    padding: 0 !important;
}

.locations-map-v2__map-panel .gm-style .gm-ui-hover-effect {
    height: 2.75rem !important;
    position: absolute !important;
    right: .25rem !important;
    top: .25rem !important;
    width: 2.75rem !important;
}

.locations-map-v2__info {
    color: var(--lm-charcoal);
    font: 400 .9rem/1.45 Arial, sans-serif;
    max-width: 19rem;
    min-width: 10rem;
    padding: 1rem 3rem 1rem 1rem;
}

.locations-map-v2__info h3,
.locations-map-v2__info p {
    margin: 0;
}

.locations-map-v2__info h3 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.locations-map-v2__info .locations-map-v2__info-eyebrow {
    color: var(--lm-red);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.locations-map-v2__info p + p,
.locations-map-v2__info h3 + p,
.locations-map-v2__info select,
.locations-map-v2__info a {
    margin-top: .5rem;
}

.locations-map-v2__info .locations-map-v2__contact-detail {
    margin-top: .7rem;
}

.locations-map-v2__info-directory {
    border-top: 1px solid #e7e3df;
    margin-top: .85rem;
    padding-top: .8rem;
}

.locations-map-v2__info-directory-count {
    font-size: .78rem;
    font-weight: 800;
}

.locations-map-v2__info-directory > label {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    margin-top: .6rem;
}

.locations-map-v2__info-directory-contact {
    max-height: 14rem;
    overflow-y: auto;
    padding: .8rem .25rem .25rem 0;
}

.locations-map-v2__info-directory-contact a {
    overflow-wrap: anywhere;
}

.locations-map-v2__info select {
    display: block;
    font: inherit;
    min-height: 2.5rem;
    width: 100%;
}

.locations-map-v2__info .locations-map-v2__info-action {
    align-items: center;
    background: var(--lm-charcoal);
    border-radius: 999px;
    color: var(--lm-white);
    display: inline-flex;
    font-weight: 700;
    min-height: 2.75rem;
    padding: .55rem .8rem;
    text-decoration: none;
}

.locations-map-v2__info .locations-map-v2__info-action:hover {
    background: var(--lm-red);
    color: var(--lm-white);
}

.locations-map-v2__editor-summary,
.locations-map-v2__noscript {
    background: #fff7d8;
    border: 1px solid #a77b00;
    margin-top: 1rem;
    padding: 1rem;
}

.locations-map-v2__editor-summary summary {
    cursor: pointer;
    font-weight: 800;
}

.locations-map-v2__editor-summary dl {
    display: grid;
    gap: .25rem;
    margin-bottom: 0;
}

.locations-map-v2__editor-summary dl div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.locations-map-v2__editor-summary dd {
    font-weight: 800;
    margin: 0;
}

.locations-map-v2__sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@keyframes locations-map-v2-spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 60rem) {
    .locations-map-v2 {
        padding-bottom: 4.5rem;
        padding-top: 4.5rem;
    }

    .locations-map-v2__controls {
        display: grid;
        gap: .75rem 1rem;
        grid-template-columns: minmax(18rem, .8fr) minmax(0, 1.8fr);
    }

    .locations-map-v2__filters {
        margin-top: 0;
        padding-bottom: .15rem;
    }

    .locations-map-v2__mode {
        display: none;
    }

    .locations-map-v2__workspace {
        display: grid;
        grid-template-columns: minmax(20rem, 27rem) minmax(0, 1fr);
        height: min(46rem, 75vh);
        min-height: 39rem;
    }

    .locations-map-v2__workspace[data-mode-current] .locations-map-v2__results,
    .locations-map-v2__workspace[data-mode-current] .locations-map-v2__map-panel {
        display: block;
    }

    .locations-map-v2__results {
        min-height: 0;
        overflow-y: auto;
    }

    .locations-map-v2__results-heading {
        background: var(--lm-white);
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .locations-map-v2__map,
    .locations-map-v2__map-panel {
        min-height: 39rem;
    }
}

@media (max-width: 59.99rem) {
    .locations-map-v2 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .locations-map-v2__controls {
        box-shadow: 0 .4rem .75rem rgb(0 0 0 / 7%);
        display: grid;
        gap: .65rem;
        grid-template-columns: minmax(0, 1fr) minmax(9rem, .72fr);
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .75rem 1rem .5rem;
        position: sticky;
        top: 0;
    }

    .locations-map-v2__search-wrap {
        grid-column: 1 / -1;
    }

    .locations-map-v2__filters {
        display: none;
    }

    .locations-map-v2__mobile-category {
        display: block;
        min-width: 0;
    }

    .locations-map-v2__mobile-category select {
        appearance: none;
        background-color: var(--lm-white);
        background-image: linear-gradient(45deg, transparent 50%, var(--lm-charcoal) 50%), linear-gradient(135deg, var(--lm-charcoal) 50%, transparent 50%);
        background-position: calc(100% - 1.05rem) 1.25rem, calc(100% - .75rem) 1.25rem;
        background-repeat: no-repeat;
        background-size: .35rem .35rem, .35rem .35rem;
        border: 1px solid var(--lm-border);
        border-radius: .45rem;
        color: var(--lm-charcoal);
        font: inherit;
        font-size: .875rem;
        font-weight: 700;
        min-height: 3rem;
        padding: .65rem 2rem .65rem .8rem;
        width: 100%;
    }

    .locations-map-v2__mode {
        margin-top: 0;
        min-width: 0;
    }

    .locations-map-v2__workspace {
        min-height: 0;
    }

    .locations-map-v2__map,
    .locations-map-v2__map-panel {
        height: clamp(24rem, 65svh, 32rem);
        min-height: 24rem;
    }
}

@media (max-width: 24rem) {
    .locations-map-v2__controls {
        grid-template-columns: 1fr;
    }

    .locations-map-v2__search-wrap,
    .locations-map-v2__mobile-category,
    .locations-map-v2__mode {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .locations-map-v2 *,
    .locations-map-v2 *::before,
    .locations-map-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .locations-map-v2__loading span {
        animation: none;
    }
}
