@charset "utf-8";

/* 법률 인사이트 목록 (/insight/) — Figma 07 법률 인사이트 (리스트) (node 1214:736)
   · 아트보드 1920, 카드 282×454 4열(간격 24), 줄 간격 56 */
.law-in{
    --in-cocoa: #2E2620;
    --in-mocha: #3F3329;
    --in-brown: #524638;
    --in-paper: #FFF8EE;
    --in-sand: #E8CFAE;
    --in-gold: #C9A36B;
    background: var(--in-cocoa);
}
.law-in :is(h1, h2, h3, p){ word-break: keep-all; overflow-wrap: anywhere; }

.in-list{ position: relative; isolation: isolate; margin-top: var(--header-h); padding: 48px 0 136px; overflow: hidden; background: linear-gradient(180deg, var(--in-cocoa) 0%, var(--in-brown) 100%); color: var(--in-paper); }
.in-list > .inner{ position: relative; z-index: 1; }

/* 배경 — 빛 번짐 3개 + 동심원 3개. 빛은 천천히 흐른다 */
.in-bg{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.in-glow{ position: absolute; display: block; border-radius: 50%; will-change: transform; animation: in-flow var(--t, 16s) ease-in-out infinite alternate; animation-play-state: paused; }
.in-glow.g1{ left: calc(50% - 1160px); top: -28px; width: 900px; height: 700px; background: rgba(160,112,90,.3); filter: blur(100px); --t: 15s; }
.in-glow.g2{ left: calc(50% + 140px); top: -388px; width: 900px; height: 700px; background: rgba(233,196,180,.16); filter: blur(110px); --t: 18s; animation-name: in-flow-back; }
.in-glow.g3{ left: calc(50% - 350px); top: 242px; width: 700px; height: 400px; background: rgba(201,163,107,.22); filter: blur(100px); --t: 13s; animation-delay: -4s; }
.in-ring{ position: absolute; left: 50%; display: block; border: 1px solid; border-radius: 50%; transform: translateX(-50%); }
.in-ring.r1{ top: 172px; width: 520px; height: 520px; border-color: rgba(255,248,238,.1); }
.in-ring.r2{ top: 32px; width: 800px; height: 800px; border-color: rgba(255,248,238,.07); }
.in-ring.r3{ top: -108px; width: 1080px; height: 1080px; border-color: rgba(255,248,238,.05); }
.in-list.is-live .in-glow{ animation-play-state: running; }
@keyframes in-flow{ 0%{ transform: translate3d(-6%, 4%, 0) scale(.96); } 50%{ transform: translate3d(10%, -8%, 0) scale(1.08); } 100%{ transform: translate3d(18%, 6%, 0) scale(1.02); } }
@keyframes in-flow-back{ 0%{ transform: translate3d(6%, -4%, 0) scale(1.04); } 50%{ transform: translate3d(-12%, 10%, 0) scale(.95); } 100%{ transform: translate3d(-20%, -6%, 0) scale(1.08); } }

/* 머리말 */
.in-head{ text-align: center; }
.in-eyebrow{ font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; color: var(--in-gold); }
.in-tit{ margin-top: 16px; font-size: 58px; font-weight: 700; line-height: 1.22; letter-spacing: -.03em; color: var(--in-paper); }
.in-tit em{ font-style: normal; color: var(--in-gold); }
.in-desc{ margin-top: 23px; font-size: 17px; line-height: 1.7; letter-spacing: -.01em; color: var(--in-sand); }

/* 최고관리자에게만 표시하는 글 관리 버튼 */
.in-admin-toolbar{ display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 48px; }
.in-admin-toolbar + .in-cards{ margin-top: 28px; }
.in-admin-btn{ display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(232,207,174,.6); border-radius: 8px; background: transparent; color: var(--in-paper); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.in-admin-btn--primary, .in-admin-btn:hover{ background: var(--in-paper); color: var(--in-brown); }
.in-admin-btn:focus-visible{ outline: 2px solid var(--in-gold); outline-offset: 3px; }
.in-card-admin{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.in-card-admin form{ display: flex; margin: 0; }
.in-card-admin .in-admin-btn{ min-height: 36px; padding: 6px 12px; font-size: 13px; }
.in-admin-status{ font-size: 12px; line-height: 1.4; color: var(--in-sand); }

/* 카드 */
.in-cards{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; margin-top: 102px; }
.in-cards > li[hidden]{ display: none; }
.in-card{ display: block; color: inherit; }
.in-thumb{ position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 282 / 352; overflow: hidden; border: 1px solid var(--in-sand); border-radius: 20px; }
.in-thumb img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.in-thumb__label{ font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: .1em; color: rgba(82,70,56,.5); }
.in-thumb.t1{ background: linear-gradient(135deg, #E8CFAE 0%, #F3DCD0 71%); }
.in-thumb.t2{ background: linear-gradient(135deg, #F3DCD0 0%, #E9C4B4 71%); }
.in-thumb.t3{ background: linear-gradient(135deg, #524638 0%, #8A6450 71%); border-color: var(--in-mocha); }
.in-thumb.t4{ background: linear-gradient(135deg, #B9B79A 0%, #E8CFAE 71%); }
.in-thumb.t5{ background: linear-gradient(135deg, #E9C4B4 0%, #E8CFAE 71%); }
.in-thumb.t6{ background: linear-gradient(135deg, #2E2620 0%, #524638 71%); border-color: var(--in-mocha); }
.in-thumb:is(.t3, .t6) .in-thumb__label{ color: rgba(255,248,238,.5); }
.in-card__tit{ margin-top: 20px; font-size: 19px; font-weight: 700; line-height: 1.42; letter-spacing: -.02em; color: #FFFFFF; transition: color .3s ease; }
.in-card__new{ display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 4px; background: var(--in-gold); color: var(--in-cocoa); font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: 0; vertical-align: middle; }
.in-card__meta{ display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 1.3; }
.in-card__meta .cate{ font-weight: 600; letter-spacing: -.01em; color: var(--in-sand); }
.in-card__meta i{ width: 3px; height: 3px; border-radius: 2px; background: rgba(122,106,86,.6); }
.in-card__meta time{ color: rgba(255,255,255,.4); }
.in-thumb{ transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease; }
a.in-card:hover .in-thumb, a.in-card:focus-visible .in-thumb{ transform: translateY(-6px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
a.in-card:hover .in-thumb img{ transform: scale(1.05); }
a.in-card:hover .in-card__tit{ color: var(--in-sand); }
a.in-card:focus-visible{ outline: 2px solid var(--in-gold); outline-offset: 6px; border-radius: 20px; }

/* 더보기 */
.in-more{ margin-top: 68px; text-align: center; }
.in-more[hidden]{ display: none; }
.in-more__btn{ height: 44px; padding: 0 38px; border: 1px solid var(--in-sand); border-radius: 22px; background: var(--in-paper); color: var(--in-brown); font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background .25s ease, color .25s ease; }
.in-more__btn:hover{ background: var(--in-sand); }
.in-more__btn:focus-visible{ outline: 2px solid var(--in-gold); outline-offset: 4px; }

/* 목록 하단 FAQ — 질문·답변은 처음부터 펼쳐서 보여 준다. */
.in-faq{ margin-top: 96px; padding-top: 56px; border-top: 1px solid rgba(232,207,174,.4); }
.in-faq__tit{ margin-top: 12px; font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--in-paper); }
.in-faq__list{ display: grid; gap: 16px; margin-top: 28px; }
.in-faq__item{ padding: 26px 32px; border: 1px solid var(--in-sand); border-radius: 16px; background: var(--in-paper); }
.in-faq__q{ font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em; color: var(--in-brown); }
.in-faq__a{ margin-top: 12px; font-size: 16px; line-height: 1.8; color: var(--in-brown); }

@media (prefers-reduced-motion: reduce){
    .in-glow{ animation: none; }
    .in-thumb, .in-thumb img, .in-card__tit{ transition: none; }
}

@media screen and (max-width: 1250px){
    .in-cards{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 950px){
    .in-list{ padding: 40px 0 100px; }
    .in-tit{ font-size: 44px; }
    .in-desc{ font-size: 16px; }
    .in-cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; margin-top: 64px; }
}
@media screen and (max-width: 650px){
    .in-list{ padding: 32px 0 80px; }
    .in-eyebrow{ font-size: 13px; }
    .in-tit{ margin-top: 12px; font-size: 34px; }
    .in-desc{ margin-top: 16px; font-size: 14px; }
    .in-desc br{ display: none; }
    .in-cards{ gap: 32px 12px; margin-top: 44px; }
    .in-thumb{ border-radius: 14px; }
    .in-card__tit{ margin-top: 14px; font-size: 15px; }
    .in-card__tit br{ display: none; }
    .in-card__meta{ flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; font-size: 12px; }
    .in-more{ margin-top: 48px; }
    .in-faq{ margin-top: 64px; padding-top: 40px; }
    .in-faq__tit{ font-size: 26px; }
    .in-faq__item{ padding: 20px; }
    .in-faq__q{ font-size: 17px; }
}

/* 목록 — 분야 필터(?cate=)로 들어왔을 때 */
.in-filter{ display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 8px 8px 8px 18px; border: 1px solid rgba(232,207,174,.4); border-radius: 999px; font-size: 14px; line-height: 1.3; }
.in-filter span{ font-weight: 700; color: var(--in-paper); }
.in-filter a{ padding: 6px 14px; border-radius: 999px; background: var(--in-paper); color: var(--in-brown); font-weight: 600; }


/* =====================================================================
   법률 인사이트 상세 (/insight/{slug}/) — Figma 08 법률 인사이트 (상세) (node 1219:21752)
   · 본문 720 + 사이드바 384 (간격 96), 크림 #FFF8EE 바탕
   ===================================================================== */
.law-iv{
    --iv-paper: #FFF8EE;
    --iv-brown: #524638;
    --iv-text: #7A6A56;
    --iv-accent: #A0705A;
    --iv-sand: #E8CFAE;
    --iv-blush: #F3DCD0;
    --iv-grad: linear-gradient(90deg, #A0705A 0%, #C08A5B 100%);
    --iv-soft: linear-gradient(135deg, #F3DCD0 0%, #E8CFAE 71%);
    --iv-shadow: 0 16px 44px rgba(46,38,32,.08);
    background: var(--iv-paper);
    color: var(--iv-brown);
}
.law-iv :is(h1, h2, h3, p, li, dt, dd){ word-break: keep-all; overflow-wrap: anywhere; }
.law-iv a{ color: inherit; }
.law-iv svg{ display: block; flex: none; }
.iv-ring{ position: absolute; display: block; border: 1px solid rgba(82,70,56,.1); border-radius: 50%; pointer-events: none; }

/* 공용 버튼 */
.iv-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-paper) !important; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.iv-btn svg{ width: 18px; height: 18px; transition: transform .3s ease; }
.iv-btn:hover svg{ transform: translateX(3px); }
.iv-btn--grad{ background: var(--iv-grad); box-shadow: 0 10px 22px rgba(46,38,32,.22); }
.iv-btn--grad:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(46,38,32,.28); }
.iv-btn--dark{ background: var(--iv-brown); }
.iv-btn--dark:hover{ background: #3F3329; }
.iv-btn:focus-visible{ outline: 2px solid var(--iv-accent); outline-offset: 4px; }

/* ---------- 글 머리 ---------- */
.iv-top{ position: relative; isolation: isolate; margin-top: var(--header-h); padding: 56px 0 64px; overflow: hidden; background: linear-gradient(180deg, rgba(243,220,208,.5) 0%, rgba(255,248,238,0) 100%), var(--iv-paper); }
.iv-top > .inner{ position: relative; z-index: 1; }
.iv-top__glow{ position: absolute; z-index: 0; left: calc(50% + 290px); top: -150px; width: 700px; height: 500px; border-radius: 50%; background: rgba(233,196,180,.3); filter: blur(100px); pointer-events: none; }
.iv-nav{ display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.iv-back{ display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-text) !important; transition: color .25s ease; }
.iv-back svg{ width: 16px; height: 16px; transition: transform .25s ease; }
.iv-back:hover{ color: var(--iv-brown) !important; }
.iv-back:hover svg{ transform: translateX(-3px); }
.iv-crumb{ display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 10px; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-text); }
.iv-crumb strong{ font-weight: 700; color: var(--iv-brown); }
.iv-crumb a:hover{ color: var(--iv-brown); }
.iv-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 55px; font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--iv-text); }
.iv-meta .iv-author{ color: inherit; text-decoration: none; }
.iv-meta .iv-author:hover{ text-decoration: underline; }
.iv-cate{ display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--iv-grad); font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--iv-paper) !important; }
.iv-tit{ max-width: 1000px; margin-top: 20px; font-size: 40px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--iv-brown); }
.iv-answer{ max-width: 1000px; margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: -.01em; color: var(--iv-brown); }

.iv-sum{ position: relative; isolation: isolate; margin-top: 48px; padding: 44px 48px 46px; overflow: hidden; border: 1px solid var(--iv-sand); border-radius: 20px; background: var(--iv-brown); }
.iv-sum > :not(i){ position: relative; z-index: 1; }
.iv-sum .iv-ring{ width: 420px; height: 420px; }
.iv-sum .iv-ring.r1{ left: 860px; top: -60px; border-color: rgba(255,255,255,.1); }
.iv-sum .iv-ring.r2{ left: 960px; top: 40px; border-color: rgba(255,255,255,.07); }
.iv-sum__lbl{ font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; color: rgba(255,248,238,.4); }
.iv-sum__desc{ max-width: 760px; margin-top: 6px; font-size: 17px; line-height: 1.6; letter-spacing: -.01em; color: var(--iv-paper); }
.iv-sum__info{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin-top: 36px; padding-top: 25px; border-top: 1px solid rgba(255,248,238,.16); }
.iv-sum__info > div{ display: flex; align-items: baseline; }
.iv-sum__info dt{ flex: none; width: 104px; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: rgba(255,248,238,.4); }
.iv-sum__info dd{ font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--iv-paper); }
.iv-sum__info dd.is-accent{ color: var(--iv-paper); }

/* ---------- 본문 + 사이드바 ---------- */
.iv-body{ padding: 16px 0 76px; background: var(--iv-paper); }
.iv-grid{ display: grid; grid-template-columns: minmax(0, 720px) 384px; justify-content: space-between; gap: 96px; align-items: start; }
.iv-main{ min-width: 0; }

.iv-sec{ display: flow-root; }
/* 메인 화면의 #sec1 높이 제한이 긴 인사이트 본문에 적용되는 것을 막는다. */
#sec1.iv-sec{ height: auto; min-height: 0; max-height: none; padding: 0; }
.iv-main > * + .iv-sec{ margin-top: 72px; }
.iv-h{ position: relative; padding-left: 34px; font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; color: var(--iv-brown); }
.iv-h__num{ position: absolute; left: 0; top: 9px; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .04em; color: var(--iv-accent); }
.iv-h3{ margin-top: 32px; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--iv-brown); }
.iv-p{ margin-top: 14px; font-size: 17px; line-height: 1.7; letter-spacing: -.01em; color: var(--iv-text); }
.iv-h + .iv-p, .iv-h3 + .iv-p{ margin-top: 20px; }
.iv-p strong, .iv-step__desc strong, .iv-ul strong{ font-weight: 700; color: var(--iv-brown); }
.iv-p a, .iv-ul a, .iv-step__desc a, .iv-faq a{ color: var(--iv-accent); text-decoration: underline; text-underline-offset: 3px; }

.iv-steps{ display: grid; gap: 12px; margin-top: 24px; }
.iv-step{ display: flex; align-items: flex-start; gap: 20px; padding: 24px 28px; border: 1px solid rgba(233,196,180,.6); border-radius: 16px; background: rgba(243,220,208,.38); transition: background .3s ease, transform .3s ease; }
.iv-step:hover{ background: rgba(243,220,208,.6); transform: translateX(4px); }
.iv-step__num{ display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: 2px; border-radius: 50%; background: var(--iv-brown); font-size: 15px; font-weight: 700; line-height: 1; color: var(--iv-paper); }
.iv-step__tit{ display: block; font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--iv-brown); }
.iv-step__desc{ margin-top: 5px; font-size: 15px; line-height: 1.65; letter-spacing: -.01em; color: var(--iv-text); }

.iv-check{ margin-top: 20px; padding: 32px 36px 18px; border: 1px solid var(--iv-sand); border-radius: 20px; background: var(--iv-paper); box-shadow: var(--iv-shadow); }
.iv-check__lbl{ font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; color: var(--iv-accent); }
.iv-check ul{ margin-top: 6px; }
.iv-check li{ display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--iv-brown); }
.iv-check li + li{ border-top: 1px solid var(--iv-sand); }
.iv-check__mark{ position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--iv-grad); }
.iv-check__mark::after{ content: ''; position: absolute; left: 10px; top: 7px; width: 6px; height: 11px; border: solid var(--iv-paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.iv-ul{ display: grid; gap: 8px; margin-top: 18px; }
.iv-ul li{ position: relative; padding-left: 18px; font-size: 17px; line-height: 1.7; letter-spacing: -.01em; color: var(--iv-text); }
.iv-ul li::before{ content: ''; position: absolute; left: 4px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--iv-accent); }

.iv-quote{ margin-top: 24px; padding: 24px 28px; border-left: 3px solid var(--iv-accent); border-radius: 0 16px 16px 0; background: rgba(243,220,208,.38); font-size: 17px; font-weight: 500; line-height: 1.7; letter-spacing: -.015em; color: var(--iv-brown); }

.iv-faq{ display: grid; gap: 12px; margin-top: 24px; }
.iv-faq__item{ padding: 24px 28px; border: 1px solid var(--iv-sand); border-radius: 16px; background: var(--iv-paper); box-shadow: var(--iv-shadow); }
.iv-faq dt, .iv-faq dd{ display: flex; gap: 12px; }
.iv-faq dt{ font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--iv-brown); }
.iv-faq dd{ margin-top: 10px; font-size: 16px; line-height: 1.7; letter-spacing: -.01em; color: var(--iv-text); }
.iv-faq dt > span, .iv-faq dd > span{ flex: none; width: 18px; font-weight: 800; color: var(--iv-accent); }

.iv-fig{ clear: both; margin: 40px 0 0; padding-bottom: 24px; }
.iv-fig img{ display: block; width: 100%; height: auto; border: 1px solid var(--iv-sand); border-radius: 16px; }
.iv-fig figcaption{ margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--iv-text); text-align: center; }

.iv-note{ margin-top: 16px; font-size: 13px; line-height: 1.6; letter-spacing: -.01em; color: rgba(122,106,86,.85); }


/* 사이드바 — 기본은 CSS sticky, ScrollSmoother 가 켜지면 스크립트 pin(.iv-js-pin) */
.iv-side{ min-width: 0; }
.iv-side__in{ position: sticky; top: calc(var(--header-h, 88px) + 24px); display: grid; gap: 16px; }
.iv-js-pin .iv-side__in{ position: relative; top: auto; }
.iv-card{ border: 1px solid var(--iv-sand); border-radius: 20px; background: var(--iv-paper); box-shadow: var(--iv-shadow); }
.iv-card__tit{ font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; color: var(--iv-brown); }
.iv-svc{ padding: 28px 28px 10px; }
.iv-svc ul{ margin-top: 12px; }
.iv-svc li + li{ border-top: 1px solid var(--iv-sand); }
.iv-svc a{ display: flex; align-items: center; gap: 16px; padding: 10px 0 20px; }
.iv-svc li + li a{ padding-top: 20px; }
.iv-svc__ico{ display: flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #E8CFAE 0%, #F3DCD0 71%); font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .02em; color: var(--iv-brown); transition: transform .3s ease; }
.iv-svc__ico.t2{ background: linear-gradient(135deg, #F3DCD0 0%, #E9C4B4 71%); }
.iv-svc__ico.is-img{ width: 64px; height: 64px; border-radius: 16px; background: transparent; overflow: hidden; }
.iv-svc__ico.is-img img{ display: block; width: 100%; height: 100%; object-fit: contain; }
.iv-svc__txt{ flex: 1; min-width: 0; }
.iv-svc__txt strong{ display: block; font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; color: var(--iv-brown); }
.iv-svc__txt small{ display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; letter-spacing: -.01em; color: var(--iv-text); }
.iv-arr{ width: 18px; height: 18px; color: var(--iv-brown); transition: transform .3s ease; }
.iv-svc a:hover .iv-arr{ transform: translateX(4px); }
.iv-svc a:hover .iv-svc__ico{ transform: rotate(-6deg); }
.iv-ask{ padding: 30px 28px 28px; background: linear-gradient(180deg, rgba(243,220,208,.7) 0%, #FFF8EE 100%); }
.iv-ask__tit{ font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--iv-brown); }
.iv-ask__desc{ margin-top: 10px; font-size: 15px; line-height: 1.65; letter-spacing: -.01em; color: var(--iv-text); }
.iv-ask .iv-btn{ width: 100%; height: 54px; margin-top: 22px; }

/* ---------- 이전·다음 · 관련 글 · 배너 ---------- */
.iv-foot{ padding: 0 0 120px; background: linear-gradient(180deg, rgba(255,248,238,0) 0%, rgba(243,220,208,.55) 100%), var(--iv-paper); }
.iv-pn{ border-top: 2px solid var(--iv-brown); }
.iv-pn__row{ display: flex; align-items: center; min-height: 68px; border-bottom: 1px solid var(--iv-sand); }
.iv-pn__lbl{ display: flex; flex: none; align-items: center; gap: 9px; width: 152px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--iv-text); }
.iv-pn__lbl svg{ width: 15px; height: 15px; }
.iv-pn__tit{ flex: 1; min-width: 0; padding: 18px 0; font-size: 17px; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; color: var(--iv-brown); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s ease; }
a.iv-pn__tit:hover{ color: var(--iv-accent); }
.iv-pn__tit.is-empty{ color: rgba(122,106,86,.6); }
.iv-tolist{ margin-top: 40px; text-align: center; }
.iv-tolist .iv-btn{ width: 120px; height: 52px; font-size: 15px; }

.iv-rel{ margin-top: 104px; }
.iv-rel__head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.iv-rel__eyebrow{ font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .08em; color: var(--iv-accent); }
.iv-rel__tit{ margin-top: 11px; font-size: 32px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; color: var(--iv-brown); }
.iv-rel__all{ display: inline-flex; flex: none; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-brown) !important; }
.iv-rel__all svg{ width: 16px; height: 16px; transition: transform .25s ease; }
.iv-rel__all:hover svg{ transform: translateX(4px); }
.iv-rel__list{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 41px; }
.iv-rc{ display: flex; flex-direction: column; height: 100%; min-height: 336px; padding: 24px; border: 1px solid var(--iv-sand); border-radius: 20px; background: var(--iv-paper); box-shadow: var(--iv-shadow); transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease; }
a.iv-rc:hover{ transform: translateY(-6px); box-shadow: 0 22px 48px rgba(46,38,32,.14); }
a.iv-rc:focus-visible{ outline: 2px solid var(--iv-accent); outline-offset: 4px; }
.iv-rc__top{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iv-rc__cate{ display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--iv-brown); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--iv-paper); white-space: nowrap; }
.iv-rc__top time{ font-size: 13px; line-height: 1.3; color: var(--iv-text); }
.iv-rc__tit{ margin-top: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--iv-sand); font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--iv-brown); }
.iv-rc__ex{ display: -webkit-box; margin-top: 17px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 15px; line-height: 1.65; letter-spacing: -.01em; color: var(--iv-text); }
.iv-rc__more{ display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 24px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-brown); }
.iv-rc__more i{ display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(243,220,208,.8); transition: background .3s ease, color .3s ease; }
.iv-rc__more svg{ width: 14px; height: 14px; }
a.iv-rc:hover .iv-rc__more i{ background: var(--iv-brown); color: var(--iv-paper); }
.iv-rc.is-soon .iv-rc__more{ color: rgba(122,106,86,.6); }

.iv-cta{ position: relative; isolation: isolate; display: flex; align-items: center; gap: 36px; margin-top: 88px; padding: 40px 56px; overflow: hidden; border: 1px solid var(--iv-sand); border-radius: 20px; background: linear-gradient(90deg, #F3DCD0 0%, #E8CFAE 100%); }
.iv-cta > :not(i){ position: relative; z-index: 1; }
.iv-cta .iv-ring{ left: 560px; top: -150px; width: 420px; height: 420px; border-color: rgba(82,70,56,.08); }
.iv-cta__glow{ position: absolute; left: 300px; top: -40px; width: 500px; height: 240px; border-radius: 50%; background: rgba(255,248,238,.45); filter: blur(50px); pointer-events: none; }
.iv-cta__txt{ flex: 1; min-width: 0; }
.iv-cta__tit{ font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; color: var(--iv-brown); }
.iv-cta__desc{ margin-top: 9px; font-size: 16px; line-height: 1.6; letter-spacing: -.01em; color: var(--iv-text); }
.iv-cta__tel{ flex: none; text-align: right; }
.iv-cta__tel span{ display: block; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-text); }
.iv-cta__tel a{ display: block; margin-top: 3px; font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--iv-accent) !important; }
.iv-cta__btn{ flex: none; width: 205px; height: 56px; }

@media (prefers-reduced-motion: reduce){
    .iv-btn, .iv-btn svg, .iv-step, .iv-rc, .iv-svc__ico, .iv-arr, .iv-back svg, .iv-rel__all svg{ transition: none; }
}

@media screen and (max-width: 1250px){
    .iv-grid{ grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
    .iv-rel__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iv-rc{ min-height: 0; }
    .iv-cta{ flex-wrap: wrap; gap: 20px 32px; }
    .iv-cta__txt{ flex-basis: 100%; }
    .iv-cta__tel{ text-align: left; }
}
@media screen and (max-width: 950px){
    .iv-top{ padding: 36px 0 52px; }
    .iv-nav{ flex-direction: column; align-items: flex-start; gap: 12px; }
    .iv-crumb{ justify-content: flex-start; }
    .iv-meta{ margin-top: 36px; }
    .iv-tit{ font-size: 32px; }
    .iv-sum{ padding: 36px 32px; }
    .iv-sum__info{ grid-template-columns: minmax(0, 1fr); }
    .iv-grid{ grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .iv-side__in{ position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .iv-body{ padding-bottom: 88px; }
    .iv-rel{ margin-top: 80px; }
    .iv-rel__tit{ font-size: 28px; }
}
@media screen and (max-width: 650px){
    .iv-top{ padding: 24px 0 40px; }
    .iv-crumb{ display: none; }
    .iv-meta{ margin-top: 28px; font-size: 13px; }
    .iv-cate{ height: 30px; padding: 0 13px; font-size: 13px; }
    .iv-tit{ margin-top: 16px; font-size: 25px; }
    .iv-tit br{ display: none; }
    .iv-sum{ margin-top: 32px; padding: 28px 22px; border-radius: 16px; }
    .iv-answer{ margin-top: 18px; font-size: 16px; }
    .iv-sum__desc{ font-size: 15px; }
    .iv-sum__info{ margin-top: 24px; padding-top: 20px; }
    .iv-sum__info dt{ width: 84px; font-size: 13px; }
    .iv-sum__info dd{ font-size: 15px; }
    .iv-body{ padding: 8px 0 72px; }
    .iv-main > * + .iv-sec{ margin-top: 52px; }
    .iv-fig{ margin-top: 28px; padding-bottom: 16px; }
    .iv-h{ padding-left: 28px; font-size: 21px; }
    .iv-h__num{ top: 6px; font-size: 13px; }
    .iv-p, .iv-ul li, .iv-quote{ font-size: 15px; }
    .iv-step{ gap: 14px; padding: 18px; }
    .iv-step__num{ width: 30px; height: 30px; font-size: 13px; }
    .iv-step__tit{ font-size: 16px; }
    .iv-step__desc{ font-size: 14px; }
    .iv-check{ padding: 24px 20px 10px; border-radius: 16px; }
    .iv-check li{ gap: 12px; font-size: 15px; }
    .iv-check__mark{ width: 24px; height: 24px; }
    .iv-check__mark::after{ left: 8px; top: 5px; width: 5px; height: 10px; }
    .iv-faq__item{ padding: 20px; }
    .iv-faq dt{ font-size: 16px; }
    .iv-faq dd{ font-size: 15px; }
    .iv-side__in{ grid-template-columns: minmax(0, 1fr); }
    .iv-pn__lbl{ width: 84px; font-size: 13px; }
    .iv-pn__tit{ font-size: 15px; }
    .iv-rel{ margin-top: 64px; }
    .iv-rel__head{ flex-direction: column; align-items: flex-start; gap: 14px; }
    .iv-rel__tit{ font-size: 23px; }
    .iv-rel__all{ margin-bottom: 0; font-size: 14px; }
    .iv-rel__list{ grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
    .iv-rc__tit br{ display: none; }
    .iv-cta{ margin-top: 64px; padding: 30px 22px; border-radius: 16px; }
    .iv-cta__tit{ font-size: 21px; }
    .iv-cta__desc{ font-size: 14px; }
    .iv-cta__tel a{ font-size: 22px; }
    .iv-cta__btn{ width: 100%; }
}
