/* ==========================================================================
   Vinding — Blog (listing + single post)
   Loaded only on blog pages (inc/blog.php). Uses the theme tokens.
   Smallest text = 1rem (16px).
   ========================================================================== */

/* ---------- shared ---------- */
.vb-crumbs { padding-top: 8px; }
.vb-crumbs span:last-child { color: var(--vd-ink); }

.vb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1.0625rem; }
.vb-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

.vb-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--vd-radius-pill); font-family: var(--vd-font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.0625rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.vb-pill svg { width: 14px; height: 14px; flex: none; }
.vb-pill--lime { background: var(--vd-accent); color: var(--vd-accent-ink); padding: 14px 24px; }
.vb-pill--wine { background: var(--vd-wine); color: #fff; padding: 11px 18px; }

.vb-circle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--vd-ink); color: var(--vd-ink); text-decoration: none; transition: background var(--vd-dur) var(--vd-ease), color var(--vd-dur) var(--vd-ease); }
.vb-circle svg { width: 18px; height: 18px; }
a.vb-circle:hover { background: var(--vd-ink); color: #fff; }
.vb-circle.is-off { opacity: .3; }

/* ---------- post card ---------- */
.vb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1000px) { .vb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .vb-grid { grid-template-columns: 1fr; } }

.vb-card { display: flex; flex-direction: column; background: var(--vd-white); border-radius: var(--vd-radius-lg); overflow: hidden; text-decoration: none; color: var(--vd-ink); transition: transform var(--vd-dur) var(--vd-ease), box-shadow var(--vd-dur) var(--vd-ease); }
.vb-card:hover { transform: translateY(-4px); box-shadow: var(--vd-shadow-card); }
.vb-card__media { aspect-ratio: 16 / 10; background: var(--vd-border-soft); overflow: hidden; }
.vb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; }
.vb-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.vb-card__cat { font-size: 1.0625rem; font-weight: 700; color: var(--vd-coral); margin-bottom: 6px; }
.vb-card__title { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: 1.85rem; line-height: 1.15; margin: 0 0 10px; }
.vb-card__ex { margin: 0 0 20px; color: var(--vd-muted); font-size: 1.125rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vb-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vb-card__foot .vb-meta { color: var(--vd-muted); }

/* ==========================================================================
   LISTING
   ========================================================================== */
.vb-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 24px 0 40px; }
.vb-intro h1 { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(3rem, 6vw, var(--vd-fs-hero)); line-height: 1; margin: 0; max-width: 10ch; }
.vb-intro p { margin: 0; font-size: var(--vd-fs-body); line-height: 1.5; max-width: 56ch; }
@media (max-width: 760px) { .vb-intro { grid-template-columns: 1fr; gap: 16px; } .vb-intro h1 { max-width: none; } }

.vb-feature { position: relative; display: block; border-radius: var(--vd-radius-lg); overflow: hidden; height: clamp(420px, 42vw, 580px); background: var(--vd-ink); color: #fff; text-decoration: none; margin-bottom: 72px; }
.vb-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .6s var(--vd-ease); }
.vb-feature:hover img { transform: scale(1.03); }
.vb-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 8, 20, .8), rgba(30, 8, 20, .1) 65%); }
.vb-feature__body { position: absolute; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: clamp(24px, 4vw, 44px); z-index: 2; max-width: 780px; }
.vb-feature__label { display: inline-block; background: var(--vd-coral); color: #fff; border-radius: var(--vd-radius-pill); padding: 4px 14px; font-size: 1.0625rem; font-weight: 700; margin-bottom: 14px; }
.vb-feature__title { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; margin: 0 0 14px; color: #fff; }
.vb-feature .vb-meta { margin-bottom: 22px; opacity: .92; }
@media (max-width: 620px) { .vb-feature { margin-bottom: 48px; } }

.vb-list { background: var(--vd-surface-2); padding: 88px 0 96px; }
.vb-list__title { text-align: center; font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(2.4rem, 4vw, var(--vd-fs-page)); margin: 0 0 28px; }

.vb-search { display: flex; align-items: center; max-width: 620px; margin: 0 auto 36px; background: var(--vd-white); border-radius: var(--vd-radius-pill); padding: 5px 5px 5px 22px; border: 1px solid var(--vd-border-soft); }
.vb-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1.125rem; padding: 8px 0; }
.vb-search button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--vd-accent); color: var(--vd-accent-ink); border-radius: var(--vd-radius-pill); padding: 12px 20px; font-family: var(--vd-font-sans); font-size: 1.0625rem; font-weight: 700; text-transform: uppercase; cursor: pointer; }

.vb-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 0; margin: 0 0 48px; padding: 0; list-style: none; }
.vb-tabs li { display: flex; align-items: center; }
.vb-tabs li + li::before { content: "/"; color: var(--vd-ink-30); margin: 0 18px; }
.vb-tabs a { font-size: 1.125rem; color: var(--vd-muted); padding: 6px 2px; text-decoration: none; border-bottom: 2px solid transparent; }
.vb-tabs a:hover { color: var(--vd-ink); }
.vb-tabs a.is-active { color: var(--vd-ink); font-weight: 700; border-bottom-color: var(--vd-ink); }

