
:root { --ys-primary:#14306b; --ys-primary-deep:#0a1d47; --ys-btn:#2e3a8c; --ys-btn-hover:#14306b; --ys-accent:#1a6fd8; --ys-gold:#f2b01e; --ys-hero-bg:#eef3fa; --ys-focus:rgba(46,58,140,.28); --ys-text:#222; --ys-text-sub:#666; --ys-text-mute:#999; --ys-line:#e3e6ec; --ys-font:'Noto Sans KR','Apple SD Gothic Neo',sans-serif; --ys-font-en:'Montserrat',sans-serif; --ys-container:1140px; --ys-gutter:24px; --ys-radius:14px; --ys-shadow-sm:0 2px 8px #10203c12; --ys-shadow-lg:0 10px 30px #10203c22; --ys-ease:cubic-bezier(.22,.61,.36,1); --ys-thumb-ratio:16 / 9; }
/* Blog pages retain the site's own header and footer. */
body.ys-blog-page { background: #fff; }
body.ys-blog-page .header { position: relative; }
body.ys-blog-page .ys-blog-hero { padding-top: 90px; }
.ys-blog-float { z-index: 70; }
.ys-blog-mfloat { z-index: 70; }
.ys-blog-grid a { text-decoration: none; }
.ys-blog-card { color: inherit; }
.ys-blog-form input[type=file] { max-width: 100%; }
.ys-blog-error { padding: 14px 18px; margin: 0 0 24px; border-radius: 8px; background: #fff1f0; color: #a32721; }
.ys-blog-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:40px; }
.ys-blog-prevnext { border-top:1px solid #ddd; margin-top:50px; }
.ys-blog-prevnext a, .ys-blog-prevnext span { display:block; padding:18px 0; border-bottom:1px solid #ddd; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
@media(max-width:1023px) { body.ys-blog-page .ys-blog-hero { padding-top: 50px; } body.ys-blog-page { padding-bottom: 90px; } }
/* Quick links from the supplied publishing design, shared by existing and blog pages. */
.ys-blog-float { position:fixed; z-index:70; top:260px; right:24px; width:84px; padding:14px 0 6px; background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.45); border-radius:10px; box-shadow:0 6px 24px rgba(16,30,60,.14); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif; }
.ys-blog-float__item { display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 4px 10px; color:#222 !important; font-size:11px; font-weight:700; line-height:1.3; text-align:center; text-decoration:none !important; letter-spacing:-.04em; }
.ys-blog-float__icon { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; flex:none; background:#2b2b2b; color:#fff; transition:background .25s,transform .25s; }
.ys-blog-float__icon svg { width:17px; height:17px; }
.ys-blog-float__icon b { font:900 17px/1 Arial,sans-serif; }
.ys-blog-float__item:hover .ys-blog-float__icon, .ys-blog-float__item:focus-visible .ys-blog-float__icon { background:#14306b; transform:translateY(-2px); }
.ys-blog-mfloat { display:none; }
@media(max-width:1023px) {
 .ys-blog-float { display:none; }
 .ys-blog-mfloat { position:fixed; z-index:70; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); max-width:560px; margin:0 auto; display:flex; overflow:hidden; border-radius:14px; background:#102c53; box-shadow:0 10px 28px rgba(0,0,0,.28); font-family:'Noto Sans KR','Apple SD Gothic Neo',sans-serif; }
 .ys-blog-mfloat__item { position:relative; flex:1; min-width:0; min-height:76px; padding:10px 4px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#fff !important; text-align:center; text-decoration:none !important; }
 .ys-blog-mfloat__item + .ys-blog-mfloat__item::before { content:''; position:absolute; left:0; top:14px; bottom:14px; width:1px; background:rgba(255,255,255,.16); }
 .ys-blog-mfloat__icon { width:30px; height:30px; margin-bottom:3px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.12); color:#fff; }
 .ys-blog-mfloat__icon svg { width:16px; height:16px; }
 .ys-blog-mfloat__icon b { font:900 15px/1 Arial,sans-serif; }
 .ys-blog-mfloat__label { font-size:13px; font-weight:700; line-height:1.2; white-space:nowrap; }
 .ys-blog-mfloat__sub { font-size:11px; font-weight:600; line-height:1.2; letter-spacing:0; white-space:nowrap; }
}
@media(max-width:1023px) { .header .inner .tell { display:none; } }
@media(max-width:1023px) {
 .top_btn { bottom:calc(112px + env(safe-area-inset-bottom)); right:max(12px, calc((100vw - 560px) / 2 + 12px)); }
}

/* Keep required marks immediately after their field names. */
.ys-blog-field__label { justify-content:flex-start; gap:0; }
.ys-blog-field__label .req { margin-left:2px; }

/* Action buttons never inherit the site link underline. */
.ys-blog-btn, .ys-blog-btn:hover, .ys-blog-btn:focus-visible, .ys-blog-btn:active { text-decoration:none !important; }

/* Keep the seven desktop navigation links on one row. */
@media (min-width:1024px) {
 .header .inner .nav ul { flex-wrap:nowrap; justify-content:space-between; }
 .header .inner .nav ul li { flex:0 0 auto; }
 .header .inner .nav ul li a { white-space:nowrap; }
}
@media (min-width:1024px) and (max-width:1540px) {
 .header .inner .nav ul li a { padding-left:clamp(4px,.8vw,14px); padding-right:clamp(4px,.8vw,14px); }
}
/* Retain the site's original 768px menu breakpoint. Compact the tablet row. */
@media (min-width:769px) and (max-width:1023px) {
 .header .inner .menu_btn { display:none; }
 .header .inner .logo { flex:none; width:12rem; margin:0 1% 0 0; }
 .header .inner .nav { display:block; flex:1 1 0; width:auto; min-width:0; margin-right:0; transform:none; }
 .header .inner .nav ul { flex-wrap:nowrap; justify-content:space-between; }
 .header .inner .nav ul li { flex:0 0 auto; }
 .header .inner .nav ul li a { padding:0 3px; white-space:nowrap; font-size:clamp(11px,1.35vw,14px); }
}

/* Reserve room for the phone pennant and implant badge beside the last link. */
@media (min-width:1241px) and (max-width:1900px) {
 .header .inner .nav ul li a { padding-left:.7rem; padding-right:.7rem; }
}
@media (min-width:1241px) and (max-width:1440px) {
 .header .inner .nav { margin-right:240px; }
}
@media (min-width:1441px) and (max-width:1540px) {
 .header .inner .logo { margin-right:clamp(4%, calc(4% + (100vw - 1441px) * .6), 8%); }
}
@media (min-width:1541px) and (max-width:1600px) {
 .header .inner .logo { margin-right:clamp(6.5%, calc(6.5% + (100vw - 1541px) * .55), 9%); }
}

/* Fallback when fonts, zoom, or an embedded preview leave less room than media queries suggest. */
.header.is-compact-nav .inner .nav { display:none; }
.header.is-compact-nav .inner .menu_btn { display:block; }
.header.is-compact-nav .inner .logo { margin-left:2rem; margin-right:0; width:18rem; }
.header.is-compact-nav .inner .tell, .header.is-compact-nav .imp_mark { display:none; }
@media (max-width:768px) {
 .header .inner .nav { display:none !important; }
 .header .inner .menu_btn { display:block !important; }
}
