:root{--b:#0873d1;--n:#0b2c4e;--t:#102943;--m:#71859a;--l:#e2ebf3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--t);font-family:Pretendard,"Noto Sans KR",Arial,sans-serif;letter-spacing:-.025em}a{text-decoration:none;color:inherit}button,input{font:inherit}header{height:88px;background:#fff;position:relative;z-index:20}.nav{max-width:1500px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center}.logo img{max-width:205px;max-height:54px}.nav nav{margin:auto;display:flex;gap:48px;font-weight:800;font-size:15px}.tools{display:flex;align-items:center;gap:9px;font-size:9px;color:#8798aa}.tools .ai-open,.ai-feature-copy button{border:0;border-radius:24px;padding:13px 20px;background:linear-gradient(135deg,#138bea,#075dbb);color:#fff;font-weight:800}.hero{height:650px;position:relative;overflow:hidden}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,251,255,.96) 0%,rgba(241,250,255,.78) 30%,rgba(225,244,255,.12) 60%),url('../img/clean/hero-clean.jpg') 68% center/cover no-repeat}.hero-inner{max-width:1500px;height:100%;margin:auto;position:relative;padding:0 28px}.hero-copy{position:absolute;left:28px;top:90px;width:480px}.hero-copy small,.intro small,.doctor-head small,.about-copy small,.ai-feature-copy small,.location-card small{font-size:10px;font-weight:900;letter-spacing:.25em;color:#1975c3}.hero-copy h1{font-size:56px;line-height:1.13;margin:18px 0;color:#0c2a49}.hero-copy h1 em{font-style:normal;color:#0872d0}.hero-copy p{font-size:14px;line-height:1.8;color:#61778c}.hero-actions{display:flex;gap:10px;margin-top:28px}.hero-actions a{padding:15px 23px;border-radius:28px;background:#0875d7;color:#fff;font-weight:800;font-size:12px}.hero-actions .white{background:#fff;color:#176cb7;border:1px solid #d9e7f2}.hero-actions b{margin-left:20px}.ai-card{position:absolute;right:28px;top:75px;width:350px;padding:28px;border-radius:30px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);box-shadow:0 25px 70px rgba(25,80,125,.2)}.ai-title{display:flex;align-items:center;gap:10px;color:#176cb7;font-size:11px}.ai-title i{margin-left:auto;width:7px;height:7px;border-radius:50%;background:#32d28f}.bot{position:absolute;right:26px;top:26px;width:75px;height:75px;border-radius:30px;background:linear-gradient(145deg,#f9fdff,#cdeeff);display:grid;place-items:center;box-shadow:0 10px 25px rgba(25,95,150,.15)}.bot span{width:48px;height:34px;border-radius:16px;background:#082d59;color:#49cfff;display:grid;place-items:center;font-weight:900}.ai-card h2{margin:62px 0 8px;font-size:22px}.ai-card>p{font-size:11px;color:#71859a;line-height:1.7}.ai-card form{height:48px;margin-top:18px;padding:4px 4px 4px 15px;border:1px solid #dce8f1;border-radius:25px;background:#fff;display:flex}.ai-card input{border:0;outline:0;min-width:0;flex:1;font-size:10px}.ai-card form button{width:40px;border:0;border-radius:50%;background:#0873d1;color:#fff}.chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.chips button{border:1px solid #dbe8f1;border-radius:15px;padding:6px 9px;background:#f9fcff;color:#587188;font-size:9px}.quick{position:relative;z-index:5;max-width:1180px;min-height:98px;margin:-48px auto 0;padding:0 18px;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-radius:22px;box-shadow:0 18px 55px rgba(25,75,115,.14)}.quick a{padding:20px;display:grid;grid-template-columns:48px 1fr;grid-template-rows:1fr 1fr;column-gap:13px;align-items:center}.quick b{grid-row:1/3;width:45px;height:45px;border-radius:14px;background:#edf7ff;color:#0873d1;display:grid;place-items:center;font-size:20px}.quick strong{font-size:12px;align-self:end}.quick span{font-size:9px;color:#8a9aab;align-self:start}.section{max-width:1500px;margin:auto;padding:100px 28px}.centers{display:grid;grid-template-columns:210px 1fr;gap:45px}.intro h2,.doctor-head h2,.about-copy h2,.ai-feature-copy h2{font-size:36px;line-height:1.2;margin:13px 0}.intro p,.doctor-head p,.about-copy p,.ai-feature-copy p{font-size:12px;color:#71859a;line-height:1.8}.intro a{display:inline-block;margin-top:20px;padding:10px 15px;border:1px solid #cfe1ef;border-radius:20px;color:#0870c9;font-size:10px;font-weight:800}.center-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.center-grid article{overflow:hidden;border:1px solid var(--l);border-radius:16px;background:#fff;transition:.25s}.center-grid article:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(25,75,115,.12)}.center-grid img{width:100%;height:155px;object-fit:cover}.center-grid article>div{position:relative;min-height:120px;padding:17px}.center-grid h3{margin:0;font-size:15px}.center-grid p{font-size:10px;color:#8091a2;line-height:1.6}.center-grid span{position:absolute;right:15px;bottom:15px;color:#0873d1}.about-band{max-width:1500px;margin:0 auto 40px;min-height:420px;border-radius:28px;overflow:hidden;display:grid;grid-template-columns:1.2fr .8fr;background:#edf8ff}.about-img{background:url('../img/clean/about-clean.jpg') 62% center/cover no-repeat}.about-copy{padding:70px;display:flex;flex-direction:column;justify-content:center}.about-copy a{color:#0870c9;font-size:11px;font-weight:800}.doctors{display:grid;grid-template-columns:290px 1fr;gap:55px;align-items:center}.doctor-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.doctor-row article{overflow:hidden;border:1px solid var(--l);border-radius:16px;background:#fff}.doctor-photo{height:245px;background:linear-gradient(160deg,#eaf5fc,#d5e7f4)}.doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.doctor-row article>div:last-child{position:relative;padding:15px}.doctor-row b,.doctor-row span{display:block}.doctor-row b{font-size:12px}.doctor-row span{font-size:9px;color:#8293a4;margin-top:4px}.doctor-row i{position:absolute;right:13px;top:16px;color:#0873d1}.ai-feature{max-width:1500px;min-height:430px;margin:0 auto 100px;border-radius:30px;overflow:hidden;display:grid;grid-template-columns:1.15fr .85fr;background:#082f58;color:#fff}.ai-feature-image{background:url('../img/clean/ai-clean-v2.png') 58% center/cover no-repeat}.ai-feature-copy{padding:65px}.ai-feature-copy small{color:#6fd0ff}.ai-feature-copy p{color:#c4d9ea}.ai-feature-copy button{margin-top:18px;background:#fff;color:#0b65b4}.info{display:grid;grid-template-columns:.9fr 1.4fr;gap:18px;padding-top:0}.location-card{min-height:330px;padding:42px;border-radius:24px;color:#fff;background:linear-gradient(90deg,rgba(5,45,80,.92),rgba(5,45,80,.35)),url('../img/clean/location-clean.jpg') 60% center/cover}.location-card small{color:#83d2ff}.location-card h2{font-size:31px}.location-card span,.location-card strong{display:block}.location-card span{font-size:10px;margin-top:55px}.location-card strong{font-size:29px;margin-top:5px}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.info-grid article{padding:30px;border:1px solid var(--l);border-radius:18px}.info-grid b{font-size:15px}.info-grid p{font-size:11px;color:#7d8fa1;line-height:1.7}footer{padding:45px 28px 95px;background:#f7fafc;border-top:1px solid #e5edf3}footer>div{max-width:1440px;margin:auto}footer img{max-width:155px}footer p,footer small{font-size:10px;color:#8191a2}.floating-ai{position:fixed;z-index:100;right:25px;bottom:25px;width:72px;height:72px;border:5px solid #fff;border-radius:50%;background:linear-gradient(135deg,#1497ef,#0759bd);color:#fff;box-shadow:0 12px 35px rgba(5,88,176,.35)}.floating-ai b,.floating-ai span{display:block}.floating-ai span{font-size:8px}.mobile-nav{display:none}@media(max-width:800px){body{padding-bottom:68px}header{height:68px}.nav{padding:0 16px}.logo img{max-width:150px}.nav nav,.tools span{display:none}.tools{margin-left:auto}.hero{height:780px}.hero-bg{background:linear-gradient(180deg,rgba(245,252,255,.97),rgba(236,248,255,.55) 45%,rgba(223,243,255,.15)),url('../img/clean/hero-clean.jpg') 67% center/cover no-repeat}.hero-inner{padding:0 18px}.hero-copy{left:18px;top:48px;width:calc(100% - 36px)}.hero-copy h1{font-size:40px}.hero-copy p{max-width:78%;font-size:11px}.ai-card{left:16px;right:16px;top:auto;bottom:25px;width:auto;padding:20px}.ai-card h2{margin-top:35px}.bot{transform:scale(.8);transform-origin:top right}.quick{width:calc(100% - 24px);margin:12px auto 0;padding:5px;min-height:78px}.quick a{padding:8px 2px;display:block;text-align:center}.quick b{width:34px;height:34px;margin:auto;font-size:15px}.quick strong{display:block;font-size:9px;margin-top:5px}.quick span{display:none}.section{padding:65px 16px}.centers,.doctors{display:block}.center-grid,.doctor-row{display:flex;overflow:auto;gap:11px;margin-top:28px;scrollbar-width:none}.center-grid article{flex:0 0 76%}.center-grid img{height:180px}.about-band{margin:0 16px 30px;display:block}.about-img{height:260px}.about-copy{padding:35px 25px}.doctor-row article{flex:0 0 68%}.doctor-photo{height:290px}.ai-feature{margin:0 16px 65px;display:block}.ai-feature-image{height:260px}.ai-feature-copy{padding:35px 25px}.info{display:block;padding-top:0}.info-grid{margin-top:12px}.floating-ai{display:none}.mobile-nav{position:fixed;z-index:200;left:0;right:0;bottom:0;height:67px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(255,255,255,.97);border-top:1px solid #e2eaf1}.mobile-nav a{text-align:center;font-size:16px;color:#617589}.mobile-nav a span{display:block;font-size:8px}.mobile-nav button{width:62px;height:62px;margin:-26px auto 0;border:5px solid #fff;border-radius:50%;background:#0873d1;color:#fff}.mobile-nav button b,.mobile-nav button span{display:block}.mobile-nav button span{font-size:8px}}

/* GJH V4 clean-image patch: all visible copy is HTML, never baked into artwork */
.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(249,253,255,.98) 0%,rgba(249,253,255,.93) 28%,rgba(249,253,255,.42) 47%,rgba(249,253,255,0) 68%);pointer-events:none}
.center-grid img{object-position:center 42%;display:block}
.about-img{background-position:62% center}
.ai-feature-image{background-position:58% center}
.location-card{background-position:60% center}
@media(max-width:800px){.hero-bg{background:linear-gradient(180deg,rgba(248,253,255,.98),rgba(239,249,255,.68) 44%,rgba(228,245,255,.12)),url('../img/clean/hero-clean.jpg') 62% center/cover no-repeat}.hero-bg:after{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.12) 58%,transparent)}.center-grid img{object-position:center 40%}}


