/*
Theme Name: Home Sofa Design
Theme URI: https://homesofadesign.com/
Description: Upholstery swatch book theme for homesofadesign.com: olive velvet hero with a room size planner, pinked swatch cards with seat, build and fit labels, stitched seams.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: homesofadesign
*/

@font-face { font-family: "Hedvig Serif"; src: url(assets/fonts/hedvig-letters-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url(assets/fonts/host-grotesk-var.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
	--moss: #3d4428;
	--moss-2: #535c37;
	--moss-3: #2b3019;
	--persimmon: #e0703a;
	--persimmon-ink: #b4501e;
	--oat: #f2ece0;
	--oat-2: #e8dfcd;
	--linen: #fbf8f2;
	--mauve: #b98a97;
	--brass: #b8913f;
	--ink: #24261c;
	--ink-2: #545746;
	--line: #d9cfbb;
	--radius: 18px;
	--shadow: 0 1px 2px rgba(43, 48, 25, .06), 0 10px 30px -12px rgba(43, 48, 25, .22);
	--serif: "Hedvig Serif", Georgia, "Times New Roman", serif;
	--sans: "Host Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--oat); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--persimmon-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; color: var(--moss-3); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--persimmon); outline-offset: 2px; border-radius: 6px; }
.vl-skip { position: absolute; left: -999px; top: 8px; background: var(--moss); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.vl-skip:focus { left: 12px; }

/* stitched seam: dashed thread line used under the header and above the footer */
.vl-seam { height: 10px; background: linear-gradient(90deg, var(--persimmon) 0 10px, transparent 10px 18px) 0 50% / 18px 2px repeat-x; opacity: .9; }
.vl-seam--light { background-image: linear-gradient(90deg, rgba(242, 236, 224, .55) 0 10px, transparent 10px 18px); }

.vl-kicker { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--persimmon-ink); margin: 0 0 .7em; }
.vl-kicker--light { color: #f6c9a8; }

/* ------------------------------------------------------------- header */
.vl-head { position: sticky; top: 0; z-index: 30; background: rgba(242, 236, 224, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.vl-head-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px 4px; display: flex; align-items: center; gap: 24px; }
.vl-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--moss-3); flex: none; }
.vl-brand img { width: 40px; height: 40px; }
.vl-brand-word { font: 400 1.42rem/1 var(--serif); letter-spacing: -.01em; }
.vl-brand--light { color: var(--oat); }
.vl-menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; border: 1.5px solid var(--moss); background: transparent; color: var(--moss); font: 600 .95rem var(--sans); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.vl-menu-icon, .vl-menu-icon::before, .vl-menu-icon::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.vl-menu-icon::before, .vl-menu-icon::after { content: ""; position: absolute; left: 0; }
.vl-menu-icon::before { top: -5px; } .vl-menu-icon::after { top: 5px; }
.vl-menu-btn[aria-expanded="true"] .vl-menu-icon { background: transparent; }
.vl-menu-btn[aria-expanded="true"] .vl-menu-icon::before { transform: translateY(5px) rotate(45deg); }
.vl-menu-btn[aria-expanded="true"] .vl-menu-icon::after { transform: translateY(-5px) rotate(-45deg); }
.vl-drawer { margin-left: auto; min-width: 0; }
.vl-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 2px; }
.vl-tabs a { display: block; padding: 7px 11px 8px; font: 500 .9rem/1.2 var(--sans); color: var(--ink); text-decoration: none; border-radius: 10px 10px 4px 4px; position: relative; }
.vl-tabs a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sw, var(--persimmon)); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.vl-tabs a:hover::after, .vl-tabs a:focus-visible::after { transform: scaleX(1); }
.vl-tabs a:hover { background: var(--oat-2); color: var(--moss-3); }

@media (max-width: 1020px) {
	.vl-brand-word { font-size: 1.22rem; }
	.vl-head-in { padding-left: 16px; padding-right: 16px; }
	.vl-menu-btn { display: inline-flex; }
	.vl-head-in { padding-bottom: 10px; flex-wrap: wrap; gap: 12px; }
	.vl-drawer { display: none; width: 100%; margin: 0; }
	.vl-drawer.is-open { display: block; }
	.vl-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 0 10px; }
	.vl-tabs a { background: var(--linen); border: 1px solid var(--line); border-left: 5px solid var(--sw, var(--moss)); border-radius: 10px; padding: 11px 12px; }
	.vl-tabs a::after { display: none; }
}

