.gp-video-location-public {
    margin-top: 22px;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(280px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.gp-video-location-copy h2 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.gp-video-location-copy p {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.5;
}

.gp-video-location-copy a {
    font-weight: 800;
    text-decoration: none;
}

.gp-video-location-map {
    min-height: 230px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    background: #e2e8f0;
}

.gp-video-location-camera-marker span {
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 999px 999px 999px 6px;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .35);
    transform: rotate(-45deg);
    position: relative;
}

.gp-video-location-camera-marker span::before {
    content: "";
    width: 15px;
    height: 11px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    left: 7px;
    top: 10px;
}

.gp-video-location-camera-marker span::after {
    content: "";
    width: 7px;
    height: 7px;
    border: 2px solid #2563eb;
    background: #fff;
    border-radius: 999px;
    position: absolute;
    left: 11px;
    top: 10px;
}

.gp-video-location-article-marker span {
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 999px 999px 999px 6px;
    background: #0f766e;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .35);
    transform: rotate(-45deg);
    position: relative;
}

.gp-video-location-article-marker span::before {
    content: "";
    width: 13px;
    height: 17px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 8px;
    top: 6px;
}

.gp-video-location-article-marker span::after {
    content: "";
    width: 7px;
    height: 2px;
    background: #0f766e;
    box-shadow: 0 4px 0 #0f766e, 0 8px 0 #0f766e;
    position: absolute;
    left: 11px;
    top: 11px;
}

.gp-video-location-resource-marker span,
.gp-video-location-ministry-marker span,
.gp-video-location-aid-marker span {
    width: 34px;
    height: 34px;
    display: block;
    border-radius: 999px 999px 999px 6px;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .35);
    transform: rotate(-45deg);
    position: relative;
}

.gp-video-location-resource-marker span {
    background: #7c3aed;
}

.gp-video-location-ministry-marker span {
    background: #be123c;
}

.gp-video-location-aid-marker span {
    background: #16a34a;
}

.gp-video-location-resource-marker span::before,
.gp-video-location-ministry-marker span::before,
.gp-video-location-aid-marker span::before {
    content: "";
    position: absolute;
    background: #fff;
    transform: rotate(45deg);
}

.gp-video-location-resource-marker span::before {
    width: 15px;
    height: 3px;
    left: 8px;
    top: 15px;
    box-shadow: 6px -6px 0 -1px #fff;
}

.gp-video-location-ministry-marker span::before,
.gp-video-location-aid-marker span::before {
    width: 15px;
    height: 4px;
    left: 8px;
    top: 14px;
}

.gp-video-location-ministry-marker span::after,
.gp-video-location-aid-marker span::after {
    content: "";
    width: 4px;
    height: 15px;
    background: #fff;
    position: absolute;
    left: 14px;
    top: 8px;
    transform: rotate(45deg);
}

.gp-video-location-directory {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    min-height: var(--gpvl-map-height, 72vh);
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    clear: both;
    isolation: isolate;
}

.gp-video-location-directory-map {
    width: 100%;
    min-height: var(--gpvl-map-height, 72vh);
    background: #e2e8f0;
}

.gp-video-location-directory-panel {
    min-width: 0;
    border-left: 1px solid #dbe5f1;
    padding: 20px;
    overflow: auto;
    max-height: var(--gpvl-map-height, 72vh);
    background: #fff;
}

.gp-video-location-directory-panel h1 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
}

.gp-video-location-directory-panel p {
    margin: 0 0 18px;
    color: #64748b;
    font-weight: 700;
}

.gp-video-location-directory-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 16px;
}

.gp-video-location-directory-tools label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #334155;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.gp-video-location-directory-tools select {
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.gp-video-location-directory-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gp-video-location-directory-list a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: #0f172a;
    background: #f8fafc;
}

.gp-video-location-directory-list a:hover,
.gp-video-location-directory-list a:focus {
    border-color: #2563eb;
    background: #eff6ff;
}

.gp-video-location-directory-list span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.gp-video-location-directory-list a[hidden] {
    display: none;
}

.gpvl-list-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    margin-right: 6px;
    border-radius: 999px;
    color: #fff !important;
    background: #2563eb;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.gpvl-list-type-article {
    background: #0f766e;
}

.gpvl-list-type-resource {
    background: #7c3aed;
}

.gpvl-list-type-ministry {
    background: #be123c;
}

.gpvl-list-type-aid {
    background: #16a34a;
}

.gpvl-popup {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 230px;
}

.gpvl-popup img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    background: #0f172a;
}

.gpvl-popup strong {
    font-size: 14px;
    line-height: 1.25;
}

.gpvl-popup span {
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
}

.gpvl-popup a {
    font-weight: 800;
}

@media (max-width: 800px) {
    .gp-video-location-public {
        grid-template-columns: 1fr;
    }

    .gp-video-location-directory {
        grid-template-columns: 1fr;
        margin: 18px 0;
    }

    .gp-video-location-directory-map {
        min-height: min(var(--gpvl-map-height, 72vh), 58vh);
    }

    .gp-video-location-directory-panel {
        border-left: 0;
        border-top: 1px solid #dbe5f1;
        max-height: none;
    }
}