/* ===== GJH AI DRAWER V1 ===== */
body.gjh-ai-open{overflow:hidden}.gjh-ai-backdrop{position:fixed;inset:0;z-index:900;background:rgba(7,20,36,.48);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:.28s}.gjh-ai-backdrop.open{opacity:1;visibility:visible}.gjh-ai-drawer{position:fixed;z-index:910;right:0;top:0;width:min(500px,100vw);height:100dvh;display:flex;flex-direction:column;background:#f7f9fc;box-shadow:-28px 0 70px rgba(6,35,65,.22);transform:translateX(104%);transition:transform .34s cubic-bezier(.22,.8,.3,1);overflow:hidden}.gjh-ai-drawer.open{transform:none}.gjh-ai-head{height:88px;flex:0 0 88px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(125deg,#082f58,#0874d1)}.gjh-ai-brand{display:flex;align-items:center;gap:13px}.gjh-ai-brand strong,.gjh-ai-brand small{display:block}.gjh-ai-brand strong{font-size:16px;letter-spacing:.01em}.gjh-ai-brand small{margin-top:4px;font-size:9px;font-weight:500;color:#cfeaff}.gjh-ai-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.13);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);font-size:20px}.gjh-ai-close{width:42px;height:42px;border:0;background:transparent;color:#fff;font-size:34px;font-weight:200;line-height:1;cursor:pointer}.gjh-ai-body{flex:1;min-height:0;overflow-y:auto;padding:20px 20px 120px;scroll-behavior:smooth}.gjh-ai-welcome{padding:20px;border:1px solid #e1e8f0;border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(18,61,98,.04)}.gjh-ai-welcome strong{display:block;font-size:13px;margin-bottom:7px}.gjh-ai-welcome p{margin:0;color:#405b73;font-size:12px;line-height:1.7}.gjh-ai-welcome small{display:block;margin-top:12px;color:#9aa8b6;font-size:9px;line-height:1.6}.gjh-ai-suggestions{display:flex;gap:7px;overflow-x:auto;padding:12px 1px 6px;scrollbar-width:none}.gjh-ai-suggestions::-webkit-scrollbar{display:none}.gjh-ai-suggestions button{flex:0 0 auto;border:1px solid #d8e5f1;border-radius:18px;padding:8px 12px;background:#fff;color:#356789;font-size:10px;cursor:pointer;transition:.2s}.gjh-ai-suggestions button:hover{border-color:#8fc7ef;background:#eef8ff}.gjh-ai-chat{padding-top:4px}.gjh-ai-msg{display:flex;margin:14px 0}.gjh-ai-msg.user{justify-content:flex-end}.gjh-ai-bubble{max-width:92%;border:1px solid #e0e8ef;border-radius:18px;padding:15px 16px;background:#fff;color:#213b52;font-size:12px;line-height:1.72;box-shadow:0 4px 18px rgba(15,57,92,.035);white-space:pre-wrap;overflow-wrap:anywhere}.gjh-ai-msg.user .gjh-ai-bubble{max-width:84%;border:0;border-radius:18px 18px 4px 18px;color:#fff;background:linear-gradient(135deg,#0c86df,#0862bd);box-shadow:0 7px 18px rgba(8,101,190,.16)}.gjh-ai-label{margin-bottom:9px;color:#0873d1;font-size:9px;font-weight:900;letter-spacing:.08em}.gjh-ai-sources{margin-top:14px;padding-top:12px;border-top:1px solid #edf1f5}.gjh-ai-sources b{display:block;margin-bottom:8px;font-size:10px;color:#61788d}.gjh-ai-source-buttons{display:flex;flex-wrap:wrap;gap:6px}.gjh-ai-source-buttons a{max-width:100%;padding:8px 10px;border:1px solid #d7e7f3;border-radius:15px;background:#f4faff;color:#086ebf;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gjh-ai-thinking{display:flex;align-items:center;gap:5px;height:18px}.gjh-ai-thinking i{width:6px;height:6px;border-radius:50%;background:#3b9ee5;animation:gjhAiPulse 1s infinite}.gjh-ai-thinking i:nth-child(2){animation-delay:.15s}.gjh-ai-thinking i:nth-child(3){animation-delay:.3s}@keyframes gjhAiPulse{0%,100%{opacity:.2;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}.gjh-ai-composer{position:absolute;z-index:2;left:15px;right:15px;bottom:30px;height:58px;padding:6px 6px 6px 17px;display:flex;align-items:center;border:1px solid #d7e1ea;border-radius:18px;background:#fff;box-shadow:0 12px 35px rgba(9,47,81,.12)}.gjh-ai-composer input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1e3950;font-size:12px}.gjh-ai-composer button{width:44px;height:44px;border:0;border-radius:15px;color:#fff;background:linear-gradient(135deg,#1594ec,#075dbb);font-size:21px;font-weight:700;cursor:pointer}.gjh-ai-composer.busy button{opacity:.55;pointer-events:none}.gjh-ai-footnote{position:absolute;z-index:3;left:0;right:0;bottom:8px;text-align:center;color:#a0adb9;font-size:8px;pointer-events:none}.gjh-ai-error{color:#b53b3b}.gjh-ai-drawer a:focus,.gjh-ai-drawer button:focus,.gjh-ai-drawer input:focus{outline:2px solid rgba(25,145,226,.3);outline-offset:2px}
@media(max-width:800px){.gjh-ai-drawer{width:100vw}.gjh-ai-head{height:70px;flex-basis:70px;padding:0 15px}.gjh-ai-mark{width:38px;height:38px;border-radius:13px}.gjh-ai-body{padding:14px 14px 116px}.gjh-ai-welcome{padding:17px}.gjh-ai-composer{left:10px;right:10px;bottom:27px;height:56px}.gjh-ai-bubble{max-width:95%;font-size:12px}.gjh-ai-msg.user .gjh-ai-bubble{max-width:88%}}

/* =========================================================
   GWANGJU AI DRAWER POLISH V1
   ========================================================= */

/* AI 하단 입력창 - 브라우저 기본 네모 포커스 제거 */
.gjh-ai-composer,
.gjh-ai-input-wrap,
.gjh-ai-composer form {
    outline: none !important;
}

.gjh-ai-composer input,
.gjh-ai-composer textarea,
.gjh-ai-input-wrap input,
.gjh-ai-input-wrap textarea {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

/* 포커스 시에도 네모 라인 방지 */
.gjh-ai-composer input:focus,
.gjh-ai-composer textarea:focus,
.gjh-ai-composer input:focus-visible,
.gjh-ai-composer textarea:focus-visible,
.gjh-ai-input-wrap input:focus,
.gjh-ai-input-wrap textarea:focus,
.gjh-ai-input-wrap input:focus-visible,
.gjh-ai-input-wrap textarea:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}

/* 입력 영역은 바깥쪽 둥근 박스 하나만 표시 */
.gjh-ai-composer {
    border-radius: 18px;
}

/* AI 답변 typography */
.gjh-ai-answer strong,
.gjh-ai-message strong,
.gjh-ai-bubble strong {
    font-weight: 700;
    color: #183b61;
}

.gjh-ai-answer p,
.gjh-ai-message p,
.gjh-ai-bubble p {
    margin: 0 0 10px;
}

.gjh-ai-answer p:last-child,
.gjh-ai-message p:last-child,
.gjh-ai-bubble p:last-child {
    margin-bottom: 0;
}

.gjh-ai-answer ul,
.gjh-ai-message ul,
.gjh-ai-bubble ul {
    margin: 8px 0 10px;
    padding-left: 20px;
}

.gjh-ai-answer li,
.gjh-ai-message li,
.gjh-ai-bubble li {
    margin: 4px 0;
    line-height: 1.65;
}
/* GWANGJU AI UI POLISH V2 */
.gjh-ai-drawer input:focus,.gjh-ai-drawer input:focus-visible,.gjh-ai-composer:focus,.gjh-ai-composer:focus-within{outline:0!important;box-shadow:none!important}
.gjh-ai-composer input{outline:0!important;box-shadow:none!important;border:0!important;-webkit-appearance:none;appearance:none}
.gjh-ai-rendered{white-space:normal}.gjh-ai-rendered p{margin:0 0 11px}.gjh-ai-rendered p:last-child{margin-bottom:0}.gjh-ai-rendered strong{font-weight:800;color:#173f63}.gjh-ai-rendered ul{margin:5px 0 12px;padding-left:18px}.gjh-ai-rendered li{margin:4px 0;line-height:1.68}.gjh-ai-rendered li::marker{color:#1686d9}
.gjh-ai-source-buttons a{display:inline-flex;align-items:center;gap:5px;max-width:100%;white-space:normal;line-height:1.35}.gjh-ai-source-buttons a span{font-size:11px;flex:0 0 auto}

/* GJH AI STREAM MARKDOWN V4 */
.gjh-ai-md-line {
    line-height: 1.7;
}

.gjh-ai-md-gap {
    height: 9px;
}

.gjh-ai-md-list {
    margin: 6px 0 10px;
    padding-left: 19px;
}

.gjh-ai-md-list li {
    margin: 3px 0;
    line-height: 1.65;
}

.gjh-ai-md-line strong,
.gjh-ai-md-list strong {
    font-weight: 700;
    color: #173f68;
}


/* =========================================================
   GJH MEDICAL STAFF 2-ROW SHOWCASE
   ========================================================= */

.gjh-staff{
    overflow:hidden;
}

.gjh-staff-head{
    margin-bottom:34px;
}

/* 기존 grid를 2줄짜리 가로 흐름으로 변경 */
#gjhStaffGrid.gjh-staff-slider{
    display:grid !important;

    grid-template-rows:
        repeat(2, minmax(0,1fr));

    grid-auto-flow:column;

    grid-auto-columns:
        calc((100% - 54px) / 4);

    gap:18px;

    overflow-x:auto;
    overflow-y:hidden;

    padding:4px 2px 18px;

    scroll-behavior:smooth;
    scroll-snap-type:x proximity;

    scrollbar-width:none;

    cursor:grab;

    -webkit-overflow-scrolling:touch;
}

#gjhStaffGrid.gjh-staff-slider::-webkit-scrollbar{
    display:none;
}

#gjhStaffGrid.gjh-staff-slider.is-dragging{
    cursor:grabbing;
    scroll-behavior:auto;
    user-select:none;
}

#gjhStaffGrid.gjh-staff-slider .gjh-doctor-card{
    display:block !important;
    width:100%;
    min-width:0;

    scroll-snap-align:start;
}

