/* Sseulmo Comparison Notes UI. Scoped to this WordPress installation. */
:root { --sm-ink:#17243b; --sm-muted:#53627a; --sm-blue:#2457cb; --sm-teal:#0f948a; --sm-line:#e1e8f2; --sm-bg:#f5f8fc; }
html { scroll-behavior:smooth; }
body.wp-theme-twentytwentyfive { background:var(--sm-bg); color:var(--sm-ink); font-family:"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif; font-size:16px; line-height:1.72; }
body.wp-theme-twentytwentyfive a { text-underline-offset:3px; }
body.wp-theme-twentytwentyfive a:focus-visible { outline:3px solid #f3af52; outline-offset:4px; border-radius:4px; }
.wp-site-blocks { min-height:100vh; display:flex; flex-direction:column; }
.sm-header { background:#fff; border-bottom:1px solid var(--sm-line); box-shadow:0 4px 20px rgba(16,42,80,.035); position:relative; z-index:20; }
.sm-shell { width:min(1160px,calc(100% - 40px)); margin-inline:auto; }
.sm-header-inner { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.sm-brand { display:inline-flex; align-items:center; gap:11px; text-decoration:none!important; color:var(--sm-ink)!important; white-space:nowrap; font-size:21px; font-weight:800; letter-spacing:-.045em; }
.sm-brand-mark { display:inline-grid; place-items:center; width:36px; height:36px; border-radius:12px; background:linear-gradient(135deg,#2457cb,#0c9c9a); color:#fff; font-size:18px; font-weight:800; }
.sm-nav { display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.sm-nav a { font-size:14px; font-weight:650; color:#34435b!important; text-decoration:none!important; padding:9px 13px; border-radius:10px; white-space:nowrap; }
.sm-nav a:hover,.sm-nav a[aria-current="page"] { background:#ecf3ff; color:var(--sm-blue)!important; }
.sm-nav .sm-nav-cta { background:var(--sm-blue); color:#fff!important; box-shadow:0 5px 14px rgba(36,87,203,.18); }
.sm-nav .sm-nav-cta:hover { background:#1949b5; color:#fff!important; }
.wp-site-blocks > main.wp-block-group { flex:1; margin-block-start:0!important; }
main.wp-block-group { color:var(--sm-ink); }
body.home main.wp-block-group { padding:40px 0 68px; }
body.home main.wp-block-group > .wp-block-group.alignfull { box-sizing:border-box; width:min(1100px,calc(100% - 40px)); max-width:none; margin-inline:auto; padding:clamp(28px,5vw,70px)!important; border-radius:26px; border:1px solid var(--sm-line); background:linear-gradient(145deg,#ffffff 0%,#ffffff 65%,#f6faff 100%); box-shadow:0 24px 65px rgba(27,63,110,.075); }
body.home main .wp-block-post-title { max-width:900px; font-size:clamp(32px,4.2vw,56px)!important; line-height:1.23; font-weight:800; letter-spacing:-.058em; margin:0 0 22px; color:var(--sm-ink); }
body.home main .wp-block-post-title::before { content:"생활 속 선택을 더 똑똑하게"; display:block; width:max-content; max-width:100%; padding:5px 13px; margin-bottom:17px; border-radius:999px; font-size:12px; line-height:1.5; letter-spacing:0; font-weight:750; color:#126d76; background:#e5f7f5; }
body.home main .entry-content { max-width:none; }
body.home main .entry-content > h2:first-child { max-width:870px; font-size:clamp(20px,2.6vw,30px); line-height:1.45; margin:0 0 15px; font-weight:650; letter-spacing:-.035em; color:var(--sm-blue); }
body.home main .entry-content > p:first-of-type { color:var(--sm-muted); max-width:820px; font-size:17px; line-height:1.85; margin:0 0 30px; }
body.home main .entry-content > h3 { border-left:4px solid #299a93; margin:18px 0 0; padding:19px 22px 5px; background:#f0f8fb; font-size:20px; font-weight:800; color:#173e63; border-radius:13px 13px 0 0; letter-spacing:-.035em; }
body.home main .entry-content > h3 + p { background:#f0f8fb; border-left:4px solid #299a93; margin:0 0 14px; padding:2px 22px 20px; color:#40546c; border-radius:0 0 13px 13px; }
body.home main .entry-content > h2:not(:first-child) { font-size:clamp(24px,3vw,32px); letter-spacing:-.045em; font-weight:800; color:var(--sm-ink); margin-top:45px; margin-bottom:13px; padding-top:24px; border-top:1px solid var(--sm-line); }
body.home main .entry-content > h2 + p a[href*="subscription-monthly"] { display:inline-block; text-decoration:none; font-weight:800; border-radius:12px; padding:14px 23px; color:#fff; background:var(--sm-blue); box-shadow:0 8px 18px rgba(36,87,203,.16); }
body.home main .entry-content > h2 + p a[href*="subscription-monthly"]:hover { background:#1846a5; }
body.home main .entry-content > p:last-child a[href*="/articles/"] { display:inline-block; margin-top:8px; font-weight:750; padding:11px 20px; border:1px solid #b7cae8; border-radius:11px; background:#fff; text-decoration:none; color:var(--sm-blue); }
body:not(.home) main.wp-block-group { width:min(1100px,calc(100% - 40px)); box-sizing:border-box; margin-inline:auto; padding:45px clamp(25px,5vw,65px) 70px; }
body:not(.home) main .wp-block-post-title { font-size:clamp(30px,3.2vw,42px); line-height:1.3; letter-spacing:-.045em; }
body:not(.home) main .entry-content { font-size:16px; line-height:1.85; }
body:not(.home) main a { color:#215bc4; }
.sm-footer { margin-block-start:auto; background:#172740; color:#d3e0f1; padding:44px 0 25px; }
.sm-footer-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:35px; align-items:start; }
.sm-footer-title { display:block; font-weight:800; font-size:21px; margin:0 0 10px; color:#fff; }
.sm-footer-lede { font-size:14px; line-height:1.8; max-width:470px; margin:0; color:#b9c8db; }
.sm-footer-nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px 22px; align-items:center; }
.sm-footer-nav a { color:#d5e2f4!important; font-size:14px; text-decoration:none!important; }
.sm-footer-nav a:hover { color:#fff!important; text-decoration:underline!important; }
.sm-footer-bottom { margin-top:30px; padding-top:20px; border-top:1px solid rgba(255,255,255,.13); font-size:12px; color:#a9bad2; line-height:1.8; }
.sm-footer-bottom p { margin:0; }
@media(max-width:850px) {
 .sm-header-inner { display:block; min-height:0; padding:16px 0 13px; }
 .sm-brand { font-size:19px; margin-bottom:11px; }
 .sm-nav { width:100%; flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:thin; padding:0 0 3px; gap:4px; }
 .sm-nav a { font-size:13px; padding:9px 12px; }
 .sm-footer-grid { grid-template-columns:1fr; gap:18px; }
 .sm-footer-nav { justify-content:flex-start; }
}
@media(max-width:560px) {
 .sm-shell { width:calc(100% - 28px); }
 body.home main.wp-block-group { padding:18px 0 35px; }
 body.home main.wp-block-group > .wp-block-group.alignfull { width:calc(100% - 24px); padding:25px 21px 32px!important; border-radius:18px; }
 body.home main .wp-block-post-title { font-size:31px!important; }
 body.home main .entry-content > p:first-of-type { font-size:15px; }
 body.home main .entry-content > h3 { font-size:18px; padding:16px 16px 6px; }
 body.home main .entry-content > h3 + p { padding:0 16px 16px; font-size:14px; }
 body.home main .entry-content > h2:not(:first-child) { margin-top:31px; padding-top:20px; }
 body:not(.home) main.wp-block-group { width:calc(100% - 24px); padding:28px 18px 42px; }
 .sm-footer { padding:34px 0 23px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Mobile navigation: never clip the primary calculator action. */
@media(max-width:560px) {
 .sm-nav { flex-wrap:wrap; overflow:visible; gap:6px; }
 .sm-nav a { padding:7px 9px; font-size:12px; }
}
