.imbibe-map-wrap {
    --imbibe-map-panel-width: min(360px, 88%);
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #e8e8e8;
}

.imbibe-map-canvas {
    width: 100%;
    min-height: 320px;
}

.imbibe-map-panel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: var(--imbibe-map-panel-width);
    height: 100%;
    box-sizing: border-box;
    padding: 72px 28px 28px;
    background: #fff;
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    transition: transform 220ms ease;
    overflow-y: auto;
}

.imbibe-map-panel.is-open {
    transform: translateX(0);
}

.imbibe-map-panel-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.imbibe-map-panel-category,
.imbibe-map-info-category {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
}

.imbibe-map-panel-title {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.15;
}

.imbibe-map-panel-address {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.imbibe-map-info-window {
    min-width: 180px;
    max-width: 260px;
    padding: 4px 2px;
}

.imbibe-map-info-title {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.imbibe-map-info-address {
    font-size: 13px;
    line-height: 1.4;
}

.imbibe-map-location-list-wrap {
    width: 100%;
}

.imbibe-map-location-list-heading {
    margin: 0;
    padding: 16px 20px;
    background: var(--imbibe-map-category-color, #2f7585);
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.imbibe-map-location-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 18px 20px 22px;
    list-style: none;
}

.imbibe-map-location-list-item {
    margin: 0;
    padding: 0;
}

.imbibe-map-location-list-button {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.imbibe-map-location-list-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--imbibe-map-category-color, #d55331);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.imbibe-map-location-list-content {
    display: block;
    min-width: 0;
}

.imbibe-map-location-list-title,
.imbibe-map-location-list-address {
    display: block;
}

.imbibe-map-location-list-title {
    font-size: 14px;
    line-height: 1.25;
}

.imbibe-map-location-list-address {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.72;
}

.imbibe-map-notice {
    padding: 12px 16px;
    border: 1px solid #dcdcde;
    background: #fff;
}

@media (max-width: 900px) {
    .imbibe-map-location-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .imbibe-map-location-list {
        grid-template-columns: 1fr;
    }

    .imbibe-map-panel {
        padding: 64px 22px 22px;
    }
}
