body.home-directory-premium-v21 {
    background: #fff;
}

body.home-directory-premium-v21 .doctorbd-main {
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.hd21-page {
    --hd21-green: #07852f;
    --hd21-green-dark: #056923;
    --hd21-green-deep: #045c20;
    --hd21-green-soft: #eff8f2;
    --hd21-ink: #111820;
    --hd21-muted: #5e6877;
    --hd21-border: #e2e8e5;
    color: var(--hd21-ink);
    background: #fff;
}

.hd21-page a {
    text-decoration: none;
}

.hd21-hero {
    background: #fff;
    border-bottom: 1px solid #edf1ef;
}

.hd21-hero-container {
    position: relative;
}

.hd21-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 370px;
    padding: 34px 52px 27px 28px;
}

.hd21-trusted-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 17px;
    color: #3e4957;
    font-size: 14px;
}

.hd21-trusted-label i {
    color: var(--hd21-green);
    font-size: 18px;
}

.hd21-hero-copy h1 {
    max-width: 650px;
    margin: 0;
    color: var(--hd21-ink);
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2px;
}

.hd21-hero-copy h1 span {
    color: var(--hd21-green-dark);
}

.hd21-hero-copy > p {
    max-width: 540px;
    margin: 15px 0 20px;
    color: var(--hd21-muted);
    font-size: 19px;
    line-height: 1.55;
}

.hd21-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-height: 50px;
    padding: 11px 22px;
    color: #fff !important;
    background: linear-gradient(135deg, #07852f, #057326);
    border: 1px solid #057326;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(7, 133, 47, .18);
}

.hd21-primary-button:hover {
    background: linear-gradient(135deg, #067728, #045e20);
    transform: translateY(-1px);
}

.hd21-primary-button i {
    font-size: 20px;
}

.hd21-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 590px;
    margin-top: 29px;
}

.hd21-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 18px;
    border-right: 1px solid #dfe5e2;
}

.hd21-trust-item:first-child {
    padding-left: 0;
}

.hd21-trust-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.hd21-trust-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    color: var(--hd21-green);
    font-size: 25px;
}

.hd21-trust-item div {
    min-width: 0;
}

.hd21-trust-item strong,
.hd21-trust-item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd21-trust-item strong {
    color: #29323d;
    font-size: 12px;
}

.hd21-trust-item small {
    margin-top: 2px;
    color: #6c7684;
    font-size: 10px;
}

.hd21-hero-media {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    background: #f2f8f5;
}

.hd21-hero-media::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 25%;
    content: "";
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .73) 28%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hd21-hero-media img {
    display: block;
    width: 100%;
    height: 370px;
    object-fit: cover;
    object-position: center;
}

.hd21-search-section {
    position: relative;
    z-index: 4;
    padding: 12px 0;
    background-color: var(--hd21-green);
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .025) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .025) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .025) 75%);
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    background-size: 20px 20px;
}

.hd21-search-form {
    display: grid;
    grid-template-columns: minmax(260px, 2.35fr) minmax(185px, 1fr) minmax(185px, 1fr) 150px;
    gap: 14px;
    align-items: stretch;
}

.hd21-search-control {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 56px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    box-shadow: 0 4px 13px rgba(2, 58, 20, .12);
}

.hd21-search-control > i {
    position: absolute;
    left: 17px;
    z-index: 2;
    color: #0e3020;
    font-size: 22px;
    pointer-events: none;
}

.hd21-search-control input,
.hd21-search-control select {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 42px 0 51px;
    color: #1c2733;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 15px;
}

.hd21-search-control input::placeholder {
    color: #7a8592;
}

.hd21-search-control select {
    cursor: pointer;
    appearance: auto;
}

.hd21-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 20px;
    color: #fff;
    background: #056e27;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 48, 15, .18);
}

.hd21-search-button:hover {
    background: #045c20;
}

.hd21-search-button i {
    font-size: 21px;
}

.hd21-directory-section {
    padding: 22px 0 30px;
    background: #fff;
}

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

.hd21-directory-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 24px;
    gap: 15px;
    align-items: center;
    min-height: 102px;
    padding: 15px 18px;
    color: var(--hd21-ink);
    background: #fff;
    border: 1px solid var(--hd21-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(21, 58, 35, .025);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hd21-directory-card:hover {
    color: var(--hd21-ink);
    border-color: #a9d5b7;
    box-shadow: 0 10px 24px rgba(13, 86, 39, .08);
    transform: translateY(-2px);
}

.hd21-directory-card-wide {
    grid-column: 1 / -1;
}

.hd21-directory-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #111820;
    background: #eef6f1;
    border-radius: 50%;
}

.hd21-directory-icon i {
    font-size: 31px;
    line-height: 1;
}

.hd21-directory-copy {
    min-width: 0;
}

.hd21-directory-copy strong {
    display: block;
    margin-bottom: 6px;
    color: #151c25;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
}

.hd21-directory-copy small {
    display: block;
    max-width: 270px;
    color: #65707d;
    font-size: 12px;
    line-height: 1.55;
}

.hd21-directory-card-wide .hd21-directory-copy small {
    max-width: 520px;
}

.hd21-directory-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hd21-green);
    font-size: 18px;
}

.hd21-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, .75fr)) minmax(270px, 1.4fr);
    align-items: stretch;
    margin-top: 14px;
    background: #fbfcfb;
    border: 1px solid var(--hd21-border);
    border-radius: 8px;
}