.vb-empty { text-align: center; color: var(--vd-muted); font-size: 1.125rem; }

.vb-pager { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; }
.vb-pager__nums { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.vb-pager__nums .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 50%; text-decoration: none; font-size: 1.125rem; color: var(--vd-ink); }
.vb-pager__nums a.page-numbers:hover { background: var(--vd-white); }
.vb-pager__nums .current { background: var(--vd-accent); font-weight: 700; }
.vb-pager__arrows { display: flex; gap: 10px; }
@media (max-width: 620px) { .vb-pager { flex-direction: column; } }

/* ==========================================================================
   SINGLE
   ========================================================================== */
.vb-ahead { max-width: 920px; margin: 0 auto; text-align: center; padding: 32px 0 36px; }
.vb-ahead__cat { display: inline-block; background: var(--vd-accent); color: var(--vd-accent-ink); border-radius: var(--vd-radius-pill); padding: 6px 16px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; margin-bottom: 20px; }
.vb-ahead h1 { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5.5vw, var(--vd-fs-hero)); line-height: 1.02; margin: 0 0 18px; }
.vb-ahead__lede { font-size: 1.375rem; line-height: 1.45; color: var(--vd-muted); max-width: 62ch; margin: 0 auto 26px; }
.vb-byline { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--vd-muted); }
.vb-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--vd-wine); color: #fff; font-family: var(--vd-font-serif); font-style: italic; font-size: 1.35rem; flex: none; }
.vb-byline__txt { text-align: left; line-height: 1.35; }
.vb-byline strong { color: var(--vd-ink); font-size: 1.125rem; }

.vb-hero { border-radius: var(--vd-radius-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--vd-ink); margin-bottom: 64px; }
.vb-hero img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; }
@media (max-width: 760px) { .vb-hero { aspect-ratio: 4 / 3; margin-bottom: 40px; } }

.vb-abody { display: grid; grid-template-columns: minmax(0, 760px) 340px; justify-content: space-between; gap: 64px; padding-bottom: 88px; }
@media (max-width: 1100px) {
	.vb-abody { grid-template-columns: 1fr; gap: 32px; }
	.vb-aside { order: -1; position: static; }
	.vb-aside .vb-cta { display: none; }
}

/* ---------- prose ---------- */
.vb-prose { font-size: var(--vd-fs-body); line-height: 1.7; }
.vb-prose > *:first-child { margin-top: 0; }
.vb-prose p { margin: 0 0 1.3em; }
.vb-prose > p:first-of-type { font-size: 1.45rem; line-height: 1.55; }
.vb-prose > p:first-of-type::first-letter { float: left; font-family: var(--vd-font-serif); font-style: italic; font-size: 4.8rem; line-height: .8; padding: 8px 10px 0 0; color: var(--vd-wine); }
.vb-prose h2 { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.1; margin: 1.8em 0 .55em; scroll-margin-top: 110px; }
.vb-prose h3 { font-family: var(--vd-font-sans); font-size: var(--vd-fs-h1); font-weight: 700; margin: 1.6em 0 .5em; }
.vb-prose a { color: var(--vd-wine); text-decoration: underline; text-decoration-color: var(--vd-coral); text-underline-offset: 3px; }
.vb-prose strong { font-weight: 700; }
.vb-prose ul { padding: 0; margin: 0 0 1.5em; list-style: none; display: grid; gap: 12px; }
.vb-prose ul li { position: relative; padding-left: 28px; }
.vb-prose ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--vd-coral); }
.vb-prose ol { margin: 0 0 1.5em; padding-left: 1.4em; display: grid; gap: 10px; }
.vb-prose blockquote,
.vb-prose .wp-block-quote { margin: 2em 0; padding: 28px 32px; background: var(--vd-accent); border: 0; border-radius: var(--vd-radius-lg); }
.vb-prose blockquote p { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; margin: 0 0 12px; }
.vb-prose blockquote cite { font-style: normal; font-size: 1.0625rem; font-weight: 700; }
.vb-prose figure { margin: 2.2em 0; }
.vb-prose figure img, .vb-prose > p img { width: 100%; height: auto; border-radius: var(--vd-radius-lg); margin: 0; }
.vb-prose figcaption, .vb-prose .wp-element-caption { font-size: 1.0625rem; color: var(--vd-muted); margin-top: 10px; text-align: left; }
.vb-prose hr { border: 0; border-top: 1px solid var(--vd-border-soft); margin: 2.5em 0; }

/* [vinding_tip] */
.vb-tip { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--vd-white); border-radius: var(--vd-radius-lg); padding: 22px 24px; margin: 2em 0; }
.vb-tip svg { width: 28px; height: 28px; color: var(--vd-coral); }
.vb-tip p { margin: 0; }
.vb-tip strong { display: block; margin-bottom: 2px; }