/* 카드 높이를 일정하게 */
#gjhStaffGrid.gjh-staff-slider .gjh-doctor-open{
    height:100%;
}

/* 아래쪽에 슬라이드 가능함을 은은하게 표현 */
.gjh-staff{
    position:relative;
}

.gjh-staff::after{
    content:'←  DRAG TO VIEW MORE  →';

    display:block;

    margin-top:5px;

    font-size:10px;
    font-weight:700;
    letter-spacing:.16em;

    text-align:right;

    color:#8aa0b5;
}


/* Tablet */
@media(max-width:1100px){

    #gjhStaffGrid.gjh-staff-slider{
        grid-auto-columns:
            calc((100% - 36px) / 3);
    }

}


/* Mobile */
@media(max-width:768px){

    .gjh-staff-head{
        margin-bottom:22px;
    }

    #gjhStaffGrid.gjh-staff-slider{
        grid-auto-columns:
            minmax(245px,82vw);

        gap:12px;

        padding-bottom:12px;

        scroll-snap-type:x mandatory;
    }

    .gjh-staff::after{
        content:'옆으로 밀어 더 많은 의료진 보기 →';

        font-size:10px;

        text-align:left;

        margin-top:8px;
    }

}


/* ==========================================================
   GJH MEDICAL STAFF SHOWCASE FINAL
   ========================================================== */

.gjh-staff-tabs{
    display:none !important;
}

#gjhStaffGrid.gjh-medical-showcase{

    display:grid !important;

    grid-template-rows:
        repeat(2, auto) !important;

    grid-template-columns:none !important;

    grid-auto-flow:column !important;

    grid-auto-columns:
        calc((100% - 54px) / 4) !important;

    gap:18px !important;

    overflow-x:auto !important;
    overflow-y:hidden !important;

    padding:0 0 18px !important;

    scroll-behavior:smooth;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
}

#gjhStaffGrid.gjh-medical-showcase::-webkit-scrollbar{
    display:none;
}

#gjhStaffGrid.gjh-medical-showcase
.gjh-doctor-card{

    display:block !important;

    visibility:visible !important;

    opacity:1 !important;

    width:100% !important;
}


/* 의료진 헤더와 카드 사이 */
.gjh-staff-head{
    margin-bottom:42px !important;
}


/* 우측에 은은한 페이드 */
.gjh-staff{
    position:relative;
}

.gjh-staff:after{

    content:"";

    position:absolute;

    right:0;
    top:150px;

    width:50px;
    height:calc(100% - 150px);

    pointer-events:none;

    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,0),
        rgba(255,255,255,.92)
      );
}


/* tablet */

@media(max-width:1100px){

    #gjhStaffGrid.gjh-medical-showcase{

        grid-auto-columns:
            calc((100% - 30px) / 3) !important;
    }

}


/* mobile */

@media(max-width:768px){

    #gjhStaffGrid.gjh-medical-showcase{

        grid-template-rows:
            repeat(2, auto) !important;

        grid-auto-columns:
            minmax(250px,82vw) !important;

        gap:12px !important;

        scroll-snap-type:x mandatory;
    }

    #gjhStaffGrid.gjh-medical-showcase
    .gjh-doctor-card{

        scroll-snap-align:start;
    }

    .gjh-staff-head{
        margin-bottom:25px !important;
    }

}

/* =========================================================
   GJH STAFF SLIDER V2
   PC = 4 columns x 2 rows = exactly 8 doctors per viewport
   ========================================================= */

#gjhStaffGrid.gjh-medical-showcase{
    display:grid !important;

    /* 정확히 두 줄 */
    grid-template-rows:repeat(2, auto) !important;

    /*
     * 중요:
     * column 방향으로 채워서
     *
     * 1  3  5  7 | 9 ...
     * 2  4  6  8 | 10...
     *
     * 형태로 옆으로 이어짐
     */
    grid-auto-flow:column !important;

    /* PC 한 화면 정확히 4열 */
    grid-auto-columns:calc((100% - 54px) / 4) !important;

    gap:18px !important;

    width:100% !important;
    max-width:100% !important;

    overflow-x:auto !important;
    overflow-y:hidden !important;

    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;

    scrollbar-width:none;

    padding:0 0 16px !important;

    -webkit-overflow-scrolling:touch;
}

#gjhStaffGrid.gjh-medical-showcase::-webkit-scrollbar{
    display:none;
}

#gjhStaffGrid.gjh-medical-showcase .gjh-doctor-card{
    width:100% !important;
    min-width:0 !important;

    display:block !important;

    scroll-snap-align:start;
}

/* 오른쪽 카드가 잘리지 않게 */
.gjh-staff .container,
.gjh-staff-inner{
    overflow:visible;
}

/* Tablet = 3열 x 2줄 */
@media(max-width:1100px){

    #gjhStaffGrid.gjh-medical-showcase{
        grid-auto-columns:calc((100% - 36px) / 3) !important;
    }

}

/* Mobile = 1.15개 정도 보여서 옆으로 넘길 수 있음을 표현 */
@media(max-width:768px){

    #gjhStaffGrid.gjh-medical-showcase{
        grid-template-rows:repeat(2, auto) !important;
        grid-auto-columns:82% !important;
        gap:12px !important;
    }

}

/* ======================================================
   GJH MEDICAL STAFF PAGED SHOWCASE V3
   ====================================================== */

#gjhStaffGrid,
#gjhStaffGrid.gjh-medical-showcase{

    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    grid-template-rows:none !important;

    grid-auto-flow:row !important;
    grid-auto-columns:auto !important;

    gap:18px !important;

    width:100% !important;

    overflow:visible !important;

    padding:0 !important;
}

#gjhStaffGrid .gjh-doctor-card{

    width:100% !important;

    display:block;

    opacity:1;
    transform:none;
}

#gjhStaffGrid .gjh-doctor-card[hidden]{
    display:none !important;
}


/* 카드 등장 */

#gjhStaffGrid .gjh-doctor-card.gjh-card-enter{
    animation:
        gjhStaffEnter .45s ease both;
}

@keyframes gjhStaffEnter{

    from{
        opacity:0;
        transform:translateY(8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* navigation */

.gjh-staff-pager{

    display:flex;

    justify-content:center;
    align-items:center;

    gap:15px;

    margin-top:28px;
}

.gjh-staff-arrow{

    width:42px;
    height:42px;

    border-radius:50%;

    border:1px solid #dce8f3;

    background:#fff;

    color:#0877ce;

    font-size:28px;
    line-height:1;

    cursor:pointer;

    transition:.2s;
}

.gjh-staff-arrow:hover{

    background:#0877ce;
    color:#fff;
    border-color:#0877ce;

    transform:translateY(-2px);
}

.gjh-staff-dots{

    display:flex;
    align-items:center;

    gap:7px;
}

.gjh-staff-dot{

    width:7px;
    height:7px;

    padding:0;

    border:0;
    border-radius:50%;

    background:#ccd9e5;

    cursor:pointer;

    transition:.25s;
}

.gjh-staff-dot.is-active{

    width:25px;

    border-radius:10px;

    background:#0877ce;
}


/* Tablet */

@media(max-width:1050px){

    #gjhStaffGrid,
    #gjhStaffGrid.gjh-medical-showcase{

        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }

}


/* Mobile */

@media(max-width:600px){

    #gjhStaffGrid,
    #gjhStaffGrid.gjh-medical-showcase{

        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;

        gap:10px !important;
    }

    .gjh-staff-pager{
        margin-top:20px;
    }

}

/* ======================================================
   GJH HOME MEDICAL STAFF CAROUSEL FINAL
   ====================================================== */

#gjhStaffGrid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    grid-auto-flow:row !important;
    grid-auto-columns:auto !important;
    gap:18px !important;
    overflow:visible !important;
}

#gjhStaffGrid .gjh-doctor-card[hidden]{
    display:none !important;
}

.gjh-home-staff-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin:28px 0 0;
}

.gjh-home-staff-arrow{
    width:42px;
    height:42px;
    border:1px solid #dce8f2;
    border-radius:50%;
    background:#fff;
    color:#0878ce;
    font-size:27px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 6px 20px rgba(14,61,100,.06);
    transition:.2s ease;
}

.gjh-home-staff-arrow:hover{
    background:#0878ce;
    border-color:#0878ce;
    color:#fff;
    transform:translateY(-2px);
}

.gjh-home-staff-dots{
    display:flex;
    align-items:center;
    gap:7px;
}

.gjh-home-staff-dot{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:20px;
    background:#cbd9e5;
    cursor:pointer;
    transition:.25s ease;
}

.gjh-home-staff-dot.active{
    width:27px;
    background:#0878ce;
}

@media(max-width:900px){
    #gjhStaffGrid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media(max-width:600px){
    #gjhStaffGrid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
    }

    .gjh-home-staff-nav{
        margin-top:20px;
    }
}


/* =========================================================
   GJH COMMON SUB HEADER FINAL
   ========================================================= */

.gjh-sub-header{
    position:relative;
    z-index:1000;
    width:100%;
    background:#fff;
    border-bottom:1px solid rgba(11,42,82,.08);
}

.gjh-sub-header .nav{
    width:min(1280px,calc(100% - 48px));
    min-height:82px;
    margin:0 auto;

    display:flex;
    align-items:center;
    gap:42px;
}

.gjh-sub-header .logo{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    text-decoration:none;
}

.gjh-sub-header .logo img{
    display:block;
    width:auto;
    max-width:170px;
    max-height:48px;
    object-fit:contain;
}

.gjh-sub-header nav{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:34px;
}

.gjh-sub-header nav a{
    position:relative;
    display:flex;
    align-items:center;
    min-height:82px;

    color:#1b2c45;
    text-decoration:none;

    font-size:15px;
    font-weight:700;
    white-space:nowrap;

    transition:color .2s ease;
}

.gjh-sub-header nav a:hover,
.gjh-sub-header nav a.on{
    color:#1769e0;
}

.gjh-sub-header nav a.on:after{
    content:"";

    position:absolute;
    left:0;
    right:0;
    bottom:0;

    height:3px;

    border-radius:3px 3px 0 0;
    background:#1769e0;
}

.gjh-sub-header .tools{
    flex:0 0 auto;

    display:flex;
    align-items:center;
    gap:10px;
}

.gjh-sub-header .tools>a{
    color:#758197;
    text-decoration:none;

    font-size:13px;
    font-weight:700;
}

.gjh-sub-header .tools .ai-open{
    appearance:none;

    border:0;
    border-radius:9px;

    padding:11px 15px;

    background:#092a56;
    color:#fff;

    font-size:12px;
    font-weight:800;

    cursor:pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}

.gjh-sub-header .tools .ai-open:hover{
    background:#1769e0;
    transform:translateY(-1px);
}


