.bml-wrapper,
.bml-wrapper * {
    box-sizing: border-box;
}

.bml-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 31%) 1fr;
    gap: 36px;
    align-items: stretch;
    font-family: inherit;
}

.bml-panel {
    min-width: 0;
    background: #fff;
    padding: 0;
}

.bml-search-wrap {
    width: 100%;
}

.bml-search-form {
    width: 100%;
    margin: 0;
}

.bml-search-input {
    width: 100%;
    height: 48px;
    border: 1px solid #d4d9e2;
    border-radius: 4px;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 20px;
    line-height: 1.2;
    padding: 10px 16px;
    outline: none;
    box-shadow: none !important;
}

.bml-search-input::placeholder {
    color: #7b8494;
    opacity: 1;
}

.bml-search-input:focus {
    border-color: #0b376f;
    background: #ffffff !important;
    box-shadow: none !important;
}

.bml-search-input:-webkit-autofill,
.bml-search-input:-webkit-autofill:hover,
.bml-search-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #111827 !important;
}

.bml-panel-action {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
}

.bml-explore-btn,
.bml-back-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #003087;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 0;
    cursor: pointer;
    text-align: right;
    box-shadow: none !important;
}

.bml-back-btn {
    font-size: 22px;
}

.bml-explore-btn:hover,
.bml-back-btn:hover,
.bml-explore-btn:focus,
.bml-back-btn:focus {
    color: #003087;
    background: transparent;
    outline: none;
}

.bml-list-scroll {
    height: 454px;
    min-height: 454px;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding: 20px 20px 20px 5px;
    scrollbar-width: thin;
    scrollbar-color: #9a9a9a transparent;
    scrollbar-gutter: stable;
}

.bml-list-scroll::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
}

.bml-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.bml-list-scroll::-webkit-scrollbar-thumb {
    background: #9a9a9a !important;
    border-radius: 20px;
}

.bml-list-scroll::-webkit-scrollbar-button:single-button {
    display: block;
    height: 14px;
    width: 6px;
    background-color: transparent;
}

.bml-list-scroll::-webkit-scrollbar-button:single-button:vertical:decrement {
    background:
        linear-gradient(135deg, transparent 50%, #9a9a9a 50%) left 2px top 6px / 4px 4px no-repeat,
        linear-gradient(225deg, transparent 50%, #9a9a9a 50%) right 0px top 6px / 4px 4px no-repeat;
}

.bml-list-scroll::-webkit-scrollbar-button:single-button:vertical:increment {
    background:
        linear-gradient(45deg, transparent 50%, #9a9a9a 50%) left 2px top 2px / 4px 4px no-repeat,
        linear-gradient(315deg, transparent 50%, #9a9a9a 50%) right 0px top 2px / 4px 4px no-repeat;
}

.bml-results {
    display: grid;
    gap: 24px;
}

.bml-card {
    width: 100%;
    min-height: auto;
    display: block;
    border: 0;
    border-radius: 10px;
    background: #fbf9f6;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    padding: 28px 32px;
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bml-card:hover,
.bml-card.is-selected {
    transform: translateY(-1px);
/*     box-shadow: 0 10px 24px rgba(0, 0, 0, 0.11); */
}

.bml-card-title {
    display: block;
    color: #000;
    font-size: 18px;
    line-height: 1.02;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.bml-card-address {
    display: block;
    color: #000;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 400;
}

.bml-map-panel {
    min-width: 0;
    height: 620px;
    overflow: hidden;
    border-radius: 10px;
}

.bml-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #eeeeee;
}

.bml-map::after {
    content: "";
    position: absolute;
    inset: 0;
/*     background: rgba(0, 0, 0, 0.50); */
    pointer-events: none;
    z-index: 1;
}

.bml-map iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 620px !important;
    border: 0 !important;
    display: block;
}

.bml-map-empty,
.bml-no-result {
    width: 100%;
    padding: 26px;
    border-radius: 10px;
    background: #fbf9f6;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    color: #000;
    font-size: 17px;
    line-height: 1.4;
}

.bml-map-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bml-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .bml-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bml-map-panel {
        height: 420px;
        order: 2;
    }

    .bml-map iframe {
        min-height: 420px !important;
    }

    .bml-panel {
        order: 1;
    }

    .bml-list-scroll {
        height: 380px;
        min-height: 380px;
        overflow-y: scroll !important;
    }
}

@media (max-width: 767px) {
    .bml-wrapper {
        gap: 20px;
    }

    .bml-search-input {
        height: 46px;
        font-size: 16px;
    }

    .bml-panel-action {
        height: 60px;
        padding-right: 4px;
    }

    .bml-explore-btn,
    .bml-back-btn {
        font-size: 18px;
    }

    .bml-card {
        min-height: 130px;
        padding: 22px;
    }

    .bml-card-title {
        font-size: 20px;
    }

    .bml-card-address {
        font-size: 16px;
    }

    .bml-list-scroll {
        height: 340px;
        min-height: 340px;
        overflow-y: scroll !important;
        padding-right: 15px;
    }

    .bml-map-panel {
        height: 360px;
    }

    .bml-map iframe {
        min-height: 360px !important;
    }
}