/* --------------------------------------------------------------- hero */
.vl-hero { position: relative; background: radial-gradient(120% 140% at 85% 0%, #5d6a3a 0%, var(--moss) 42%, var(--moss-3) 100%); color: var(--oat); overflow: hidden; isolation: isolate; }
.vl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px); }
.vl-hero-bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.vl-hero-in { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.vl-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.3rem); max-width: 12ch; }
.vl-hero-lead { font-size: 1.12rem; color: #e9e2d2; max-width: 46ch; }
.vl-hero-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vl-hero-stats li { border: 1px dashed rgba(242, 236, 224, .45); border-radius: 999px; padding: 7px 14px; font-size: .92rem; color: #e9e2d2; }
.vl-hero-stats b { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .vl-hero-in { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px 40px; } }

/* -------------------------------------------------------- size planner */
.vl-planner { background: var(--linen); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); position: relative; }
.vl-planner::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--line); border-radius: 16px; pointer-events: none; }
.vl-article .vl-planner { margin: 28px 0 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.vl-pl-title { font: 400 1.5rem/1.15 var(--serif); color: var(--moss-3); margin: 0 0 4px; position: relative; }
.vl-pl-sub { font-size: .93rem; color: var(--ink-2); margin: 0 0 14px; position: relative; }
.vl-pl-modes { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; position: relative; }
.vl-pl-modes button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 .85rem var(--sans); cursor: pointer; }
.vl-pl-modes button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--oat); }
.vl-pl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.vl-pl-form label { display: grid; gap: 4px; font: 600 .82rem/1.2 var(--sans); color: var(--ink-2); }
.vl-pl-form input, .vl-pl-form select { width: 100%; font: 600 1.05rem var(--sans); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.vl-pl-form input:focus, .vl-pl-form select:focus { border-color: var(--persimmon); outline: none; box-shadow: 0 0 0 3px rgba(224, 112, 58, .2); }
.vl-pl-out { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; position: relative; }
.vl-pl-plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.vl-pl-plan svg { width: 100%; height: auto; display: block; }
.vl-article .vl-pl-out { grid-template-columns: minmax(0, 320px) 1fr; gap: 22px; }
.vl-article .vl-pl-plan svg { max-height: 300px; margin: 0 auto; }
@media (max-width: 600px) { .vl-article .vl-pl-out { grid-template-columns: 1fr; } .vl-article .vl-pl-plan svg { max-height: 220px; } }
.vl-pl-res p { margin: 0 0 6px; font-size: .94rem; }
.vl-pl-res .vl-pl-big { font: 400 1.65rem/1.1 var(--serif); color: var(--moss-3); margin-bottom: 8px; }
.vl-pl-res .vl-pl-warn { color: #9c3b1b; font-weight: 600; }
.vl-pl-res ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; }
.vl-pl-res a { font-weight: 600; }
.vl-planner[data-compact="1"] .vl-pl-out { grid-template-columns: 150px 1fr; align-items: start; }
@media (max-width: 420px) { .vl-planner[data-compact="1"] .vl-pl-out { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .vl-pl-out { grid-template-columns: 1fr; } .vl-planner { padding: 18px 16px; } }

/* ----------------------------------------------------- topic swatches */
.vl-topics { max-width: var(--wrap); margin: -34px auto 0; padding: 0 20px; position: relative; z-index: 2; }
.vl-swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.vl-swatches--topics { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .vl-swatches--topics { grid-template-columns: repeat(2, 1fr); } .vl-topics { margin-top: -20px; padding: 0 16px; } }
.vl-swatch a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); position: relative; transition: transform .2s, box-shadow .2s; }
.vl-swatch a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(43, 48, 25, .08), 0 18px 40px -16px rgba(43, 48, 25, .35); }
.vl-swatch-img { aspect-ratio: 4 / 3; background: var(--sw, var(--moss)); position: relative; display: block; }
.vl-swatch-img img { width: 100%; height: 100%; object-fit: cover; }
.vl-swatch-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 9px; background: linear-gradient(-45deg, #fff 6px, transparent 0) 0 0 / 12px 9px repeat-x, linear-gradient(45deg, #fff 6px, transparent 0) 0 0 / 12px 9px repeat-x; }
.vl-swatch-body { padding: 10px 14px 14px; border-top: 4px solid var(--sw, var(--moss)); display: grid; gap: 2px; flex: 1; margin-top: -1px; }
.vl-swatch-name { font: 400 1.12rem/1.25 var(--serif); color: var(--moss-3); }
.vl-swatch-meta { font-size: .8rem; color: var(--ink-2); }

/* ---------------------------------------------------------- page head */
.vl-pagehead { background: linear-gradient(180deg, var(--linen), var(--oat)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.vl-pagehead::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--sw, var(--persimmon)); opacity: .14; }
.vl-pagehead-in { max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 30px; position: relative; z-index: 1; }
.vl-pagehead h1 { max-width: 22ch; }
.vl-pagehead-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.vl-trail { font-size: .86rem; color: var(--ink-2); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.vl-trail a { color: var(--ink-2); }
.vl-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vl-tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .85rem; color: var(--ink-2); }
.vl-tags b { color: var(--moss-3); }
.vl-pagehead--plain::after, .vl-pagehead--post::after { background: var(--moss); opacity: .08; }

/* -------------------------------------------------------- article body */
.vl-article { max-width: var(--wrap); margin: 0 auto; padding: 30px 20px 20px; }
.vl-article--home { padding-top: 48px; }
.vl-article--plain, .vl-article--post { max-width: 780px; }
.vl-intro { max-width: 760px; font-size: 1.08rem; }
.vl-intro p:first-child::first-line { font-weight: 600; color: var(--moss-3); }
@media (max-width: 640px) { .vl-article { padding: 22px 16px 16px; } }

.vl-jump { margin: 26px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.vl-jump p { margin: 0 0 8px; font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.vl-jump ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.vl-jump li { flex: none; }
.vl-jump a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); background: var(--oat); border-radius: 10px; padding: 8px 12px 8px 8px; font-size: .9rem; white-space: nowrap; }
.vl-jump a span { width: 22px; height: 22px; border-radius: 6px; background: var(--c, var(--persimmon)); flex: none; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.vl-jump a:hover { background: var(--oat-2); }

.vl-sec { margin: 46px 0 10px; scroll-margin-top: 90px; }
.vl-sec-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1.5px dashed var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.vl-sec-no { font: 700 .85rem/1 var(--sans); color: #fff; background: var(--moss); border-radius: 8px; padding: 6px 8px; flex: none; transform: translateY(-4px); }
.vl-sec-head h2 { margin: 0; }
.vl-sec > p { max-width: 760px; color: var(--ink-2); }

/* swatch cards */
.vl-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 18px; }
.vl-grid > .vl-card { grid-column: span 2; }
.vl-grid[data-r="1"] > .vl-card:nth-last-child(-n+4) { grid-column: span 3; }
.vl-grid[data-r="2"] > .vl-card:nth-last-child(-n+2) { grid-column: span 3; }
@media (max-width: 960px) {
	.vl-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.vl-grid > .vl-card, .vl-grid[data-r] > .vl-card:nth-last-child(n) { grid-column: span 1; }
	.vl-grid[data-odd="1"] > .vl-card:last-child { grid-column: span 2; }
	.vl-grid[data-odd="1"] > .vl-card:last-child .vl-zoom { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) { .vl-grid { grid-template-columns: 1fr; } .vl-grid[data-odd="1"] > .vl-card:last-child { grid-column: span 1; } .vl-grid[data-odd="1"] > .vl-card:last-child .vl-zoom { aspect-ratio: 4 / 3; } }

.vl-card { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 90px; }
.vl-card::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(61, 68, 40, .22); border-radius: 13px; pointer-events: none; }
.vl-zoom { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--oat-2); position: relative; cursor: zoom-in; }
.vl-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vl-zoom:hover img { transform: scale(1.04); }
.vl-zoom::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 9px; background: linear-gradient(-45deg, #fff 6px, transparent 0) 0 0 / 12px 9px repeat-x, linear-gradient(45deg, #fff 6px, transparent 0) 0 0 / 12px 9px repeat-x; }
.vl-card figcaption { padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vl-label { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--linen); }
.vl-label div { padding: 7px 9px; border-left: 1px solid var(--line); min-width: 0; }
.vl-label div:first-child { border-left: 0; }
.vl-label dt { font: 700 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--persimmon-ink); margin-bottom: 4px; }
.vl-label dd { margin: 0; font-size: .84rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.vl-cap { margin: 0; font-size: .96rem; }
.vl-note { margin: auto 0 0; font-size: .9rem; color: var(--ink-2); background: var(--oat); border-radius: 10px; padding: 9px 12px 9px 36px; position: relative; }
.vl-note::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--oat) 0 2px, var(--persimmon) 2.5px); }
.vl-note b { color: var(--moss-3); }