/* tablet */
@media(max-width:1050px){

    .gjh-sub-header .nav{
        gap:20px;
    }

    .gjh-sub-header nav{
        gap:18px;
    }

    .gjh-sub-header nav a{
        font-size:13px;
    }

    .gjh-sub-header .logo img{
        max-width:145px;
    }

}


/* mobile */
@media(max-width:760px){

    .gjh-sub-header{
        overflow:hidden;
    }

    .gjh-sub-header .nav{
        width:100%;
        min-height:auto;

        display:grid;
        grid-template-columns:1fr auto;

        gap:0;

        padding:12px 16px 0;
    }

    .gjh-sub-header .logo{
        min-height:44px;
    }

    .gjh-sub-header .logo img{
        max-width:135px;
        max-height:40px;
    }

    .gjh-sub-header .tools{
        justify-self:end;
    }

    .gjh-sub-header .tools>a{
        display:none;
    }

    .gjh-sub-header .tools .ai-open{
        padding:9px 12px;
        border-radius:8px;

        font-size:11px;
    }

    .gjh-sub-header nav{
        grid-column:1 / -1;

        width:calc(100% + 32px);
        margin-left:-16px;

        display:flex;
        justify-content:flex-start;
        gap:0;

        overflow-x:auto;

        padding:0 16px;

        border-top:1px solid #edf1f6;

        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .gjh-sub-header nav::-webkit-scrollbar{
        display:none;
    }

    .gjh-sub-header nav a{
        flex:0 0 auto;

        min-height:48px;

        padding:0 15px;

        font-size:12px;
    }

    .gjh-sub-header nav a:first-child{
        padding-left:0;
    }

    .gjh-sub-header nav a.on:after{
        height:2px;
    }

}


/* =========================================================
   MAIN NAV - 7 MENU SUPPORT
   ========================================================= */

@media(min-width:1051px){

    /* 메뉴가 7개가 되어도 헤더 안에서 안정적으로 표시 */
    header nav,
    .site-header nav,
    .main-header nav{
        white-space:nowrap;
    }

}


/* 중간 해상도에서 메뉴 간격만 살짝 축소 */
@media(min-width:1051px) and (max-width:1350px){

    header nav,
    .site-header nav,
    .main-header nav{
        gap:22px;
    }

}

/* ==========================================================
   GJH COMMON HEADER FINAL
   2026-09-26
   ========================================================== */

.gjh-sub-header .nav{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
}

.gjh-sub-header .nav > nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:34px;
}

.gjh-sub-header .nav > nav > a{
    position:relative;
    white-space:nowrap;
}

.gjh-sub-header .nav > nav > a.on{
    color:#0877d8;
}

.gjh-sub-header .nav > nav > a.on:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-27px;
    height:3px;
    border-radius:3px;
    background:#1684e8;
}

.gjh-sub-header .tools{
    display:flex;
    align-items:center;
    gap:12px;
}

.gjh-sub-header .gjh-lang{
    color:#94a1ad;
    font-size:10px;
    font-weight:700;
}


/* 7개 메뉴에서도 좁아지지 않도록 */
@media (max-width:1100px){

    .gjh-sub-header .nav > nav{
        gap:22px;
    }

    .gjh-sub-header .nav > nav > a{
        font-size:13px;
    }
}


@media (max-width:900px){

    .gjh-sub-header .nav > nav{
        gap:15px;
    }

    .gjh-sub-header .nav > nav > a{
        font-size:12px;
    }
}


/* ==========================================================
   GJH HEADER ACTIVE MENU LINE FIX
   ========================================================== */

.gjh-sub-header .nav > nav > a{
    position:relative;
    display:flex;
    align-items:center;
    height:100%;
}

/* 기존 멀리 떨어진 underline 제거 */
.gjh-sub-header .nav > nav > a.on:after{
    content:"";
    position:absolute;

    left:50%;
    right:auto;
    bottom:-9px;

    width:26px;
    height:2px;

    transform:translateX(-50%);

    border-radius:999px;
    background:#1684e8;

    box-shadow:none;
}

/* 활성 메뉴 글자도 과하게 파랗지 않게 */
.gjh-sub-header .nav > nav > a.on{
    color:#0878d5;
    font-weight:800;
}


/* ==========================================================
   GJH ACTIVE NAV FINAL FIX
   ========================================================== */

/* 이전 가상요소 underline 완전 제거 */
.gjh-sub-header .nav > nav > a.on::after,
.gjh-sub-header .nav > nav > a.on:after{
    display:none !important;
    content:none !important;
}

/* 메뉴 링크 높이 강제 해제 */
.gjh-sub-header .nav > nav > a{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;

    height:auto !important;

    padding:8px 0 7px !important;

    border-bottom:2px solid transparent !important;

    line-height:1.2 !important;
}

/* 현재 메뉴 */
.gjh-sub-header .nav > nav > a.on{
    color:#0878d5 !important;
    font-weight:800 !important;

    border-bottom-color:#1684e8 !important;
}

/* underline 폭을 글자 폭 그대로 사용 */
.gjh-sub-header .nav > nav{
    align-items:center !important;
}

/* ==========================================================
   GJH HEADER ACTIVE MENU - PREMIUM PILL FINAL
   ========================================================== */

/* 기존 underline 완전 제거 */
.gjh-sub-header .nav > nav > a.on::after,
.gjh-sub-header .nav > nav > a.on:after{
    display:none !important;
    content:none !important;
}

/* 모든 메뉴 */
.gjh-sub-header .nav > nav > a{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    height:34px !important;
    padding:0 12px !important;

    border:0 !important;
    border-radius:10px !important;

    line-height:34px !important;

    transition:
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease !important;
}

/* 일반 메뉴 hover */
.gjh-sub-header .nav > nav > a:not(.on):hover{
    color:#0878d5 !important;
    background:#f5faff !important;
}

/* 현재 페이지 */
.gjh-sub-header .nav > nav > a.on{
    color:#0878d5 !important;
    background:#edf7ff !important;

    border:0 !important;

    font-weight:800 !important;

    box-shadow:
        inset 0 0 0 1px rgba(20,132,232,.08) !important;
}

/* 메뉴 간격 재조정 */
.gjh-sub-header .nav > nav{
    gap:15px !important;
}

/* GJH ACTIVE MENU COMPACT */
.gjh-sub-header .nav > nav > a{
    height:27px !important;
    padding:0 8px !important;
    line-height:27px !important;
    border-radius:7px !important;
}

.gjh-sub-header .nav > nav > a.on{
    color:#0878d5 !important;
    background:#f1f8fe !important;
    box-shadow:inset 0 0 0 1px rgba(20,132,232,.06) !important;
}

.gjh-sub-header .nav > nav{
    gap:20px !important;
}

/* ==========================================================
   GJH NAV ACTIVE - CLEAN FINAL
   활성 메뉴 박스 제거 / 텍스트 바로 아래 포인트
   ========================================================== */

.gjh-sub-header .nav > nav{
    align-items:center !important;
}

/* 모든 메뉴 */
.gjh-sub-header .nav > nav > a{
    position:relative !important;

    display:inline-block !important;
    flex:none !important;

    width:auto !important;
    height:auto !important;
    min-height:0 !important;

    margin:0 !important;
    padding:5px 2px 7px !important;

    line-height:1.2 !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;
    box-shadow:none !important;
}

/* 기존 after 완전 제거 */
.gjh-sub-header .nav > nav > a::after{
    display:none !important;
    content:none !important;
}

/* 현재 메뉴 */
.gjh-sub-header .nav > nav > a.on{
    color:#087bd5 !important;
    background:
        linear-gradient(
            #1684e8,
            #1684e8
        )
        center bottom / 18px 2px
        no-repeat !important;

    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;

    font-weight:800 !important;
}

/* hover도 큰 박스 금지 */
.gjh-sub-header .nav > nav > a:not(.on):hover{
    color:#087bd5 !important;
    background:transparent !important;
}

/* 메뉴 간격 */
.gjh-sub-header .nav > nav{
    gap:30px !important;
}

@media(max-width:1100px){
    .gjh-sub-header .nav > nav{
        gap:22px !important;
    }
}


/* ==========================================================
   GJH MOBILE GLOBAL HEADER / MENU FINAL
   2026-09-26
========================================================== */

.gjh-mobile-menu,
.gjh-mobile-menu-backdrop,
.gjh-mobile-menu-trigger{
    display:none;
}


