/* Doctor Hero template layer.
 * The legacy/default template keeps using doctor-hero.css unchanged.
 */

.acdh-template {
    --acdh-template-blue: #146df5;
    --acdh-template-blue-deep: #0f5ed5;
    --acdh-template-ink: #121b2b;
    --acdh-template-muted: #5f6d82;
    --acdh-template-line: #d9e7fb;
    --acdh-template-surface: #ffffff;
    --acdh-template-soft: #eef6ff;
    --acdh-template-shadow: 0 22px 55px rgba(38, 92, 164, .12);
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: linear-gradient(115deg, #ffffff 0%, #f7fbff 48%, #edf6ff 100%);
    color: var(--acdh-template-ink);
    isolation: isolate;
}

.acdh-template::before,
.acdh-template::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.acdh-template::before {
    width: 520px;
    height: 520px;
    inset-inline-start: -210px;
    top: -210px;
    background: radial-gradient(circle, rgba(39, 126, 245, .12) 0%, rgba(39, 126, 245, 0) 72%);
}

.acdh-template::after {
    width: 420px;
    height: 420px;
    inset-inline-end: -170px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(70, 167, 255, .12) 0%, rgba(70, 167, 255, 0) 72%);
}

.acdh-template .acdh-template-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    grid-template-areas: "media content";
    align-items: stretch;
    width: min(100% - 48px, 1320px);
    min-height: 560px;
    margin: 0 auto;
}

.acdh-template[dir="rtl"] .acdh-template-shell {
    grid-template-areas: "media content";
}

.acdh-template .acdh-template-media {
    grid-area: media;
    position: relative;
    min-width: 0;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 56px 30px 0;
}

.acdh-template .acdh-template-media-halo {
    position: absolute;
    width: min(78%, 420px);
    aspect-ratio: 1;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, #f8fbff, #dcecff);
    box-shadow: inset 0 0 0 1px rgba(53, 122, 221, .08);
}

.acdh-template .acdh-template-image {
    position: relative;
    z-index: 2;
    width: min(100%, 510px);
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.acdh-template .acdh-template-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center bottom;
}

.acdh-template .acdh-template-content {
    grid-area: content;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 78px 34px 68px 56px;
    text-align: start;
}

.acdh-template[dir="rtl"] .acdh-template-content {
    padding-right: 56px;
    padding-left: 34px;
}

.acdh-template .acdh-template-eyebrow {
    align-self: flex-start;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 7px 13px;
    border-radius: 8px;
    background: rgba(20, 109, 245, .08);
    color: var(--acdh-template-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.acdh-template .acdh-template-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    max-width: 630px;
    margin: 0;
    color: var(--acdh-template-ink);
    font-size: clamp(38px, 4vw, 61px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.025em;
}

.acdh-template .acdh-template-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2em;
}

.acdh-template .acdh-template-highlight {
    color: var(--acdh-template-blue);
}

.acdh-template .acdh-template-description {
    width: 100%;
    max-width: 640px;
    margin: 20px 0 0;
    color: var(--acdh-template-muted);
    font-size: 15px;
    line-height: 2;
}

.acdh-template .acdh-template-features,
.acdh-template .acdh-template-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 670px;
    margin-top: 30px;
}

.acdh-template .acdh-template-feature,
.acdh-template .acdh-template-stat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 9px;
    padding: 6px 18px;
    color: #26364e;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.acdh-template .acdh-template-feature + .acdh-template-feature,
.acdh-template .acdh-template-stat + .acdh-template-stat {
    border-inline-start: 1px solid var(--acdh-template-line);
}

.acdh-template .acdh-template-feature-icon,
.acdh-template .acdh-template-stat-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--acdh-template-blue);
    font-size: 23px;
}

.acdh-template .acdh-template-feature-icon svg,
.acdh-template .acdh-template-stat-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.acdh-template .acdh-template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.acdh-template .acdh-template-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 27px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.acdh-template .acdh-template-button:hover {
    transform: translateY(-1px);
}

