/* Karrot SEED v2 tokens (DESIGN.md); 3.1.0부터 주황은 포트폴리오와 같은 #ff5e10. Orange marks the one main action and small brand accents only;
   white on orange (2.8:1) is the owner's choice, so orange labels stay bold. --muted is kept off body text (3.4:1). */
:root{--bg:#ffffff;--ink:#212124;--muted:#868b94;--line:#eaebee;--surface:#f7f8fa;--gray-bg:#f2f3f6;--accent:#ff5e10;--on-accent:#ffffff;--gutter:clamp(16px,4vw,64px);--wrap:1680px;--read:960px;--edge:max(var(--gutter),calc((100% - var(--wrap)) / 2 + var(--gutter)));--font:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5;letter-spacing:-0.02em;-webkit-text-size-adjust:100%;text-size-adjust:100%;word-break:keep-all;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
img{max-width:100%;height:auto}button,input{font:inherit}
.archive-main{max-width:var(--wrap);margin:auto;padding:48px var(--gutter) 64px}
.eyebrow{font-size:14px;font-weight:700;margin:0 0 16px}
.accent{color:var(--accent)}
.portfolio-space{--bg:#ffffff;--ink:#212124}
.archive-main{min-height:70vh}
body>main{flex:1 0 auto;width:100%}
.front-footer{margin-top:auto}
.archive-heading{margin-bottom:32px}
.archive-heading h1{font-size:clamp(40px,5.2vw,72px);font-weight:800;line-height:1;letter-spacing:-.04em;margin:0 0 16px}
.archive-heading>p{font-size:18px;line-height:1.6;margin:0}
.heading-edit{display:inline-block;margin-top:12px;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.heading-edit:hover{color:var(--ink)}
.section-line{border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:flex-end;font-size:14px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
.card-art{aspect-ratio:4/3;overflow:hidden;background:var(--gray-bg);display:grid;place-items:center;border-radius:8px}
.card-art img{width:100%;height:100%;object-fit:cover}
.placeholder{background:var(--gray-bg);color:var(--ink);font-size:14px}
.card-figure{position:relative}
.card-date{position:absolute;left:16px;bottom:18px;padding:3px 10px;border-radius:9999px;background:rgba(255,255,255,.92);color:var(--ink);font-size:12.5px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums}
.card-title{font-size:17px;font-weight:700;line-height:1.45;margin:14px 0 4px;overflow-wrap:anywhere}
.card p{font-size:14px;line-height:1.5;margin:0}
.card-link:hover .card-title{text-decoration:underline;text-underline-offset:3px}
.empty-state{text-align:center;padding:48px 16px;background:var(--surface);border:1px solid var(--line);border-radius:8px}
.empty-state>span{font-size:34px;color:var(--accent)}
.empty-state h1,.empty-state h2{font-size:24px;font-weight:700;line-height:1.35;margin:0 0 8px}
.empty-state p{font-size:16px;line-height:1.5;margin:0}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;margin-top:16px;border:1px solid var(--line);border-radius:9999px;background:var(--bg);font-size:16px;font-weight:700}
.button:hover{background:var(--gray-bg)}
.button-ink{background:var(--ink);border-color:var(--ink);color:#fff;gap:6px}
.button-ink:hover{background:#3a3d44}
.pagination,.nav-links{display:flex;gap:8px;justify-content:center;margin-top:32px}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 12px;border-radius:9999px}
a.page-numbers:hover{background:var(--gray-bg)}
.page-numbers.current{background:var(--ink);color:var(--bg);font-weight:700}
.single-article{margin:0}
.back-link{font-size:14px;text-decoration:underline;text-underline-offset:3px}
.article-heading{margin:32px 0 40px}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:14px;margin-bottom:16px}
.chip{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:9999px;background:var(--gray-bg);font-weight:700;font-size:13px}
.chip:hover{background:var(--line)}
.article-heading h1{font-size:clamp(30px,4vw,52px);font-weight:800;line-height:1.25;letter-spacing:-.035em;margin:0;max-width:24em;overflow-wrap:anywhere}
.article-lede{font-size:19px;line-height:1.6;margin:16px 0 0;max-width:40em}
.article-cover{width:100%;border-radius:12px;margin-bottom:40px}
.entry-content{font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.entry-content>*{margin-top:0;margin-bottom:1.25em}
.entry-content h2{font-size:26px;font-weight:800;line-height:1.35;letter-spacing:-.03em;margin:2.2em 0 .7em}
.entry-content h3{font-size:20px;font-weight:700;line-height:1.4;letter-spacing:-.02em;margin:1.8em 0 .6em}
.entry-content h2:first-child,.entry-content h3:first-child{margin-top:0}
.entry-content h2,.entry-content h3{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 76px)}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.entry-content li{margin:.35em 0}
.entry-content li::marker{color:var(--accent)}
.entry-content a{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:4px}
.entry-content img{border-radius:8px}
.entry-content figure{max-width:100%;margin-left:0;margin-right:0}
.entry-content figcaption{font-size:14px;line-height:1.5;margin-top:8px;text-align:center}
.entry-content iframe{max-width:100%}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:2.5em 0}
.entry-content pre{overflow:auto;padding:16px;background:var(--surface);border-radius:8px;font-size:15px;line-height:1.6}
.entry-content code{font-size:.9em;background:var(--gray-bg);padding:2px 6px;border-radius:6px}
.entry-content pre code{background:none;padding:0}
.entry-content blockquote{margin:1.75em 0;padding:16px 20px;background:var(--surface);border-radius:8px}
.entry-content blockquote p{margin:0 0 .75em}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content .wp-block-table{overflow-x:auto}
.entry-content table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.6}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.entry-content th{background:var(--surface);font-weight:700}
.edit-link{margin-top:32px;font-size:14px;text-decoration:underline}
.skip-link{position:absolute;top:-100px;left:20px;padding:8px;background:var(--bg);z-index:10000}.skip-link:focus{top:10px}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cards{grid-template-columns:1fr}.archive-main{padding-top:32px}}
/* Post detail motion (read.js): the title block settles in on load, a progress line runs under the menubar,
   and blocks below the fold rise in once. Without JS or with reduced motion everything is simply there. */