@media (max-width: 820px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    body{
        padding-bottom:76px;
    }


    /* ------------------------------------------
       GLOBAL HEADER
    ------------------------------------------ */

    header,
    .gjh-sub-header{
        height:76px !important;
        min-height:76px !important;
        background:#fff !important;
        border-bottom:1px solid #e8eff6 !important;
        box-shadow:
            0 5px 20px rgba(15,50,80,.045) !important;
        position:relative;
        z-index:1000;
    }

    header > .inner,
    header > div,
    .gjh-sub-header .inner,
    .gjh-sub-header .nav{
        height:76px !important;
        min-height:76px !important;
    }


    /* 데스크톱 메뉴 완전히 제거 */

    header nav,
    .gjh-sub-header nav,
    .gjh-sub-header .nav > nav{
        display:none !important;
    }


    /* 로고 */

    header .logo,
    .gjh-sub-header .logo{
        display:flex !important;
        align-items:center !important;
        position:absolute !important;
        left:18px !important;
        top:50% !important;
        transform:translateY(-50%) !important;
        margin:0 !important;
        padding:0 !important;
        width:auto !important;
        height:auto !important;
    }

    header .logo img,
    .gjh-sub-header .logo img{
        display:block !important;
        width:auto !important;
        max-width:150px !important;
        height:42px !important;
        object-fit:contain !important;
    }


    /* 오른쪽 도구 */

    header .tools,
    .gjh-sub-header .tools{
        display:flex !important;
        align-items:center !important;
        gap:8px !important;

        position:absolute !important;
        right:14px !important;
        top:50% !important;

        transform:translateY(-50%) !important;

        margin:0 !important;
        padding:0 !important;

        width:auto !important;
        height:auto !important;
    }


    /* KR 등 PC용 텍스트 숨김 */

    header .tools > span,
    header .tools > a:not(.ai-open):not([data-ai-open]),
    .gjh-sub-header .tools > span,
    .gjh-sub-header .tools > a:not(.ai-open):not([data-ai-open]){
        display:none !important;
    }


    /* AI 버튼 */

    header .ai-open,
    header [data-ai-open],
    .gjh-sub-header .ai-open,
    .gjh-sub-header [data-ai-open]{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:auto !important;
        min-width:82px !important;
        height:40px !important;

        margin:0 !important;
        padding:0 15px !important;

        border:0 !important;
        border-radius:22px !important;

        background:#087fe0 !important;
        color:#fff !important;

        font-size:12px !important;
        font-weight:800 !important;
        line-height:1 !important;

        white-space:nowrap !important;
        box-shadow:none !important;
    }


    /* 햄버거 */

    .gjh-mobile-menu-trigger{
        display:flex !important;
        width:40px;
        height:40px;
        padding:0;
        border:0;
        border-radius:50%;
        background:#f1f7fc;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        gap:4px;
        cursor:pointer;
    }

    .gjh-mobile-menu-trigger i{
        display:block;
        width:16px;
        height:2px;
        background:#06345d;
        border-radius:3px;
    }


    /* ------------------------------------------
       MOBILE MENU
    ------------------------------------------ */

    .gjh-mobile-menu-backdrop{
        display:block;

        position:fixed;
        inset:0;

        z-index:99990;

        background:
            rgba(2,25,48,.48);

        backdrop-filter:blur(4px);
        -webkit-backdrop-filter:blur(4px);

        opacity:0;
        visibility:hidden;

        transition:
            opacity .25s ease,
            visibility .25s ease;
    }

    .gjh-mobile-menu-backdrop.open{
        opacity:1;
        visibility:visible;
    }


    .gjh-mobile-menu{
        display:block;

        position:fixed;
        z-index:99999;

        top:0;
        right:0;
        bottom:0;

        width:min(88vw,390px);

        padding:
            env(safe-area-inset-top)
            0
            env(safe-area-inset-bottom);

        background:#fff;

        overflow-y:auto;

        transform:translateX(105%);

        transition:
            transform .32s
            cubic-bezier(.2,.75,.25,1);

        box-shadow:
            -20px 0 60px
            rgba(3,37,70,.16);
    }

    .gjh-mobile-menu.open{
        transform:translateX(0);
    }


    html.gjh-menu-open,
    body.gjh-menu-open{
        overflow:hidden !important;
    }


    .gjh-mobile-menu-head{
        height:76px;

        padding:0 20px;

        display:flex;
        align-items:center;
        justify-content:space-between;

        border-bottom:
            1px solid #e8eef5;
    }

    .gjh-mobile-menu-logo img{
        display:block;
        width:auto;
        height:38px;
    }

    .gjh-mobile-menu-close{
        width:40px;
        height:40px;

        border:0;
        border-radius:50%;

        background:#f0f6fb;

        color:#08345c;

        font-size:27px;
        font-weight:300;

        line-height:1;

        cursor:pointer;
    }


    .gjh-mobile-menu-intro{
        padding:28px 22px 23px;

        background:
            linear-gradient(
                135deg,
                #07365e,
                #087fd8
            );

        color:#fff;
    }

    .gjh-mobile-menu-intro small{
        display:block;

        margin-bottom:9px;

        color:#8fd4ff;

        font-size:10px;
        font-weight:900;

        letter-spacing:.19em;
    }

    .gjh-mobile-menu-intro strong{
        display:block;

        font-size:22px;
        line-height:1.35;

        letter-spacing:-.04em;
    }

    .gjh-mobile-menu-intro p{
        margin:7px 0 0;

        color:
            rgba(255,255,255,.72);

        font-size:12px;
    }


    .gjh-mobile-menu-nav{
        display:block !important;
        padding:8px 20px;
    }

    .gjh-mobile-menu-nav a{
        min-height:58px;

        display:flex !important;
        align-items:center;
        justify-content:space-between;

        padding:0 3px;

        color:#092f51;

        text-decoration:none;

        border-bottom:
            1px solid #edf2f6;

        font-size:16px;
        font-weight:800;
    }

    .gjh-mobile-menu-nav a span{
        display:flex;
        align-items:center;
        gap:13px;
    }

    .gjh-mobile-menu-nav a small{
        width:20px;

        color:#1290e6;

        font-size:9px;
        font-weight:900;
    }

    .gjh-mobile-menu-nav a b{
        color:#1494e8;
        font-size:17px;
        font-weight:500;
    }


    .gjh-mobile-menu-quick{
        padding:16px 20px 30px;

        display:grid;
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .gjh-mobile-menu-quick a,
    .gjh-mobile-menu-quick button{
        min-height:76px;

        padding:14px;

        display:flex;
        flex-direction:column;
        justify-content:center;

        border:0;
        border-radius:16px;

        text-decoration:none;
        text-align:left;

        cursor:pointer;
    }

    .gjh-mobile-menu-quick a{
        background:#eef7fd;
        color:#06375f;
    }

    .gjh-mobile-menu-quick button{
        background:#087fdc;
        color:#fff;
    }

    .gjh-mobile-menu-quick small{
        display:block;

        margin-bottom:5px;

        font-size:9px;
        font-weight:800;

        opacity:.65;
    }

    .gjh-mobile-menu-quick strong{
        display:block;

        font-size:13px;
        font-weight:900;
    }


    /* ------------------------------------------
       SUB PAGE MOBILE CONTENT
    ------------------------------------------ */

    .sub-hero,
    .dept-hero,
    .center-hero,
    .ward-hero,
    .guide-hero,
    .checkup-hero{
        margin-top:0 !important;
    }

    main{
        max-width:100%;
        overflow:hidden;
    }


    /* 하단 메뉴 위 콘텐츠 보호 */

    footer{
        margin-bottom:70px;
    }

}


/* 작은 휴대폰 */
@media (max-width: 390px){

    header .logo img,
    .gjh-sub-header .logo img{
        max-width:132px !important;
        height:37px !important;
    }

    header .ai-open,
    header [data-ai-open],
    .gjh-sub-header .ai-open,
    .gjh-sub-header [data-ai-open]{
        min-width:72px !important;
        height:38px !important;
        padding:0 11px !important;
        font-size:11px !important;
    }

    .gjh-mobile-menu-trigger{
        width:38px;
        height:38px;
    }

}


/* =========================================================
   GJH MOBILE HEADER / BOTTOM NAV FIX V2
========================================================= */

@media (max-width:820px){

    /*
     * HEADER
     * 로고 / AI / 햄버거를 하나의 헤더 안에 배치
     */

    header,
    .gjh-sub-header{
        position:relative !important;
        height:72px !important;
        min-height:72px !important;
        overflow:visible !important;
        background:#fff !important;
        z-index:9000 !important;
    }


    header > .inner,
    header > div:first-child,
    .gjh-sub-header > .inner,
    .gjh-sub-header .inner,
    .gjh-sub-header .nav{
        position:relative !important;
        height:72px !important;
        min-height:72px !important;
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
        padding:0 !important;
    }


    /*
     * LOGO
     */

    header .logo,
    .gjh-sub-header .logo{
        position:absolute !important;

        left:18px !important;
        right:auto !important;

        top:50% !important;

        transform:
            translateY(-50%) !important;

        display:flex !important;
        align-items:center !important;

        margin:0 !important;
        padding:0 !important;

        width:auto !important;
        height:auto !important;

        z-index:5 !important;
    }


    header .logo img,
    .gjh-sub-header .logo img{
        display:block !important;

        width:auto !important;
        height:38px !important;
        max-width:145px !important;

        object-fit:contain !important;
    }


    /*
     * PC NAV 완전 숨김
     */

    header nav,
    .gjh-sub-header nav,
    .gjh-sub-header .nav > nav{
        display:none !important;
    }


    /*
     * TOOL AREA
     *
     * AI 버튼 오른쪽 공간을 햄버거용으로 남긴다.
     */

    header .tools,
    .gjh-sub-header .tools{
        position:absolute !important;

        top:50% !important;
        right:58px !important;

        transform:
            translateY(-50%) !important;

        display:flex !important;
        align-items:center !important;

        width:auto !important;
        height:auto !important;

        margin:0 !important;
        padding:0 !important;

        z-index:6 !important;
    }


    header .tools > span,
    .gjh-sub-header .tools > span{
        display:none !important;
    }


    header .tools .ai-open,
    header .tools [data-ai-open],
    .gjh-sub-header .tools .ai-open,
    .gjh-sub-header .tools [data-ai-open]{
        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        min-width:82px !important;
        width:auto !important;

        height:38px !important;

        padding:0 14px !important;

        margin:0 !important;

        border:0 !important;
        border-radius:22px !important;

        background:#087fdc !important;
        color:#fff !important;

        font-size:11px !important;
        font-weight:800 !important;

        white-space:nowrap !important;
    }


    /*
     * HAMBURGER
     *
     * 기존 DOM 위치와 무관하게
     * 화면 헤더 우측에 고정.
     */

    .gjh-mobile-menu-trigger{
        display:flex !important;

        position:absolute !important;

        top:50% !important;
        right:14px !important;
        left:auto !important;

        transform:
            translateY(-50%) !important;

        width:38px !important;
        height:38px !important;

        margin:0 !important;
        padding:0 !important;

        align-items:center !important;
        justify-content:center !important;
        flex-direction:column !important;

        gap:4px !important;

        border:0 !important;
        border-radius:50% !important;

        background:#f0f7fc !important;

        box-shadow:none !important;

        z-index:9999 !important;
    }


    .gjh-mobile-menu-trigger i{
        display:block !important;

        width:16px !important;
        height:2px !important;

        margin:0 !important;

        background:#07375f !important;

        border-radius:10px !important;
    }


    /*
     * 헤더 다음 콘텐츠가 햄버거와 겹치지 않도록
     */

    header + main,
    .gjh-sub-header + main{
        margin-top:0 !important;
    }


    /*
     * MOBILE BOTTOM NAV
     */

    .mobile-bottom-nav,
    .bottom-nav,
    .mobile-nav,
    .gjh-mobile-bottom{
        z-index:8000 !important;
    }

}


/*
 * 작은 모바일
 */

@media (max-width:390px){

    header .logo img,
    .gjh-sub-header .logo img{
        height:34px !important;
        max-width:128px !important;
    }

    header .tools,
    .gjh-sub-header .tools{
        right:54px !important;
    }

    header .tools .ai-open,
    header .tools [data-ai-open],
    .gjh-sub-header .tools .ai-open,
    .gjh-sub-header .tools [data-ai-open]{
        min-width:70px !important;
        height:36px !important;

        padding:0 10px !important;

        font-size:10px !important;
    }

    .gjh-mobile-menu-trigger{
        right:10px !important;

        width:36px !important;
        height:36px !important;
    }

}


/* =========================================================
   GJH GUIDE DETAIL MOBILE FINAL
   이용안내 상세페이지 모바일 최적화
========================================================= */

@media (max-width:820px){

    /*
     * 이용안내 상세페이지 전체 폭
     */
    body{
        overflow-x:hidden !important;
    }

    .guide-detail-page,
    .guide-detail-wrap,
    .guide-detail-container,
    .guide-layout,
    .guide-content-wrap{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box !important;
    }


    /*
     * PC 좌측 사이드바 → 모바일 상단 탭
     */
    .guide-sidebar{
        position:relative !important;
        top:auto !important;

        width:calc(100% - 32px) !important;
        max-width:none !important;
        min-width:0 !important;

        margin:28px 16px 34px !important;

        border-radius:18px !important;
        overflow:hidden !important;

        box-shadow:
            0 12px 32px rgba(18,70,110,.08) !important;
    }


    /*
     * 파란 HOSPITAL GUIDE / 이용안내 제목은
     * 모바일에서는 제거
     */
    .guide-sidebar-head,
    .guide-sidebar-header,
    .guide-side-head{
        display:none !important;
    }


    /*
     * 메뉴 목록
     */
    .guide-sidebar nav,
    .guide-sidebar ul,
    .guide-side-menu{
        display:flex !important;

        width:100% !important;

        margin:0 !important;
        padding:0 !important;

        overflow-x:auto !important;
        overflow-y:hidden !important;

        white-space:nowrap !important;

        background:#fff !important;

        border:1px solid #dce9f2 !important;
        border-radius:16px !important;

        scrollbar-width:none !important;

        -webkit-overflow-scrolling:touch !important;
    }

    .guide-sidebar nav::-webkit-scrollbar,
    .guide-sidebar ul::-webkit-scrollbar,
    .guide-side-menu::-webkit-scrollbar{
        display:none !important;
    }


    /*
     * 각 메뉴
     */
    .guide-sidebar nav a,
    .guide-sidebar li a,
    .guide-side-menu a{
        flex:0 0 auto !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:auto !important;
        min-width:auto !important;
        height:50px !important;

        padding:0 18px !important;

        margin:0 !important;

        border:0 !important;
        border-right:1px solid #e6eef4 !important;
        border-radius:0 !important;

        background:#fff !important;

        color:#36566d !important;

        font-size:13px !important;
        font-weight:700 !important;

        line-height:1 !important;

        white-space:nowrap !important;
    }


    /*
     * 메뉴의 화살표 숨김
     */
    .guide-sidebar nav a::after,
    .guide-sidebar li a::after,
    .guide-side-menu a::after{
        display:none !important;
    }


    /*
     * 현재 메뉴
     */
    .guide-sidebar nav a.on,
    .guide-sidebar nav a.active,
    .guide-sidebar li.active a,
    .guide-sidebar li.on a,
    .guide-side-menu a.on,
    .guide-side-menu a.active{
        color:#087ed8 !important;
        background:#eef8ff !important;

        box-shadow:
            inset 0 -3px 0 #0784e3 !important;
    }


    /*
     * 좌측 대표전화 박스는 모바일 제거
     * 페이지 하단 CTA/대표전화가 있으므로 중복
     */
    .guide-sidebar .guide-phone,
    .guide-sidebar .side-phone,
    .guide-side-phone,
    .guide-sidebar-contact{
        display:none !important;
    }


    /*
     * 2단 레이아웃 해제
     */
    .guide-detail-layout,
    .guide-layout,
    .guide-body-layout,
    .guide-inner{
        display:block !important;

        width:100% !important;
        max-width:100% !important;

        grid-template-columns:1fr !important;

        gap:0 !important;

        margin:0 !important;
        padding:0 !important;
    }


    /*
     * 실제 본문
     */
    .guide-detail-content,
    .guide-main,
    .guide-content{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        margin:0 !important;
        padding:0 16px 48px !important;

        box-sizing:border-box !important;
    }


    /*
     * OUTPATIENT / 외래 안내 제목
     */
    .guide-detail-content > small,
    .guide-main > small,
    .guide-content > small{
        display:block !important;

        margin:0 0 12px !important;

        font-size:11px !important;
        letter-spacing:2px !important;
    }

    .guide-detail-content > h1,
    .guide-detail-content > h2,
    .guide-main > h1,
    .guide-main > h2,
    .guide-content > h1,
    .guide-content > h2{
        margin:0 0 12px !important;

        font-size:28px !important;
        line-height:1.22 !important;
        letter-spacing:-1px !important;
    }


    /*
     * 본문 상단 설명
     */
    .guide-detail-content > p,
    .guide-main > p,
    .guide-content > p{
        margin-bottom:22px !important;

        font-size:14px !important;
        line-height:1.7 !important;
    }


    /*
     * 안내 콘텐츠 박스
     */
    .guide-info-box,
    .guide-detail-box,
    .guide-panel,
    .guide-section-box,
    .guide-step-box{
        width:100% !important;
        max-width:100% !important;

        margin-left:0 !important;
        margin-right:0 !important;

        padding:22px !important;

        box-sizing:border-box !important;

        border-radius:18px !important;
    }


    /*
     * STEP 목록
     */
    .guide-steps,
    .guide-step-list{
        width:100% !important;

        margin:0 !important;
        padding:0 !important;
    }

    .guide-step,
    .guide-step-item{
        display:grid !important;

        grid-template-columns:48px minmax(0,1fr) !important;

        gap:14px !important;

        width:100% !important;

        padding:20px 0 !important;

        margin:0 !important;

        align-items:start !important;

        box-sizing:border-box !important;
    }


    /*
     * STEP 번호
     */
    .guide-step-number,
    .guide-step-num{
        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        width:46px !important;
        height:46px !important;

        margin:0 !important;

        border-radius:50% !important;

        font-size:12px !important;
        font-weight:800 !important;
    }


    /*
     * STEP 텍스트
     */
    .guide-step-content,
    .guide-step-text{
        min-width:0 !important;
        width:auto !important;
    }

    .guide-step-content small,
    .guide-step-text small{
        display:block !important;

        margin:1px 0 5px !important;

        font-size:9px !important;
        letter-spacing:1px !important;
    }

    .guide-step-content h3,
    .guide-step-text h3{
        margin:0 0 5px !important;

        font-size:16px !important;
        line-height:1.35 !important;
    }

    .guide-step-content p,
    .guide-step-text p{
        margin:0 !important;

        font-size:12px !important;
        line-height:1.65 !important;

        word-break:keep-all !important;
    }


    /*
     * 테이블이 있을 경우 모바일 가로스크롤
     */
    .guide-table-wrap,
    .guide-detail-content table,
    .guide-main table{
        max-width:100% !important;
    }

    .guide-table-wrap{
        overflow-x:auto !important;
        -webkit-overflow-scrolling:touch !important;
    }


    /*
     * 하단 CTA
     */
    .guide-help,
    .guide-detail-help,
    .guide-contact{
        margin-left:16px !important;
        margin-right:16px !important;

        width:auto !important;

        border-radius:18px !important;
    }


    /*
     * 모바일 하단 네비 때문에 마지막 내용 가림 방지
     */
    main{
        padding-bottom:82px !important;
    }

}


/* =========================================================
   540px 이하
========================================================= */

@media (max-width:540px){

    .guide-sidebar{
        margin-top:24px !important;
        margin-bottom:30px !important;
    }

    .guide-sidebar nav a,
    .guide-sidebar li a,
    .guide-side-menu a{
        height:48px !important;
        padding:0 16px !important;

        font-size:12px !important;
    }

    .guide-detail-content,
    .guide-main,
    .guide-content{
        padding-left:16px !important;
        padding-right:16px !important;
    }

    .guide-info-box,
    .guide-detail-box,
    .guide-panel,
    .guide-section-box,
    .guide-step-box{
        padding:20px !important;
    }

}


/* =========================================================
   GJH GUIDE DETAIL MOBILE FINAL
   이용안내 상세페이지 모바일 최적화
========================================================= */

@media (max-width:820px){

    /*
     * 이용안내 상세페이지 전체 폭
     */
    body{
        overflow-x:hidden !important;
    }

    .guide-detail-page,
    .guide-detail-wrap,
    .guide-detail-container,
    .guide-layout,
    .guide-content-wrap{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box !important;
    }


    /*
     * PC 좌측 사이드바 → 모바일 상단 탭
     */
    .guide-sidebar{
        position:relative !important;
        top:auto !important;

        width:calc(100% - 32px) !important;
        max-width:none !important;
        min-width:0 !important;

        margin:28px 16px 34px !important;

        border-radius:18px !important;
        overflow:hidden !important;

        box-shadow:
            0 12px 32px rgba(18,70,110,.08) !important;
    }


    /*
     * 파란 HOSPITAL GUIDE / 이용안내 제목은
     * 모바일에서는 제거
     */
    .guide-sidebar-head,
    .guide-sidebar-header,
    .guide-side-head{
        display:none !important;
    }


    /*
     * 메뉴 목록
     */
    .guide-sidebar nav,
    .guide-sidebar ul,
    .guide-side-menu{
        display:flex !important;

        width:100% !important;

        margin:0 !important;
        padding:0 !important;

        overflow-x:auto !important;
        overflow-y:hidden !important;

        white-space:nowrap !important;

        background:#fff !important;

        border:1px solid #dce9f2 !important;
        border-radius:16px !important;

        scrollbar-width:none !important;

        -webkit-overflow-scrolling:touch !important;
    }

    .guide-sidebar nav::-webkit-scrollbar,
    .guide-sidebar ul::-webkit-scrollbar,
    .guide-side-menu::-webkit-scrollbar{
        display:none !important;
    }


    /*
     * 각 메뉴
     */
    .guide-sidebar nav a,
    .guide-sidebar li a,
    .guide-side-menu a{
        flex:0 0 auto !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        width:auto !important;
        min-width:auto !important;
        height:50px !important;

        padding:0 18px !important;

        margin:0 !important;

        border:0 !important;
        border-right:1px solid #e6eef4 !important;
        border-radius:0 !important;

        background:#fff !important;

        color:#36566d !important;

        font-size:13px !important;
        font-weight:700 !important;

        line-height:1 !important;

        white-space:nowrap !important;
    }


    /*
     * 메뉴의 화살표 숨김
     */
    .guide-sidebar nav a::after,
    .guide-sidebar li a::after,
    .guide-side-menu a::after{
        display:none !important;
    }


    /*
     * 현재 메뉴
     */
    .guide-sidebar nav a.on,
    .guide-sidebar nav a.active,
    .guide-sidebar li.active a,
    .guide-sidebar li.on a,
    .guide-side-menu a.on,
    .guide-side-menu a.active{
        color:#087ed8 !important;
        background:#eef8ff !important;

        box-shadow:
            inset 0 -3px 0 #0784e3 !important;
    }


    /*
     * 좌측 대표전화 박스는 모바일 제거
     * 페이지 하단 CTA/대표전화가 있으므로 중복
     */
    .guide-sidebar .guide-phone,
    .guide-sidebar .side-phone,
    .guide-side-phone,
    .guide-sidebar-contact{
        display:none !important;
    }


    /*
     * 2단 레이아웃 해제
     */
    .guide-detail-layout,
    .guide-layout,
    .guide-body-layout,
    .guide-inner{
        display:block !important;

        width:100% !important;
        max-width:100% !important;

        grid-template-columns:1fr !important;

        gap:0 !important;

        margin:0 !important;
        padding:0 !important;
    }


    /*
     * 실제 본문
     */
    .guide-detail-content,
    .guide-main,
    .guide-content{
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;

        margin:0 !important;
        padding:0 16px 48px !important;

        box-sizing:border-box !important;
    }


    /*
     * OUTPATIENT / 외래 안내 제목
     */
    .guide-detail-content > small,
    .guide-main > small,
    .guide-content > small{
        display:block !important;

        margin:0 0 12px !important;

        font-size:11px !important;
        letter-spacing:2px !important;
    }

    .guide-detail-content > h1,
    .guide-detail-content > h2,
    .guide-main > h1,
    .guide-main > h2,
    .guide-content > h1,
    .guide-content > h2{
        margin:0 0 12px !important;

        font-size:28px !important;
        line-height:1.22 !important;
        letter-spacing:-1px !important;
    }


    /*
     * 본문 상단 설명
     */
    .guide-detail-content > p,
    .guide-main > p,
    .guide-content > p{
        margin-bottom:22px !important;

        font-size:14px !important;
        line-height:1.7 !important;
    }


    /*
     * 안내 콘텐츠 박스
     */
    .guide-info-box,
    .guide-detail-box,
    .guide-panel,
    .guide-section-box,
    .guide-step-box{
        width:100% !important;
        max-width:100% !important;

        margin-left:0 !important;
        margin-right:0 !important;

        padding:22px !important;

        box-sizing:border-box !important;

        border-radius:18px !important;
    }


    /*
     * STEP 목록
     */
    .guide-steps,
    .guide-step-list{
        width:100% !important;

        margin:0 !important;
        padding:0 !important;
    }

    .guide-step,
    .guide-step-item{
        display:grid !important;

        grid-template-columns:48px minmax(0,1fr) !important;

        gap:14px !important;

        width:100% !important;

        padding:20px 0 !important;

        margin:0 !important;

        align-items:start !important;

        box-sizing:border-box !important;
    }


    /*
     * STEP 번호
     */
    .guide-step-number,
    .guide-step-num{
        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        width:46px !important;
        height:46px !important;

        margin:0 !important;

        border-radius:50% !important;

        font-size:12px !important;
        font-weight:800 !important;
    }


    /*
     * STEP 텍스트
     */
    .guide-step-content,
    .guide-step-text{
        min-width:0 !important;
        width:auto !important;
    }

    .guide-step-content small,
    .guide-step-text small{
        display:block !important;

        margin:1px 0 5px !important;

        font-size:9px !important;
        letter-spacing:1px !important;
    }

    .guide-step-content h3,
    .guide-step-text h3{
        margin:0 0 5px !important;

        font-size:16px !important;
        line-height:1.35 !important;
    }

    .guide-step-content p,
    .guide-step-text p{
        margin:0 !important;

        font-size:12px !important;
        line-height:1.65 !important;

        word-break:keep-all !important;
    }


    /*
     * 테이블이 있을 경우 모바일 가로스크롤
     */
    .guide-table-wrap,
    .guide-detail-content table,
    .guide-main table{
        max-width:100% !important;
    }

    .guide-table-wrap{
        overflow-x:auto !important;
        -webkit-overflow-scrolling:touch !important;
    }


    /*
     * 하단 CTA
     */
    .guide-help,
    .guide-detail-help,
    .guide-contact{
        margin-left:16px !important;
        margin-right:16px !important;

        width:auto !important;

        border-radius:18px !important;
    }


    /*
     * 모바일 하단 네비 때문에 마지막 내용 가림 방지
     */
    main{
        padding-bottom:82px !important;
    }

}


/* =========================================================
   540px 이하
========================================================= */

@media (max-width:540px){

    .guide-sidebar{
        margin-top:24px !important;
        margin-bottom:30px !important;
    }

    .guide-sidebar nav a,
    .guide-sidebar li a,
    .guide-side-menu a{
        height:48px !important;
        padding:0 16px !important;

        font-size:12px !important;
    }

    .guide-detail-content,
    .guide-main,
    .guide-content{
        padding-left:16px !important;
        padding-right:16px !important;
    }

    .guide-info-box,
    .guide-detail-box,
    .guide-panel,
    .guide-section-box,
    .guide-step-box{
        padding:20px !important;
    }

}



/* =========================================================
   GJH AI DRAWER - MOBILE FINAL
   2026-09-26

   실제 메인/서브 공통 클래스:
   .gjh-ai-drawer
   .gjh-ai-body
   .gjh-ai-composer
   .gjh-ai-footnote

   모바일 하단 네비게이션과 겹치지 않도록 수정
   ========================================================= */

@media (max-width: 767px) {

    /* AI 화면 전체 */
    .gjh-ai-drawer {
        position: fixed !important;

        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: none !important;

        /*
         * 하단 mobile-nav 영역을 AI drawer 자체에서 제외.
         * 따라서 입력창이 bottom nav 뒤로 내려가지 않음.
         */
        height:
            calc(
                100dvh
                - 68px
                - env(safe-area-inset-bottom, 0px)
            ) !important;

        bottom: auto !important;

        border-radius: 0 !important;

        overflow: hidden !important;
    }


    /* AI 헤더 */
    .gjh-ai-head {
        height: 66px !important;
        min-height: 66px !important;
        flex: 0 0 66px !important;

        padding-left:
            max(
                18px,
                env(safe-area-inset-left, 0px)
            ) !important;

        padding-right:
            max(
                18px,
                env(safe-area-inset-right, 0px)
            ) !important;
    }


    /* 대화 내용 영역 */
    .gjh-ai-body {
        flex: 1 1 auto !important;

        width: auto !important;

        min-height: 0 !important;

        margin: 0 !important;

        padding:
            16px
            max(
                16px,
                env(safe-area-inset-right, 0px)
            )
            104px
            max(
                16px,
                env(safe-area-inset-left, 0px)
            )
            !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        box-sizing: border-box !important;
    }


    /* 첫 안내 카드 */
    .gjh-ai-welcome {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;

        padding: 18px !important;

        box-sizing: border-box !important;

        border-radius: 18px !important;
    }


    /* 추천 질문 */
    .gjh-ai-suggestions {
        width: 100% !important;

        margin: 0 !important;

        padding:
            12px
            0
            8px
            !important;

        box-sizing: border-box !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;
    }


    /* 채팅 */
    .gjh-ai-chat {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding-top: 5px !important;

        box-sizing: border-box !important;
    }


    .gjh-ai-msg {
        width: 100% !important;
        box-sizing: border-box !important;
    }


    .gjh-ai-bubble {
        max-width: 92% !important;
        box-sizing: border-box !important;
    }


    .gjh-ai-msg.user .gjh-ai-bubble {
        max-width: 86% !important;
    }


    /*
     * 입력창
     *
     * drawer 자체가 bottom nav 위에서 끝나므로
     * bottom:30px 정도만 주면 됨.
     */
    .gjh-ai-composer {
        position: absolute !important;

        left:
            max(
                16px,
                env(safe-area-inset-left, 0px)
            ) !important;

        right:
            max(
                16px,
                env(safe-area-inset-right, 0px)
            ) !important;

        bottom: 27px !important;

        width: auto !important;

        height: 58px !important;

        margin: 0 !important;

        padding:
            6px
            6px
            6px
            16px
            !important;

        box-sizing: border-box !important;

        border-radius: 18px !important;

        z-index: 20 !important;
    }


    .gjh-ai-composer input {
        width: 100% !important;
        min-width: 0 !important;

        padding: 0 8px 0 0 !important;

        font-size: 14px !important;
    }


    .gjh-ai-composer button {
        flex: 0 0 44px !important;

        width: 44px !important;
        height: 44px !important;

        border-radius: 14px !important;
    }


    /* 안내 문구 */
    .gjh-ai-footnote {
        position: absolute !important;

        left: 16px !important;
        right: 16px !important;

        bottom: 8px !important;

        width: auto !important;

        text-align: center !important;

        font-size: 8px !important;

        z-index: 21 !important;
    }


    /*
     * AI 열려 있을 때도 bottom navigation은
     * 화면 최하단에 유지
     */
    body.gjh-ai-open .mobile-nav {
        position: fixed !important;

        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        z-index: 950 !important;
    }


    /*
     * AI drawer가 mobile nav보다 위까지만 표시되므로
     * drawer z-index는 그대로 사용.
     */
    body.gjh-ai-open .gjh-ai-drawer {
        z-index: 910 !important;
    }


    /*
     * 기존 floating AI는 drawer가 열린 동안 숨김
     */
    body.gjh-ai-open .floating-ai,
    body.gjh-ai-open .gjh-ai-float {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

}


/* 작은 휴대폰 */
@media (max-width: 420px) {

    .gjh-ai-body {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    .gjh-ai-composer {
        left: 13px !important;
        right: 13px !important;
    }

    .gjh-ai-welcome {
        padding: 16px !important;
    }

}


/* =========================================================
   GJH HOME VISUAL FINAL PATCH
   Hero clarity + AI feature image treatment
   ========================================================= */

/* ---------- HERO / DESKTOP ---------- */

.hero-bg{
    background:
        linear-gradient(
            90deg,
            rgba(247,252,255,.94) 0%,
            rgba(244,251,255,.80) 22%,
            rgba(235,247,255,.38) 39%,
            rgba(225,242,253,.08) 55%,
            rgba(225,242,253,0) 70%
        ),
        url('../img/clean/hero-clean.jpg') 68% center/cover no-repeat !important;
}

/*
 기존 V4 :after가 이미지 중앙까지 하얗게 덮고 있었음.
 왼쪽 카피 가독성 영역에만 아주 약하게 유지.
*/
.hero-bg:after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.35) 0%,
            rgba(255,255,255,.18) 24%,
            rgba(255,255,255,.04) 40%,
            rgba(255,255,255,0) 55%
        ) !important;
}