.hd21-stat-item,
.hd21-stat-message {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 69px;
    padding: 12px 21px;
}

.hd21-stat-item {
    position: relative;
    color: #26313c;
}

.hd21-stat-item::after {
    position: absolute;
    top: 17px;
    right: 0;
    bottom: 17px;
    width: 1px;
    content: "";
    background: #dfe5e2;
}

.hd21-stat-item:hover {
    color: var(--hd21-green-dark);
    background: #f5faf7;
}

.hd21-stat-item > i,
.hd21-stat-message > i {
    color: var(--hd21-green);
    font-size: 30px;
}

.hd21-stat-item span {
    min-width: 0;
}

.hd21-stat-item strong,
.hd21-stat-item small {
    display: block;
}

.hd21-stat-item strong {
    color: var(--hd21-green-dark);
    font-size: 18px;
    line-height: 1.1;
}

.hd21-stat-item small {
    margin-top: 3px;
    color: #65707d;
    font-size: 11px;
}

.hd21-stat-message {
    color: #576372;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 1400px) {
    .hd21-hero-copy {
        padding-left: 31px;
    }
}

@media (max-width: 1199.98px) {
    .hd21-hero-copy {
        min-height: 350px;
        padding-right: 28px;
        padding-left: 12px;
    }

    .hd21-hero-media,
    .hd21-hero-media img {
        min-height: 350px;
        height: 350px;
    }

    .hd21-hero-copy h1 {
        font-size: 45px;
    }

    .hd21-trust-row {
        margin-top: 24px;
    }

    .hd21-trust-item {
        padding-right: 11px;
        padding-left: 11px;
    }

    .hd21-search-form {
        grid-template-columns: minmax(250px, 2fr) minmax(170px, 1fr) minmax(170px, 1fr) 130px;
        gap: 10px;
    }

    .hd21-stat-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .hd21-stat-message {
        grid-column: 1 / -1;
        min-height: 58px;
        border-top: 1px solid var(--hd21-border);
    }
}

@media (max-width: 991.98px) {
    .hd21-hero-copy {
        min-height: auto;
        padding: 44px 12px 32px;
        text-align: center;
    }

    .hd21-trusted-label,
    .hd21-primary-button {
        margin-right: auto;
        margin-left: auto;
    }

    .hd21-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hd21-trust-row {
        width: 100%;
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .hd21-hero-media {
        min-height: 330px;
        border-top: 1px solid #edf1ef;
    }

    .hd21-hero-media img {
        height: 330px;
        object-position: center;
    }

    .hd21-hero-media::before {
        width: 100%;
        height: 18%;
        background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .hd21-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hd21-search-keyword,
    .hd21-search-button {
        grid-column: 1 / -1;
    }

    .hd21-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hd21-hero-copy h1 {
        font-size: 40px;
        letter-spacing: -1.4px;
    }

    .hd21-hero-copy > p {
        font-size: 17px;
    }

    .hd21-trust-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hd21-trust-item,
    .hd21-trust-item:first-child,
    .hd21-trust-item:last-child {
        justify-content: center;
        padding: 0;
        border: 0;
    }

    .hd21-trust-item div {
        width: 150px;
    }

    .hd21-search-section {
        padding: 14px 0;
    }

    .hd21-search-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hd21-search-keyword,
    .hd21-search-button {
        grid-column: auto;
    }

    .hd21-directory-grid {
        grid-template-columns: 1fr;
    }

    .hd21-directory-card-wide {
        grid-column: auto;
    }

    .hd21-stat-strip {
        grid-template-columns: 1fr;
    }

    .hd21-stat-item::after {
        top: auto;
        right: 18px;
        bottom: 0;
        left: 18px;
        width: auto;
        height: 1px;
    }

    .hd21-stat-message {
        grid-column: auto;
        border-top: 0;
    }
}

@media (max-width: 575.98px) {
    .hd21-hero-copy {
        padding-top: 34px;
        padding-bottom: 27px;
    }

    .hd21-trusted-label {
        margin-bottom: 13px;
        font-size: 12px;
    }

    .hd21-hero-copy h1 {
        font-size: 34px;
        line-height: 1.13;
    }

    .hd21-hero-copy > p {
        margin-top: 12px;
        margin-bottom: 18px;
        font-size: 15px;
    }

    .hd21-primary-button {
        min-height: 47px;
        padding: 10px 18px;
    }

    .hd21-hero-media,
    .hd21-hero-media img {
        min-height: 260px;
        height: 260px;
    }

    .hd21-hero-media img {
        object-position: 56% center;
    }

    .hd21-search-control,
    .hd21-search-button {
        min-height: 52px;
    }

    .hd21-search-control input,
    .hd21-search-control select {
        height: 50px;
        font-size: 14px;
    }

    .hd21-directory-section {
        padding-top: 16px;
        padding-bottom: 22px;
    }

    .hd21-directory-card {
        grid-template-columns: 52px minmax(0, 1fr) 20px;
        min-height: 94px;
        padding: 13px 14px;
    }

    .hd21-directory-icon {
        width: 52px;
        height: 52px;
    }

    .hd21-directory-icon i {
        font-size: 27px;
    }

    .hd21-directory-copy strong {
        font-size: 16px;
    }
}
