/* =========================================
   DOCTORS PAGE
========================================= */

.doctors-section {
    padding: 40px 0 25px;

    background: #f1f1f1;

    color: #071c68;
}

.doctors-container {
    max-width: 960px;
}


/* =========================================
   LOCATION TABS
========================================= */

.doctor-location-tabs {
    display: flex;
    justify-content: center;

    gap: 8px;

    margin-bottom: 25px;
}

.doctor-location-tab {
    min-width: 180px;

    padding: 15px 25px;

    border: 0;

    color: #071c68;
    background: #ffffff;

    font-family: inherit;
    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.doctor-location-tab:hover {
    background: #f8f8f8;
}

.doctor-location-tab.active {
    color: #ffffff;

    background: #e51217;
}


/* =========================================
   LOCATION CONTENT
========================================= */

.doctor-location-content {
    display: none;
}

.doctor-location-content.active {
    display: block;
}


/* =========================================
   PAGE HEADING
========================================= */

.doctors-heading {
    max-width: 950px;

    margin: 0 auto 45px;

    text-align: center;
}

.doctors-eyebrow {
    margin: 0 0 12px;

    color: #071c68;

    font-size: 13px;
    font-weight: 700;
}

.doctors-heading h1 {
    margin: 0 0 14px;

    color: #071c68;

    font-size: 30px;
    font-weight: 500;

    line-height: 1.25;
}

.doctors-description {
    max-width: 900px;

    margin: 0 auto;

    color: #071c68;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   DOCTOR CATEGORIES
========================================= */

.doctor-category {
    margin-top: 45px;
}

.doctor-category h2 {
    position: relative;

    margin: 0 0 22px;

    padding-left: 10px;

    color: #071c68;

    font-size: 25px;
    font-weight: 600;
}

.doctor-category h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 2px;

    width: 2px;
    height: 24px;

    background: #071c68;
}


/* =========================================
   SPECIALIST
========================================= */

.specialist-card {
    align-items: center;
}

.specialist-info {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.specialist-name {
    color: #071c68;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.2;
}

.specialist-title {
    color: #071c68;

    font-size: 13px;
    font-weight: 400;

    line-height: 1.3;
}

/* Vertical line */

.doctor-category h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 2px;

    width: 2px;
    height: 24px;

    background: #071c68;
}


/* =========================================
   DOCTOR GRID
========================================= */

.doctors-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================
   DOCTOR CARD
========================================= */

.doctor-card {
    min-height: 72px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px 17px;

    background: #ffffff;

    border: 1px solid #e3e5ea;

    color: #071c68;

    font-size: 18px;
    font-weight: 500;
}


/* =========================================
   DOCTOR ICON
========================================= */

.doctor-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
    background: #071c68;

    font-size: 20px;
}


/* =========================================
   LOCATION NOTICE
========================================= */

.doctor-location-notice {
    margin-top: 32px;

    padding: 17px 16px;

    color: #ffffff;
    background: #071c68;
}

.doctor-location-notice p {
    margin: 0;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   LICENSE NOTICE
========================================= */

.doctor-license-notice {
    margin-top: 35px;

    padding: 0 10px;

    color: #071c68;

    font-size: 15px;
}

.doctor-license-notice a {
    color: #ed234d;

    text-decoration: none;
}

.doctor-license-notice a:hover {
    text-decoration: underline;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .doctors-section {
        padding: 35px 0;
    }

    .doctors-heading {
        margin-bottom: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .doctors-section {
        padding: 30px 0;
    }


    /* Tabs */

    .doctor-location-tabs {
        width: 100%;

        gap: 5px;
    }

    .doctor-location-tab {
        flex: 1;

        min-width: 0;

        padding: 14px 8px;

        font-size: 15px;
    }


    /* Heading */

    .doctors-heading {
        margin-bottom: 35px;
    }

    .doctors-heading h1 {
        font-size: 26px;
    }

    .doctors-description {
        font-size: 14px;
    }


    /* Category */

    .doctor-category h2 {
        font-size: 22px;
    }


    /* Doctors */

    .doctors-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .doctor-card {
        min-height: 65px;

        font-size: 16px;
    }


    /* Notice */

    .doctor-location-notice {
        margin-top: 25px;
    }

    .doctor-location-notice p {
        font-size: 14px;
    }


    /* License */

    .doctor-license-notice {
        margin-top: 30px;

        padding: 0;

        font-size: 14px;

        line-height: 1.5;
    }

}