/* 텍스트는 이미지와 분리되어 선명하게 유지 */
.hero-copy{
    z-index:2;
}


/* ---------- LOWER GWANGJU AI FEATURE ---------- */

.ai-feature{
    position:relative;
    isolation:isolate;
}

.ai-feature-image{
    position:relative;

    background-image:
        linear-gradient(
            90deg,
            rgba(5,37,70,.02),
            rgba(5,37,70,.08)
        ),
        url('../img/clean/ai-clean-v2.png') !important;

    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

/*
 새 AI 이미지 교체 전에도 이미지 속 글자가
 오른쪽 카피 영역과 시각적으로 충돌하지 않도록 처리
*/
.ai-feature-image:after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(8,47,88,0) 45%,
            rgba(8,47,88,.18) 78%,
            rgba(8,47,88,.48) 100%
        );

    pointer-events:none;
}

.ai-feature-copy{
    position:relative;
    z-index:2;
}


/* ---------- MOBILE ---------- */

@media(max-width:800px){

    .hero-bg{
        background:
            linear-gradient(
                180deg,
                rgba(249,253,255,.91) 0%,
                rgba(244,251,255,.65) 27%,
                rgba(235,247,255,.20) 50%,
                rgba(225,243,255,.03) 70%
            ),
            url('../img/clean/hero-clean.jpg') 62% center/cover no-repeat !important;
    }

    .hero-bg:after{
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.24) 0%,
                rgba(255,255,255,.08) 34%,
                rgba(255,255,255,0) 58%
            ) !important;
    }

    .ai-feature-image{
        height:280px;
        background-position:center center !important;
    }

    .ai-feature-image:after{
        background:
            linear-gradient(
                180deg,
                rgba(8,47,88,0) 55%,
                rgba(8,47,88,.22) 100%
            );
    }
}



