/* branch section */
section.branch_section .branch_content {
    padding: 50px;
}

section.branch_section .branch_cards_wrap .row {
    row-gap: 20px;
}

section.branch_section .branch_card {
    padding: 20px;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}

section.branch_section .branch_card .branch_card_img {
    border-radius: 20px;
    height: 250px;
    overflow: hidden;
}

section.branch_section .branch_card .branch_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.branch_section .branch_posts_carousel_wrap {
    position: relative;
    min-height: 260px;
}

section.branch_section .branch_posts_carousel {
    transition: opacity 0.3s ease;
}

section.branch_section .nav-button .prev,
section.branch_section .nav-button .next {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

section.branch_section .nav-dots-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 12px;
}

section.branch_section .nav-dots-mobile .owl-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #fff;
}

section.branch_section .nav-dots-mobile .owl-dot span {
    display: none;
}

section.branch_section .nav-dots-mobile .owl-dot.active {
    background: #d9d9d9;
    border-color: #d9d9d9;
}

section.branch_section .help_card {
    /* padding: 20px; */
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}

section.branch_section .help_card .post_image {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    height: 388px;
}

section.branch_section .help_card .post_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.branch_section .help_card .branch_text {
    padding-bottom: 20px;
}

section.branch_section .branch_cta {
    display: flex;
    max-width: 204px;
    width: 100%;
    margin: auto;
    padding: 15px 20px;
    align-items: center;
    justify-content: center;
}

section.branch_section .view_more {
    display: flex;
    justify-content: center;
}

section.branch_section #branch_view_more {
    padding: 0;
    background: none;
    align-items: center;
    border: 0;
    box-shadow: none;
    gap: 10px;
}

@media (min-width: 1200px) {
    section.branch_section
        .branch_cards_wrap:not(.is-expanded)
        .branch_col:nth-child(4) {
        display: none;
    }
}

@media (max-width: 991px) {
    section.branch_section .branch_posts_carousel_wrap {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    section.branch_section .branch_content {
        padding: 20px;
    }

    section.branch_section .branch_posts_carousel_wrap {
        min-height: 220px;
    }

    section.branch_section .nav-dots-mobile {
        display: flex;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    section.branch_section .branch_card {
        padding: 15px;
    }

    section.branch_section .branch_card .branch_card_img {
        margin-bottom: 20px;
    }

    section.branch_section .branch_content h2 {
        margin-bottom: 30px;
    }

    section.branch_section .branch_cards_wrap {
        margin-bottom: 30px;
    }

    section.branch_section
        .branch_cards_wrap:not(.is-expanded)
        .branch_col:nth-child(3),
    section.branch_section
        .branch_cards_wrap:not(.is-expanded)
        .branch_col:nth-child(4) {
        display: none;
    }

    section.branch_section .branch_cta {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    section.branch_section .branch_card .branch_card_img {
        height: 120px;
    }
}
/* branch section end */