/* [vinding_vineyard] */
.vb-vycard { display: grid; grid-template-columns: 240px 1fr; background: var(--vd-white); border-radius: var(--vd-radius-lg); overflow: hidden; margin: 2em 0; text-decoration: none !important; color: var(--vd-ink) !important; }
.vb-vycard__media { min-height: 230px; background: var(--vd-border-soft) center / cover no-repeat; }
.vb-vycard__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; line-height: 1.4; }
.vb-vycard__loc { font-size: 1.0625rem; }
.vb-vycard__name { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: 2rem; line-height: 1.1; }
.vb-vycard__ex { color: var(--vd-muted); font-size: 1.125rem; }
.vb-vycard__rating { font-size: 1.0625rem; }
.vb-vycard__rating b { color: var(--vd-coral); }
.vb-vycard .vb-pill { align-self: flex-start; margin-top: 4px; }
@media (max-width: 620px) { .vb-vycard { grid-template-columns: 1fr; } .vb-vycard__media { min-height: 200px; } }

/* ---------- tags / share / prev-next ---------- */
.vb-afoot { border-top: 1px solid var(--vd-border-soft); margin-top: 48px; padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.vb-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.vb-tags a { border: 1px solid var(--vd-ink); border-radius: var(--vd-radius-pill); padding: 6px 16px; font-size: 1.0625rem; text-decoration: none; color: var(--vd-ink); }
.vb-tags a:hover { background: var(--vd-ink); color: #fff; }
.vb-share { display: flex; align-items: center; gap: 10px; }
.vb-share > span { font-weight: 700; font-size: 1.125rem; margin-right: 4px; }
.vb-share a, .vb-share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--vd-border-soft); background: var(--vd-white); color: var(--vd-ink); cursor: pointer; padding: 0; }
.vb-share a:hover, .vb-share button:hover { border-color: var(--vd-ink); }
.vb-share svg { width: 18px; height: 18px; }

.vb-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.vb-prevnext a { display: block; background: var(--vd-white); border-radius: var(--vd-radius-lg); padding: 20px 22px; text-decoration: none; color: var(--vd-ink); }
.vb-prevnext a:hover { box-shadow: var(--vd-shadow-soft); }
.vb-prevnext small { display: block; font-size: 1.0625rem; color: var(--vd-muted); margin-bottom: 4px; }
.vb-prevnext b { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: 1.5rem; line-height: 1.2; }
.vb-prevnext .is-next { text-align: right; grid-column: 2; }
@media (max-width: 620px) { .vb-prevnext { grid-template-columns: 1fr; } .vb-prevnext .is-next { text-align: left; grid-column: auto; } }

/* ---------- sidebar ---------- */
.vb-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 20px; }
.vb-toc { background: var(--vd-white); border-radius: var(--vd-radius-lg); padding: 24px; }
.vb-toc__title { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: 1.75rem; margin: 0 0 12px; }
.vb-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: vbtoc; }
.vb-toc a { display: flex; gap: 12px; text-decoration: none; color: var(--vd-muted); padding: 8px 12px; border-radius: 10px; font-size: 1.125rem; line-height: 1.35; counter-increment: vbtoc; }
.vb-toc a::before { content: counter(vbtoc, decimal-leading-zero); font-weight: 700; color: var(--vd-coral); }
.vb-toc a:hover { color: var(--vd-ink); }
.vb-toc a.is-active { background: var(--vd-surface-2); color: var(--vd-ink); font-weight: 700; }
.vb-cta { background: var(--vd-wine); color: #fff; border-radius: var(--vd-radius-lg); padding: 28px 24px; text-align: center; }
.vb-cta small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; opacity: .75; margin-bottom: 6px; }
.vb-cta__title { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: 2.1rem; line-height: 1.1; margin: 0 0 10px; }
.vb-cta p { margin: 0 0 20px; font-size: 1.125rem; opacity: .9; }

/* ---------- lower sections ---------- */
.vb-sec { padding: 88px 0; }
.vb-sec--paper { background: var(--vd-surface-2); }
.vb-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.vb-sec__title { font-family: var(--vd-font-serif); font-style: italic; font-weight: 300; font-size: clamp(2.2rem, 4vw, var(--vd-fs-page)); line-height: 1.05; margin: 0; }
.vb-arrows { display: flex; gap: 10px; }
.vb-center { text-align: center; margin-top: 40px; }
.vb-btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--vd-ink); border-radius: var(--vd-radius-pill); padding: 13px 26px; font-weight: 700; font-size: 1.0625rem; text-transform: uppercase; text-decoration: none; color: var(--vd-ink); }
.vb-btn-outline:hover { background: var(--vd-ink); color: #fff; }
@media (max-width: 620px) { .vb-sec { padding: 56px 0; } .vb-list { padding: 56px 0 64px; } }

/* ---------- toast ---------- */
.vb-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--vd-ink); color: #fff; padding: 10px 20px; border-radius: var(--vd-radius-pill); font-size: 1.0625rem; opacity: 0; transition: .25s; pointer-events: none; z-index: 60; }
.vb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }