/* =========================================================================
   Long-form guides: guide sections, callouts, agent quotes, market data, FAQ
   and the byline, plus the few core-block rules a guide needs on themes that
   drop the core block stylesheet. Scoped to the blocks and to .vr-guide (the
   wrapper a theme puts around a guide body). Tokens as above.
   ========================================================================= */
.vr-guide,
.vr-callout,
.vr-agent-quote,
.vr-market-stats,
.vr-faq,
.vr-guide-byline {
  --vrb-text: var(--vr-color-text, #18181b);
  --vrb-muted: var(--vr-color-muted, #52525b);
  --vrb-surface: var(--vr-color-surface, #fff);
  --vrb-subtle: var(--vr-color-surface-subtle, #f7f7f5);
  --vrb-rule: var(--vr-color-rule, #e4e4e7);
  --vrb-accent: var(--vr-color-accent, #245b57);
  --vrb-warn: var(--vr-color-warning, #9a5b13);
  --vrb-display: var(--vr-font-display, Georgia, serif);
  --vrb-body: var(--vr-font-body, system-ui, sans-serif);
}
/* A guide body is a centered reading column; listing grids break out to the page width. */
.vr-guide { margin-inline: auto; padding-block: var(--vr-space-10, 2.5rem) var(--vr-space-6, 1.5rem); }
.vr-guide .vr-listings { width: min(100vw - 2rem, 80rem); margin-inline: calc(50% - min(50vw - 1rem, 40rem)); padding-block: var(--vr-space-8, 2rem); }
.vr-guide-section { margin-block: 0 var(--vr-space-12, 3rem); }
.vr-guide-section > :first-child { margin-top: 0; }
.vr-guide :is(h2, h3) { scroll-margin-top: 6rem; }

.vr-guide-byline { margin: 0 0 var(--vr-space-6, 1.5rem); font-size: .9375rem; font-style: italic; color: var(--vrb-muted); }
.vr-guide-byline a { color: inherit; }

/* Callout */
.vr-callout { margin: var(--vr-space-8, 2rem) 0; padding: var(--vr-space-5, 1.25rem) var(--vr-space-6, 1.5rem); border-inline-start: 4px solid var(--vrb-accent); background: var(--vrb-subtle); color: var(--vrb-text); }
.vr-callout--caution { border-inline-start-color: var(--vrb-warn); }
.vr-callout .vr-callout__label { display: flex; align-items: center; gap: .4em; margin: 0 0 .35em; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vrb-accent); }
.vr-callout--caution .vr-callout__label { color: var(--vrb-warn); }
.vr-callout .vr-callout__icon { flex: none; width: 1.25em; height: 1.25em; }
.vr-callout__body > :last-child { margin-bottom: 0; }

/* Agent quote */
.vr-agent-quote { margin: var(--vr-space-10, 2.5rem) 0; padding: 0 0 0 var(--vr-space-6, 1.5rem); border-inline-start: 2px solid var(--vrb-accent); }
.vr-agent-quote .vr-agent-quote__text { margin: 0; padding: 0; border: 0; font-family: var(--vrb-display); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.4; font-style: normal; color: var(--vrb-text); }
.vr-agent-quote .vr-agent-quote__text p { margin: 0 0 .6em; font-size: inherit; line-height: inherit; }
.vr-agent-quote__cite { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-top: .5rem; font-size: .875rem; color: var(--vrb-muted); }
.vr-agent-quote--pending { padding: var(--vr-space-4, 1rem) var(--vr-space-6, 1.5rem); border: 1px dashed var(--vrb-accent); border-inline-start-width: 2px; color: var(--vrb-text); font-size: 1rem; line-height: 1.5; }
.vr-agent-quote--pending .vr-agent-quote__label { margin: 0 0 .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vrb-muted); }
.vr-agent-quote--pending p { margin: 0; }
.vr-agent-quote__name { font-weight: 600; color: var(--vrb-text); }
.vr-agent-quote__photo { flex: none; align-self: center; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--vrb-line, #e5e5e0); }
.vr-agent-quote__cite:has(.vr-agent-quote__photo) { align-items: center; }
.vr-agent-quote__media { font-weight: 600; }
/* Recording: poster facade (agent_quote_player). Portrait phone clips sit whole in a 16:9 frame over a blurred,
 * enlarged copy of the poster; audio is a compact play row. The media element replaces the button on play. */
.vr-quote-player { position: relative; margin-top: var(--vr-space-4, 1rem); max-width: 40rem; }
/* A theme's prose can size figures to their content: the quote and its video always take the column's width, so the
 * poster never shrinks the quote to a few words a line (walkthrough 2026-11-18). */
figure.vr-agent-quote { display: block; width: auto; max-width: 100%; }
.vr-quote-player--video { width: 100%; }
.vr-quote-player--video { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--vr-color-inverse, #18181b); }
.vr-quote-player__play { position: absolute; inset: 0; display: block; color: var(--vr-color-on-inverse, #fff); text-decoration: none; }
.vr-quote-player .vr-quote-player__fill { position: absolute; inset: -8%; width: 116%; max-width: none; height: 116%; margin: 0; object-fit: cover; filter: blur(18px) brightness(.7); }
.vr-quote-player .vr-quote-player__poster { position: relative; display: block; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: contain; }
.vr-quote-player__icon { position: absolute; left: 50%; top: 50%; width: 3.5rem; height: 3.5rem; transform: translate(-50%, -50%); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.vr-quote-player__icon circle { fill: color-mix(in srgb, var(--vr-color-inverse, #18181b) 65%, transparent); }
.vr-quote-player__icon path { fill: var(--vr-color-on-inverse, #fff); }
.vr-quote-player__play:hover .vr-quote-player__icon, .vr-quote-player__play:focus-visible .vr-quote-player__icon { transform: translate(-50%, -50%) scale(1.08); }
.vr-quote-player__play:focus-visible { outline: 2px solid var(--vrb-accent, #245b57); outline-offset: 2px; }
.vr-quote-player--video .vr-quote-player__label { position: absolute; left: .75rem; right: .75rem; bottom: .6rem; font-size: .875rem; font-weight: 600; text-shadow: 0 1px 3px rgb(0 0 0 / .6); }
/* The play button is a link: prose link colors and underlines must not reach it (white over the poster, text color for audio). */
.vr-agent-quote .vr-quote-player--video .vr-quote-player__play, .vr-agent-quote .vr-quote-player--video .vr-quote-player__label { color: var(--vr-color-on-inverse, #fff); text-decoration: none; }
.vr-agent-quote .vr-quote-player--audio .vr-quote-player__play { color: var(--vrb-text); text-decoration: none; }
.vr-quote-player--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--vr-color-inverse, #000); }
.vr-quote-player--audio { min-height: 3rem; }
.vr-quote-player--audio .vr-quote-player__play { position: static; display: inline-flex; align-items: center; gap: .6rem; color: var(--vrb-text); font-weight: 600; font-size: .9375rem; }
.vr-quote-player--audio .vr-quote-player__icon { position: static; width: 2.25rem; height: 2.25rem; transform: none; }
.vr-quote-player--audio .vr-quote-player__icon circle { fill: var(--vrb-accent, #245b57); }
.vr-quote-player--audio .vr-quote-player__play:hover .vr-quote-player__icon { transform: scale(1.08); }
.vr-quote-player--audio audio { width: 100%; max-width: 28rem; }
/* A small Watch row for a guide's later video quotes; it opens the 16:9 player in place when pressed. */
.vr-quote-player--video.vr-quote-player--link { aspect-ratio: auto; min-height: 3rem; overflow: visible; background: none; border-radius: 0; }
.vr-quote-player--link .vr-quote-player__play { position: static; display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9375rem; }
.vr-agent-quote .vr-quote-player--link .vr-quote-player__play, .vr-agent-quote .vr-quote-player--link .vr-quote-player__label { color: var(--vrb-text); text-decoration: none; }
.vr-quote-player--link .vr-quote-player__icon { position: static; width: 2.25rem; height: 2.25rem; transform: none; }
.vr-quote-player--link .vr-quote-player__icon circle { fill: var(--vrb-accent, #245b57); }
.vr-quote-player--link .vr-quote-player__label { position: static; text-shadow: none; }
.vr-quote-player--video.vr-quote-player--link.is-playing { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--vr-color-inverse, #000); }
/* "Watch the full interview" (Byline master video): the whole interview in one player after the guide's quotes. */
.vr-full-interview__label { margin: 0 0 .5rem; font-weight: 700; color: var(--vrb-text); }

/* Market data */
.vr-market-stats { margin: var(--vr-space-8, 2rem) 0; padding: var(--vr-space-6, 1.5rem); border: 1px solid var(--vrb-rule); background: var(--vrb-surface); color: var(--vrb-text); }
.vr-market-stats .vr-market-stats__kicker { margin: 0 0 .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vrb-accent); }
.vr-market-stats .vr-market-stats__headline { margin: 0 0 var(--vr-space-5, 1.25rem); font-family: var(--vrb-display); font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.25; }
.vr-market-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--vr-space-3, .75rem); margin: 0; }
.vr-market-stats__stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .25rem; padding: var(--vr-space-4, 1rem); border: 1px solid var(--vrb-rule); background: var(--vrb-surface); }
.vr-market-stats__stat dt { font-size: .8125rem; font-weight: 400; line-height: 1.35; color: var(--vrb-muted); }
.vr-market-stats__stat dd { margin: 0; font-family: var(--vrb-display); font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.1; }
.vr-market-stats .vr-market-stats__foot { margin: var(--vr-space-4, 1rem) 0 0; font-size: .8125rem; color: var(--vrb-muted); }

/* FAQ: core Details blocks */
.vr-faq { margin: var(--vr-space-6, 1.5rem) 0 var(--vr-space-10, 2.5rem); border-top: 1px solid var(--vrb-rule); }
.vr-faq .wp-block-details { margin: 0; padding: 0; border-bottom: 1px solid var(--vrb-rule); }
.vr-faq .wp-block-details summary { position: relative; padding: 1rem 2.25rem 1rem 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--vrb-text); }
.vr-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.vr-faq .wp-block-details summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.25rem; font-weight: 400; color: var(--vrb-accent); }
.vr-faq .wp-block-details[open] summary::after { content: "\2212"; }
.vr-faq .wp-block-details > :not(summary) { margin: 0 0 1rem; }

/* Core blocks inside a guide (the theme may not load the core block stylesheet) */
.vr-guide figure { margin: var(--vr-space-8, 2rem) 0; }
.vr-guide .wp-block-image img,
.vr-guide .wp-block-video video { display: block; width: 100%; height: auto; }
.vr-guide .wp-block-image.size-full img { max-width: 100%; }
.vr-guide figcaption { margin-top: .5rem; font-size: .8125rem; line-height: 1.45; color: var(--vrb-muted); }
.vr-guide .wp-block-audio audio { width: 100%; }
.vr-guide .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vr-guide .wp-block-table table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.vr-guide .wp-block-table :is(th, td) { padding: .65rem .75rem; border-bottom: 1px solid var(--vrb-rule); text-align: start; vertical-align: top; }
.vr-guide .wp-block-table thead th { border-bottom: 2px solid var(--vrb-text); font-size: .8125rem; letter-spacing: .04em; }
.vr-guide .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--vrb-subtle); }
.vr-guide .wp-block-details { margin: 0 0 1.25em; }
.vr-guide .wp-block-details summary { cursor: pointer; font-weight: 600; }
.vr-guide .wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--vr-space-6, 1.5rem); margin: var(--vr-space-6, 1.5rem) 0; }
.vr-guide .wp-block-column { flex: 1 1 14rem; min-width: 0; }
.vr-guide .wp-block-column > :first-child { margin-top: 0; }
.vr-guide .wp-block-column > :last-child { margin-bottom: 0; }

/* Block style: Figure panel (core Group) — a titled, sourced visual built from core blocks */
.vr-guide .is-style-vr-figure,
.is-style-vr-figure { margin: var(--vr-space-10, 2.5rem) 0; padding: var(--vr-space-6, 1.5rem); border: 1px solid var(--vrb-rule, #e4e4e7); background: var(--vrb-subtle, #f7f7f5); }
.is-style-vr-figure > :first-child { margin-top: 0; }
.is-style-vr-figure > :last-child { margin-bottom: 0; }
.is-style-vr-figure .vr-figure__kicker { margin: 0 0 .25rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--vrb-accent, #245b57); }
.is-style-vr-figure .vr-figure__note { font-size: .8125rem; color: var(--vrb-muted, #52525b); }
.is-style-vr-figure .wp-block-column { padding: var(--vr-space-4, 1rem); background: var(--vrb-surface, #fff); border: 1px solid var(--vrb-rule, #e4e4e7); }
/* Image cards in a figure group (home styles): a column that is an image followed by a heading.
   The image runs edge to edge across the card top and the text sits in a trimmed band under it;
   on a phone each card is a short image-left, text-right row. Other image columns are untouched. */
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child { margin: 0; display: flex; flex-direction: column; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child :is(a, img) { display: block; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child img { margin: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child figcaption { margin: .4rem .9rem 0; font-size: .8125rem; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :is(p, ul, ol) { margin: .3rem .9rem 0; font-size: .875rem; line-height: 1.4; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :is(h3, h4) { margin: .75rem .9rem 0; font-size: 1.25rem; line-height: 1.15; text-wrap: balance; }
.vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :last-child:not(.wp-block-image) { padding-bottom: .9rem; }
@media (max-width: 40rem) {
  .vr-guide .is-style-vr-figure .wp-block-columns > .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) { flex-basis: 100%; }
  /* The image spans every text row plus a final flexible row that absorbs any height difference. */
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) { display: grid; grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: repeat(11, min-content) 1fr; column-gap: .75rem; }
  /* The photo fills its grid cell without sizing it: an image with height 100% in an auto-height row adds its own
     intrinsic height (WebKit used the lazy placeholder, 1500px), so it is taken out of flow and the text rows set the height. */
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child { grid-column: 1; grid-row: 1 / -1; align-self: stretch; position: relative; min-height: 6.5rem; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child :is(a, img) { position: absolute; inset: 0; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child img { width: 100%; height: 100%; aspect-ratio: auto; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > .wp-block-image:first-child figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; margin: 0; padding: .25rem .5rem; background: var(--vrb-surface, #fff); font-size: .75rem; line-height: 1.3; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :not(.wp-block-image) { grid-column: 2; margin-right: .75rem; margin-left: 0; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :is(h3, h4) { margin-top: .6rem; font-size: 1.125rem; }
  .vr-guide .is-style-vr-figure .wp-block-column:has(> .wp-block-image:first-child + :is(h3, h4)) > :last-child:not(.wp-block-image) { padding-bottom: .6rem; }
}

/* Block styles: Checklist and Steps (core List) */
.vr-guide .is-style-vr-checklist,
.is-style-vr-checklist { list-style: none; padding-inline-start: 0; }
.is-style-vr-checklist > li { position: relative; padding-inline-start: 2rem; }
.is-style-vr-checklist > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; border: 2px solid var(--vrb-accent, #245b57); }
.vr-guide .is-style-vr-steps,
.is-style-vr-steps { list-style: none; counter-reset: vr-step; padding-inline-start: 0; }
.is-style-vr-steps > li { position: relative; counter-increment: vr-step; padding-inline-start: 2.75rem; min-height: 2rem; }
.is-style-vr-steps > li::before { content: counter(vr-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--vrb-accent, #245b57); color: var(--vr-color-on-accent, #fff); font-size: .875rem; font-weight: 700; }

@media (max-width: 40rem) {
  .vr-market-stats, .vr-callout, .is-style-vr-figure { padding: var(--vr-space-4, 1rem); }
  .vr-guide .wp-block-table table { min-width: 0; }
  .vr-guide .wp-block-table :is(th, td) { padding: .5rem; }
}

/* Table block captions, printed as <caption> (guide-blocks.php table_caption). */
.wp-block-table .vr-table-caption { caption-side: top; text-align: left; font-weight: 600; font-size: .9375rem; padding: 0 0 var(--vr-space-2, .5rem); }
.vr-cta .vr-cta__address { margin: .25rem 0 0; font-size: .875rem; color: var(--vrb-muted); font-style: normal; }

/* ---------------------------------------------------------------------------
 * Guide area sections and their section-aware sidebar (vr-blocks/guide-section with an
 * area + vr-blocks/guide-rail). Every rail is printed once, after its section body, so a
 * phone and a crawler read it inline. On a wide screen the guide widens by one column and
 * each rail sticks beside its own section: when the next area section arrives, its rail
 * pushes the previous one out. No content is hidden without JavaScript; JS only animates
 * the heading and keeps a tall rail's bottom reachable (vr-blocks.js).
 * ------------------------------------------------------------------------ */
.vr-rail { --vr-rail-surface: var(--vrb-surface, #fff); --vr-rail-rule: var(--vrb-rule, rgba(0,0,0,.12)); --vr-rail-accent: var(--vrb-accent, #245b57);
  margin: var(--vr-space-8, 2rem) 0; color: var(--vrb-text, inherit); }
.vr-rail__inner { position: relative; padding: 1.25rem 1.25rem 1rem; border: 1px solid var(--vr-rail-rule); border-radius: 14px; background: var(--vr-rail-surface); }
.vr-rail__inner::before { content: ""; position: absolute; inset: 1.25rem auto 1.25rem 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--vr-rail-accent); transform-origin: top; }
.vr-rail .vr-rail__head { margin: 0 0 1rem; overflow: hidden; }
.vr-rail .vr-rail__kicker { margin: 0; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vr-rail-accent); }
.vr-rail .vr-rail__title { margin: .15rem 0 0; font-weight: 500; letter-spacing: -.01em; font-family: var(--vrb-display, inherit); font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.15; }
.vr-rail .vr-rail__note { margin: .35rem 0 0; font-size: .8125rem; line-height: 1.4; color: var(--vrb-muted, inherit); opacity: .85; }
.vr-rail .vr-idx-embed { min-height: 0; }
/* Wide guide tables scroll inside their figure on a phone instead of widening the page. */
.vr-guide .wp-block-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vr-rail .vri-picks .vrp-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vr-rail__blocks { margin-top: 1rem; display: grid; gap: .75rem; }
.vr-rail__blocks > * { margin: 0; }
.vr-rail .vr-market-stats { margin: 0; padding: 1rem; }
/* An inline CTA in a rail is too narrow for its two-column layout: stack text over a full-width button. */
.vr-rail .vr-cta--inline { padding-block: .9rem; }
.vr-rail .vr-cta--inline .vr-cta__body { grid-template-columns: minmax(0, 1fr); }
.vr-rail .vr-cta--inline .vr-cta__actions { grid-column: 1; grid-row: auto; margin-top: .5rem; gap: .5rem 1rem; }
.vr-rail .vr-cta .vr-cta__text { font-size: .875rem; line-height: 1.45; }
.vr-rail .vr-cta .vr-cta__button:is(:link, :visited) { width: 100%; text-align: center; }
.vr-rail .vr-market-stats .vr-market-stats__headline { margin-bottom: .75rem; font-size: 1.05rem; }
.vr-rail .vr-market-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.vr-rail .vr-market-stats__stat { padding: .6rem .7rem; }
.vr-rail .vr-market-stats__stat dd { font-size: 1.2rem; }

/* Compact rail (Ryan 2026-11-24, "massive holes in the article"): a rail that is taller than its
   section's text leaves a blank band beside it, because the section grid row is as tall as the rail.
   So the rail shows one listing at a time in a sideways strip (the next card peeks in; every pick
   stays in the HTML, swipe or scroll for the rest), tighter stats and a shorter offer. The stats'
   source and disclaimer fold into a one-line "Data sources" toggle (vr-guide-data, source_line). */
.vr-rail__inner { padding: .85rem 1rem .75rem; }
.vr-rail .vr-rail__head { margin-bottom: .75rem; }
.vr-rail .vri-picks { display: flex; flex-direction: column; }
.vr-rail .vri-picks > .vrp-scope { order: 0; margin-bottom: .4rem; }
.vr-rail .vri-picks > .vrp-list { order: 2; }
.vr-rail .vri-picks > .vrp-foot { order: 3; }
/* Touch screens get a hint; with a mouse the next card peeking in and the strip's scrollbar say it. */
@media (hover: none) {
  .vr-rail .vri-picks:has(.vrp-pick + .vrp-pick)::before { content: "Swipe for more homes \2192"; order: 1; margin: 0 0 .4rem; font-size: .75rem; font-weight: 600; color: var(--vrb-muted, inherit); }
}
.vr-rail .vri-picks .vrp-list { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(calc(100% - 2.25rem), 18rem); gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0 0 .5rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.vr-rail .vri-picks .vrp-list:has(> .vrp-pick:only-child) { grid-auto-columns: min(100%, 18rem); }
.vr-rail .vri-picks .vrp-pick { scroll-snap-align: start; gap: .2rem; }
.vr-rail .vri-picks .vrp-card,
.vr-rail .vri-picks .vrp-pick:first-child .vrp-card { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.vr-rail .vri-picks .vrp-img { aspect-ratio: 5 / 2; }
/* Each pick's own sort link ("Newest first") repeats the footer's "See all homes"; the rail keeps only that one. */
.vr-rail .vri-picks .vrp-more { display: none; }
.vr-rail .vri-picks .vrp-facts { font-size: .78rem; gap: .1rem .5rem; }
.vr-rail .vr-rail__title { font-size: clamp(1.2rem, 1.6vw, 1.35rem); }
.vr-rail .vri-picks .vrp-price,
.vr-rail .vri-picks .vrp-pick:first-child .vrp-price { font-size: 1.15rem; }
.vr-rail .vri-picks .vrp-body { gap: .1rem; }
.vr-rail .vri-picks .vrp-foot { margin-top: .5rem; padding-top: .5rem; gap: .2rem; }
.vr-rail__blocks { margin-top: .75rem; gap: .6rem; }
.vr-rail .vr-cta--inline { margin: 0; padding-block: .6rem; }
.vr-rail .vr-cta .vr-cta__text { font-size: .8125rem; line-height: 1.4; }
.vr-rail .vr-cta--inline .vr-cta__actions { margin-top: .4rem; gap: .35rem 1rem; }
.vr-rail .vr-cta .vr-cta__button:is(:link, :visited) { padding-block: .6rem; font-size: .875rem; }

@supports selector(:has(*)) {
@media (min-width: 1180px) {
  .vr-guide:has(.vr-guide-section--area) { max-width: calc(var(--vr-layout-reading, 68ch) + 23rem); }
  .vr-guide:has(.vr-guide-section--area) > :not(.vr-guide-section--area, .vr-listings, .alignwide, .alignfull) { max-width: var(--vr-layout-reading, 68ch); }
  .vr-guide-section--area { display: grid; grid-template-columns: minmax(0, var(--vr-layout-reading, 68ch)) 20rem; column-gap: 3rem; align-items: start; }
  .vr-guide-section__body { grid-column: 1; min-width: 0; }
  .vr-guide-section__body > :first-child { margin-top: 0; }
  .vr-guide-section--area > .vr-rail { grid-column: 2; grid-row: 1; position: sticky; top: var(--vr-rail-top, 1.5rem); margin: 0; }
  .vr-rail .vri-picks .vrp-list { gap: .6rem; }
}
}

/* Phones and narrow screens (no page rail): the same links in a closed "On this page" list above the guide. */
.vr-page-toc { margin: 0 0 var(--vr-space-6, 1.5rem); border: 1px solid var(--vrb-rule, rgba(0,0,0,.12)); border-radius: 14px; background: var(--vrb-surface, #fff); }
.vr-page-toc > summary { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; font-weight: 600; cursor: pointer; }
.vr-page-toc nav > ol { margin: 0; padding: 0 1rem .75rem 2.25rem; }
.vr-page-toc nav > ol > li { margin: 0; }
.vr-page-toc a { display: block; padding: .5rem 0; line-height: 1.3; }
@media print { .vr-page-toc { display: none; } }

/* Page rail (inc/guide-page-rail.php): "In this guide" and one offer in the right column beside
   sections that have no rail of their own. It runs the full height of the guide and sticks; a
   section's own rail sits above it (opaque, with a backdrop below) while that section is on screen. */
.vr-page-rail__toc { display: none; }
/* Narrow screens have no second column: the offer is a card at the end of the guide. */
.vr-page-rail { margin: 2.5rem 0 0; }
.vr-page-rail:not(:has(.vr-page-rail__cta)) { display: none; }
@supports selector(:has(*)) {
@media (min-width: 1180px) {
  .vr-guide:has(.vr-page-rail) { position: relative; isolation: isolate; }
  .vr-guide > .vr-page-rail.vr-page-rail { display: block; position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 20rem; margin: 0; padding-block-start: 2rem; box-sizing: border-box; z-index: 1; }
  .vr-page-rail__inner { position: sticky; top: var(--vr-rail-top, 1.5rem); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; max-height: calc(100vh - var(--vr-rail-top, 1.5rem) - 1rem); overflow-y: auto; }
  .vr-page-rail__toc { display: block; min-height: 0; overflow: auto; padding: 1rem 1.25rem; border: 1px solid var(--vrb-rule, rgba(0,0,0,.12)); border-radius: 14px; background: var(--vrb-surface, #fff); }
  .vr-page-rail__kicker { margin: 0 0 .5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vrb-accent, #245b57); }
  /* Outranks theme list spacing (Daylight gives guide lists a 25px indent and 12px item gaps). */
  .vr-page-rail .vr-page-rail__toc > ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; }
  .vr-page-rail .vr-page-rail__toc > ol > li { margin: 0; padding: 0; }
  .vr-page-rail__toc a { display: block; padding: .25rem 0 .25rem .625rem; border-inline-start: 2px solid transparent; font-size: .875rem; line-height: 1.3; color: inherit; text-decoration: none; }
  .vr-page-rail__toc a:hover, .vr-page-rail__toc a:focus-visible { color: var(--vrb-accent, #245b57); text-decoration: underline; }
  /* The section on screen (vr-component-rails.js sets aria-current); the list scrolls to keep it in view. */
  .vr-page-rail__toc a[aria-current] { border-inline-start-color: var(--vrb-accent, #245b57); color: var(--vrb-accent, #245b57); font-weight: 600; }
  .vr-page-rail__toc { scrollbar-width: thin; scrollbar-gutter: stable; }
  .vr-page-rail__toc.has-more > ol { -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to bottom, black calc(100% - 2.5rem), transparent); }
  /* A section's own rail is on screen: the page rail steps aside instead of showing a cut strip above it. */
  .vr-page-rail.is-covered .vr-page-rail__inner { visibility: hidden; opacity: 0; }
  .vr-page-toc { display: none; }
  .vr-page-rail .vr-cta { margin: 0; padding: 1rem 1.25rem; border: 1px solid var(--vrb-rule, rgba(0,0,0,.12)); border-radius: 14px; background: var(--vrb-surface, #fff); gap: .75rem; }
  .vr-page-rail .vr-cta__text { font-size: .875rem; line-height: 1.45; }
  .vr-page-rail .vr-cta__actions { margin-top: .25rem; gap: .5rem 1rem; }
  .vr-page-rail .vr-cta .vr-cta__button:is(:link, :visited) { width: 100%; text-align: center; }
  /* Compact agent line first: small photo, name, first credential. */
  .vr-page-rail .vr-cta.vr-cta--card .vr-cta__agent { order: -1; display: flex; flex-direction: row; justify-content: flex-start; text-align: start; align-items: center; gap: .75rem; margin: 0; padding: 0; border: 0; }
  /* Beats the card's own 6rem width (vr-component-cta.css loads later): a 48px circle, never squashed. */
  .vr-page-rail .vr-cta.vr-cta--card .vr-cta__agent-photo { inline-size: 3rem; block-size: 3rem; max-inline-size: none; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; align-self: center; }
  .vr-page-rail .vr-cta__agent-name { margin: 0; font-size: .9375rem; }
  .vr-page-rail .vr-cta__agent-meta { margin: 0; font-size: .75rem; }
  .vr-page-rail .vr-cta__agent-meta li:not(:first-child), .vr-page-rail .vr-cta__address { display: none; }
  /* An area section covers the page rail with its own column, for exactly the section's height;
     full-width children (listings, wide images) sit above it too. */
  .vr-guide:has(.vr-page-rail) .vr-guide-section--area::before { content: ""; grid-column: 2; grid-row: 1; align-self: stretch; position: relative; z-index: 2; background: var(--vr-color-surface, #fff); pointer-events: none; }
  .vr-guide:has(.vr-page-rail) .vr-guide-section--area > .vr-rail { z-index: 3; }
  .vr-guide:has(.vr-page-rail) > :is(.vr-listings, .alignwide, .alignfull) { position: relative; z-index: 2; background: var(--vr-color-surface, #fff); }
}
}

/* Heading hand-off: desktop sticky layout only, and only once vr-blocks.js has marked the page.
   No JS, print, phones and reduced motion: every heading shows. */
@media screen and (min-width: 1180px) and (prefers-reduced-motion: no-preference) {
  .vr-rails-js .vr-rail__title,
  .vr-rails-js .vr-rail__note { transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
  .vr-rails-js .vr-rail__inner::before { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .vr-rails-js .vr-rail:not(.is-current) .vr-rail__title,
  .vr-rails-js .vr-rail:not(.is-current) .vr-rail__note { transform: translateY(110%); opacity: 0; }
  .vr-rails-js .vr-rail:not(.is-current) .vr-rail__inner::before { transform: scaleY(.15); }
  .vr-rails-js .vr-rail.is-leaving .vr-rail__title { transform: translateY(-110%); opacity: 0; }
}

/* Open fact checks on a pre-launch working page (render_open_fact_checks): plainly a reviewer's note. */
.vr-verify { margin: 0 0 var(--vr-space-6, 1.5rem); padding: .85rem 1rem; border: 1px dashed var(--vrb-warning, #b45309); border-radius: 8px; background: var(--vrb-warning-surface, #fffbeb); color: var(--vrb-warning-ink, #78350f); font-size: .875rem; line-height: 1.45; }
.vr-verify p { margin: 0; }
.vr-verify .vr-verify__label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vr-verify .vr-verify__list { margin: .35rem 0 0; padding-inline-start: 1.1rem; }
.vr-verify .vr-verify__list li { margin: .15rem 0 0; font-size: .875rem; line-height: 1.4; }
.vr-verify .vr-verify__list strong { font-weight: 600; }
.vr-verify .vr-verify__why { margin-top: .35rem; font-size: .8125rem; opacity: .9; }
/* When the listing picks name their own scope ("Inside the … boundary" / "Nearby in …"), the
   section's own "Listings: ZIP …" note would contradict it, so the picks' line wins. */
.vr-rail:has(.vrp-scope) .vr-rail__note { display: none; }

