/* ================================================================
   areum-villa — 블로그 글 3컬럼 레이아웃 (post-layout.css)
   원본: areum-villa-blog.html <style> 전체를 avv- 접두사로 포팅.
   폰트: Pretendard / Newsreader / JetBrains Mono / Caveat (PHP에서 enqueue)
   반응형: 1180px / 1024px / 640px
   ================================================================ */

/* ----------------------------------------------------------------
 * CSS 변수 — .avv-post-wrap 스코프
 * ---------------------------------------------------------------- */
.avv-post-wrap {
	--avv-paper:        #FAFAF7;
	--avv-surface:      #FFFFFF;
	--avv-ink:          #0F172A;
	--avv-body:         #334155;
	--avv-muted:        #64748B;
	--avv-line:         #E2E8F0;
	--avv-accent:       #0B8A3D;
	--avv-accent-soft:  #DCFCE7;
	--avv-highlight:    #22C55E;
	--avv-slate-soft:   #EEF2F6;
	--avv-slate-mid:    #E2E8F0;
	--avv-slate-text:   #475569;
	--avv-warning:      #9F1239;
	--avv-warning-soft: #FFE4E6;
	--avv-naver:        #03C75A;
	--avv-radius:       14px;

	box-sizing: border-box;
	background: var(--avv-paper);
	color: var(--avv-ink);
	font-family: 'Pretendard Variable', 'Pretendard', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

.avv-post-wrap *,
.avv-post-wrap *::before,
.avv-post-wrap *::after { box-sizing: border-box; }

.avv-post-wrap a { color: inherit; }

/* ----------------------------------------------------------------
 * 상단 네비 (원본 .nav-wrap / .nav)
 * ---------------------------------------------------------------- */
.avv-nav-wrap {
	position: fixed;
	top: 16px;
	left: 16px;
	right: 16px;
	z-index: 50;
}

.avv-nav {
	max-width: 1320px;
	margin: 0 auto;
	background: rgba(255, 255, 255, .85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--avv-line);
	border-radius: 999px;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.avv-nav-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 800;
	color: var(--avv-ink);
}

.avv-nav-dot {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--avv-naver);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 900;
}

.avv-nav-serif {
	color: var(--avv-muted);
	font-style: italic;
	font-size: 13px;
	font-weight: 400;
	margin-left: 4px;
	font-family: 'Newsreader', Georgia, serif;
}

.avv-nav-cta {
	background: var(--avv-naver);
	color: var(--avv-paper);
	text-decoration: none;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	transition: background .2s;
}

.avv-nav-cta:hover { background: var(--avv-accent); }

.avv-nav-spacer { height: 96px; }

/* ----------------------------------------------------------------
 * 3컬럼 레이아웃 (원본 .layout)
 * ---------------------------------------------------------------- */
.avv-layout {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr) 340px;
	gap: 44px;
	padding: 24px 32px 80px;
	align-items: start;
}

.avv-wrap { max-width: 720px; margin: 0 auto; }

/* ----------------------------------------------------------------
 * 좌측: sticky 목차 (원본 .toc)
 * ---------------------------------------------------------------- */
.avv-toc {
	position: sticky;
	top: 120px;
	align-self: start;
	font-size: 13px;
}

.avv-toc-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: .25em;
	text-transform: uppercase;
	color: var(--avv-ink);
	font-weight: 700;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--avv-line);
}

.avv-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avv-toc a {
	display: block;
	padding: 8px 12px;
	color: var(--avv-muted);
	text-decoration: none;
	border-left: 2px solid transparent;
	line-height: 1.5;
	font-size: 13px;
	transition: all .15s;
	word-break: keep-all;
}

.avv-toc a:hover {
	color: var(--avv-ink);
	background: var(--avv-slate-soft);
}

.avv-toc a.active {
	color: var(--avv-ink);
	font-weight: 700;
	border-left-color: var(--avv-naver);
	background: var(--avv-slate-soft);
}

/* 읽기 진행바 (원본 .toc .progress) */
.avv-toc-progress {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--avv-line);
	font-size: 11px;
	color: var(--avv-muted);
}

.avv-progress-bar {
	height: 3px;
	background: var(--avv-line);
	border-radius: 99px;
	overflow: hidden;
	margin-top: 8px;
}

.avv-progress-bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--avv-naver);
	transition: width .15s;
}

/* ----------------------------------------------------------------
 * 가운데: 본문 article (원본 article.wrap)
 * ---------------------------------------------------------------- */

/* 브레드크럼 (원본 .crumb) */
.avv-crumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--avv-muted);
	font-size: 12px;
	margin-bottom: 24px;
}

.avv-crumb a {
	text-decoration: none;
	color: var(--avv-muted);
}

.avv-crumb a:hover { color: var(--avv-ink); }

.avv-crumb .avv-sep { color: var(--avv-line); }

.avv-crumb .avv-here {
	color: var(--avv-ink);
	font-weight: 500;
}

/* ----------------------------------------------------------------
 * Hero 섹션 (원본 .hero / [villa_hero] 출력)
 * ---------------------------------------------------------------- */
.avv-hero { margin: 0 0 24px; }

.avv-issue-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.avv-cat-tag {
	font-family: 'JetBrains Mono', monospace;
	background: var(--avv-accent);
	color: #fff;
	padding: 4px 10px;
	border-radius: 99px;
	font-size: 10px;
	letter-spacing: .15em;
	font-weight: 600;
}

.avv-case-no {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--avv-muted);
}

.avv-h1 {
	font-size: 35px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--avv-ink);
	margin: 0 0 14px;
	word-break: keep-all;
}

.avv-sub {
	display: block;
	font-family: 'Newsreader', serif;
	font-style: italic;
	font-weight: 500;
	color: var(--avv-muted);
	font-size: .58em;
	margin-top: 8px;
}

.avv-lede {
	font-size: 18px;
	color: var(--avv-body);
	line-height: 1.7;
	margin: 24px 0 28px;
	word-break: keep-all;
}

.avv-lede p { margin: 0 0 12px; }
.avv-lede p:last-child { margin-bottom: 0; }
.avv-lede b { color: var(--avv-ink); font-weight: 600; }

.avv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	color: var(--avv-muted);
	font-size: 13px;
	padding: 18px 0;
	border-top: 1px solid var(--avv-line);
	border-bottom: 1px solid var(--avv-line);
}

.avv-meta-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.avv-meta-author img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.avv-name {
	color: var(--avv-ink);
	font-weight: 600;
	font-size: 14px;
}

.avv-role { font-size: 12px; color: var(--avv-muted); }

.avv-meta-stats {
	display: flex;
	gap: 14px;
	margin-left: auto;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
}

.avv-meta-stats b { color: var(--avv-ink); }
.avv-rating { color: var(--avv-accent); font-weight: 700; }

/* ----------------------------------------------------------------
 * 커버 이미지 (원본 .cover-image / .cover-caption)
 * ---------------------------------------------------------------- */
.avv-cover-image {
	margin: 32px 0 8px;
	border-radius: var(--avv-radius);
	overflow: hidden;
	background: var(--avv-line);
	aspect-ratio: 16 / 9;
}

.avv-cover-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avv-cover-caption {
	font-family: 'Newsreader', serif;
	font-style: italic;
	font-size: 13px;
	color: var(--avv-muted);
	margin-top: 8px;
}

/* ----------------------------------------------------------------
 * 본문 공통 텍스트 (원본 section / h2.section / h3.sub / p)
 * ---------------------------------------------------------------- */
.avv-article section {
	margin: 56px 0;
	scroll-margin-top: 120px;
}

.avv-article h2.avv-section {
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 18px;
	line-height: 1.3;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--avv-ink);
	word-break: keep-all;
	scroll-margin-top: 120px;
}

.avv-article h2.avv-section .avv-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: var(--avv-accent);
	letter-spacing: .1em;
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

/* 섹션 숏코드가 생성하는 H2 도 동일하게 */
.avv-article h2 {
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 18px;
	line-height: 1.3;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--avv-ink);
	word-break: keep-all;
	scroll-margin-top: 120px;
}

.avv-article h3,
.avv-article h3.avv-sub {
	font-size: 20px;
	font-weight: 700;
	margin: 28px 0 12px;
	color: var(--avv-ink);
	word-break: keep-all;
}

.avv-article p {
	margin: 14px 0;
	color: var(--avv-body);
	font-size: 16px;
	line-height: 1.85;
	word-break: keep-all;
}

