@charset "utf-8";
/* ===================================================================
   수완메디컬 서브페이지 공통 (히어로/브레드크럼/라벨/CTA/퀵내비)
   - body 에 sm-subpage, main 에 smc-main 클래스를 부여해 사용
   =================================================================== */
body.sm-subpage #wrapper,
body.sm-subpage #container_wr,
body.sm-subpage #container {
    float: none; width: 100%; min-width: 0; max-width: none;
    margin: 0; padding: 0; border: 0; background: none;
}
.sm-subpage #sm_top_btn { display: none; }
.sm-subpage #container_title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.smc-main { display: block; font-size: 18px; letter-spacing: -.01em; }
.smc-main :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.smc-main :is(ol, ul) { list-style: none; }
.smc-main :where(h1) { font-size: 38px; font-weight: 600; line-height: 1.4; letter-spacing: -0.38px; }
.smc-main :where(h2) { font-size: 30px; font-weight: 600; line-height: 1.5; letter-spacing: -0.3px; }
.smc-main :where(p) { line-height: 1.6; }

.smc-label {
    margin-bottom: 20px;
    font-size: 18px; font-weight: 500; line-height: 1.2; letter-spacing: -0.18px;
    text-transform: uppercase; color: var(--sm-primary);
    background: var(--sm-grad); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---- 히어로 ---- */
.smc-hero { position: relative; min-height: 500px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(22,100,245,.03)); }
.smc-hero__inner { position: relative; z-index: 2; padding-top: 128px; padding-bottom: 80px; }
.smc-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; font-weight: 500; line-height: 1; }
.smc-breadcrumb a { display: inline-flex; align-items: center; }
.smc-hero .smc-label { margin-bottom: 12px; }
.sm-board-tabs-wrap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.sm-wrap :is(.sm-success__tabs,.sm-resource__tabs,.smpt-tabs) { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 0; scrollbar-width: thin; }
.sm-wrap .smc-hero a:is(.sm-success__tab,.sm-resource__tab,.smpt-tab) { flex: 0 0 auto; min-height: 49px; padding: 14px 20px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-size: 18px; font-weight: 400; color: #888; }
.sm-wrap .smc-hero a:is(.sm-success__tab,.sm-resource__tab,.smpt-tab).is-active { color: var(--sm-primary); background: transparent; border-color: var(--sm-primary); }
.sm-wrap :is(.sm-success__body,.sm-resource__body) { padding-top: 100px; }
.sm-wrap :is(.sm-success__toolbar,.sm-resource__toolbar) { padding: 0 0 20px; border-top: 0; border-bottom: 1px solid #ccc; }
.sm-wrap :is(.sm-success__search,.sm-resource__search) input { border: 0; border-bottom: 1px solid #ccc; border-radius: 0; }
.sm-wrap :is(.sm-success__search,.sm-resource__search) input { transition: border-color .2s var(--sm-ease), box-shadow .2s var(--sm-ease); }
.sm-wrap :is(.sm-success__tools,.sm-resource__tools) { min-width:0; }
.sm-wrap :is(.sm-success__search,.sm-resource__search) { min-width:0; }
.smc-hero__art { position: absolute; z-index: 0; pointer-events: none; filter: blur(50px); opacity: .5; }
.smc-hero__art img { position: absolute; max-width: none; }
.smc-hero__art--right { right: max(calc((100% - 2000px) / 2 - 36px), -36px); top: -170px; width: 759px; }
.smc-hero__art--right img:nth-child(odd) { left: 0; top: 0; mix-blend-mode: multiply; }
.smc-hero__art--right img:nth-child(even) { left: 69px; top: 73px; }
.smc-hero__art--left { left: max(calc((100% - 2000px) / 2 - 242px), -242px); top: 375px; width: 472px; }
.smc-hero__art--left img:nth-child(odd) { left: 0; top: 0; mix-blend-mode: multiply; }
.smc-hero__art--left img:nth-child(even) { left: 43px; top: 16px; }

/* ---- 하단 배너 (CTA) ---- */
.smc-cta-wrap { margin-top: 200px; padding-bottom: 200px; }
.smc-cta {
    display: flex; min-height: 404px; align-items: flex-start; justify-content: space-between; gap: 32px;
    padding: 82px clamp(32px, 6.75vw, 135px); border-radius: 20px; background: var(--sm-primary); color: #fff;
}
.smc-cta h2 { color: #fff; }
.smc-cta p { margin-top: 20px; font-weight: 500; }
.sm-wrap .smc-cta__button {
    gap: 14px; margin-top: 40px; padding: 20px; border-radius: 10px;
    background: #fff; color: var(--sm-primary); line-height: 1.2;
}
.sm-wrap .smc-cta__button:is(:hover, :focus-visible) { background: var(--sm-bg-soft); }
.smc-cta__art { position: relative; flex: 0 0 auto; margin-top: 4px; }
.smc-cta__art span { position: absolute; top: 15px; left: 0; font-size: 15px; font-weight: 300; line-height: 1.5; }

/* ---- 우측 퀵내비 ---- */
.smc-quick { position: fixed; z-index: 900; right: 46px; bottom: 41px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.smc-quick__link {
    position: relative; display: flex; width: 126px; min-height: 40px; align-items: center;
    padding: 0 8px 0 51px; border-radius: 80px; background: #f0f3f5; color: #000; font-size: 14px; font-weight: 500;
}
.smc-quick__link img { position: absolute; left: -10px; top: -8px; max-width: none; }
.smc-quick__top { position: relative; display: grid; margin-top: 9px; place-items: center; }
.smc-quick__top span { position: absolute; color: #fff; font-size: 20px; line-height: 1.2; }
.smc-quick a.smc-quick__link { transition: color .25s var(--sm-ease); }
.sm-wrap .smc-quick__link[href]:is(:hover, :focus-visible) { color: var(--sm-primary); }
.smc-quick__top:is(:hover, :focus-visible) { filter: brightness(1.08); }
.smc-quick__link[aria-disabled="true"] { cursor: default; }

/* ===================================================================
   공통 반응형
   =================================================================== */
@media (max-width: 1640px) {
    .smc-quick { right: 16px; bottom: 16px; }
    .smc-quick__link { display: none; }
}
@media (max-width: 1024px) {
    .smc-hero { min-height: 360px; }
    .smc-hero__inner { padding-top: 40px; padding-bottom: 60px; }
    .smc-hero__art--right { right: -260px; }
    .smc-hero__art--left { left: -260px; }
    .smc-cta-wrap { margin-top: 100px; padding-bottom: 100px; }
    .smc-cta { min-height: 0; padding: 60px clamp(28px, 6vw, 80px); }
}
@media (max-width: 768px) {
    .sm-wrap :is(.sm-success__search,.sm-resource__search) { flex:1 1 0; width:0; }
    .smc-main h1 { font-size: 32px; }
    .smc-main h2 { font-size: 26px; }
    .smc-cta { flex-direction: column; }
    .smc-cta__art { display: none; }
}
@media (max-width: 486px) {
    .smc-main { font-size: 16px; }
    .smc-main h1 { font-size: 27px; text-wrap:balance; }
    .smc-main h2 { font-size: 22px; }
    .smc-hero { min-height: 0; }
    .smc-hero__inner { padding-top: 36px; padding-bottom: 48px; }
    .smc-breadcrumb { margin-bottom: 28px; }
    .smc-label { font-size: 16px; margin-bottom: 16px; }
    .smc-cta-wrap { margin-top: 64px; padding-bottom: 64px; }
    .smc-cta { padding: 40px 24px; }
    .smc-cta p { font-size: 15px; }
    .sm-wrap .smc-cta__button { margin-top: 24px; }
}

@media(max-width:768px){
    .smc-hero:is(.sm-success-hero,.sm-resource-hero){min-height:0}
    .smc-hero:is(.sm-success-hero,.sm-resource-hero) .smc-hero__inner{padding-top:36px;padding-bottom:92px}
    .smc-hero:is(.sm-success-hero,.sm-resource-hero) .smc-breadcrumb{margin-bottom:28px}
    .sm-wrap :is(.sm-success__body,.sm-resource__body){padding-top:48px}
    .sm-wrap .smc-hero a:is(.sm-success__tab,.sm-resource__tab,.smpt-tab){font-size:14px;min-height:42px;padding:10px 14px;line-height:1.5}
}
