.lorestan-map {
    height: clamp(350px, 64vh, 620px);
    border: 1px solid #a8baaa;
    border-radius: 8px;
    background: #e5ebe0;
    direction: ltr;
    isolation: isolate;
}

.lorestan-map .leaflet-popup-content {
    direction: rtl;
    font-family: Vazir, sans-serif;
    line-height: 1.8;
}

.lorestan-map .leaflet-popup-content a {
    display: block;
    text-decoration: underline;
}

.lorestan-map-pin {
    background: #285646;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px #18372a80;
}

.lorestan-city-links {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.lorestan-city-links a {
    padding: .3rem .75rem;
    border: 1px solid #a8baaa;
    border-radius: 1rem;
}

.lorestan-map-frame {
    position: relative;
}

.lorestan-map-licenses {
    position: absolute;
    inset-block-start: .75rem;
    inset-inline-start: .75rem;
    z-index: 1;
    max-width: calc(100% - 4rem);
}

.lorestan-map-licenses summary {
    display: grid;
    place-items: center;
    list-style: none;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #a8baaa;
    border-radius: .4rem;
    background: #fff;
    color: #204437;
    font-size: 1.15rem;
    cursor: pointer;
}

.lorestan-map-licenses summary::-webkit-details-marker {
    display: none;
}

.lorestan-map-licenses p {
    width: max-content;
    max-width: 100%;
    margin-top: .3rem;
    padding: .35rem .65rem;
    border: 1px solid #a8baaa;
    border-radius: .4rem;
    background: #fff;
    color: #204437;
    font-size: .8rem;
}

.lorestan-map-licenses a {
    text-decoration: underline;
}