.avv-article p strong { font-weight: 700; color: var(--avv-ink); }

.avv-article p em {
	font-style: normal;
	font-weight: 600;
	background: linear-gradient(to top, var(--avv-accent-soft) 55%, transparent 55%);
	padding: 0 2px;
}

/* ----------------------------------------------------------------
 * Takeaway (원본 .takeaway / [villa_takeaway])
 * ---------------------------------------------------------------- */
.avv-takeaway {
	background: var(--avv-slate-soft);
	border-left: 4px solid var(--avv-naver);
	border-radius: 8px;
	padding: 28px 30px;
	margin: 32px 0 48px;
}

.avv-takeaway h2 {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--avv-ink);
	font-weight: 700;
	margin: 0 0 16px;
	padding: 0;
	border: none;
}

.avv-takeaway ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avv-takeaway li {
	position: relative;
	padding: 8px 0 8px 28px;
	font-size: 15px;
	color: var(--avv-ink);
	line-height: 1.6;
	border-bottom: 1px dashed rgba(15, 23, 42, .15);
	word-break: keep-all;
}

.avv-takeaway li:last-child { border-bottom: none; }

.avv-takeaway li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 14px;
	height: 8px;
	border-left: 2px solid var(--avv-accent);
	border-bottom: 2px solid var(--avv-accent);
	transform: rotate(-45deg);
}

.avv-takeaway b { color: var(--avv-accent); font-weight: 700; }

/* ----------------------------------------------------------------
 * Info Table (원본 .info-table / [villa_infotable])
 * ---------------------------------------------------------------- */
.avv-info-table {
	background: var(--avv-surface);
	border: 1px solid var(--avv-line);
	border-radius: var(--avv-radius);
	overflow: hidden;
	margin: 24px 0;
}

.avv-info-table .avv-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	border-bottom: 1px solid var(--avv-line);
}

.avv-info-table .avv-row:last-child { border-bottom: none; }

.avv-info-table .avv-row .avv-k {
	background: var(--avv-slate-soft);
	padding: 14px 18px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--avv-ink);
	font-weight: 600;
	letter-spacing: .04em;
	display: flex;
	align-items: center;
}

.avv-info-table .avv-row .avv-v {
	padding: 14px 18px;
	font-size: 14px;
	color: var(--avv-body);
	line-height: 1.55;
}

.avv-info-table .avv-row .avv-v b {
	color: var(--avv-ink);
	font-weight: 600;
}

/* ----------------------------------------------------------------
 * Field Report (원본 .field-report / [villa_fieldreport])
 * ---------------------------------------------------------------- */
.avv-field-report {
	background: #FDFDF7;
	border: 1px solid var(--avv-line);
	border-radius: var(--avv-radius);
	padding: 24px;
	margin: 28px 0;
}

.avv-fr-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--avv-line);
}

.avv-fr-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: .2em;
	color: var(--avv-accent);
	font-weight: 700;
}

.avv-fr-when {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--avv-muted);
}

.avv-fr-body p {
	margin: 0 0 12px;
	color: var(--avv-body);
	font-size: 16px;
	line-height: 1.85;
}

.avv-fr-photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 14px 0;
}

.avv-fr-photos figure { margin: 0; }

.avv-fr-photos img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
	background: var(--avv-line);
}

.avv-fr-photos figcaption {
	font-family: 'Newsreader', serif;
	font-style: italic;
	font-size: 11px;
	color: var(--avv-muted);
	margin-top: 4px;
}

.avv-fr-memo {
	background: var(--avv-paper);
	border: 1px dashed var(--avv-line);
	border-radius: 8px;
	padding: 16px 18px;
	margin-top: 14px;
	font-family: 'Caveat', cursive;
	font-size: 18px;
	line-height: 1.5;
	color: var(--avv-ink);
}

.avv-fr-memo small {
	display: block;
	font-family: 'Pretendard Variable', sans-serif;
	font-size: 11px;
	color: var(--avv-muted);
	margin-top: 8px;
}

/* ----------------------------------------------------------------
 * Pros / Cons (원본 .proscons / [villa_proscons])
 * ---------------------------------------------------------------- */
.avv-proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 24px 0;
}