/* =========================================================
   GJH HOME VISUAL FINAL PATCH
   Hero clarity + AI feature image treatment
   ========================================================= */

/* ---------- HERO / DESKTOP ---------- */

.hero-bg{
    background:
        linear-gradient(
            90deg,
            rgba(247,252,255,.94) 0%,
            rgba(244,251,255,.80) 22%,
            rgba(235,247,255,.38) 39%,
            rgba(225,242,253,.08) 55%,
            rgba(225,242,253,0) 70%
        ),
        url('../img/clean/hero-clean.jpg') 68% center/cover no-repeat !important;
}

/*
 기존 V4 :after가 이미지 중앙까지 하얗게 덮고 있었음.
 왼쪽 카피 가독성 영역에만 아주 약하게 유지.
*/
.hero-bg:after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.35) 0%,
            rgba(255,255,255,.18) 24%,
            rgba(255,255,255,.04) 40%,
            rgba(255,255,255,0) 55%
        ) !important;
}

/* 텍스트는 이미지와 분리되어 선명하게 유지 */
.hero-copy{
    z-index:2;
}


/* ---------- LOWER GWANGJU AI FEATURE ---------- */

.ai-feature{
    position:relative;
    isolation:isolate;
}

.ai-feature-image{
    position:relative;

    background-image:
        linear-gradient(
            90deg,
            rgba(5,37,70,.02),
            rgba(5,37,70,.08)
        ),
        url('../img/clean/ai-clean-v2.png') !important;

    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

/*
 새 AI 이미지 교체 전에도 이미지 속 글자가
 오른쪽 카피 영역과 시각적으로 충돌하지 않도록 처리
*/
.ai-feature-image:after{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(8,47,88,0) 45%,
            rgba(8,47,88,.18) 78%,
            rgba(8,47,88,.48) 100%
        );

    pointer-events:none;
}

