/* Header */
.page-header {
    padding-top: 122px;
    padding-bottom: 0;
}

.header-title {
    font-family: var(--font-1);
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    color: var(--black);
    margin-bottom: 32px;
}

.header-input-group {
    max-width: 570px;
}

.header-input-group .btn {
    background-color: var(--primary);
    color: var(--white);
}
/* End Header */

/* Divider */
.divider hr {
    border-color: var(--primary);
    margin: 64px 0;
}
/* End Divider */

/* Filter */
.filter-input {
    border: 1px solid #D6D6D6;
    border-radius: 4px;
    width: 169px;
    margin-right: 16px;
}

.specialist-item {
    margin-bottom: 48px;
}

.specialist-item .card {
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.specialist-item .card-body {
    padding: 16px;
}

.specialist-profile-container {
    position: relative;
    width: 315px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.profile-img {
    width: 315px;
    height: 241px;
    display: block;
    object-fit: cover;
}

.profile-link {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    background-color: var(--primary);
    padding-top: 8px;
    padding-bottom: 8px;
    transition: var(--transition);
    opacity: 0;
}

.specialist-profile-container:hover .profile-link {
    opacity: 1;
}

.specialist-profile-information {
    display: block;
    flex: 1;
    margin-left: 16px;
}

.specialist-profile-expertise {
    background-color: var(--primary);
    padding: 4px;
    border-radius: 8px;
    margin-right: 24px;
    margin-bottom: 16px;
}

.specialist-btn-reserve {
    background: #F10E14;
    border-radius: 4px;
    font-family: var(--font-2);
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    padding: 8px 16px;
    display: block;
    margin-left: auto;
    transition: var(--transition);
}

.specialist-btn-reserve:hover {
    color: white;
    filter: brightness(.9);
}

.specialist-pagination {
    box-shadow: var(--shadow);
    width: fit-content;
    margin: 0 auto;
}

.specialist-pagination .page-link {
    border-left-color: var(--primary);
    border-right-color: var(--primary);
}

.specialist-pagination .active > .page-link {
    background-color: var(--primary);
    border: 1px solid var(--primary);
}
/* End Filter */

@media (max-width: 997.98px) {

    /* Divider */
    .divider hr {
        border-color: var(--primary);
        margin: 32px 0;
    }
    /* End Divider */

}

@media (max-width: 767.98px) {

    /* Divider */
    .divider hr {
        border-color: var(--primary);
        margin: 32px 0;
    }
    /* End Divider */

    /* Filter */
    .filter-input {
        width: 30%;
    }
    /* End Filter */

    /* Specialist */
    .specialist-profile-container {
        width: 100%;
        margin-bottom: 24px;
    }

    .profile-img {
        width: 100%;
        height: 200px;
    }

    .profile-link {
        opacity: 1;
    }

    .specialist-profile-information {
        margin-left: 0;
    }

    .specialist-profile-expertise {
        margin-right: 8px;
        margin-bottom: 4px;
    }

    .specialist-btn-reserve {
        width: 100%;
    }
    /* End Specialist */

}
