/* ===== Branch Map Detail Section ===== */
.branch-map-detail-section .branch-map-detail-wrapper {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* Image Column */
.branch-map-detail-section .branch-map-image-col {
    min-height: 320px;
}

.branch-map-detail-section .branch-map-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.branch-map-detail-section .branch-map-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.branch-map-detail-section .branch-map-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(2, 32, 103, 0.78));
    padding: 3.5rem 1.5rem 1.5rem;
}

/* Info Column */
.branch-map-detail-section .branch-map-info-col {
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.branch-map-detail-section .branch-services-title {
    color: #777;
    font-size: 0.8rem;
}

.branch-map-detail-section .svc-badge {
    display: inline-block;
    padding: 3px 20px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: bold;
    color: var(--third-color);
    cursor: pointer;
    transition: all 0.2s;
    background-color: #E7E8E9;
}

.branch-map-detail-section .svc-badge--active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.branch-map-detail-section .bmd-detail-link {
    color: var(--third-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.branch-map-detail-section .bmd-detail-link:hover {
    color: var(--primary-color);
}

.branch-map-detail-section .bmd-separator {
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.branch-map-detail-section .bmd-action-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    color: var(--third-color);
    font-size: 0.72rem;
    gap: 3px;
}

/* Map Column */
.branch-map-detail-section .branch-map-col-wrap {
    background: #f6f9ff;
}

.branch-map-detail-section .branch-map-inner {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 5.5rem;
}

.branch-map-detail-section .sa-map-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
}

.branch-map-detail-section .branch-map-tooltip {
    position: absolute;
    bottom: 1.5rem;
    left: 0.75rem;
    right: 0.75rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.branch-map-detail-section .branch-map-tooltip p {
    font-size: 0.82rem;
    color: var(--third-color);
    line-height: 1.3;
}

.branch-map-detail-section .branch-map-tooltip small {
    color: #888;
    font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 991.98px) {

    .branch-map-detail-section .branch-map-image-col,
    .branch-map-detail-section .branch-map-image-col img {
        min-height: 240px;
    }

    .branch-map-detail-section .branch-map-inner {
        min-height: 240px;
    }

    .branch-map-detail-section .branch-map-info-col {
        border-right: none;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* ===== Branch Inner Page Hero ===== */
.bi-hero-section {
    background: #fff;
}

.bi-hero-row {
    min-height: 480px;
}

/* Text column */
.bi-hero-text-col {
    padding: 1rem 2.5rem;
}

.bi-breadcrumb .breadcrumb-item a {
    color: #888;
    text-decoration: none;
    font-size: 0.82rem;
}

.bi-breadcrumb .breadcrumb-item.active {
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.bi-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #ccc;
}

.bi-hero-title {
    font-size: 2.4rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.bi-hero-desc {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 380px;
}

/* Accreditation badge */
.bi-accreditation-badge {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 0.9rem 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    max-width: 300px;
}

.bi-accreditation-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bi-accreditation-label {
    color: #999;
    font-size: 0.72rem;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bi-accreditation-name {
    color: var(--secondary-color);
    font-size: 0.88rem;
}

/* Map column */
.bi-hero-map-col {
    position: relative;
    min-height: 480px;
}

.bi-hero-map-col iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Contact card column */
.bi-hero-contact-col {
    background: var(--secondary-color);
    padding: 2.5rem 1.75rem;
}

.bi-contact-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bi-contact-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.bi-contact-phone {
    color: #fff;
    font-size: 1.65rem;
    letter-spacing: 1px;
}

/* Hours */
.bi-hours-section {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
}

.bi-hours-header {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bi-hours-row {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.8);
}

.bi-hours-value {
    color: #fff;
}

/* Emergency button */
.bi-emergency-btn {
    display: block;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: background 0.2s;
}

.bi-emergency-btn:hover {
    background: #b80f2c;
    color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
    .bi-hero-map-col {
        min-height: 360px;
    }

    .bi-hero-title {
        font-size: 1.8rem;
    }

    .bi-hero-text-col {
        padding: 2rem 1.25rem;
    }

    .bi-hero-contact-col {
        padding: 2rem 1.25rem;
    }
}

.gate-booking-btn img,
.gate-main-image img {
    filter: var(--filter-white);
}