/* ==========================================
   DOCTOR PROFILE CARD
========================================== */

.doctor-profile-card {
    width: 325px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Doctor image */
.doctor-profile-card .doctor-profile-image {
    float: none !important;
    margin: 0 !important;
    padding: 0;
}

.doctor-profile-card .doctor-profile-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   ADDITIONAL INFORMATION
========================================== */

.doctor-profile-card .doctor-additional-info {
    background: #f8f9fa;
    padding: 18px 14px;
    border: 2px solid #3071AB;
    border-top: 0;
    box-sizing: border-box;
    text-align: left;
    color: #111;
}

/* Information groups */
.doctor-profile-card .doctor-info-group {
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Divider between sections */
.doctor-profile-card .doctor-info-group + .doctor-info-group {
    border-top: 1px solid #d9e2ec;
    margin-top: 18px;
    padding-top: 18px;
}

/* ==========================================
   HEADINGS AND ICONS
========================================== */

.doctor-profile-card .doctor-info-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    padding: 0;
}

.doctor-profile-card .doctor-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: #6aaae7;
    background: transparent;
    border: 0;
}

.doctor-profile-card .doctor-info-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #3071AB;
}

.doctor-profile-card .doctor-info-heading h3 {
    color: #3071AB;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

/* ==========================================
   LIST STYLING
========================================== */

.doctor-profile-card .doctor-info-list {
    display: block;
    list-style: none !important;
    margin: 0;
    padding: 0 0 0 29px;
    text-align: left;
}

.doctor-profile-card .doctor-info-list li {
    display: block;
    list-style: none !important;
    position: relative;
    color: #111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 7px;
    padding: 0;
    overflow-wrap: anywhere;
}

.doctor-profile-card .doctor-info-list li::marker {
    content: "";
}

.doctor-profile-card .doctor-info-list li::before {
    content: "•";
    position: absolute;
    left: -20px;
    top: -10px;
    color: #3071AB;
    font-size: 25px;
    line-height: inherit;
}

.doctor-profile-card .doctor-info-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (min-width: 992px) {
    .staff-bio .entry-content > ul.wp-block-list {
        display: flow-root;
        padding-left: 25px !important;
        margin-left: 0 !important;
        list-style-position: outside;
    }
}

@media (max-width: 991px) {
    .doctor-profile-card {
        width: 325px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    body .doctor-profile-card {
        float: none !important;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 25px !important;
    }

    .doctor-profile-card .doctor-additional-info {
        padding: 16px 14px;
    }

    .doctor-profile-card .doctor-info-heading {
        gap: 8px;
        margin-bottom: 10px;
    }

    .doctor-profile-card .doctor-info-group + .doctor-info-group {
        margin-top: 16px;
        padding-top: 16px;
    }
}