.mh-custom-cluster {
    background-color: #d72323;
    color: white;
    border-radius: 50%;
    text-align: center;
    font: 14px Arial, sans-serif;
    line-height: 20px;
    width: 20px;
    height: 20px;
}
.mh-custom-cluster span {
    display: block;
    line-height: 30px;
}
.mh-custom-cluster {
    background-color: #d72323;
    color: white;
    border-radius: 50%;
    text-align: center;
    font: 14px Arial, sans-serif;
    line-height: 20px;
    width: 20px;
    height: 20px;
}
.mh-custom-cluster span {
    display: block;
    line-height: 30px;
}
.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus, .navbar-toggler:hover {
    border: none;
    outline: none;
    box-shadow: none;
}
.mh-membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.mh-membership-primary,
.mh-membership-secondary {
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.mh-membership-primary {
    background-color: #d72323;
    border-color: #d72323;
}
.mh-membership-primary:hover,
.mh-membership-primary:focus {
    background-color: #b31d1d;
    border-color: #b31d1d;
    box-shadow: 0 4px 12px rgba(215, 35, 35, 0.3);
    transform: translateY(-1px);
}
.mh-membership-secondary:hover,
.mh-membership-secondary:focus {
    color: #fff;
    background-color: #b31d1d;
    border-color: #b31d1d;
    box-shadow: 0 4px 12px rgba(215, 35, 35, 0.3);
    transform: translateY(-1px);
}
@media (max-width: 575.98px) {
    .mh-membership-actions > a {
        flex: 1 1 100%;
    }
}
.mh-account-links {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-left: 1rem;
}
.mh-account-link {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    color: #1f1412;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.mh-account-link:hover {
    color: #d72323;
    border-color: #d72323;
    background-color: #fff5f5;
}
.mh-account-text {
    display: none;
}
.mh-account-link-signed-in {
    width: auto;
    border-radius: 999px;
    gap: .45rem;
    padding: 0 .75rem;
}
.mh-account-link-signed-in .mh-account-text {
    display: inline;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    .navbar-nav {
        align-items: flex-start;
    }
    .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }
    .mh-account-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        margin-left: 0;
        padding: 0;
    }
    .mh-account-link {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        gap: .5rem;
        justify-content: flex-start;
        padding: .5rem 0;
    }
    .mh-account-link:hover {
        background-color: transparent;
    }
    .mh-account-text {
        display: inline;
    }
}
.index-map-discovery-controls {
    z-index: 9999999 !important;
    width: 310px;
    position: absolute;
    top: 10px;
    left: 10px;
    pointer-events: none;
}

.index-map-discovery-controls .auto-search-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    pointer-events: auto;
}

.index-map-discovery-controls .category-stories {
    pointer-events: auto;
}
@media screen and (max-width: 450px) {
    .index-map-discovery-controls {
        width: calc(100% - 10px);
        left: 5px;
    }
}

@media screen and (min-width: 1025px) {
    .index-map-discovery-controls {
        align-items: flex-start;
        display: flex;
        gap: 10px;
        right: 10px;
        width: auto;
    }

    .index-map-discovery-controls .auto-search-wrapper {
        flex: 0 0 310px;
    }

    .index-map-discovery-controls .category-stories {
        flex: 1 1 auto;
        margin-top: -4px;
        min-width: 0;
    }
}
/* input padding-left increased to leave room for an icon */
.loupe input {
    border-radius: 50px;
    padding: 10px 20px 10px 35px;
    border: none;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.loupe input::placeholder {
    color: #999;
}
/* On focus: only show focus outline/shadow (no radius changes) */
.auto-search-wrapper input:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* When results are open, make input top-rounded and bottom-square */
.auto-search-wrapper.results-open input {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
/* When results are open, remove wrapper bottom radius so it visually connects to the list */
.auto-search-wrapper.results-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
/* Suggestion items: add gap between any icon and text */
.auto-search-wrapper .autocomplete-suggestions,
.auto-search-wrapper .autocomplete-suggestion,
.auto-search-wrapper ul,
.auto-search-wrapper li {
    list-style: none;
}
.auto-search-wrapper li.loupe {
    display: flex;
    align-items: center;
    padding: 10px 5px;
}
.auto-search-wrapper li.loupe p {
    margin: 0;
}
.auto-search-wrapper .result-icon {
    width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d72323;
    flex-shrink: 0;
}
.auto-search-wrapper .result-icon .bi {
    font-size: 1.1rem;
    color: inherit;
}
/* Remove any library-added pseudo-element icons for suggestions */
.auto-search-wrapper .autocomplete-suggestion::before,
.auto-search-wrapper .autocomplete-suggestions::before,
.auto-search-wrapper li::before {
    content: none !important;
    display: none !important;
}
/* If an icon/svg is present inside suggestion, give it breathing room */
.auto-search-wrapper li.loupe svg,
.auto-search-wrapper li.loupe img {
    margin-right: 15px;
    flex-shrink: 0;
}
/*
.hover-bg-light:hover {
    background-color: #f8f9fa;
    border-radius: 20px;
}*/
/* Round only bottom corners for active autocomplete results */
.auto-results-wrapper.auto-is-active {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
}
.mh-scroll-hint p {
    color: #2f2f2f;
    font-size: clamp(1rem, 1.05vw, 1.15rem);
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
}
.mh-scroll-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-top: 0.3rem;
    color: #d72323;
    cursor: pointer;
    transition: transform 0.25s ease;
}
.mh-scroll-arrow:hover {
    transform: translateY(3px);
}
.mh-scroll-arrow i {
    font-size: 2rem;
    animation: mh-scroll-bounce 1.4s infinite;
}
@keyframes mh-scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
