.doctor-directory-page {
    background: #f5f8f7;
}

.doctor-directory {
    --doctor-green: #087c69;
    --doctor-green-dark: #075e52;
    --doctor-mint: #e9f6f2;
    --doctor-gold: #e9a23b;
    --doctor-ink: #18332f;
    --doctor-muted: #61736f;
    color: var(--doctor-ink);
    font-family: "Source Sans 3", sans-serif;
}

.doctor-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 48px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14) 0, rgba(255, 255, 255, 0) 23%),
        linear-gradient(135deg, #075e52 0%, #078676 62%, #159781 100%);
    color: #fff;
}

.doctor-hero::after {
    position: absolute;
    right: -70px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border: 70px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    content: "";
}

.doctor-hero .container {
    position: relative;
    z-index: 1;
}

.doctor-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .76);
    font-size: .88rem;
}

.doctor-breadcrumb a {
    color: #fff;
}

.doctor-breadcrumb i {
    font-size: .58rem;
}

.doctor-hero__content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.doctor-hero__copy {
    max-width: 700px;
}

.doctor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #c9f5e9;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.doctor-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.04;
}

.doctor-hero__copy p {
    max-width: 590px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
    line-height: 1.6;
}

.doctor-hero__summary {
    display: flex;
    min-width: 145px;
    flex-direction: column;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}

.doctor-hero__summary strong {
    color: #fff;
    font-size: 2.1rem;
    line-height: 1;
}

.doctor-hero__summary span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .78);
    font-size: .86rem;
}

.doctor-search {
    max-width: 830px;
    margin-top: 34px;
}

.doctor-search > label {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .88);
    font-size: .88rem;
    font-weight: 600;
}

.doctor-search__control {
    display: flex;
    align-items: center;
    padding: 7px 7px 7px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 42, 35, .2);
}

.doctor-search__control > i {
    color: var(--doctor-green);
}

.doctor-search__control input {
    min-width: 0;
    flex: 1;
    height: 46px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    color: var(--doctor-ink);
    font: inherit;
}

.doctor-search__control input::placeholder {
    color: #8b9b97;
}

.doctor-search__clear {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #73827f;
}

.doctor-search__control button {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--doctor-gold);
    color: #312312;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform .2s, background .2s;
}

.doctor-search__control button:hover {
    background: #f2b14f;
    transform: translateY(-1px);
}

.doctor-content {
    padding: 54px 0 72px;
}

.doctor-specialties,
.doctor-results-summary {
    margin-bottom: 50px;
}

.doctor-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.doctor-section-heading span,
.doctor-group__header div:nth-child(2) > span {
    color: var(--doctor-green);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.doctor-section-heading h2,
.doctor-group__header h2,
.doctor-results-summary h2 {
    margin: 2px 0 0;
    color: var(--doctor-ink);
    font-size: 1.65rem;
    font-weight: 800;
}

.doctor-section-heading p {
    margin: 0;
    color: var(--doctor-muted);
}

.doctor-specialties__list {
    display: flex;
    gap: 10px;
    padding-bottom: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.doctor-specialties__list a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    border: 1px solid #dce8e4;
    border-radius: 999px;
    background: #fff;
    color: #31504a;
    font-size: .9rem;
    font-weight: 700;
    transition: border-color .2s, color .2s, transform .2s;
}

.doctor-specialties__list a:hover {
    border-color: var(--doctor-green);
    color: var(--doctor-green);
    transform: translateY(-2px);
}

.doctor-specialties__list span {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--doctor-mint);
    color: var(--doctor-green-dark);
    font-size: .75rem;
}

.doctor-results-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid #dce9e5;
    border-radius: 16px;
    background: #fff;
}

.doctor-results-summary__icon,
.doctor-group__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: var(--doctor-mint);
    color: var(--doctor-green);
}

.doctor-results-summary span,
.doctor-results-summary p {
    margin: 0;
    color: var(--doctor-muted);
}

.doctor-results-summary > a,
.doctor-empty > a {
    color: var(--doctor-green);
    font-weight: 800;
}

.doctor-group {
    margin-bottom: 56px;
    scroll-margin-top: 110px;
}

.doctor-group__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.doctor-group__count {
    padding: 6px 11px;
    border-radius: 999px;
    background: #e8efed;
    color: #536d67;
    font-size: .78rem;
    font-weight: 700;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.doctor-card {
    overflow: hidden;
    border: 1px solid #dce8e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 62, 54, .06);
    transition: box-shadow .25s, transform .25s;
}

.doctor-card:hover {
    box-shadow: 0 18px 42px rgba(15, 62, 54, .13);
    transform: translateY(-5px);
}

.doctor-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #e8efed;
}

.doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.doctor-card:hover .doctor-card__image img {
    transform: scale(1.025);
}

.doctor-card__image > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--doctor-green-dark);
    font-size: .72rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

.doctor-card__body {
    padding: 20px;
}

.doctor-card__body p {
    margin: 0 0 5px;
    color: var(--doctor-green);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.doctor-card__body h3 {
    min-height: 48px;
    margin: 0;
    color: var(--doctor-ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.doctor-card__body a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid #edf2f0;
    color: var(--doctor-green);
    font-size: .88rem;
    font-weight: 800;
}

.doctor-card__body a i {
    font-size: .74rem;
    transition: transform .2s;
}

.doctor-card__body a:hover i {
    transform: translateX(4px);
}

.doctor-empty {
    margin: 20px 0 50px;
    padding: 58px 24px;
    border: 1px dashed #b9d1ca;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.doctor-empty > span {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--doctor-mint);
    color: var(--doctor-green);
    font-size: 1.5rem;
}

.doctor-empty h2 {
    margin-bottom: 8px;
    color: var(--doctor-ink);
    font-weight: 800;
}

.doctor-empty p {
    margin: 0 auto 18px;
    color: var(--doctor-muted);
}

.doctor-notice {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #fff5e5;
    color: #6d4b18;
}

.doctor-notice > i {
    font-size: 1.35rem;
}

.doctor-notice strong {
    display: block;
}

.doctor-notice p {
    margin: 2px 0 0;
    color: #85652f;
}

.doctor-notice a {
    padding: 9px 14px;
    border: 1px solid rgba(109, 75, 24, .22);
    border-radius: 10px;
    color: #6d4b18;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .doctor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .doctor-hero {
        padding: 28px 0 36px;
    }

    .doctor-breadcrumb {
        margin-bottom: 25px;
    }

    .doctor-hero__content {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .doctor-hero__summary {
        min-width: 0;
        padding: 12px 16px;
    }

    .doctor-search__control button {
        padding: 0 17px;
    }

    .doctor-results-summary,
    .doctor-notice {
        grid-template-columns: auto 1fr;
    }

    .doctor-results-summary > a,
    .doctor-notice > a {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .doctor-hero h1 {
        font-size: 2.15rem;
    }

    .doctor-search__control {
        display: grid;
        grid-template-columns: auto 1fr auto;
        padding: 7px 7px 7px 16px;
    }

    .doctor-search__control button {
        grid-column: 1 / -1;
        margin-top: 5px;
    }

    .doctor-content {
        padding: 38px 0 55px;
    }

    .doctor-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .doctor-group {
        margin-bottom: 44px;
    }

    .doctor-group__header {
        grid-template-columns: auto 1fr;
    }

    .doctor-group__count {
        display: none;
    }

    .doctor-results-summary {
        padding: 18px;
    }
}
