/* PanelLock Locations 1.1 */

.pl-location-grid {
    --pl-panel-color: #a6c23f;
    --pl-gap: 30px;
    display: grid;
    grid-template-columns: repeat(var(--pl-columns, 3), minmax(0, 1fr));
    gap: var(--pl-gap);
    width: 100%;
}

.pl-location-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    isolation: isolate;
}

.pl-location-map {
    position: relative;
    width: 100%;
    height: var(--pl-map-height, 160px);
    overflow: hidden;
    background: #eee;
}

.pl-location-map iframe,
.pl-google-map {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pl-location-map iframe {
    pointer-events: none;
}

.pl-map-status,
.pl-map-error {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #666;
    background: #f2f2f2;
    font-size: 14px;
    text-align: center;
}

.pl-location-title {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 0 9px;
    background: #000;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.pl-location-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    background: var(--pl-panel-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.pl-location-details {
    width: 100%;
    padding: 18px 20px;
    color: #fff;
}

.pl-location-details h3 {
    margin: 0 0 5px;
    padding: 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.pl-location-address {
    margin: 0 0 7px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.pl-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 2px 0;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.pl-contact-link:hover {
    color: #000 !important;
}

.pl-icon {
    flex: 0 0 20px;
    width: 20px;
}

.pl-directions {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 9px;
    background: #000;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity .2s ease;
}

.pl-directions:hover {
    color: #fff !important;
    opacity: .82;
}

@media (hover: hover) and (pointer: fine) {
    .pl-location-card:hover .pl-location-overlay,
    .pl-location-card:focus-within .pl-location-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.pl-location-card.is-open .pl-location-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media only screen and (max-width: 980px) {
    .pl-location-grid {
        --pl-gap: 25px;
        grid-template-columns: repeat(var(--pl-tablet-columns, 2), minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .pl-location-grid {
        --pl-gap: 20px;
        grid-template-columns: repeat(var(--pl-mobile-columns, 1), minmax(0, 1fr));
    }

    .pl-location-title {
        font-size: 16px;
    }
}