/* guide blocks */
.vl-guide { margin: 44px 0; background: #fff; border-radius: 24px; padding: 30px clamp(18px, 4vw, 40px); box-shadow: var(--shadow); position: relative; scroll-margin-top: 90px; }
.vl-guide::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 5px; border-radius: 0 5px 5px 0; background: var(--persimmon); }
.vl-guide h3 { margin-top: 1.2em; }
.vl-guide ul, .vl-guide ol, .vl-prose ul, .vl-prose ol { padding-left: 1.3em; }
.vl-guide li { margin-bottom: .35em; }
.vl-tablewrap { overflow-x: auto; margin: 1em 0 1.2em; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.vl-tablewrap table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 460px; }
.vl-tablewrap th, .vl-tablewrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--oat-2); vertical-align: top; }
.vl-tablewrap thead th { background: var(--moss); color: var(--oat); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.vl-tablewrap tbody tr:nth-child(even) { background: var(--linen); }
.vl-tablewrap tbody tr:last-child th, .vl-tablewrap tbody tr:last-child td { border-bottom: 0; }
.vl-tablewrap tbody th { font-weight: 600; }
.vl-num { text-align: right !important; white-space: nowrap; }

/* hub table and home index */
.vl-hubtable { margin: 48px 0 20px; }
.vl-hubtable h2::before, .vl-index-group h3::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--persimmon); margin-right: 10px; vertical-align: .08em; }
.vl-index { max-width: var(--wrap); margin: 30px auto 0; padding: 40px 20px 20px; }
.vl-index-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1.5px dashed var(--line); padding-bottom: 14px; margin-bottom: 10px; }
.vl-index-head h2 { margin: 0; }
.vl-index-head small { font: 600 .9rem var(--sans); color: #fff; background: var(--persimmon); border-radius: 999px; padding: 3px 10px; vertical-align: .3em; }
.vl-filter { display: grid; gap: 4px; font: 600 .8rem var(--sans); color: var(--ink-2); min-width: min(320px, 100%); }
.vl-filter input { font: 500 1rem var(--sans); padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.vl-index-group { margin-top: 26px; }
.vl-index-group h3::before { background: var(--sw); }
.vl-index-none { padding: 20px 0; color: var(--ink-2); }
.vl-index .vl-tablewrap td:nth-child(2) { color: var(--ink-2); }
@media (max-width: 640px) {
	.vl-index { padding: 30px 16px 10px; }
	.vl-index .vl-tablewrap table, .vl-hubtable .vl-tablewrap table { min-width: 0; }
	.vl-index thead, .vl-hubtable thead { display: none; }
	.vl-index tbody tr, .vl-hubtable tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 14px; border-bottom: 1px solid var(--oat-2); }
	.vl-index tbody th, .vl-index tbody td, .vl-hubtable tbody th, .vl-hubtable tbody td { border: 0; padding: 0; }
	.vl-index tbody td:nth-child(2), .vl-hubtable tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .88rem; }
}