.avv-proscons .avv-col {
	background: var(--avv-surface);
	border: 1px solid var(--avv-line);
	border-radius: var(--avv-radius);
	padding: 22px 24px;
}

.avv-proscons .avv-col.avv-pro { border-top: 3px solid var(--avv-accent); }
.avv-proscons .avv-col.avv-con { border-top: 3px solid var(--avv-warning); }

.avv-proscons .avv-col h4 {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .15em;
	margin: 0 0 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.avv-proscons .avv-col.avv-pro h4 { color: var(--avv-accent); }
.avv-proscons .avv-col.avv-con h4 { color: var(--avv-warning); }

.avv-proscons .avv-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.avv-proscons .avv-col li {
	padding: 10px 0 10px 22px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--avv-body);
	border-bottom: 1px dashed var(--avv-line);
	position: relative;
}

.avv-proscons .avv-col li:last-child { border-bottom: none; }

.avv-proscons .avv-col.avv-pro li::before {
	content: "+";
	position: absolute;
	left: 0;
	top: 10px;
	color: var(--avv-accent);
	font-weight: 700;
	font-size: 16px;
}

.avv-proscons .avv-col.avv-con li::before {
	content: "\2212"; /* − */
	position: absolute;
	left: 0;
	top: 10px;
	color: var(--avv-warning);
	font-weight: 700;
	font-size: 16px;
}

.avv-proscons .avv-col li b { color: var(--avv-ink); font-weight: 600; }

/* ----------------------------------------------------------------
 * Verdict (원본 .verdict / [villa_verdict])
 * ---------------------------------------------------------------- */
