/*
|--------------------------------------------------------------------------
| Clinic Psychology - Branches
|--------------------------------------------------------------------------
*/

.clinic-branches-page {

    direction: rtl;

    background: #fafafa;

    color: #242129;

}


/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.clinic-branches-container {

    width: min(
        1380px,
        calc(100% - 40px)
    );

    margin-right: auto;

    margin-left: auto;

}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.clinic-branches-hero {

    padding:
        30px 0
        55px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf7fd 100%
        );

    border-bottom:
        1px solid #ebe8ef;

}


.clinic-branches-breadcrumb {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 35px;

    color: #77727e;

    font-size: 12px;

}


.clinic-branches-breadcrumb a {

    color: #77727e;

    text-decoration: none;

    transition: .25s ease;

}


.clinic-branches-breadcrumb a:hover {

    color: #4b2e83;

}


.clinic-branches-breadcrumb i {

    font-size: 9px;

    opacity: .6;

}


.clinic-branches-hero-content {

    max-width: 720px;

}


.clinic-branches-label {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: #4b2e83;

    font-size: 13px;

    font-weight: 700;

}


.clinic-branches-hero h1 {

    margin: 0 0 12px;

    color: #242129;

    font-size: 36px;

    line-height: 1.5;

    font-weight: 800;

}


.clinic-branches-hero p {

    margin: 0;

    color: #77727e;

    font-size: 14px;

    line-height: 2;

}


/*
|--------------------------------------------------------------------------
| Section
|--------------------------------------------------------------------------
*/

.clinic-branches-section {

    padding:
        55px 0
        70px;

}


/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.clinic-branches-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

}


/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.clinic-branch-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: #fff;

    border:
        1px solid #ebe8ef;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(44, 32, 65, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.clinic-branch-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(75, 46, 131, .16);

    box-shadow:
        0 18px 45px rgba(44, 32, 65, .11);

}


/*
|--------------------------------------------------------------------------
| Image
|--------------------------------------------------------------------------
*/

.clinic-branch-card-image {

    position: relative;

    height: 220px;

    overflow: hidden;

    background: #f5f1fa;

}


.clinic-branch-card-image a {

    display: block;

    width: 100%;

    height: 100%;

}


.clinic-branch-card-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;

}


.clinic-branch-card:hover
.clinic-branch-card-image img {

    transform:
        scale(1.04);

}


/*
|--------------------------------------------------------------------------
| Placeholder
|--------------------------------------------------------------------------
*/

.clinic-branch-card-placeholder {

    display: flex !important;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f5f1fa,
            #eee8f7
        );

    color: #4b2e83;

    font-size: 50px;

}


/*
|--------------------------------------------------------------------------
| Badge
|--------------------------------------------------------------------------
*/

.clinic-branch-card-badge {

    position: absolute;

    top: 14px;

    right: 14px;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    min-height: 30px;

    padding:
        4px 10px;

    border-radius: 9px;

    background:
        rgba(255,255,255,.94);

    color: #4b2e83;

    box-shadow:
        0 5px 15px rgba(0,0,0,.08);

    font-size: 10px;

    font-weight: 700;

}


/*
|--------------------------------------------------------------------------
| Body
|--------------------------------------------------------------------------
*/

.clinic-branch-card-body {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 20px;

}


/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.clinic-branch-card-title {

    margin:
        0 0 17px;

    font-size: 18px;

    line-height: 1.7;

    font-weight: 800;

}


.clinic-branch-card-title a {

    color: #242129;

    text-decoration: none;

    transition: color .25s ease;

}


.clinic-branch-card-title a:hover {

    color: #4b2e83;

}


/*
|--------------------------------------------------------------------------
| Information
|--------------------------------------------------------------------------
*/

.clinic-branch-card-info {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 11px;

    color: #77727e;

    font-size: 12px;

    line-height: 1.9;

}


.clinic-branch-card-info-icon {

    width: 29px;

    height: 29px;

    flex: 0 0 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: #f5f1fa;

    color: #4b2e83;

    font-size: 12px;

}


.clinic-branch-card-info a {

    color: #77727e;

    text-decoration: none;

}


.clinic-branch-card-info a:hover {

    color: #4b2e83;

}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.clinic-branch-card-footer {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;

    padding-top: 18px;

    border-top:
        1px solid #ebe8ef;

}


.clinic-branch-card-button {

    min-height: 40px;

    flex: 1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    padding:
        0 13px;

    border-radius: 10px;

    background: #4b2e83;

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background .25s ease,
        transform .25s ease;

}


.clinic-branch-card-button:hover {

    background: #392365;

    color: #fff;

    transform:
        translateY(-1px);

}


/*
|--------------------------------------------------------------------------
| Map
|--------------------------------------------------------------------------
*/

.clinic-branch-map-button {

    width: 40px;

    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid #ebe8ef;

    border-radius: 10px;

    background: #fff;

    color: #4b2e83;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;

}


.clinic-branch-map-button:hover {

    background: #4b2e83;

    border-color: #4b2e83;

    color: #fff;

}


/*
|--------------------------------------------------------------------------
| Empty
|--------------------------------------------------------------------------
*/

.clinic-branches-empty {

    padding:
        80px 30px;

    text-align: center;

    background: #fff;

    border:
        1px solid #ebe8ef;

    border-radius: 18px;

}


.clinic-branches-empty-icon {

    width: 75px;

    height: 75px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin:
        0 auto 20px;

    border-radius: 50%;

    background: #f5f1fa;

    color: #4b2e83;

    font-size: 28px;

}


.clinic-branches-empty h2 {

    margin:
        0 0 8px;

    font-size: 20px;

    font-weight: 800;

}


.clinic-branches-empty p {

    margin: 0;

    color: #77727e;

    font-size: 13px;

}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.clinic-branches-page .navigation.pagination {

    display: flex;

    justify-content: center;

    margin-top: 40px;

}


.clinic-branches-page .nav-links {

    display: flex;

    align-items: center;

    gap: 7px;

}


.clinic-branches-page .page-numbers {

    min-width: 38px;

    height: 38px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        0 10px;

    border:
        1px solid #ebe8ef;

    border-radius: 9px;

    background: #fff;

    color: #242129;

    font-size: 11px;

    text-decoration: none;

}


.clinic-branches-page .page-numbers.current {

    background: #4b2e83;

    border-color: #4b2e83;

    color: #fff;

}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .clinic-branches-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 700px) {

    .clinic-branches-container {

        width:
            calc(100% - 24px);

    }


    .clinic-branches-hero {

        padding:
            25px 0 40px;

    }


    .clinic-branches-breadcrumb {

        margin-bottom: 25px;

    }


    .clinic-branches-hero h1 {

        font-size: 28px;

    }


    .clinic-branches-hero p {

        font-size: 12px;

    }


    .clinic-branches-section {

        padding:
            35px 0 50px;

    }


    .clinic-branches-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }


    .clinic-branch-card-image {

        height: 210px;

    }

}


@media (max-width: 480px) {

    .clinic-branch-card-image {

        height: 190px;

    }


    .clinic-branch-card-body {

        padding: 15px;

    }


    .clinic-branch-card-title {

        font-size: 16px;

    }

}
```
