/* ==========================================================================
   LOCATIONS PAGE
   ========================================================================== */

.bcbhas-locations-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 28px 64px;
}

.bcbhas-no-locations {
    text-align: center;
    color: #888;
    padding: 60px 0;
}

/* ==========================================================================
   TOP: MAP + LIST
   ========================================================================== */

.bcbhas-locations-top {
    display: flex;
    gap: 0;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(230, 230, 230, 1);
}

/* LEFT: Map */
.bcbhas-locations-map-wrap {
    width: 689.5px;
    flex-shrink: 0;
    position: relative;
}

.bcbhas-map-container {
    width: 100%;
    height: 100%;
}

.bcbhas-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.bcbhas-map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #888;
    font-size: 0.9em;
}

/* RIGHT: Location list */
.bcbhas-locations-list {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    border-left: 1px solid rgba(230, 230, 230, 1);
    background: #ffffff;
}

/* Scrollbar styling */
.bcbhas-locations-list::-webkit-scrollbar {
    width: 4px;
}

.bcbhas-locations-list::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.bcbhas-locations-list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

/* Location card */
.bcbhas-location-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(230, 230, 230, 1);
    cursor: pointer;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.bcbhas-location-card:hover {
    background: #f9f9f9;
}

.bcbhas-location-card.is-active {
    background: #fff6f6;
    border-left: 3px solid #cc3333;
}

/* Pin icon */
.bcbhas-location-card-icon {
    flex-shrink: 0;
    color: #cc3333;
    padding-top:3px;
    display: flex;
    align-items: center;
}

.bcbhas-location-card-body {
    flex: 1;
    min-width: 0;
}

.bcbhas-location-card-name {
    font-size: 0.88em;
    font-weight: 700;
    color: #111111;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.bcbhas-location-card.is-active .bcbhas-location-card-name {
    color: #cc3333;
}

.bcbhas-location-card-address {
    font-size: 0.78em;
    color: #888888;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcbhas-location-card-arrow {
    flex-shrink: 0;
    color: #cccccc;
    transition: color 0.15s;
}

.bcbhas-location-card.is-active .bcbhas-location-card-arrow {
    color: #cc3333;
}

/* ==========================================================================
   BOTTOM: SELECTED LOCATION DETAIL
   ========================================================================== */

.bcbhas-location-detail {
    display: flex;
    gap: 48px;
    border: 2px solid #dddada;
    align-items: center;
    border-radius: 6px;
    justify-content: center;
    margin-top: 48px;
}

.bcbhas-detail-name {
    font-size: 2em;
    font-weight: 700;
    color: #111111;
    line-height: 1.2;
}

.bcbhas-detail-address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #666666;
}

.bcbhas-detail-image-wrap {
    width: 420px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.bcbhas-detail-image-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.bcbhas-detail-address svg {
    flex-shrink: 0;
    color: #cc3333;
}

.bcbhas-detail-coords {
    font-size: 0.82em;
    color: #888888;
    margin: -12px 0 20px 0;
    letter-spacing: 0.3px;
}

.bcbhas-detail-description {
    font-size: 0.95em;
    line-height: 1.75;
    color: #444444;
    margin: 0 0 28px 0;
}

/* Learn More button */
.bcbhas-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 22px;
    border-radius: 4px;
    transition: background 0.15s;
}

.bcbhas-detail-btn:hover {
    background: #333333;
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .bcbhas-locations-top {
        flex-direction: column;
        height: auto;
    }

    .bcbhas-locations-map-wrap {
        height: 320px;
    }

    .bcbhas-locations-list {
        width: 100%;
        max-height: 340px;
        border-left: none;
        border-top: 1px solid rgba(230, 230, 230, 1);
    }

    .bcbhas-location-detail {
        flex-direction: column;
        gap: 24px;
    }

    .bcbhas-detail-image-wrap {
        width: 100%;
    }

    .bcbhas-detail-image-wrap img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .bcbhas-locations-page {
        padding: 28px 20px 48px;
    }

    .bcbhas-detail-name {
        font-size: 1.4em;
    }
}

.bcbhas-detail-content {
    padding-right: 20px;
}

.bcbhas-detail-coords {
    font-size: 0.82em;
    color: #888888;
    margin:0px !important;
    letter-spacing: 0.3px;
}
p {
    padding-bottom: 0px !important;
}

@media (max-width: 900px) {
    .bcbhas-location-detail {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .bcbhas-detail-image-wrap {
        width: 100%;
        border-radius: 4px 4px 0 0;
    }

    .bcbhas-detail-image-wrap img {
        height: 220px;
        border-radius: 4px 4px 0 0;
    }

    .bcbhas-detail-content {
        padding: 24px 20px 28px;
    }

    .bcbhas-detail-name {
        margin: 0 0 8px 0;
    }

    .bcbhas-detail-address {
        margin: 0 0 6px 0;
    }

    .bcbhas-detail-coords {
        margin: 0 0 14px 0 !important;
    }

    .bcbhas-detail-description {
    margin: 0 0 20px 0;
}
    .bcbhas-detail-image-wrap {
    height: auto;
    }
}

@media (max-width: 600px) {
    .bcbhas-locations-page {
        padding: 28px 20px 48px;
    }

    .bcbhas-detail-name {
        font-size: 1.4em;
    }
    .bcbhas-detail-image-wrap {
    height: auto;
    }
}
.bcbhas-detail-btn {
    display: none;
}