.avv-verdict {
	background: linear-gradient(180deg, #0F172A 0%, #13351F 100%);
	color: #fff;
	border-radius: var(--avv-radius);
	padding: 32px 30px;
	margin: 40px 0;
}

.avv-vtag {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: .2em;
	color: var(--avv-highlight);
	background: rgba(34, 197, 94, .15);
	padding: 5px 12px;
	border-radius: 99px;
	margin-bottom: 18px;
}

.avv-verdict h3 {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
	letter-spacing: -.015em;
	color: #fff;
}

.avv-oneliner {
	font-family: 'Newsreader', serif;
	font-style: italic;
	font-size: 20px;
	color: var(--avv-highlight);
	line-height: 1.5;
	margin: 0 0 20px;
}

.avv-vbody p {
	font-size: 15px;
	color: rgba(255, 255, 255, .85);
	line-height: 1.8;
	margin: 0 0 12px;
}

/* ----------------------------------------------------------------
 * Checklist (원본 .checklist / [villa_checklist])
 * ---------------------------------------------------------------- */
.avv-checklist {
	background: var(--avv-ink);
	color: #fff;
	border-radius: var(--avv-radius);
	padding: 28px 30px;
	margin: 32px 0;
}

.avv-checklist h4 {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .2em;
	color: var(--avv-highlight);
	text-transform: uppercase;
	margin: 0 0 16px;
}

.avv-checklist ol {
	list-style: none;
	counter-reset: avvc;
	margin: 0;
	padding: 0;
}

.avv-checklist li {
	counter-increment: avvc;
	padding: 10px 0 10px 36px;
	font-size: 14.5px;
	line-height: 1.65;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	position: relative;
	color: #fff;
}

.avv-checklist li:last-child { border-bottom: none; }

.avv-checklist li::before {
	content: counter(avvc, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 12px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	color: var(--avv-highlight);
	font-weight: 700;
}

.avv-checklist li b { color: var(--avv-highlight); font-weight: 600; }

/* ----------------------------------------------------------------
 * FAQ (원본 .faq / [villa_faq])
 * ---------------------------------------------------------------- */
.avv-faq details {
	background: var(--avv-surface);
	border: 1px solid var(--avv-line);
	border-radius: var(--avv-radius);
	margin: 8px 0;
	overflow: hidden;
}

.avv-faq summary {
	padding: 18px 22px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 48px;
	color: var(--avv-ink);
}

.avv-faq summary::-webkit-details-marker { display: none; }

.avv-faq summary::after {
	content: "+";
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 300;
	color: var(--avv-accent);
	transition: transform .2s;
}

.avv-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.avv-faq .avv-answer {
	padding: 16px 22px 20px;
	color: var(--avv-body);
	font-size: 15px;
	line-height: 1.75;
	border-top: 1px solid var(--avv-line);
}

.avv-faq .avv-answer b { color: var(--avv-ink); font-weight: 600; }

/* ----------------------------------------------------------------
 * Consult Block (원본 .consult-block / [villa_consult])
 * ---------------------------------------------------------------- */
.avv-consult-block {
	background: linear-gradient(180deg, #0F172A 0%, #13351F 100%);
	color: #fff;
	border-radius: var(--avv-radius);
	padding: 38px 34px;
	margin: 48px 0;
}

.avv-ctag {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	letter-spacing: .2em;
	color: var(--avv-highlight);
	background: rgba(34, 197, 94, .15);
	padding: 5px 12px;
	border-radius: 99px;
	margin-bottom: 16px;
}

.avv-consult-block h3 {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px;
	letter-spacing: -.02em;
	color: #fff;
}

.avv-clead {
	font-size: 15px;
	color: rgba(255, 255, 255, .75);
	margin: 0 0 22px;
	line-height: 1.7;
}

.avv-consult-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.avv-consult-form .avv-full { grid-column: 1 / -1; }

.avv-consult-form label {
	display: block;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 6px;
	font-weight: 600;
}

.avv-consult-form input,
.avv-consult-form select,
.avv-consult-form textarea {
	width: 100%;
	padding: 13px 15px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .15);
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 14px;
	font-family: inherit;
}

.avv-consult-form input::placeholder,
.avv-consult-form textarea::placeholder { color: rgba(255, 255, 255, .4); }

.avv-consult-form input:focus,
.avv-consult-form select:focus,
.avv-consult-form textarea:focus {
	outline: none;
	border-color: var(--avv-highlight);
}

.avv-consult-form option { color: #000; }

.avv-consult-submit {
	grid-column: 1 / -1;
	background: var(--avv-naver);
	color: #fff;
	border: none;
	padding: 15px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s;
	font-family: inherit;
}

.avv-consult-submit:hover { background: #02B33B; }
.avv-consult-submit:disabled { opacity: .85; cursor: default; }

.avv-consult-block .avv-agree {
	grid-column: 1 / -1;
	font-size: 11px;
	color: rgba(255, 255, 255, .5);
	text-align: center;
}

/* ----------------------------------------------------------------
 * Tags (원본 .tags / [villa_tags])
 * ---------------------------------------------------------------- */
.avv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 16px;
}

.avv-tags a {
	font-size: 13px;
	color: var(--avv-slate-text);
	background: var(--avv-slate-soft);
	padding: 6px 14px;
	border-radius: 99px;
	text-decoration: none;
	font-weight: 500;
	transition: all .15s;
}

.avv-tags a:hover { background: var(--avv-ink); color: #fff; }

/* ----------------------------------------------------------------
 * Disclaimer (원본 .disclaimer / [villa_disclaimer])
 * ---------------------------------------------------------------- */
.avv-disclaimer {
	font-size: 12px;
	color: var(--avv-muted);
	line-height: 1.7;
	background: var(--avv-slate-soft);
	padding: 20px;
	border-radius: 8px;
	margin-top: 32px;
}

.avv-disclaimer b { color: var(--avv-ink); }

/* ----------------------------------------------------------------
 * 우측 사이드 — prop-card + 미니지도 (원본 aside.side)
 * ---------------------------------------------------------------- */
.avv-side {
	position: sticky;
	top: 120px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.avv-prop-card {
	background: var(--avv-surface);
	border: 1px solid var(--avv-line);
	border-radius: var(--avv-radius);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
}

/* 미니 지도 영역 (원본 .map-mini) */
.avv-map-mini {
	height: 170px;
	position: relative;
	display: flex; /* #avvMiniMap을 실제 높이 가진 flex 요소로 (네이버 타일 0px 인식 방지) */
	background: #E8EDF0;
	overflow: hidden;
}

.avv-map-mini #avvMiniMap {
	flex: 1;
	position: relative;
	min-width: 0;
	height: 170px;
}

/* 폴백 배경 (네이버 SDK 없을 때) */
.avv-mini-fallback {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#dfe7d8 1px, transparent 1px) 0 0 / 100% 30px,
		linear-gradient(90deg, #dfe7d8 1px, transparent 1px) 0 0 / 30px 100%,
		radial-gradient(circle at 65% 60%, #d6e6ef 0 22%, transparent 55%),
		#eef3ea;
}

.avv-road {
	position: absolute;
	background: #fff;
	box-shadow: 0 0 0 1px #e3e3e3;
}

.avv-pin {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -100%);
	z-index: 3;
	background: #E5436F;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 16px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
	border: 2px solid #fff;
}

.avv-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -7px;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #E5436F;
}

.avv-badge-naver {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 4;
	background: var(--avv-naver);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 5px;
}

/* prop-body (원본 .prop-body) */
.avv-prop-body { padding: 18px 20px; }

.avv-ptype {
	font-size: 11px;
	color: var(--avv-muted);
	font-weight: 600;
	font-family: 'JetBrains Mono', monospace;
	letter-spacing: .05em;
}

.avv-pprice {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 3px 0 2px;
}

.avv-pspec { font-size: 13px; color: var(--avv-body); }

/* badges */
.avv-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 4px;
}

.avv-badges span {
	font-size: 11px;
	background: var(--avv-accent-soft);
	color: var(--avv-accent);
	border-radius: 5px;
	padding: 3px 8px;
	font-weight: 600;
}

/* 버튼 (원본 .btn) */
.avv-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 13px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: all .18s;
	margin-top: 8px;
}

.avv-btn-map { background: var(--avv-naver); color: #fff; }
.avv-btn-map:hover { background: var(--avv-accent); color: #fff; }

.avv-btn-call { background: #FF7A00; color: #fff; }
.avv-btn-call:hover { background: #E56E00; color: #fff; }

/* ----------------------------------------------------------------
 * Footer (원본 footer)
 * ---------------------------------------------------------------- */
.avv-footer {
	background: var(--avv-ink);
	color: #fff;
	margin-top: 60px;
	padding: 48px 24px;
}

.avv-fwrap {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}

.avv-footer b { color: #fff; }
.avv-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.avv-footer a:hover { color: var(--avv-naver); }

/* ----------------------------------------------------------------
 * 반응형 (원본과 동일 breakpoints: 1180 / 1024 / 640)
 * ---------------------------------------------------------------- */
@media (max-width: 1180px) {
	.avv-layout {
		grid-template-columns: 1fr minmax(0, 1fr) 320px;
		gap: 28px;
		padding: 24px;
	}
	.avv-toc { display: none; }
}

@media (max-width: 1024px) {
	.avv-layout {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 24px;
	}
	.avv-side { position: static; order: 99; }
	.avv-toc  { display: none; }
}

@media (max-width: 640px) {
	.avv-h1        { font-size: 26px; }
	.avv-lede      { font-size: 16px; }
	.avv-article h2,
	.avv-article h2.avv-section { font-size: 22px; }
	.avv-consult-form  { grid-template-columns: 1fr; }
	.avv-fr-photos { grid-template-columns: repeat(2, 1fr); }
	.avv-proscons  { grid-template-columns: 1fr; }
	.avv-info-table .avv-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.avv-post-wrap * { transition: none !important; animation: none !important; }
}

/* ============================================================
   매물 글 전용 — 테마 CSS 간섭 차단 + 강조 (body.avv-villa-single)
   전용 템플릿에서도 테마 전역 CSS가 wp_head로 함께 로드되므로,
   버튼/링크/배경 핵심 색을 강제해 원본 blog.html 강조를 보장한다.
   ============================================================ */
body.avv-villa-single { background: #FAFAF7; }
body.avv-villa-single .avv-post-wrap a { text-decoration: none; box-shadow: none; }
body.avv-villa-single .avv-nav-cta { color: #fff !important; }
body.avv-villa-single .avv-btn.avv-btn-map,
body.avv-villa-single .avv-btn.avv-btn-call { color: #fff !important; }
body.avv-villa-single .avv-prop-card .avv-badges span { color: #0B8A3D !important; }
/* 본문 강조 — 테마 폰트/색 간섭 방지 */
body.avv-villa-single .avv-post-wrap,
body.avv-villa-single .avv-article p { color: #334155; }
body.avv-villa-single .avv-h1 { color: #0F172A !important; }
body.avv-villa-single .avv-article strong,
body.avv-villa-single .avv-article b { color: #0F172A; font-weight: 700; }
