.branch-card-horizontal {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.branch-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-image-horizontal {
    height: auto;
    flex: 1 1 80%;
    overflow: hidden;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-image-horizontal img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.branch-content {
    flex: 1 1 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.branch-status {
    margin-bottom: 0;
    font-weight: 600;
    color: #152BCA;
}


@media (min-width: 768px) {
    .branch-card-horizontal {
        flex-direction: row;
    }

    .card-image-horizontal img {
        height: 500px;
        border-radius: 7.5px 0 0 7.5px;
    }
}

@media (max-width: 767px) {
    .branch-card-horizontal {
        flex-direction: column;
    }

    .card-image-horizontal img {
        height: auto;
        border-radius: 7.5px 7.5px 0 0;
    }

    .branch-content {
        padding: 15px;
    }

    .card-content {
        height: auto;
    }

}