.post-page .article-heading>*{animation:sw-settle .7s cubic-bezier(.16,1,.3,1) backwards}
.post-page .article-heading>*:nth-child(2){animation-delay:.08s}
.post-page .article-heading>*:nth-child(3){animation-delay:.16s}
.post-page .article-cover{animation:sw-settle .9s cubic-bezier(.16,1,.3,1) .2s backwards}
@keyframes sw-settle{from{opacity:0;transform:translateY(16px)}}
.read-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:0 50%;opacity:0;transition:opacity .25s;pointer-events:none}
.rise{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1);transition-delay:var(--rise-delay,0ms)}
.rise.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.post-page .article-heading>*,.post-page .article-cover{animation:none}.read-progress{display:none}}

/* Beginner blog navigation */
.blog-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.blog-search{display:flex;align-items:center;gap:8px;flex:1;max-width:640px}
.blog-search label{font-size:14px;font-weight:700;white-space:nowrap}
.blog-search input{min-width:0;width:100%;min-height:48px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:inherit;font-size:16px}
.blog-search input:focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
.blog-search button{min-height:48px;padding:0 20px;white-space:nowrap;border:0;border-radius:9999px;background:var(--gray-bg);color:var(--ink);font-weight:700;cursor:pointer}
.blog-search button:hover{background:var(--line)}
.blog-search button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.write-button{margin:0;background:var(--accent);border-color:var(--accent);color:var(--on-accent);white-space:nowrap}
.write-button:hover{background:var(--accent);text-decoration:underline;text-underline-offset:3px}
.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 32px}
.category-tabs a{display:inline-flex;align-items:center;min-height:40px;font-size:14px;padding:0 16px;border:1px solid var(--line);border-radius:9999px}
.category-tabs a:hover{background:var(--gray-bg)}
.category-tabs a[aria-current]{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:700}
@media(max-width:600px){.blog-tools{align-items:stretch;flex-direction:column}.write-button{text-align:center}.blog-search{max-width:none}.blog-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.category-tabs{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px}.category-tabs a{flex:none}}