.ai-feature-copy{
    position:relative;
    z-index:2;
}


/* ---------- MOBILE ---------- */

@media(max-width:800px){

    .hero-bg{
        background:
            linear-gradient(
                180deg,
                rgba(249,253,255,.91) 0%,
                rgba(244,251,255,.65) 27%,
                rgba(235,247,255,.20) 50%,
                rgba(225,243,255,.03) 70%
            ),
            url('../img/clean/hero-clean.jpg') 62% center/cover no-repeat !important;
    }

    .hero-bg:after{
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.24) 0%,
                rgba(255,255,255,.08) 34%,
                rgba(255,255,255,0) 58%
            ) !important;
    }

    .ai-feature-image{
        height:280px;
        background-position:center center !important;
    }

    .ai-feature-image:after{
        background:
            linear-gradient(
                180deg,
                rgba(8,47,88,0) 55%,
                rgba(8,47,88,.22) 100%
            );
    }
}



/* =========================================================
   GJH HOME PHOTO CLARITY V4
   2026-09
   - HERO clarity
   - Small hospital card clarity
   - Large AI feature untouched
   ========================================================= */


/* ---------------------------------------------------------
   1. MAIN HERO
   기존 병원 사진 유지.
   왼쪽 텍스트 영역만 밝게 하고 건물 쪽 백색막 최소화.
   --------------------------------------------------------- */

.hero-bg{
    background:
        linear-gradient(
            90deg,
            rgba(249,253,255,.86) 0%,
            rgba(247,252,255,.72) 17%,
            rgba(242,250,255,.44) 28%,
            rgba(236,247,254,.16) 39%,
            rgba(232,246,254,.03) 48%,
            rgba(232,246,254,0) 56%
        ),
        url('../img/clean/hero-clean.jpg') 68% center/cover no-repeat !important;

    filter:
        saturate(1.10)
        contrast(1.055)
        brightness(1.01);
}


/* 기존 두 번째 흰 overlay를 크게 약화 */
.hero-bg:after{
    content:"" !important;
    position:absolute;
    inset:0;
    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.15) 0%,
            rgba(255,255,255,.06) 24%,
            rgba(255,255,255,0) 43%
        ) !important;
}


/* ---------------------------------------------------------
   2. SMALL HOSPITAL PHOTO CARD
   AI 배너 아래 왼쪽 작은 병원 카드
   --------------------------------------------------------- */

/*
 여러 버전에서 사용했던 클래스명을 모두 지원.
 실제 존재하는 selector에만 적용되므로 다른 카드에는 영향 없음.
*/

.info-photo,
.hospital-card,
.hospital-info-photo,
.contact-photo,
.location-photo,
.quick-hospital-card{
    position:relative;
    overflow:hidden;
}


/*
 background 이미지로 구현된 경우
 기존 어두운 효과를 줄여 실제 사진을 더 선명하게.
*/

.info-photo,
.hospital-card,
.hospital-info-photo,
.contact-photo,
.location-photo,
.quick-hospital-card{
    background-blend-mode:normal !important;

    filter:
        saturate(1.08)
        contrast(1.055)
        brightness(1.025);
}


/*
 img 태그 방식인 경우
*/

.info-photo img,
.hospital-card img,
.hospital-info-photo img,
.contact-photo img,
.location-photo img,
.quick-hospital-card img{
    width:100%;
    height:100%;
    object-fit:cover;

    filter:
        saturate(1.10)
        contrast(1.06)
        brightness(1.025);

    transform:translateZ(0);
}


/*
 기존 ::before / ::after 등에 글자나 강한 암막이
 들어가 있을 경우 제거.
 HTML 텍스트는 그대로 유지된다.
*/

.info-photo:before,
.hospital-card:before,
.hospital-info-photo:before,
.contact-photo:before,
.location-photo:before,
.quick-hospital-card:before{
    opacity:.34 !important;
}


/*
 카드 안의 실제 HTML 텍스트는 선명하게 유지
*/

.info-photo > *,
.hospital-card > *,
.hospital-info-photo > *,
.contact-photo > *,
.location-photo > *,
.quick-hospital-card > *{
    position:relative;
    z-index:2;
}


/* ---------------------------------------------------------
   MOBILE HERO
   --------------------------------------------------------- */

@media(max-width:800px){

    .hero-bg{
        background:
            linear-gradient(
                180deg,
                rgba(249,253,255,.78) 0%,
                rgba(247,252,255,.51) 24%,
                rgba(240,249,255,.19) 43%,
                rgba(230,245,255,0) 61%
            ),
            url('../img/clean/hero-clean.jpg') 62% center/cover no-repeat !important;

        filter:
            saturate(1.08)
            contrast(1.04);
    }


    .hero-bg:after{
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.10) 0%,
                rgba(255,255,255,.03) 32%,
                rgba(255,255,255,0) 52%
            ) !important;
    }

}


/* =========================================================
   IMPORTANT
   .ai-feature / .ai-feature-image 는 의도적으로 수정하지 않음.
   현재 큰 GWANGJU AI 이미지 그대로 유지.
   ========================================================= */


/* =========================================================
   GJH HOSPITAL PHOTO V5
   clean source image / HTML text remains separate
   ========================================================= */

/* MAIN HERO — clean sharp hospital image */
.hero-bg{
    background:
      linear-gradient(
        90deg,
        rgba(249,253,255,.90) 0%,
        rgba(248,252,255,.74) 18%,
        rgba(244,250,255,.42) 30%,
        rgba(238,248,255,.13) 42%,
        rgba(235,247,255,0) 54%
      ),
      url('../img/clean/gjh-hospital-clean-v5.webp') 64% center/cover no-repeat !important;
    filter:none !important;
}

.hero-bg:after{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    pointer-events:none !important;
    background:linear-gradient(
      90deg,
      rgba(255,255,255,.10) 0%,
      rgba(255,255,255,.03) 25%,
      rgba(255,255,255,0) 43%
    ) !important;
}

/* AI banner below: deliberately untouched */

/* SMALL LOCATION CARD — same clean photo, no baked-in promotional copy */
.location-card{
    position:relative !important;
    overflow:hidden !important;
    background:
      linear-gradient(
        90deg,
        rgba(5,40,76,.90) 0%,
        rgba(5,40,76,.68) 34%,
        rgba(5,40,76,.25) 67%,
        rgba(5,40,76,.08) 100%
      ),
      url('../img/clean/gjh-hospital-clean-v5.webp') 67% center/cover no-repeat !important;
    filter:none !important;
}

.location-card:before{
    content:none !important;
    display:none !important;
}

.location-card > *{
    position:relative;
    z-index:2;
}

/* Keep HTML copy crisp and readable */
.location-card small,
.location-card h2,
.location-card span,
.location-card strong{
    text-shadow:0 1px 12px rgba(0,24,48,.20);
}

@media(max-width:800px){
    .hero-bg{
        background:
          linear-gradient(
            180deg,
            rgba(249,253,255,.80) 0%,
            rgba(247,252,255,.54) 25%,
            rgba(241,249,255,.20) 44%,
            rgba(235,247,255,0) 62%
          ),
          url('../img/clean/gjh-hospital-clean-v5.webp') 66% center/cover no-repeat !important;
    }

    .hero-bg:after{
        background:linear-gradient(
          180deg,
          rgba(255,255,255,.08) 0%,
          rgba(255,255,255,.02) 36%,
          rgba(255,255,255,0) 55%
        ) !important;
    }

    .location-card{
        background:
          linear-gradient(
            90deg,
            rgba(5,40,76,.88) 0%,
            rgba(5,40,76,.58) 48%,
            rgba(5,40,76,.15) 100%
          ),
          url('../img/clean/gjh-hospital-clean-v5.webp') 68% center/cover no-repeat !important;
    }
}

/* =========================================================
   GJH ABOUT BAND PHOTO V6
   Middle surgical image only
   ========================================================= */

.about-band .about-img{
    background-image:url('../img/clean/gjh-about-surgery-v6.webp') !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    filter:none !important;
    opacity:1 !important;
}

.about-band .about-img:before,
.about-band .about-img:after{
    content:none !important;
    display:none !important;
}

/* Ensure no inherited haze is applied to the whole middle banner */
.about-band{
    filter:none !important;
}

@media(max-width:800px){
    .about-band .about-img{
        background-position:48% center !important;
    }
}
