/* Decent success-story layout: /kr/win_story/1251; existing local case data. */
.page-case-detail{--story-sidebar-width:304px}
.page-case-detail .reference-main{max-width:1600px;margin-inline:auto;padding-inline:clamp(28px,5vw,80px);padding-right:max(112px,5vw)}
.story-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--story-sidebar-width);align-items:start;gap:clamp(36px,4vw,64px)}
.story-sidebar{min-width:0;color:#222}
@media(min-width:961px){.story-sidebar{position:sticky;top:calc(var(--site-header-height,80px) + 24px);max-height:calc(100dvh - var(--site-header-height) - 196px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}}
.story-sidebar svg{width:18px;height:18px;flex-shrink:0}
.story-side-section{margin-top:36px}
.story-sidebar>.story-side-section:first-child{margin-top:0}
.story-side-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #292224}
.story-side-heading h2{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.04em;font-weight:700}
.story-side-heading>a{display:flex;align-items:center;gap:4px;color:#777;font-size:12px;white-space:nowrap}
.story-side-heading>a svg{width:14px;height:14px}
.story-side-note{margin:12px 0 0;color:#888;font-size:11px}
.story-side-list{list-style:none;margin:0;padding:0}
.story-side-list>li{margin:0;border-bottom:1px solid #e5e2e3}
.story-side-lawyer{display:flex;align-items:center;gap:15px;padding:18px 0}
.story-side-lawyer>img{display:block;flex-shrink:0;width:68px;height:78px;border-radius:50%;object-fit:cover;object-position:top;background:#f5f3f3}
.story-side-lawyer>div{min-width:0}
.story-side-lawyer h3{margin:0;font-size:19px;line-height:1.4;color:#222}
.story-side-lawyer h3>span{font-size:12px;font-weight:400;color:#666;white-space:nowrap}
.story-side-lawyer p{margin:5px 0;color:#777;font-size:12px;line-height:1.6;word-break:keep-all}
.story-side-profile{display:flex;align-items:center;gap:4px;color:var(--detail-accent);font-size:11px}
.story-side-profile svg{width:13px;height:13px}
.story-side-case{display:grid;grid-template-columns:auto minmax(0,1fr) 16px;align-items:center;gap:10px;padding:18px 0;font-size:13px;line-height:1.6;word-break:keep-all}
.story-side-result{padding:3px 7px;border:1px solid #ead0d0;background:#fcf5f5;color:var(--detail-accent);font-size:11px;font-weight:600;white-space:nowrap}
.story-side-case>svg{width:16px;height:16px;color:#777}
.story-side-field,.story-side-column{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;font-size:13px;line-height:1.6;word-break:keep-all}
.story-side-field strong{display:block;font-size:14px;font-weight:600}
.story-side-field small{display:block;margin-top:4px;color:#888;font-size:11px}
.story-side-field svg,.story-side-column svg{width:16px;height:16px;color:#777}
.story-side-list a:hover h3,.story-side-list a:hover strong,.story-side-case:hover,.story-side-column:hover,.story-side-heading>a:hover{color:var(--detail-accent)}
.story-sidebar a:focus-visible{outline:2px solid var(--detail-accent);outline-offset:4px}
.story-related-lists{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:64px 0 28px;padding-top:36px;border-top:1px solid #ddd}
.story-related-lists>.story-side-section{margin:0}
.page-case-detail .story-related-lists .story-side-heading h2{font-size:22px}
.story-related-lists svg{width:16px;height:16px;flex-shrink:0}
.story-related-lists .story-side-case,.story-related-lists .story-side-column{padding-block:16px}
.story-side-phone{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:34px;padding:25px 22px;border-radius:16px;background:var(--detail-accent);color:#fff}
.story-side-phone:is(:hover,:focus-visible){background:#aa2020;color:#fff}
.story-side-phone>span{color:#fff;font-size:12px}
.story-side-phone>strong{font-size:24px;line-height:1.3;letter-spacing:-.04em}
.story-side-phone>small{color:#fff;font-size:11px}
.story-side-phone>svg{position:absolute;right:20px;top:26px}
.story-article{min-width:0;color:#222}
.story-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;margin:0 0 55px;padding:45px 50px;overflow:hidden;border-radius:10px;background:var(--detail-primary);text-align:center}
.story-category{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 11px;margin-bottom:16px;border-radius:13px;background:#fff;color:var(--detail-primary);font-size:14px;font-weight:600;line-height:1}
.story-hero h1{margin:0;padding:0;color:#fff;font-size:clamp(25px,2.35vw,34px);font-weight:700;line-height:1.4}
.story-result{margin:5px 0 0;color:var(--brand-accent-bright,#ef4444);font-size:clamp(25px,2.35vw,34px);font-weight:700;line-height:1.4}
.story-client{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 0;color:var(--detail-on-dark);font-size:14px;font-weight:700;line-height:1.4}
.story-client svg{width:18px;height:18px;flex-shrink:0}
.story-client strong{margin-left:4px;color:#fff;font-weight:700}
.story-section{margin:0 0 95px}
.story-section>h2{position:relative;margin:0 0 32px;padding:0 0 14px 14px;border-bottom:1px solid #d8d8d8;color:#111;font-size:24px;font-weight:700;line-height:1.1}
.story-section>h2::before{position:absolute;top:0;left:0;width:4px;height:24px;background:var(--detail-primary);content:''}
.story-editor{color:#333;font-size:16px;font-weight:400;line-height:1.8}
.story-editor p{margin:0 0 18px;font-size:inherit;line-height:inherit}
.story-editor p:last-child{margin-bottom:0}
.story-editor h3{position:relative;margin:48px 0 0;padding:0 0 16px 14px;color:#444;font-size:18px;font-weight:600;line-height:1.6}
.story-editor h3::before{position:absolute;top:5px;left:0;width:4px;height:18px;background:#999;content:''}
.story-summary{padding:28px 32px;border-radius:12px;background:var(--detail-soft)}
.story-summary p{margin-bottom:10px}
.story-decision{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;margin:0 0 30px;padding:32px 24px;border:1px solid #ddd;background:var(--detail-soft);text-align:center}
.story-decision>span{color:#777;font-size:10px}
.story-decision>p{margin:18px 0;color:var(--detail-primary);font-size:32px;font-weight:700}
.story-decision>small{color:#777;font-size:12px}
.story-contact{margin:50px 0 55px;padding:28px 30px;border:1px solid var(--detail-accent);border-radius:16px;background:var(--detail-accent);text-align:center}
.story-contact h2{margin:0 0 12px;padding:0;color:#fff;font-size:20px;font-weight:700;line-height:1.4}
.story-contact p{margin:0 0 14px;color:#fff;font-size:16px;line-height:1.7}
.story-contact>div{display:flex;justify-content:center;gap:8px}
.story-contact a{display:flex;align-items:center;justify-content:center;gap:5px;width:160px;height:44px;border-radius:999px;background:#fff;color:var(--detail-accent);font-size:16px;font-weight:500}
.story-contact a:hover{background:#f8e5e5}
.story-contact a:nth-child(2){background:#7c1919;color:#fff}
.story-contact a:nth-child(2):hover{background:#641313}
.story-contact a:focus-visible{outline:2px solid #fff;outline-offset:4px}
.story-contact a svg,.story-contact a img{width:20px;height:20px;flex:none}
.story-contact a img{filter:invert(1)}
.story-article .detail-lawyers{margin-top:10px;padding-top:55px}
.story-article .detail-lawyers>h2{position:relative;margin:0 0 20px;padding:0 0 15px 15px;border-bottom:2px solid #f0f0f0;color:#171717;font-size:24px;line-height:1.5}
.story-article .detail-lawyers>h2::before{position:absolute;left:0;top:5px;width:4px;height:22px;background:var(--detail-primary);content:''}
.story-article .detail-lawyer{flex-basis:300px}
.story-post-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:26px;margin-top:46px;padding-top:26px;border-top:1px solid #ddd}
.story-post-nav-link{display:flex;min-width:0;align-items:center;gap:9px;padding:4px 0;text-align:left}
.story-post-nav-link>span{flex:none;color:#111;font-size:16.5px;font-weight:600}
.story-post-nav-link>strong{overflow:hidden;color:#777;font-size:16.5px;font-weight:600;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.story-post-nav-link>svg{width:20px;height:20px;color:#777;flex:none}
.story-post-nav-link.is-previous>svg{order:-1;transform:rotate(180deg)}
.story-post-nav-link.is-next{justify-content:flex-end;text-align:right}
.story-post-nav-list{display:inline-flex;min-width:97px;height:46px;align-items:center;justify-content:center;padding:0 20px;border:1px solid #999;border-radius:6px;color:#222;font-size:16.5px;font-weight:600}
.story-post-nav-list:hover{border-color:var(--detail-primary);color:var(--detail-primary)}
.story-post-nav-link:hover>svg{color:#a52e32}
@media(max-width:960px){
.page-case-detail .reference-main{padding-inline:28px}.story-layout{display:block}.story-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:30px;margin-top:64px;padding-top:32px;border-top:1px solid #ddd}.story-side-section,.story-side-phone{margin:0}.story-side-phone{align-self:stretch;justify-content:center}
.story-hero{min-height:190px;margin-bottom:42px;padding:32px 24px}.story-hero h1{font-size:25px}
.story-section{margin-bottom:46px}.story-editor{font-size:15px;line-height:1.75}
.story-article .detail-lawyers{padding-top:42px}
}
@media(max-width:768px){
.page-case-detail .reference-main{padding-inline:20px}.story-sidebar{display:block;margin-top:48px}.story-side-section,.story-side-phone{margin-top:30px}.story-side-heading h2{font-size:19px}.story-side-case,.story-side-column{font-size:14px}
.story-hero{border-radius:8px}.story-category{min-width:62px;min-height:27px}.story-hero h1,.story-result{font-size:22px}.story-client svg{width:16px;height:16px}
.story-contact{margin:40px 0 45px;padding:20px 15px;border-radius:10px}.story-contact h2{margin-bottom:10px;font-size:17px}.story-contact p{margin-bottom:13px;font-size:13px;line-height:1.65}
.story-contact>div{gap:8px}.story-contact a{width:50%;max-width:157px;height:44px;font-size:12px}
.story-related-lists{grid-template-columns:1fr;gap:28px;margin-top:48px;padding-top:28px}
.page-case-detail .story-related-lists .story-side-heading h2{font-size:21px}
.story-article .detail-lawyer{flex-basis:200px}
.story-post-nav{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:11px;margin-top:35px;padding-top:22px}
.story-post-nav-link{gap:5.5px}
.story-post-nav-link>span,.story-post-nav-link>strong{font-size:14.3px;font-weight:600}
.story-post-nav-link>svg{width:16.5px;height:16.5px}
.story-post-nav-list{min-width:68px;height:42px;padding-inline:11px;font-size:14.3px;font-weight:600}
}
@media(max-width:520px){
.story-post-nav{grid-template-columns:minmax(0,1fr);gap:9px}
.story-post-nav-link.is-next{justify-content:flex-start;text-align:left}
.story-post-nav-list{grid-row:2;justify-self:center}
.story-post-nav-empty{display:none}
}