.acdh-template .acdh-template-button-primary {
    background: var(--acdh-template-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(20, 109, 245, .2);
}

.acdh-template .acdh-template-button-primary:hover {
    background: var(--acdh-template-blue-deep);
    color: #fff;
    box-shadow: 0 14px 28px rgba(20, 109, 245, .25);
}

.acdh-template .acdh-template-button-secondary {
    border-color: rgba(20, 109, 245, .55);
    background: rgba(255, 255, 255, .74);
    color: var(--acdh-template-blue);
}

.acdh-template .acdh-template-button-secondary:hover {
    background: #fff;
    color: var(--acdh-template-blue-deep);
}

/* Home hero */
.acdh-template-home_hero .acdh-template-doctor-badge {
    position: absolute;
    z-index: 4;
    inset-inline-start: 14px;
    bottom: 66px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
    padding: 14px 17px;
    border: 1px solid rgba(35, 107, 209, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--acdh-template-shadow);
    backdrop-filter: blur(8px);
}

.acdh-template-home_hero .acdh-template-doctor-badge strong {
    color: var(--acdh-template-blue);
    font-size: 15px;
}

.acdh-template-home_hero .acdh-template-doctor-badge span {
    color: var(--acdh-template-muted);
    font-size: 11px;
}

/* About/video hero — tuned to the approved About Doctor reference */
.acdh-template-about_video {
    background: linear-gradient(90deg, #eef6ff 0%, #f6faff 42%, #ffffff 78%);
    overflow: visible;
}

.acdh-template-about_video.acdh-template-full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.acdh-template-about_video::before {
    width: 620px;
    height: 620px;
    left: -260px;
    right: auto;
    top: -250px;
    background: radial-gradient(circle, rgba(44, 126, 245, .13) 0%, rgba(44, 126, 245, 0) 70%);
}

.acdh-template-about_video::after {
    width: 430px;
    height: 430px;
    right: -180px;
    left: auto;
    bottom: -250px;
    background: radial-gradient(circle, rgba(73, 154, 255, .08) 0%, rgba(73, 154, 255, 0) 72%);
}

.acdh-template-about_video .acdh-template-shell {
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    width: min(calc(100% - 72px), 1560px);
    min-height: 610px;
}

.acdh-template-about_video .acdh-template-media {
    min-height: 610px;
    padding: 48px 26px 0;
}

.acdh-template-about_video .acdh-template-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 16px;
    top: 180px;
    width: 74px;
    height: 66px;
    opacity: .65;
    background-image: radial-gradient(circle, rgba(35, 112, 232, .55) 2px, transparent 2.5px);
    background-size: 15px 15px;
    pointer-events: none;
}

.acdh-template-about_video .acdh-template-image {
    width: min(100%, 590px);
    min-height: 565px;
}

.acdh-template-about_video .acdh-template-image img {
    max-height: 585px;
    object-position: center bottom;
}

.acdh-template-about_video .acdh-template-media-halo {
    width: min(82%, 500px);
    bottom: 8px;
    background: linear-gradient(145deg, #f6faff, #d4e7ff);
    box-shadow: inset 0 0 0 1px rgba(53, 122, 221, .07);
}

.acdh-template-about_video .acdh-template-about-content {
    padding: 82px 44px 86px 64px;
}

.acdh-template-about_video[dir="rtl"] .acdh-template-about-content {
    padding-right: 64px;
    padding-left: 44px;
}

.acdh-template-about_video .acdh-template-eyebrow {
    margin-bottom: 17px;
    padding: 7px 14px;
    border-radius: 9px;
    background: #edf5ff;
    color: #1769e0;
    font-size: 13px;
}

.acdh-template-about_video .acdh-template-about-title {
    max-width: 600px;
    gap: 0;
    font-size: clamp(40px, 3.6vw, 58px);
    line-height: 1.22;
}

.acdh-template-about_video .acdh-template-about-title .acdh-template-title-line {
    display: block;
}

.acdh-template-about_video .acdh-template-about-title .acdh-template-highlight {
    margin-top: 2px;
    color: #1769e0;
}

.acdh-template-about_video .acdh-template-description {
    max-width: 690px;
    margin-top: 22px;
    color: #526176;
    font-size: 15px;
    line-height: 2.05;
}

.acdh-template-about_video .acdh-template-video-card {
    position: absolute;
    z-index: 5;
    left: 0;
    right: auto;
    top: 50%;
    width: 154px;
    padding: 20px 14px 18px;
    transform: translateY(-34%);
    border: 1px solid rgba(37, 105, 200, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 48px rgba(38, 92, 164, .13);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.acdh-template-about_video .acdh-template-video-play.acdh-play {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 13px;
    border: 0;
    border-radius: 50%;
    background: var(--acdh-template-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 109, 245, .25);
}

.acdh-template-about_video .acdh-template-video-play.acdh-play:hover {
    transform: translateY(-1px) scale(1.03);
    background: var(--acdh-template-blue-deep);
    color: #fff;
}

.acdh-template-about_video .acdh-template-video-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acdh-template-about_video .acdh-template-video-copy strong {
    color: #1c2b42;
    font-size: 13px;
}

.acdh-template-about_video .acdh-template-video-copy span {
    color: var(--acdh-template-muted);
    font-size: 10.5px;
    line-height: 1.75;
}

.acdh-template-about_video .acdh-template-stats {
    max-width: 690px;
    margin-top: 34px;
}

.acdh-template-about_video .acdh-template-stat {
    flex-direction: column;
    gap: 4px;
    padding: 0 22px;
}

.acdh-template-about_video .acdh-template-stat-icon {
    margin-bottom: 5px;
    font-size: 27px;
}

.acdh-template-about_video .acdh-template-stat strong {
    color: #17243a;
    font-size: 19px;
    line-height: 1.3;
}

.acdh-template-about_video .acdh-template-stat > span:not(.acdh-template-stat-icon) {
    color: var(--acdh-template-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .acdh-template-about_video .acdh-template-shell {
        width: min(calc(100% - 44px), 1120px);
    }

    .acdh-template-about_video .acdh-template-video-card {
        left: 8px;
    }
}

@media (max-width: 1024px) {
    .acdh-template .acdh-template-shell,
    .acdh-template-about_video .acdh-template-shell {
        width: min(100% - 32px, 980px);
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        min-height: 520px;
    }

    .acdh-template .acdh-template-media,
    .acdh-template-about_video .acdh-template-media {
        min-height: 520px;
        padding-inline: 16px;
    }

    .acdh-template .acdh-template-image,
    .acdh-template-about_video .acdh-template-image {
        min-height: 470px;
    }

    .acdh-template .acdh-template-image img,
    .acdh-template-about_video .acdh-template-image img {
        max-height: 500px;
    }

    .acdh-template .acdh-template-content,
    .acdh-template[dir="rtl"] .acdh-template-content {
        padding: 58px 24px 52px;
    }

    .acdh-template-about_video .acdh-template-about-content,
    .acdh-template-about_video[dir="rtl"] .acdh-template-about-content {
        padding: 64px 24px 62px;
    }

    .acdh-template .acdh-template-title {
        font-size: clamp(34px, 4.2vw, 49px);
    }

    .acdh-template .acdh-template-features,
    .acdh-template .acdh-template-stats {
        margin-top: 24px;
    }

    .acdh-template .acdh-template-feature,
    .acdh-template .acdh-template-stat {
        padding-inline: 10px;
        font-size: 12px;
    }

    .acdh-template-about_video .acdh-template-video-card {
        width: 136px;
        left: 0;
    }
}

@media (max-width: 767px) {
    .acdh-template,
    .acdh-template.acdh-under-header {
        margin-top: 0;
    }

    .acdh-template-about_video.acdh-template-full-bleed {
        width: 100vw;
        margin-inline: calc(50% - 50vw);
    }

    .acdh-template .acdh-template-shell,
    .acdh-template-about_video .acdh-template-shell {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .acdh-template .acdh-template-content,
    .acdh-template[dir="rtl"] .acdh-template-content,
    .acdh-template-about_video .acdh-template-content,
    .acdh-template-about_video[dir="rtl"] .acdh-template-about-content {
        order: 1;
        padding: 40px 20px 28px;
        text-align: center;
        align-items: center;
    }

    .acdh-template .acdh-template-media,
    .acdh-template-about_video .acdh-template-media {
        order: 2;
        min-height: 410px;
        padding: 18px 20px 0;
    }

    .acdh-template-about_video .acdh-template-media::before {
        left: 18px;
        top: 86px;
        width: 60px;
        height: 54px;
    }

    .acdh-template .acdh-template-media-halo,
    .acdh-template-about_video .acdh-template-media-halo {
        width: min(78vw, 340px);
        bottom: 8px;
    }

    .acdh-template .acdh-template-image,
    .acdh-template-about_video .acdh-template-image {
        min-height: 390px;
        width: min(100%, 390px);
    }

    .acdh-template .acdh-template-image img,
    .acdh-template-about_video .acdh-template-image img {
        max-height: 405px;
    }

    .acdh-template .acdh-template-eyebrow {
        align-self: center;
    }

    .acdh-template .acdh-template-title,
    .acdh-template-about_video .acdh-template-title {
        max-width: 100%;
        font-size: clamp(32px, 9vw, 43px);
        align-items: center;
    }

    .acdh-template .acdh-template-title-line {
        justify-content: center;
    }

    .acdh-template .acdh-template-description {
        max-width: 560px;
        margin-top: 16px;
        font-size: 14px;
    }

    .acdh-template .acdh-template-features,
    .acdh-template .acdh-template-stats {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 0;
        margin-top: 24px;
    }

    .acdh-template .acdh-template-feature,
    .acdh-template .acdh-template-stat,
    .acdh-template-about_video .acdh-template-stat {
        min-height: 48px;
        flex-direction: row;
        justify-content: center;
        padding: 10px 8px;
        border-inline-start: 0 !important;
        border-top: 1px solid var(--acdh-template-line);
    }

    .acdh-template .acdh-template-feature:first-child,
    .acdh-template .acdh-template-stat:first-child {
        border-top: 0;
    }

    .acdh-template-about_video .acdh-template-stat-icon {
        margin-bottom: 0;
    }

    .acdh-template .acdh-template-actions {
        justify-content: center;
        margin-top: 24px;
    }

    .acdh-template .acdh-template-button {
        min-width: 140px;
    }

    .acdh-template-home_hero .acdh-template-doctor-badge {
        inset-inline-start: 18px;
        bottom: 42px;
    }

    .acdh-template-about_video .acdh-template-video-card {
        left: 18px;
        right: auto;
        top: 92px;
        width: 128px;
        transform: none;
    }
}

@media (max-width: 420px) {
    .acdh-template .acdh-template-content,
    .acdh-template[dir="rtl"] .acdh-template-content {
        padding-inline: 16px;
    }

    .acdh-template .acdh-template-actions {
        width: 100%;
    }

    .acdh-template .acdh-template-button {
        flex: 1 1 100%;
        width: 100%;
    }

    .acdh-template .acdh-template-media,
    .acdh-template-about_video .acdh-template-media {
        min-height: 360px;
    }

    .acdh-template .acdh-template-image,
    .acdh-template-about_video .acdh-template-image {
        min-height: 350px;
    }

    .acdh-template .acdh-template-image img,
    .acdh-template-about_video .acdh-template-image img {
        max-height: 365px;
    }

    .acdh-template-home_hero .acdh-template-doctor-badge,
    .acdh-template-about_video .acdh-template-video-card {
        transform: scale(.92);
        transform-origin: bottom left;
    }
}

/* --------------------------------------------------------------------------
 * Home Hero — homepage reference fidelity
 *
 * Scoped to home_hero only. The legacy/default renderer and About template keep
 * their previous geometry and styles untouched.
 * -------------------------------------------------------------------------- */

.acdh-template-home_hero {
    --acdh-template-blue: #1769e0;
    --acdh-template-blue-deep: #1059c3;
    --acdh-template-ink: #101828;
    --acdh-template-muted: #667085;
    --acdh-template-line: #dce7f6;
    overflow: hidden;
    background: linear-gradient(90deg, #eaf4ff 0%, #f5f9ff 43%, #ffffff 76%);
}

.acdh-template-home_hero::before {
    width: 600px;
    height: 600px;
    left: -250px;
    right: auto;
    top: -260px;
    background: radial-gradient(circle, rgba(60, 139, 238, .14) 0%, rgba(60, 139, 238, 0) 71%);
}

.acdh-template-home_hero::after {
    width: 360px;
    height: 360px;
    right: -150px;
    left: auto;
    bottom: -210px;
    background: radial-gradient(circle, rgba(79, 156, 247, .08) 0%, rgba(79, 156, 247, 0) 72%);
}

.acdh-template-home_hero .acdh-template-shell {
    direction: ltr;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    grid-template-areas: "media content";
    width: min(calc(100% - 56px), 1360px);
    min-height: 620px;
}

.acdh-template-home_hero[dir="ltr"] .acdh-template-shell {
    grid-template-areas: "content media";
}

.acdh-template-home_hero[dir="rtl"] .acdh-template-content {
    direction: rtl;
    text-align: right;
}

.acdh-template-home_hero[dir="ltr"] .acdh-template-content {
    direction: ltr;
    text-align: left;
}

.acdh-template-home_hero .acdh-template-media {
    min-height: 620px;
    padding: 48px 26px 0;
}

.acdh-template-home_hero .acdh-template-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 4%;
    top: 34%;
    width: 66px;
    height: 58px;
    opacity: .38;
    background-image: radial-gradient(circle, #7ba8e8 2px, transparent 2.4px);
    background-size: 13px 13px;
    pointer-events: none;
}

.acdh-template-home_hero .acdh-template-media-halo {
    width: min(86%, 480px);
    bottom: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), #d9eaff);
    box-shadow: inset 0 0 0 1px rgba(47, 114, 210, .08), 0 18px 56px rgba(47, 114, 210, .08);
}

.acdh-template-home_hero .acdh-template-image {
    width: min(100%, 535px);
    min-height: 560px;
}

.acdh-template-home_hero .acdh-template-image img {
    max-height: 585px;
    object-position: center bottom;
}

.acdh-template-home_hero .acdh-template-content,
.acdh-template-home_hero[dir="rtl"] .acdh-template-content {
    padding: 76px 42px 70px 58px;
}

.acdh-template-home_hero[dir="rtl"] .acdh-template-content {
    padding-right: 58px;
    padding-left: 42px;
}

.acdh-template-home_hero[dir="ltr"] .acdh-template-content {
    padding-right: 42px;
    padding-left: 58px;
}

.acdh-template-home_hero .acdh-template-eyebrow {
    margin-bottom: 14px;
    padding: 6px 11px;
    border-radius: 7px;
    background: rgba(23, 105, 224, .07);
    color: #1769e0;
    font-size: 12px;
}

.acdh-template-home_hero .acdh-template-title {
    max-width: 650px;
    gap: 0;
    font-size: clamp(40px, 3.8vw, 58px);
    line-height: 1.3;
    letter-spacing: -.02em;
}

.acdh-template-home_hero[dir="rtl"] .acdh-template-title-line {
    justify-content: flex-start;
}

.acdh-template-home_hero[dir="ltr"] .acdh-template-title-line {
    justify-content: flex-start;
}

.acdh-template-home_hero .acdh-template-highlight {
    color: #1769e0;
}

.acdh-template-home_hero .acdh-template-description {
    max-width: 640px;
    margin-top: 18px;
    color: #667085;
    font-size: 14px;
    line-height: 2.05;
}

.acdh-template-home_hero .acdh-template-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 650px;
    margin-top: 28px;
}

.acdh-template-home_hero .acdh-template-feature {
    min-height: 80px;
    flex-direction: column;
    gap: 9px;
    padding: 2px 22px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.acdh-template-home_hero .acdh-template-feature-icon {
    min-width: 30px;
    min-height: 30px;
    font-size: 25px;
}

.acdh-template-home_hero .acdh-template-feature-icon svg {
    width: 25px;
    height: 25px;
}

.acdh-template-home_hero .acdh-template-actions {
    gap: 12px;
    margin-top: 28px;
}

.acdh-template-home_hero .acdh-template-button {
    min-width: 168px;
    min-height: 48px;
    padding: 11px 24px;
    border-radius: 7px;
    font-size: 13px;
}

.acdh-template-home_hero .acdh-template-button:focus-visible {
    outline: 3px solid rgba(23, 105, 224, .22);
    outline-offset: 3px;
}

.acdh-template-home_hero .acdh-template-button-primary {
    box-shadow: 0 9px 22px rgba(23, 105, 224, .2);
}

.acdh-template-home_hero .acdh-template-button-primary::after {
    content: "‹";
    margin-inline-start: 10px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

.acdh-template-home_hero[dir="ltr"] .acdh-template-button-primary::after {
    content: "›";
}

.acdh-template-home_hero .acdh-template-button-secondary::before {
    content: "◌";
    margin-inline-end: 9px;
    font-size: 15px;
    line-height: 1;
}

.acdh-template-home_hero .acdh-template-doctor-badge {
    inset-inline-start: 2px;
    bottom: 48px;
    min-width: 174px;
    padding: 14px 18px;
    border-color: rgba(35, 105, 200, .1);
    border-radius: 11px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 42px rgba(31, 55, 83, .12);
}

.acdh-template-home_hero .acdh-template-doctor-badge strong {
    font-size: 14px;
    font-weight: 800;
}

.acdh-template-home_hero .acdh-template-doctor-badge span {
    color: #667085;
    font-size: 10.5px;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .acdh-template-home_hero .acdh-template-shell {
        width: min(calc(100% - 40px), 1120px);
        min-height: 570px;
    }

    .acdh-template-home_hero .acdh-template-media {
        min-height: 570px;
        padding-inline: 18px;
    }

    .acdh-template-home_hero .acdh-template-image {
        min-height: 520px;
    }

    .acdh-template-home_hero .acdh-template-image img {
        max-height: 545px;
    }

    .acdh-template-home_hero .acdh-template-content,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-content,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-content {
        padding: 62px 28px 58px;
    }

    .acdh-template-home_hero .acdh-template-title {
        font-size: clamp(36px, 4vw, 50px);
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .acdh-template-home_hero .acdh-template-shell {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        width: min(calc(100% - 32px), 860px);
        min-height: 520px;
    }

    .acdh-template-home_hero .acdh-template-media {
        min-height: 520px;
        padding-inline: 10px;
    }

    .acdh-template-home_hero .acdh-template-image {
        min-height: 470px;
    }

    .acdh-template-home_hero .acdh-template-image img {
        max-height: 495px;
    }

    .acdh-template-home_hero .acdh-template-content,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-content,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-content {
        padding: 48px 20px 46px;
    }

    .acdh-template-home_hero .acdh-template-title {
        font-size: clamp(32px, 4.5vw, 42px);
    }

    .acdh-template-home_hero .acdh-template-feature {
        padding-inline: 9px;
        font-size: 11px;
    }

    .acdh-template-home_hero .acdh-template-doctor-badge {
        min-width: 154px;
        bottom: 34px;
        transform: scale(.94);
        transform-origin: bottom left;
    }
}

@media (max-width: 767px) {
    .acdh-template-home_hero {
        background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 52%, #eaf4ff 100%);
    }

    .acdh-template-home_hero .acdh-template-shell,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-shell,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-shell {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
    }

    .acdh-template-home_hero .acdh-template-content,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-content,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-content {
        order: 1;
        align-items: center;
        padding: 38px 20px 24px;
        text-align: center;
    }

    .acdh-template-home_hero[dir="rtl"] .acdh-template-content {
        direction: rtl;
    }

    .acdh-template-home_hero[dir="ltr"] .acdh-template-content {
        direction: ltr;
    }

    .acdh-template-home_hero .acdh-template-eyebrow {
        align-self: center;
    }

    .acdh-template-home_hero .acdh-template-title {
        max-width: 620px;
        font-size: clamp(31px, 8.5vw, 42px);
        align-items: center;
    }

    .acdh-template-home_hero .acdh-template-title-line,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-title-line,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-title-line {
        justify-content: center;
    }

    .acdh-template-home_hero .acdh-template-description {
        max-width: 540px;
        margin-top: 15px;
        font-size: 13.5px;
    }

    .acdh-template-home_hero .acdh-template-features {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-top: 22px;
    }

    .acdh-template-home_hero .acdh-template-feature,
    .acdh-template-home_hero .acdh-template-feature + .acdh-template-feature {
        min-height: 50px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 9px 8px;
        border-inline-start: 0;
        border-top: 1px solid var(--acdh-template-line);
    }

    .acdh-template-home_hero .acdh-template-feature:first-child {
        border-top: 0;
    }

    .acdh-template-home_hero .acdh-template-feature-icon,
    .acdh-template-home_hero .acdh-template-feature-icon svg {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        font-size: 22px;
    }

    .acdh-template-home_hero .acdh-template-actions {
        justify-content: center;
        margin-top: 22px;
    }

    .acdh-template-home_hero .acdh-template-media {
        order: 2;
        min-height: 410px;
        padding: 14px 18px 0;
    }

    .acdh-template-home_hero .acdh-template-media-halo {
        width: min(82vw, 350px);
        bottom: 4px;
    }

    .acdh-template-home_hero .acdh-template-image {
        width: min(100%, 410px);
        min-height: 390px;
    }

    .acdh-template-home_hero .acdh-template-image img {
        max-height: 410px;
    }

    .acdh-template-home_hero .acdh-template-media::after {
        left: 18px;
        top: 90px;
        width: 56px;
        height: 50px;
    }

    .acdh-template-home_hero .acdh-template-doctor-badge {
        inset-inline-start: 18px;
        bottom: 34px;
        min-width: 158px;
    }
}

@media (max-width: 420px) {
    .acdh-template-home_hero .acdh-template-content,
    .acdh-template-home_hero[dir="rtl"] .acdh-template-content,
    .acdh-template-home_hero[dir="ltr"] .acdh-template-content {
        padding-inline: 16px;
    }

    .acdh-template-home_hero .acdh-template-actions {
        width: 100%;
    }

    .acdh-template-home_hero .acdh-template-button {
        min-width: 0;
        width: 100%;
        flex: 1 1 100%;
    }

    .acdh-template-home_hero .acdh-template-media {
        min-height: 355px;
    }

    .acdh-template-home_hero .acdh-template-image {
        min-height: 345px;
    }

    .acdh-template-home_hero .acdh-template-image img {
        max-height: 360px;
    }

    .acdh-template-home_hero .acdh-template-doctor-badge {
        transform: scale(.9);
        transform-origin: bottom left;
    }
}
