:root {
    --doctors-headers-tc: #009C86;
    --doctors-leadImage-bc: #dbdbdb;
    --doctors-leadImage-sc: rgba(0, 0, 0, 0.1);
    --doctors-listsign-tc: #c47c47;
    --doctors-about-bg: #009C86;
    --doctors-about-tc: #FFF;
    --doctors-leadItem-bg: #EFEFEF;
    --doctors-leadItem-tc: #FFF;
    --doctors-leadItem-after-bg: linear-gradient(336deg, rgba(0, 156, 134, 1) 20%, transparent, transparent, transparent);
    --doctors-leadItem-content-bg-xl: rgba(0, 156, 134, .85);
    --doctors-leadImage-mask-bg: #000;
}

#doctorsOne h1, #doctorsOne h2, #doctorsOne h3, #doctorsOne h4, #doctorsOne h5, #doctorsOne h6 {
    font-family: 'poppins', serif;
    font-weight: 300;
    color: var(--doctors-headers-tc);
}

#doctorsOne .leadImage {
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px var(--doctors-leadImage-sc);
    aspect-ratio: auto;
    max-width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    margin: auto;
}

#doctorsOne ul.list-style-check li,
#doctorsOne ul.list-style-chev li {
    padding: .25rem;
}

#doctorsOne ul.list-style-check li::before {
    color: var(--doctors-listsign-tc);
}

#doctorsOne ul.list-style-chev li::before {
    color: var(--doctors-listsign-tc);
}

#doctorsOne .about-me-desc {
    position: relative;
    z-index: 1;
    padding: 1rem;
    color: var(--doctors-about-tc);
}

#doctorsOne .about-me-desc::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    right: -15px;
    background-color: var(--doctors-about-bg);
    z-index: -1;
    border-radius: 0.5rem;
}

#doctorsOne .appointmentContainer {
    margin-top: 3rem;
    padding: .5rem .5rem .2rem .5rem;
    border-radius: 8px;
    border: 1px solid #dedede;
    background-color: rgba(0, 0, 0, .1);
}

#doctorsOne .appointmentContainer iframe {
    width: 100%;
    border: none;
}

#doctors .blockTitle {
    color: var(--doctors-about-bg);
    font-size: 4rem;
    line-height: 1.1;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1.7rem;
    letter-spacing: .1em;
}

#doctors .blockTitle::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 8rem;
    height: .2rem;
    content: "";
    background: #009C86;
}


#doctors .blockDesc {
    color: #7c7a7a;
    font-weight: 400;
    margin: 30px 1px 0 0;
}

#doctors .leadItem {
    display: block;
    height: 100%;
    min-height: 18.75rem;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    width: 100%;
    border-radius: 8px;
    background: var(--doctors-leadItem-bg);
    box-shadow: 0 10px 15px -3px var(--doctors-leadImage-sc);
}

#doctors .leadItem:after {
    border-radius: 8px;
    bottom: 0;
    content: "";
    height: 100%;
    left: auto;
    margin-left: auto;
    margin-right: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    position: absolute;
    background: var(--doctors-leadItem-after-bg);
}

#doctors .leadItem .leadItem-link {
    background: transparent;
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 3;
}

#doctors .leadItem .leadImage {
    bottom: 0;
    height: 100%;
    left: -21%;
    margin-left: 0;
    margin-right: auto;
    mask-image: linear-gradient(90deg, var(--doctors-leadImage-mask-bg) 50%, transparent);
    object-fit: cover;
    object-position: top;
    top: 0;
    width: 150%;
    position: absolute;
    max-width: 100%;
    vertical-align: middle;
}

#doctors .leadItem .leadItem-content {
    bottom: 20px;
    left: 45%;
    right: 16px;
    z-index: 2;
    position: absolute;
}

#doctors .leadItem .leadItem-content p,
#doctors .leadItem .leadItem-content span {
    display: block;
    line-height: 1.1;
    color: var(--doctors-leadItem-tc);
}

#doctors .leadItem .leadItem-content span {
    font-size: 1rem;
}

#doctors .leadItem .leadItem-content p {
    font-weight: 900;
    margin-bottom: .25rem;
}

@media (max-width: 768px) {
    #doctorsOne .about-me-desc::after {
        border-radius: 0;
        top: -2rem;
    }

    #doctors .blockTitle {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (min-width: 769px) {
    #doctors .leadItem {
        margin: 0 auto .75rem;
        min-height: 25rem;
    }

    #doctors .leadItem:after {
        display: none;
    }

    #doctors .leadItem .leadItem-link {
        z-index: 5;
    }

    #doctors .leadItem .leadImage {
        left: 0;
        margin-left: auto;
        mask-image: none;
        right: 0;
        transform-origin: top left;
        transition: transform .3s ease-in-out;
        width: 100%;
        object-position: center;
    }

    #doctors .leadItem:focus-visible .leadImage,
    #doctors .leadItem:hover .leadImage {
        transform: scale(1.1);
    }

    #doctors .leadItem .leadItem-content {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        z-index: 4;
        background-color: var(--doctors-leadItem-content-bg-xl);
        padding: .5rem .5rem .5rem .5rem;
        height: auto;
        min-height: 100px;

        display: flex;
        align-items: center;
        justify-content: start;
        flex-direction: column;
        text-align: left;
    }

    #doctors .leadItem .leadItem-content p,
    #doctors .leadItem .leadItem-content span {
        width: 100%;
    }
}

.card {
    --bs-card-color: inherit;
}

.testimonial-card-item {
    width: clamp(280px, 25vw, 400px);
    flex-shrink: 0;
}

.testimonial-card-item .card {
    border-left: 3px solid #009C86 !important;
    border-top: none;
    border-right: none;
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
}

.testimonial-card-item .card-body {
    position: relative;
    padding-top: 1.8rem;
}

.testimonial-card-item .card-text {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
}

.testimonial-initials {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.5;
    margin-top: 0.4rem;
}

.testimonial-section-title {
    color: var(--services-heading-tc);
    margin-right: 0.4rem;
}

.text-warning {
    text-align: right;
}