/* faq */
.vl-faq { margin: 44px 0 30px; scroll-margin-top: 90px; }
.vl-faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.vl-faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font: 600 1.02rem/1.4 var(--sans); list-style: none; position: relative; color: var(--moss-3); }
.vl-faq summary::-webkit-details-marker { display: none; }
.vl-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--oat); text-align: center; line-height: 26px; font-size: 1.1rem; color: var(--persimmon-ink); }
.vl-faq details[open] summary::after { content: "\2212"; }
.vl-faq details > div { padding: 0 18px 14px; color: var(--ink-2); }

/* related */
.vl-related { max-width: var(--wrap); margin: 10px auto 40px; padding: 0 20px; }
.vl-related h2 { font-size: 1.6rem; }
@media (max-width: 640px) { .vl-related { padding: 0 16px; } .vl-swatches { grid-template-columns: repeat(2, 1fr); gap: 12px; } .vl-swatch-name { font-size: 1rem; } }

/* ads */
.vl-ad { margin: 30px 0; text-align: center; min-height: 0; }

/* plain info pages and posts */
.vl-article--plain h2 { margin-top: 1.4em; font-size: 1.5rem; }
.vl-article--plain table { width: 100%; border-collapse: collapse; }
.vl-article--plain th, .vl-article--plain td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.vl-prose { font-size: 1.05rem; }
.vl-prose h2, .vl-prose h3 { margin-top: 1.4em; }
.vl-post-img { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.vl-postlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 820px; }
.vl-postlist a { display: grid; grid-template-columns: 180px 1fr; gap: 18px; background: #fff; border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.vl-postlist a > span { display: grid; gap: 4px; align-content: start; }
.vl-postlist img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.vl-postlist b { font: 400 1.25rem/1.25 var(--serif); color: var(--moss-3); }
.vl-postlist small { color: var(--ink-2); }
.vl-postlist em { font-style: normal; color: var(--ink-2); font-size: .95rem; }
.vl-postlist a:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 560px) { .vl-postlist a { grid-template-columns: 1fr; } }
.vl-latest { max-width: 780px; margin: 20px auto 40px; padding: 0 20px; }
.vl-latest ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vl-latest a { display: flex; justify-content: space-between; gap: 12px; background: #fff; padding: 12px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.nav-links { display: flex; gap: 10px; margin: 24px 0; }
.nav-links .page-numbers { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--moss); color: #fff; }

/* ------------------------------------------------------------- footer */
.vl-foot { background: var(--moss-3); color: #d9d2c0; margin-top: 50px; }
.vl-foot-in { max-width: var(--wrap); margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.vl-foot-about p { margin-top: 14px; font-size: .95rem; max-width: 42ch; }
.vl-foot-h { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #f6c9a8; margin-bottom: 12px; }
.vl-foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.vl-foot a { color: #ece6d7; text-decoration: none; }
.vl-foot a:hover { color: #fff; text-decoration: underline; }
.vl-foot-base { max-width: var(--wrap); margin: 0 auto; padding: 16px 20px 28px; font-size: .84rem; color: #a9a48f; border-top: 1px dashed rgba(242, 236, 224, .2); }
@media (max-width: 760px) { .vl-foot-in { grid-template-columns: 1fr 1fr; padding: 32px 16px 16px; } .vl-foot-about { grid-column: 1 / -1; } .vl-foot-base { padding: 16px; } }

/* lightbox */
.vl-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.vl-lightbox::backdrop { background: rgba(28, 31, 16, .86); }
.vl-lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; }
.vl-lightbox p { color: #f2ece0; text-align: center; margin: 12px auto 0; max-width: 70ch; font-size: .95rem; }
.vl-lightbox-x { position: absolute; top: -14px; right: -6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--persimmon); color: #fff; font-size: 1.5rem; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
