.kc-patient-start{margin-block:clamp(16px,3vw,36px)}
.kc-patient-start-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;min-inline-size:0}
.kc-patient-start-actions :is(button,a){box-sizing:border-box;min-block-size:44px;display:inline-flex;align-items:center;max-inline-size:100%;text-align:start}
.kc-patient-start-actions a,.kc-patient-booking-note a,.kc-patient-inquiry-help a{text-decoration:underline;text-underline-offset:.2em}
.kc-patient-start-actions :focus-visible,.kc-patient-inquiry-help a:focus-visible{outline:2px solid #3b325c;outline-offset:3px}
.kc-patient-booking-note{box-sizing:border-box;margin-block:24px;padding:clamp(16px,4vw,28px);background:#f4f2fa;border:1px solid #ddd9e9;border-radius:16px;overflow-wrap:anywhere;scroll-margin-top:170px}
body.komd-connect .kc-patient-booking-note h2{margin-block-start:0}
.kc-modal .kc-patient-inquiry-help{margin:0;color:#3d425a;font-size:.875rem;line-height:1.45;overflow-wrap:anywhere}
.kc-modal .kc-patient-inquiry-help a{color:inherit}
@media(max-width:600px){.kc-patient-start-actions{display:grid;width:100%}.kc-patient-start-actions .kt-btn{justify-self:start}}

.kc-patient-booking-note h2{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere;word-break:normal}

.kc-patient-start-actions :is(button,a){min-inline-size:0;white-space:normal;overflow-wrap:anywhere}

/* Home hero typography and first-visit actions. */
body.komd-connect .kc-patient-hero {
    --kc-hero-ink: #262038;
    --kc-hero-accent: #483766;
    --kc-hero-muted: #574f65;
    --kc-hero-rule: rgba(72, 55, 102, .22);
}
body.komd-connect .kc-patient-hero .kt-hero-copy {
    box-sizing: border-box;
    width: min(52%, 38rem);
    max-width: none;
}
body.komd-connect .kc-patient-hero #komd-home-hero-heading {
    max-inline-size: 100%;
    margin: 0;
    color: var(--kc-hero-ink);
    font-size: clamp(2.55rem, 4.1vw, 3.8rem) !important;
    font-weight: 600;
    line-height: 1.06 !important;
    letter-spacing: -.04em !important;
    text-wrap: pretty;
    overflow-wrap: break-word;
}
html:is([lang^="en"], [lang^="vi"], [lang^="ru"]) body.komd-connect .kc-patient-hero #komd-home-hero-heading {
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 400 !important;
}
.kc-patient-hero .kc-hero-heading-accent {
    display: block;
    margin-block-start: .02em;
    color: var(--kc-hero-accent);
}
html:is([lang^="en"], [lang^="vi"], [lang^="ru"]) .kc-patient-hero .kc-hero-heading-accent {
    font-style: italic;
}
html:is([lang^="ar"], [lang^="th"]) body.komd-connect .kc-patient-hero #komd-home-hero-heading {
    line-height: 1.24 !important;
    letter-spacing: normal !important;
    word-break: normal;
}
body.komd-connect .kc-patient-hero .kt-lead {
    max-inline-size: 39ch;
    margin: clamp(.9rem, 2vw, 1.4rem) 0 .35rem;
    color: var(--kc-hero-ink);
    font-size: clamp(.98rem, 1.4vw, 1.14rem);
    line-height: 1.55;
    text-wrap: pretty;
}
body.komd-connect .kc-patient-hero .kc-hero-confirmation {
    max-inline-size: 52ch;
    margin: 0;
    color: var(--kc-hero-muted);
    font-size: .875rem;
    line-height: 1.5;
}
.kc-patient-hero .kc-patient-start {
    margin: 1.2rem 0 0;
    padding: 0;
}
.kc-patient-hero .kc-patient-start-actions {
    display: grid;
    justify-items: start;
    gap: .55rem;
}
body.komd-connect .kc-patient-hero .kc-patient-start-actions button {
    justify-content: space-between;
    gap: .8rem;
    min-block-size: 48px;
    padding: .62rem 1.12rem;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #32274d;
    color: #fff;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.35;
}
.kc-patient-hero .kc-patient-start-actions button::after {
    content: "";
    flex: 0 0 auto;
    inline-size: .45rem;
    block-size: .45rem;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
}
.kc-patient-hero .kc-patient-start-actions button:dir(rtl)::after {
    transform: rotate(-135deg);
}
body.komd-connect .kc-patient-hero .kc-patient-start-actions button:hover {
    background: #493765;
}
.kc-patient-hero .kc-patient-guide-links {
    display: flex;
    flex-wrap: wrap;
    column-gap: clamp(.8rem, 2vw, 1.35rem);
    inline-size: 100%;
    border-block-end: 1px solid var(--kc-hero-rule);
}
body.komd-connect .kc-patient-hero .kc-patient-guide-links a {
    color: var(--kc-hero-accent);
    font-size: .865rem;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: underline;
    text-decoration-color: rgba(72, 55, 102, .6);
    text-underline-offset: .25em;
}
body.komd-connect .kc-patient-hero .kc-patient-guide-links a:hover {
    text-decoration-color: currentColor;
}
body.komd-connect .kc-patient-hero .kt-model-caption {
    margin: .72rem 0 0;
    color: var(--kc-hero-muted);
    font-size: .6875rem;
    line-height: 1.45;
}

@media (max-width: 1000px) {
    body.komd-connect .kc-patient-hero.kt-hanok-hero {
        display: block;
        min-height: 0;
        padding-bottom: 1.25rem;
    }
    body.komd-connect .kc-patient-hero .kt-hero-bg {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(270px, 76vw, 380px);
    }
    body.komd-connect .kc-patient-hero .kt-hero-grid {
        margin-block-start: -74px;
        padding: 0 clamp(12px, 4vw, 32px);
        z-index: 2;
    }
    body.komd-connect .kc-patient-hero .kt-hero-copy {
        width: 100%;
        max-width: 37rem;
        margin-inline: auto;
        padding: clamp(16px, 5vw, 28px);
        background: #fbf9ff;
        border: 1px solid #e3ddeb;
        border-radius: 16px;
        box-shadow: 0 10px 26px rgba(39, 31, 66, .1);
    }
    body.komd-connect .kc-patient-hero #komd-home-hero-heading {
        font-size: clamp(1.8rem, 7.65vw, 3rem) !important;
    }
    body.komd-connect .kc-patient-hero .kt-lead {
        margin-block-start: .75rem;
    }
    .kc-patient-hero .kc-patient-start {
        margin-block-start: 1rem;
    }
}