/* Site menubar and footer: the same on every page (front page tints the bar orange over the hero) */
.menubar{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:50;height:44px;display:flex;align-items:center;gap:24px;padding:0 var(--edge);background:rgba(255,94,16,.92);-webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px);color:var(--ink);font-size:14px;font-weight:600;letter-spacing:-.01em;transition:background .3s}
.menubar.on-desk{background:rgba(236,238,241,.9)}
.menubar .me{font-weight:800;font-size:15px;letter-spacing:-.02em;display:flex;align-items:center;gap:8px}
.menubar .me b{width:18px;height:18px;border-radius:5px;overflow:hidden;background:var(--ink);display:inline-grid;place-items:center;color:var(--accent);font-size:11px}
.menubar nav{display:flex;gap:4px;margin-left:auto}
.menubar nav a{padding:6px 12px;border-radius:8px}
.menubar nav a:hover{background:rgba(17,19,24,.1)}
.menubar nav a[aria-current]{background:var(--ink);color:#fff}
.menubar .clock{font-weight:500;opacity:.9}
.menu-toggle{display:none}
.menu-icon{position:relative;width:14px;height:10px}
.menu-icon::before,.menu-icon::after{content:"";position:absolute;left:0;width:14px;height:2px;border-radius:1px;background:currentColor;transition:transform .2s}
.menu-icon::before{top:1px}.menu-icon::after{bottom:1px}
.menu-toggle[aria-expanded="true"] .menu-icon::before{transform:translateY(3px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-icon::after{transform:translateY(-3px) rotate(-45deg)}
.front-footer{background:var(--ink);color:#c9ccd2;padding:28px var(--edge);display:flex;flex-wrap:wrap;gap:16px 32px;font-size:14px}
.front-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.front-footer .sp{margin-left:auto}
@media(max-width:860px){
  .menubar{gap:12px}
  .menubar .clock{display:none}
  /* without JS only 블로그·연락 stay; with JS every link folds into the 메뉴 panel */
  .menubar nav a:not(.keep){display:none}
  .menubar.has-menu .menu-toggle{display:inline-flex;align-items:center;gap:8px;margin-left:auto;height:36px;padding:0 12px;border:0;border-radius:8px;background:rgba(17,19,24,.1);color:inherit;font:inherit;font-weight:700;cursor:pointer}
  .menubar.has-menu nav{display:none;position:absolute;left:0;right:0;top:44px;flex-direction:column;gap:0;margin:0;padding:4px var(--gutter) 12px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 20px 32px -20px rgba(17,19,24,.4)}
  .menubar.has-menu.is-open nav{display:flex}
  .menubar.has-menu nav a{display:flex;align-items:center;min-height:52px;padding:0 4px;border-radius:0;border-bottom:1px solid var(--line);font-size:17px;font-weight:700}
  .menubar.has-menu nav a:last-child{border-bottom:0}
  .menubar.has-menu nav a:hover{background:none;text-decoration:underline;text-underline-offset:4px}
  .menubar.has-menu nav a[aria-current]{background:none;color:var(--ink)}
  .menubar.has-menu nav a[aria-current]::after{content:"지금 보는 곳";margin-left:auto;padding:2px 8px;border-radius:9999px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700}
}

/* Auto thumbnail for cards without a photo: category tint, title, site mark */
.card-art.auto{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;background:var(--art-bg);color:var(--ink)}
.art-label{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:9999px;background:#fff;font-size:12px;font-weight:700;line-height:1.4}
.art-label::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--art-dot)}
.art-title{font-size:clamp(20px,2vw,24px);font-weight:800;line-height:1.35;letter-spacing:-.03em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:92%}
.art-mark{position:absolute;right:16px;bottom:16px;width:28px;height:28px;border-radius:7px;overflow:hidden;background:var(--ink);color:var(--accent);display:grid;place-items:center;font-size:14px}

/* Post detail: author box, previous/next, related */
.author-box{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px 20px;align-items:center;margin-top:56px;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.author-mark{width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--ink);color:var(--accent);display:grid;place-items:center;font-size:24px}
.author-text p{margin:0;font-size:15px;line-height:1.5}
.author-text .author-label{font-size:13px;font-weight:700}
.author-text .author-name{font-size:19px;font-weight:800;letter-spacing:-.02em;margin:2px 0}
.author-actions{display:flex;gap:8px;flex-wrap:wrap}
.author-actions .button{margin:0;min-height:44px;padding:0 18px;font-size:15px}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.post-nav a{display:flex;flex-direction:column;gap:4px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;min-width:0}
.post-nav a:hover{border-color:var(--ink)}
.post-nav .next{text-align:right;grid-column:2}
.post-nav span{font-size:13px;font-weight:700}
.post-nav strong{font-size:16px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.related{margin-top:80px;padding-top:32px;border-top:1px solid var(--line)}
.related>h2{font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.03em;line-height:1.2;margin:0 0 24px}
/* Post detail sits in the same column as the blog list: text on the left at reading width, a side column on the right edge */
.article-heading{padding-bottom:32px;border-bottom:1px solid var(--line)}
.post-layout{display:grid;grid-template-columns:minmax(0,var(--read)) 360px;justify-content:space-between;gap:56px;align-items:start;margin-top:40px}
.post-side{align-self:stretch}
.post-side .side-in{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 44px + 32px);display:grid;gap:16px}
.post-toc,.side-related{padding:20px;border:1px solid var(--line);border-radius:12px}
.post-side .author-box{margin:0;grid-template-columns:auto minmax(0,1fr);padding:20px}
.post-side .author-mark{width:48px;height:48px;border-radius:12px;font-size:20px}
/* profile image in place of the first letter (sw_mark) */
.sw-mark-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.post-side .author-actions{grid-column:1/-1}
.post-side .author-actions .button{flex:1;justify-content:center;text-align:center}
.side-title{margin:0 0 12px;font-size:13px;font-weight:700}
.side-related .side-title{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:9999px;background:var(--gray-bg)}
.post-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px;max-height:min(40vh,360px);overflow:auto}
.post-toc a{display:block;position:relative;padding:6px 10px 6px 14px;border-radius:8px;font-size:14.5px;line-height:1.45;color:var(--ink);opacity:.62;transition:opacity .2s,background .2s}
.post-toc a::before{content:"";position:absolute;left:2px;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:50%;background:currentColor;transition:background .2s,transform .2s}
.post-toc .lv3 a{padding-left:28px;font-size:14px}
.post-toc .lv3 a::before{left:16px}
.post-toc a:hover{opacity:1;background:var(--surface)}
.post-toc a[aria-current="true"]{opacity:1;font-weight:700}
.post-toc a[aria-current="true"]::before{background:var(--accent);transform:scale(1.8)}
.side-related ul{list-style:none;margin:0;padding:0;display:grid}
.side-related li+li{border-top:1px solid var(--line)}
.side-related a{display:flex;align-items:baseline;gap:12px;padding:10px 0}
.side-related li:first-child a{padding-top:0}
.side-related strong{flex:1;min-width:0;font-size:15px;line-height:1.45;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-related time{flex:none;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.side-related a:hover strong{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:3px}
.post-page .related{margin-top:96px}
.post-main .post-nav{margin-top:56px}
@media(max-width:1100px){
  .post-layout{grid-template-columns:minmax(0,1fr);gap:40px}
  .post-side .side-in{position:static}
  .post-toc,.side-related{display:none}
}

/* Project detail */
.case-article{max-width:1080px;margin:auto}
.case-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px 56px;align-items:end;margin:32px 0 40px}
.case-kind{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:9999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:700;margin:0 0 16px}
.case-kind.company{background:var(--ink);border-color:var(--ink);color:#fff}
.case-head h1{font-size:clamp(40px,6vw,80px);font-weight:800;line-height:1.05;letter-spacing:-.04em;margin:0 0 16px;overflow-wrap:anywhere}
.case-lede{font-size:19px;line-height:1.6;margin:0 0 24px;max-width:32em}
.case-intro .button{margin:0}
.case-note{font-size:15px;margin:0}
.case-facts{margin:0;border-top:1.5px solid var(--ink)}
.case-facts div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5}
.case-facts dt{font-weight:500}
.case-facts dd{margin:0;font-weight:700;overflow-wrap:anywhere}
.case-shot{margin:0 0 56px;border:1px solid rgba(17,19,24,.85);border-radius:12px;overflow:hidden;background:var(--surface)}
.case-shot.portrait{max-width:440px;margin-left:auto;margin-right:auto}
.case-bar{display:flex;align-items:center;height:40px;padding:0 12px;background:var(--surface);border-bottom:1px solid var(--line)}
.case-bar span{flex:1;min-width:0;height:26px;display:flex;align-items:center;padding:0 12px;border-radius:9999px;background:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-shot img{display:block;width:100%;max-height:720px;object-fit:cover;object-position:50% 0}
.case-body{max-width:720px}
.case-points{margin-bottom:48px}
.case-points h2{font-size:26px;font-weight:800;letter-spacing:-.03em;margin:0 0 12px}
.case-points ul{list-style:none;margin:0;padding:0;font-size:17px;line-height:1.6}
.case-points li{display:flex;gap:12px;padding:12px 0;border-top:1px dashed var(--line)}
.case-points li::before{content:"";flex:none;width:6px;height:6px;margin-top:.65em;border-radius:50%;background:var(--accent)}
.case-cta{max-width:1080px;margin:80px auto 0;padding:40px;border-radius:16px;background:var(--accent);color:var(--ink)}
.case-cta h2{font-size:clamp(28px,4vw,48px);font-weight:800;letter-spacing:-.04em;line-height:1.1;margin:0 0 12px}
.case-cta p{font-size:17px;margin:0 0 24px}
.case-cta .button{margin:0}
.case .related{max-width:1080px;margin-left:auto;margin-right:auto}

@media(max-width:860px){
  .case-head{grid-template-columns:minmax(0,1fr);align-items:start}
}
@media(max-width:600px){
  .author-box{grid-template-columns:auto minmax(0,1fr);padding:20px}
  .author-actions{grid-column:1/-1}
  .author-actions .button{flex:1}
  .post-nav{grid-template-columns:minmax(0,1fr)}
  .post-nav .next{grid-column:auto}
  .related{margin-top:56px}
  .case-shot{margin-bottom:40px}
  .case-shot img{max-height:520px}
  .case-cta{padding:28px 20px;margin-top:56px}
}

/* Comments: same reading column as the post */
.comments{margin-top:56px;padding-top:32px;border-top:1px solid var(--line)}
.comments>h2{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:800;letter-spacing:-.03em;margin:0 0 24px}
.comments-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:9999px;background:var(--gray-bg);font-size:14px;font-weight:700}
.comment-list,.comment-list .children{list-style:none;margin:0;padding:0}
.comment-list .children{margin:0 0 0 42px;padding:0 0 4px}
.comment-list .children>li{position:relative}
.comment-list .children>li::before{content:"";position:absolute;left:-26px;top:-6px;width:18px;height:36px;border-left:2px solid var(--line);border-bottom:2px solid var(--line);border-bottom-left-radius:12px}
.comment-list .children .comment-body{margin-top:12px;padding:14px 16px;border:0;border-radius:12px;background:var(--surface)}
.comment-body{padding:20px 0;border-bottom:1px solid var(--line)}
.comment-head{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:14px}
.comment-head time{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums}
.comment-mark{width:32px;height:32px;flex:none;border-radius:9999px;background:var(--gray-bg);display:grid;place-items:center;font-size:14px}
.bypostauthor>.comment-body .comment-mark{background:var(--ink);color:var(--accent)}
.comment-author{font-size:15px}
.bypostauthor>.comment-body .comment-author::after{content:"글쓴이";margin-left:6px;padding:1px 8px;border-radius:9999px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;vertical-align:1px}
.comment-text{font-size:16px;line-height:1.75;overflow-wrap:anywhere}
.comment-text p{margin:0 0 .75em}.comment-text p:last-child{margin-bottom:0}
.comment-wait{margin:0 0 8px;padding:8px 12px;border-radius:8px;background:var(--surface);font-size:14px}
.comment-reply{margin-top:8px}
.comment-reply a{font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.comments .comment-navigation .nav-links{justify-content:space-between;margin:16px 0 0}
.comments-closed{margin:24px 0 0;font-size:15px}
.comment-respond{margin-top:24px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.comment-list .comment-respond{margin:16px 0 8px}
.comment-reply-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:16px;font-weight:800;letter-spacing:-.02em;margin:0 0 10px}
.comment-reply-title small a{font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.comment-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.comment-form>p{margin:0}
.comment-form .comment-notes,.comment-form .logged-in-as,.comment-form .comment-form-comment,.comment-form .comment-form-cookies-consent,.comment-form .form-submit{grid-column:1/-1}
.comment-form .comment-notes,.comment-form .logged-in-as{font-size:14px}
.comment-form .logged-in-as a{text-decoration:underline;text-underline-offset:3px}
.comment-form label{display:block;margin-bottom:6px;font-size:14px;font-weight:700}
.comment-form label small{font-weight:400}
.comment-form .required{display:none}
.comment-form input[type=text],.comment-form input[type=email],.comment-form textarea{width:100%;min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:16px;line-height:1.6}
.comment-form textarea{min-height:84px;resize:vertical}
.comment-form input:focus,.comment-form textarea:focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
.comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px;font-size:14px}
.comment-form .comment-form-cookies-consent input{margin-top:4px;flex:none}
.comment-form .comment-form-cookies-consent label{display:inline;margin:0;font-weight:400}
.comment-form .form-submit{justify-self:end}
.comment-form .form-submit .button{margin:0;border:0;cursor:pointer;min-height:40px;padding:0 18px;font-size:14.5px}
.comment-form .comment-notes{font-size:13px;color:var(--muted)}
@media(max-width:600px){
  .comment-form{grid-template-columns:minmax(0,1fr)}
  .comment-respond{padding:20px 16px}
  .comment-list .children{margin-left:20px}
  .comment-list .children>li::before{left:-16px;width:10px}
  .comment-form .form-submit .button{width:100%}
}

/* ── 3.1.0 추가 (시안 mockups/blog-draft.css): 포인트 색 #ff5e10, 호버 규칙 통일, 대표 글, 연재, 광고 자리, 링크 복사, 작업 상세 한눈에 보기 ── */
:root{--accent-d:#e14d06;--accent-ink:#c24100}

/* 포인트 색 */
.menubar .me b,.art-mark,.author-mark{color:var(--accent)}
.bypostauthor>.comment-body .comment-author::after{background:var(--accent)}

/* 호버 규칙: 버튼 = 배경 한 단계, 카드 = 그림 1.04배 + 제목 밑줄 */
.write-button:hover{background:var(--accent-d);border-color:var(--accent-d);text-decoration:none}
.card-figure{overflow:hidden;border-radius:8px}
.card-art{transition:transform .5s cubic-bezier(.16,1,.3,1)}
.card-link:hover .card-art,.card-link:focus-visible .card-art{transform:scale(1.04)}
.card-link:hover .card-title,.card-link:focus-visible .card-title{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:.2em}
.card-link:focus-visible{outline:3px solid var(--ink);outline-offset:4px;border-radius:8px}
.button:focus-visible,.chip:focus-visible,.category-tabs a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* 작업 상세 안내(관리자에게만) */
.need-box{padding:16px 18px;border:2px dashed #f0b489;border-radius:10px;background:#fff8f2;color:#8a4b00;font-size:16px;line-height:1.7}

/* 대표 글 */
.feat{margin:8px 0 24px}
.feat-link{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(20px,3vw,48px);align-items:center;padding:clamp(16px,1.6vw,24px);border:1px solid var(--line);border-radius:16px;background:#fff}
.feat-art{aspect-ratio:16/9;border-radius:10px;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.feat-art .art-title{font-size:clamp(26px,2.8vw,44px);-webkit-line-clamp:3;max-width:80%}
.feat-link:hover .feat-art{transform:scale(1.02)}
.feat-label{margin:0 0 10px;color:var(--accent-ink);font-size:14px;font-weight:800}
.feat-text h2{margin:0;font-size:clamp(24px,2.4vw,36px);font-weight:800;line-height:1.3;letter-spacing:-.03em;text-wrap:balance}
.feat-text>p:not(.feat-label):not(.feat-meta){margin:12px 0 0;font-size:17px;line-height:1.65}
.feat-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 0 0;font-size:14px;color:#555}
.feat-more{display:inline-flex;align-items:center;gap:8px;margin-top:20px;min-height:48px;padding:0 22px;border-radius:99px;background:var(--ink);color:#fff;font-weight:700;transition:background .2s}
.feat-more .ico{transition:transform .25s}
.feat-link:hover .feat-more{background:#3a3d44}
.feat-link:hover .feat-more .ico{transform:translateX(4px)}
.feat-link:hover h2{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:.2em}

/* 연재 */
.series{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(20px,3vw,48px);margin:0 0 40px;padding:clamp(20px,2.4vw,36px);border-radius:16px;background:var(--ink);color:#fff}
.series-label{margin:0 0 8px;color:var(--accent-tint);font-size:14px;font-weight:800}
.series-head h2{margin:0;font-size:clamp(24px,2.4vw,34px);font-weight:800;line-height:1.3;letter-spacing:-.03em}
.series-head p:not(.series-label){margin:10px 0 0;color:#d4d4d8;font-size:16px;line-height:1.65}
.series-start{display:inline-flex;align-items:center;gap:8px;margin-top:20px;min-height:44px;padding:0 20px;border-radius:99px;background:var(--accent);color:var(--on-accent);font-weight:700;transition:background .2s}
.series-start:hover{background:var(--accent-d)}
.series-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;counter-reset:s}
.series-list a,.series-list .soon{display:grid;align-content:space-between;gap:10px;height:100%;min-height:150px;padding:16px;border-radius:12px;background:#2c2c30;transition:background .2s}
.series-list a:hover{background:#3a3a3e}
.series-list a:hover strong{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:.2em}
.series-list .soon{background:transparent;box-shadow:inset 0 0 0 1px #45454b;color:#a1a1aa}
.series-list small{font-size:13px;font-weight:800;color:var(--accent-tint)}
.series-list strong{font-size:16px;line-height:1.45}
.st{justify-self:start;padding:2px 9px;border-radius:99px;background:#45454b;font-size:12px;font-weight:700}
.st.on{background:#fff;color:var(--ink)}

/* 광고 자리 */
.ad-slot{display:grid;place-content:center;gap:4px;min-height:120px;padding:20px;border:2px dashed #c9ccd2;border-radius:10px;background:repeating-linear-gradient(45deg,#fafafa 0 10px,#f4f5f7 10px 20px);text-align:center;color:#6b7078}
.ad-slot.is-live{display:block;min-height:0;padding:0;border:0;background:none}
.ad-slot b{font-size:15px;color:var(--ink)}
.ad-slot span{font-size:13.5px;line-height:1.5}
.cards>.ad-slot{grid-column:1/-1}
.entry-content .ad-slot{margin:2em 0}
.ad-side{min-height:250px}

/* 링크 복사 */
.share-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin-left:auto;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;cursor:pointer;transition:background .2s}
.share-btn:hover{background:var(--gray-bg)}
.share-btn:focus-visible{outline:3px solid var(--ink);outline-offset:2px}

/* 연재 순서 상자 (글 상세) */
.series-box{margin:0 0 2em;padding:18px 20px;border-radius:12px;background:var(--ink);color:#fff;font-size:15px}
.series-box-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 10px!important}
.series-box-head span{padding:2px 9px;border-radius:99px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:800}
.series-box-head em{margin-left:auto;font-style:normal;color:#a1a1aa;font-size:13px}
.series-box ol{margin:0;padding-left:1.4em;line-height:1.9}
.series-box li::marker{color:#a1a1aa}
.series-box a{color:#fff;text-decoration-color:#71717a}
.series-box [aria-current] span{font-weight:800;color:var(--accent-tint)}
.series-box .soon{color:#a1a1aa}
.post-ph{margin:1.75em 0}
.ph-box{display:grid;place-items:center;aspect-ratio:16/9;border-radius:8px;background:repeating-linear-gradient(45deg,#f4f5f7 0 10px,#eceef1 10px 20px);color:#868b94;font-size:14px;font-weight:700}
.post-end{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:2.5em;padding-top:24px;border-top:1px solid var(--line)}
.next-ep{display:grid;gap:2px;flex:1;min-width:240px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;text-decoration:none!important}
.next-ep small{font-size:13px;font-weight:700;color:var(--muted)}
.next-ep strong{font-size:17px}
.next-ep:hover{border-color:var(--ink)}
.post-end .share-btn{margin-left:0}

/* 작업 상세 */
.case-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 32px}
.case-glance>div{padding:18px 20px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.case-glance small{display:block;margin-bottom:6px;color:var(--accent-ink);font-size:13px;font-weight:800}
.case-glance p{margin:0;font-size:16px;line-height:1.6;font-weight:600}
.case-story{display:grid;gap:40px;margin-top:8px}
.case-story h2{margin:0 0 12px;font-size:26px;font-weight:800;letter-spacing:-.03em}
.case-cta .button{background:var(--ink);border-color:var(--ink);color:#fff}


@media(max-width:900px){
  .feat-link{grid-template-columns:minmax(0,1fr)}
  .series{grid-template-columns:minmax(0,1fr)}
  .series-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-glance{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
  .series-list{display:flex;overflow-x:auto;margin-right:-16px;padding-right:16px}
  .series-list li{flex:0 0 72%}
  .share-btn{margin-left:0}
}
@media(prefers-reduced-motion:reduce){.card-art,.feat-art,.feat-more .ico{transition:none}}
.write-button{gap:6px}

/* ── 1.7.2 애드센스 광고 칸: 자리를 미리 잡아 화면 밀림을 줄이고, 광고가 안 채워지면 칸을 숨김 ── */
.ad-slot.is-ads{position:relative;min-height:280px;margin:2.4em 0;padding-top:22px}
.ad-slot.is-ads .ad-label{position:absolute;left:0;top:0;font-size:12px;line-height:1;color:#6b7078;letter-spacing:.02em}
.ad-slot.is-ads.ad-side{min-height:250px;margin:24px 0 0}
.ad-slot.is-ads:has(ins[data-ad-status="unfilled"]){display:none}
.cards>.ad-slot.is-ads{min-height:120px}
