/* ==========================================================================
   VOHRA LAW OFFICE — design system (ported from the supplied design)
   Forest green + warm paper. Source Serif 4 display, DM Sans UI.
   Self-hosted fonts. Live statute search.
   ========================================================================== */

/* --------------------------------------------------------------------------
   FONTS (self-hosted; see assets/fonts/*OFL.txt for licences)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/vlo/fonts/dm-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/vlo/fonts/dm-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 — variable (weight 200-900), latin subset.
   Chosen over Georgia / Times for the display face: it is ~6% narrower at
   heading sizes so titles set cleanly, its small-caps sizes are tight and
   authoritative, it has lining tabular figures for statute numbers and
   judgment counts, and it was designed to sit alongside Source Sans, of
   which DM Sans is a close relative. */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/vlo/fonts/source-serif-4-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   TOKENS
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --white: #fffef9;
  --ink: #242b25;
  --muted: #535d53;
  --forest: #172e26;
  --forest-deep: #11251e;
  --leaf: #e3ebc9;
  --accent: #cbd7ab;
  --line: #dbdfd2;
  --sage: #eaede2;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --focus: #738751;
}

/* --------------------------------------------------------------------------
   RESET — scoped to .vlo-page so admin pages keep their own styling
   -------------------------------------------------------------------------- */
body.vlo-page { margin: 0; background: var(--paper); }
.vlo-page { font: 400 16px/1.55 var(--sans); color: var(--ink); background: var(--paper); }
.vlo-page *, .vlo-page *::before, .vlo-page *::after { box-sizing: border-box; }
.vlo-page h1, .vlo-page h2, .vlo-page h3, .vlo-page h4, .vlo-page p,
.vlo-page figure, .vlo-page blockquote { margin: 0; }
.vlo-page h1, .vlo-page h2, .vlo-page h3, .vlo-page h4 { font-family: var(--display); font-weight: 400; line-height: .98; }
.vlo-page h2 { font-size: clamp(3rem, 5vw, 4.45rem); letter-spacing: -.025em; }
/* Anchor/button colour reset.
   NOTE: a blanket `.vlo-page a { color: inherit }` has higher specificity than
   a bare `.vlo-button` class and silently overrode the button's own colour,
   making dark forest buttons render dark-ink-on-dark-green and therefore
   invisible until hovered. The reset stays as the default for plain links;
   every component class that needs its own colour is scoped with
   `.vlo-page` (0,2,0) so it out-ranks the reset without !important. */
.vlo-page a { color: inherit; text-decoration: none; }
.vlo-page img { display: block; max-width: 100%; }
.vlo-page button, .vlo-page input, .vlo-page select, .vlo-page textarea { font: inherit; color: inherit; }
.vlo-page button { cursor: pointer; }
.vlo-page [hidden] { display: none !important; }
.vlo-page :focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.vlo-page ul, .vlo-page ol { list-style: none; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   PRIMITIVES
   -------------------------------------------------------------------------- */
.vlo-wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.vlo-section { padding-block: 86px; }
.vlo-page section[id] { scroll-margin-top: 24px; }

.vlo-skip { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); z-index: 10; padding: 8px 14px; background: var(--white); }
.vlo-skip:focus { transform: none; }
.vlo-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Scoped with `.vlo-page` so these out-rank the generic `.vlo-page a`
   colour reset above (0,1,1) without needing !important. */
.vlo-page .vlo-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 51px; padding: 11px 19px; border: 1px solid transparent; border-radius: 4px;
  color: var(--white); background: var(--forest); font-size: .9rem; font-weight: 700;
  transition: background .16s, color .16s, border-color .16s;
}
.vlo-page .vlo-button:hover { background: #315044; color: var(--white); }
.vlo-button span { font-size: 1.1em; line-height: 1; }
.vlo-button--small { min-height: 42px; padding-inline: 15px; gap: 9px; font-size: .835rem; white-space: nowrap; }
.vlo-page .vlo-button--light { color: var(--forest-deep); background: var(--leaf); }
.vlo-page .vlo-button--light:hover { background: #f0f4e2; color: var(--forest-deep); }
.vlo-page .vlo-button--ghost { color: var(--forest); background: transparent; border-color: var(--line); }
.vlo-page .vlo-button--ghost:hover { background: var(--white); border-color: #b9c6b1; color: var(--forest); }
.vlo-button--block { width: 100%; }

/* `.vlo-page a` sets `color: inherit` (0,1,1); these link primitives are
   scoped to .vlo-page (0,2,0) so their own colours win. */
.vlo-page .vlo-textlink { display: inline-flex; align-items: baseline; gap: 10px; font-size: .9rem; font-weight: 700; }
.vlo-page .vlo-textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.vlo-page .vlo-textlink--light { color: var(--white); }

.vlo-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 15px;
  color: #4e6146; font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
}
.vlo-eyebrow > span { display: inline-block; width: 25px; height: 1px; background: currentColor; }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.vlo-header { background: var(--paper); position: relative; z-index: 3; }
.vlo-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vlo-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.vlo-brand img { width: 39px; height: 43px; }
.vlo-wordmark { display: grid; justify-items: center; line-height: 1; }
.vlo-wordmark strong { font: 400 24px/1 var(--display); letter-spacing: .125em; text-transform: uppercase; }
.vlo-wordmark small { border-top: 1px solid #a7aea2; width: 100%; margin-top: 5px; padding-top: 4px; text-align: center; font-size: 9px; font-weight: 600; letter-spacing: .235em; text-transform: uppercase; }
.vlo-nav, .vlo-header__actions { display: flex; align-items: center; gap: clamp(15px, 2vw, 31px); }
/* Nav links get vertical padding so their hit area clears the 44px touch
   minimum. Padding (not min-height + inline-flex) keeps them shrinkable
   inline elements, so the mobile nav can still wrap. */
.vlo-page .vlo-nav a, .vlo-page .vlo-signin {
  font-size: .875rem; white-space: nowrap; font-weight: 600;
  padding-block: 11px;
}
.vlo-page .vlo-nav a:hover, .vlo-page .vlo-signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.vlo-page .vlo-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.vlo-menu-toggle { border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; color: var(--forest); background: var(--white); font-weight: 700; }
.vlo-menu-toggle span { margin-left: 6px; }
/* Hidden on desktop, and also when the script has not taken over the nav
   (no-JS case), so a dead button is never shown to the visitor. */
@media (min-width: 901px) { .vlo-menu-toggle { display: none; } }
.vlo-page:not(.has-menu) .vlo-menu-toggle { display: none; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.vlo-hero { background: var(--forest); color: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
/* FIX: the supplied mask buried the photograph under opaque green. The image
   now reads on the right half while the left stays dark enough for the copy. */
.vlo-hero__image {
  position: absolute; inset: 0 0 0 46%; z-index: -1;
  background:
    linear-gradient(90deg, var(--forest) 0%, #172e26cc 12%, #0f201b33 44%, #0f201b1a 100%),
    linear-gradient(0deg, #10231d40, transparent 68%),
    url(/vlo/img/library.webp) center 50% / cover no-repeat;
}
.vlo-hero__inner { min-height: 527px; display: flex; align-items: center; padding-block: 54px 112px; }
.vlo-hero__copy { width: min(590px, 100%); }
.vlo-hero .vlo-eyebrow { color: var(--accent); }
.vlo-hero h1 { font-size: clamp(5.25rem, 8.3vw, 8.05rem); letter-spacing: -.027em; line-height: .87; }
.vlo-hero h1 em { color: var(--accent); font-weight: 400; }
.vlo-hero__description { max-width: 355px; color: #e1e8de; margin-top: 24px; font-size: 1.04rem; }
.vlo-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 25px; }

/* --------------------------------------------------------------------------
   SEARCH PANEL — overlaps the hero
   -------------------------------------------------------------------------- */
.vlo-search-wrap { position: relative; margin-top: -62px; }
/* FIX: the supplied grid left a ~129px void between the heading and the field. */
.vlo-search-panel {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
  align-items: start; gap: 40px; padding: 26px 30px;
  border: 1px solid #deded0; border-radius: 4px; box-shadow: 0 10px 24px rgba(23,46,38,.07); background: var(--white);
}
.vlo-search-title { padding-top: 2px; }
.vlo-search-title h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -.01em; }
.vlo-search-title p { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.vlo-search-form { display: flex; gap: 8px; }
.vlo-search-input {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0;
  padding-inline: 13px; border: 1px solid #cdd3c3; border-radius: 4px;
  background: var(--paper); color: #59694c;
}
.vlo-search-input:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.vlo-search-input svg { flex: none; }
.vlo-search-input input { min-width: 0; min-height: 49px; width: 100%; padding: 5px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.vlo-search-input input::placeholder { color: #596358; opacity: 1; }
.vlo-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: .75rem; color: var(--muted); }
.vlo-quicklinks > span { margin-right: 3px; font-weight: 600; }
.vlo-quicklinks a { padding: 3px 8px; border-radius: 4px; background: #eef0e5; color: #374636; font-weight: 600; }
.vlo-quicklinks a:hover { background: var(--leaf); }

.vlo-results { padding: 24px 30px; margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.vlo-results h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 12px; }
.vlo-results .vlo-textlink { margin-top: 16px; }
.vlo-result { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vlo-result:hover strong { text-decoration: underline; }
.vlo-result small { display: block; color: var(--muted); margin-top: 4px; }
.vlo-results__note { color: var(--muted); font-size: .92rem; padding: 10px 0; }

/* --------------------------------------------------------------------------
   RESEARCH TOOLS
   -------------------------------------------------------------------------- */
.vlo-research { padding-top: 58px; }
.vlo-section-intro { margin-bottom: 29px; }
.vlo-section-intro > p:not(.vlo-eyebrow) { max-width: 56ch; margin-top: 12px; color: var(--muted); }
.vlo-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vlo-resource {
  display: flex; flex-direction: column; padding: 24px; min-height: 227px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--white);
  transition: background .16s, border-color .16s;
}
.vlo-resource:hover { background: #edf0e4; border-color: #b9c6b1; }
.vlo-resource__icon { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; color: var(--forest); border-radius: 4px; background: #edf0e3; }
.vlo-resource__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vlo-resource h3 { margin-top: 15px; font-size: 2.4rem; }
.vlo-resource p { margin: 8px 0 22px; color: var(--muted); font-size: .925rem; }
.vlo-resource__link { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .85rem; font-weight: 700; }
.vlo-resource__link > span { color: #52644e; }

/* --------------------------------------------------------------------------
   PRACTICE AREAS
   -------------------------------------------------------------------------- */
.vlo-practice { background: var(--sage); }
.vlo-practice__grid { display: grid; grid-template-columns: 1fr 1.75fr; align-items: center; gap: 55px; }
.vlo-practice .vlo-section-intro { margin: 0; }
.vlo-practice .vlo-section-intro p:not(.vlo-eyebrow) { max-width: 30ch; }
.vlo-practice .vlo-textlink { margin-top: 22px; }
.vlo-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
/* FIX: the supplied rules ran straight through the column gutter, making the
   two columns read as one ruled table. Each column now rules independently. */
.vlo-topics a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 61px; border-bottom: 1px solid #cbd2c3; font-weight: 600; }
.vlo-topics a:nth-child(-n+2) { border-top: 1px solid #cbd2c3; }
.vlo-topics a:hover, .vlo-articles a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.vlo-topics a > span { color: #52644e; }

/* --------------------------------------------------------------------------
   JOURNAL
   -------------------------------------------------------------------------- */
.vlo-journal__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: stretch; }
.vlo-featured { border: 1px solid var(--line); border-radius: 4px; background: var(--white); overflow: hidden; }
.vlo-featured:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
.vlo-featured img { width: 100%; height: clamp(180px, 24vw, 305px); object-fit: cover; object-position: center 52%; }
.vlo-featured a > div { padding: 20px 24px 23px; }
.vlo-featured h3 { margin: 7px 0 14px; font-size: clamp(2rem, 3.2vw, 3rem); }
.vlo-featured a:hover .vlo-textlink { text-decoration: underline; text-underline-offset: 4px; }
.vlo-featured time { color: var(--muted); font-size: .8rem; font-weight: 600; }
.vlo-articles { display: flex; flex-direction: column; }
.vlo-articles a { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.vlo-articles a:last-child { flex: none; }
.vlo-articles h3 { font-size: clamp(1.65rem, 2.5vw, 2.45rem); line-height: 1.06; }
.vlo-articles a > span { color: #52644e; }

/* --------------------------------------------------------------------------
   CONSULT BAND
   -------------------------------------------------------------------------- */
.vlo-consult { padding-block: 62px; color: var(--white); background: var(--forest); }
.vlo-consult__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.vlo-consult .vlo-eyebrow { color: var(--accent); }
.vlo-consult p:not(.vlo-eyebrow) { max-width: 52ch; margin-top: 14px; color: #e1e8de; }
.vlo-consult__actions { display: grid; justify-items: start; gap: 14px; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.vlo-footer { padding-top: 48px; }
.vlo-footer__grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr 1fr; gap: 28px; }
.vlo-footer h2 { font: 700 .85rem/1.4 var(--sans); margin-bottom: 10px; }
.vlo-footer__grid a:not(.vlo-brand) { display: block; width: fit-content; margin-top: 7px; color: var(--muted); font-size: .85rem; }
.vlo-footer__grid a:not(.vlo-brand):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.vlo-footer__brand p { color: var(--muted); font-size: .85rem; margin-top: 12px; max-width: 28ch; }
.vlo-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 34px; padding-block: 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
.vlo-footer__base > div { display: flex; gap: 16px; }

/* --------------------------------------------------------------------------
   INNER PAGE HEADER (shared by about/contact/etc.)
   -------------------------------------------------------------------------- */
.vlo-pagehead { background: var(--forest); color: var(--paper); padding-block: 54px 66px; position: relative; isolation: isolate; overflow: hidden; }
.vlo-pagehead__image {
  position: absolute; inset: 0 0 0 46%; z-index: -1;
  background:
    linear-gradient(90deg, var(--forest) 0%, #172e26cc 14%, #0f201b30 48%, #0f201b1a 100%),
    url(/vlo/img/library.webp) center 50% / cover no-repeat;
}
.vlo-pagehead h1 { font-size: clamp(3.2rem, 5.6vw, 5.2rem); letter-spacing: -.027em; line-height: .92; max-width: 16ch; }
.vlo-pagehead__lede { max-width: 56ch; margin-top: 20px; color: #e1e8de; font-size: 1.04rem; }
.vlo-pagehead .vlo-eyebrow { color: var(--accent); }
.vlo-crumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: .8rem; color: rgba(248,247,241,.62); }
.vlo-crumbs a { color: rgba(248,247,241,.82); }
.vlo-crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.vlo-crumbs .sep { opacity: .5; }

/* --------------------------------------------------------------------------
   LEGACY GRID BRIDGE
   ---------------------------------------------------------------------------
   Views that were not rebuilt from scratch still use Bootstrap's grid class
   names (`.row`, `.col-*`, `.g-4`, `.container*`), but Bootstrap is not
   loaded on this site, so those elements rendered as unstyled blocks and
   the two-column pages collapsed into a mess. This restores the grid on the
   design system's own tokens: a 12-column row with responsive gutters, and
   container widths that match `.vlo-wrap`.
   -------------------------------------------------------------------------- */
.vlo-page .container,
.vlo-page .container-fluid {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.vlo-page .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.vlo-page .row > [class*="col-"] { min-width: 0; }
.vlo-page .g-0 { gap: 0; }
.vlo-page .g-2 { gap: 12px; }
.vlo-page .g-3 { gap: 18px; }
.vlo-page .g-4 { gap: 24px; }
.vlo-page .g-5 { gap: 32px; }

/* Base spans. The design's breakpoints are 900 / 1100 / 620; Bootstrap's
   were sm (576), md (768), lg (992), xl (1200), so each variant maps onto
   the nearest design breakpoint:
     -xl-  full span below 1100
     -lg-  full span below 900
     -md-  full span below 900
     -sm-  full span below 620 */
.vlo-page .col-1  { grid-column: span 1; }
.vlo-page .col-2  { grid-column: span 2; }
.vlo-page .col-3  { grid-column: span 3; }
.vlo-page .col-4  { grid-column: span 4; }
.vlo-page .col-5  { grid-column: span 5; }
.vlo-page .col-6  { grid-column: span 6; }
.vlo-page .col-7  { grid-column: span 7; }
.vlo-page .col-8  { grid-column: span 8; }
.vlo-page .col-9  { grid-column: span 9; }
.vlo-page .col-10 { grid-column: span 10; }
.vlo-page .col-11 { grid-column: span 11; }
.vlo-page .col-12 { grid-column: span 12; }
.vlo-page .offset-2 { grid-column-start: 3; }
.vlo-page .col-lg-1  { grid-column: span 1; }
.vlo-page .col-lg-2  { grid-column: span 2; }
.vlo-page .col-lg-3  { grid-column: span 3; }
.vlo-page .col-lg-4  { grid-column: span 4; }
.vlo-page .col-lg-5  { grid-column: span 5; }
.vlo-page .col-lg-6  { grid-column: span 6; }
.vlo-page .col-lg-7  { grid-column: span 7; }
.vlo-page .col-lg-8  { grid-column: span 8; }
.vlo-page .col-lg-9  { grid-column: span 9; }
.vlo-page .col-lg-10 { grid-column: span 10; }
.vlo-page .col-lg-11 { grid-column: span 11; }
.vlo-page .col-lg-12 { grid-column: span 12; }
.vlo-page .col-xl-1  { grid-column: span 1; }
.vlo-page .col-xl-2  { grid-column: span 2; }
.vlo-page .col-xl-3  { grid-column: span 3; }
.vlo-page .col-xl-4  { grid-column: span 4; }
.vlo-page .col-xl-5  { grid-column: span 5; }
.vlo-page .col-xl-6  { grid-column: span 6; }
.vlo-page .col-xl-7  { grid-column: span 7; }
.vlo-page .col-xl-8  { grid-column: span 8; }
.vlo-page .col-xl-9  { grid-column: span 9; }
.vlo-page .col-xl-10 { grid-column: span 10; }
.vlo-page .col-xl-11 { grid-column: span 11; }
.vlo-page .col-xl-12 { grid-column: span 12; }
.vlo-page .col-md-3  { grid-column: span 3; }
.vlo-page .col-md-4  { grid-column: span 4; }
.vlo-page .col-md-6  { grid-column: span 6; }
.vlo-page .col-md-8  { grid-column: span 8; }
.vlo-page .col-md-9  { grid-column: span 9; }
.vlo-page .col-md-12 { grid-column: span 12; }
.vlo-page .col-sm-2  { grid-column: span 2; }
.vlo-page .col-sm-3  { grid-column: span 3; }
.vlo-page .col-sm-4  { grid-column: span 4; }
.vlo-page .col-sm-6  { grid-column: span 6; }
.vlo-page .col-sm-12 { grid-column: span 12; }

/* A wider rail for the act page's section index, which needs room for
   "Sec. 123" plus a truncated section title on one line. */
.vlo-page .col-xl-4 { grid-column: span 4; }
.vlo-page .col-lg-4  { grid-column: span 4; }

@media (max-width: 1100px) {
  .vlo-page [class*="col-xl-"] { grid-column: span 12; }
}
@media (max-width: 900px) {
  .vlo-page [class*="col-lg-"],
  .vlo-page [class*="col-md-"] { grid-column: span 12; }
  .vlo-page .row { gap: 20px; }
  .vlo-page .container,
  .vlo-page .container-fluid { width: calc(100% - 48px); }
}
@media (max-width: 620px) {
  .vlo-page [class*="col-sm-"] { grid-column: span 12; }
}

/* Utilities the legacy views rely on. */
.vlo-page .d-flex { display: flex; }
.vlo-page .flex-wrap { flex-wrap: wrap; }
.vlo-page .align-items-center { align-items: center; }
.vlo-page .align-items-start { align-items: start; }
.vlo-page .justify-content-center { justify-content: center; }
.vlo-page .justify-content-between { justify-content: space-between; }
.vlo-page .gap-2 { gap: 8px; }
.vlo-page .gap-3 { gap: 12px; }
.vlo-page .gap-4 { gap: 24px; }
.vlo-page .mt-1 { margin-top: 4px; }
.vlo-page .mt-2 { margin-top: 8px; }
.vlo-page .mt-3 { margin-top: 12px; }
.vlo-page .mt-4 { margin-top: 16px; }
.vlo-page .mt-5 { margin-top: 24px; }
.vlo-page .mb-0 { margin-bottom: 0; }
.vlo-page .mb-2 { margin-bottom: 8px; }
.vlo-page .mb-3 { margin-bottom: 12px; }
.vlo-page .mb-4 { margin-bottom: 16px; }
.vlo-page .mb-5 { margin-bottom: 24px; }
.vlo-page .py-5 { padding-block: 24px; }
.vlo-page .p-0 { padding: 0; }
.vlo-page .p-3 { padding: 12px; }
.vlo-page .p-4 { padding: 16px; }
.vlo-page .text-center { text-align: center; }
.vlo-page .text-muted { color: var(--muted); }
.vlo-page .fw-bold { font-weight: 700; }
.vlo-page .shadow-sm { box-shadow: 0 10px 24px rgba(23,46,38,.07); }
.vlo-page .card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
}
.vlo-page .card-header {
  padding: 12px 16px; font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--sage); border-bottom: 1px solid var(--line);
}
.vlo-page .card-body { padding: 16px; }
.vlo-page .breadcrumb {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0; font-size: .78rem;
}

/* Two-column act layout: sticky index rail + reading column. */
.vlo-page .act-layout,
.vlo-page .act-body {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.vlo-page .act-layout__toc,
.vlo-page .act-body__toc {
  position: sticky; top: 20px;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
@media (max-width: 1100px) {
  .vlo-page .act-layout, .vlo-page .act-body {
    grid-template-columns: 300px minmax(0, 1fr); gap: 28px;
  }
}
@media (max-width: 900px) {
  .vlo-page .act-layout, .vlo-page .act-body { grid-template-columns: minmax(0, 1fr); }
  .vlo-page .act-layout__toc, .vlo-page .act-body__toc {
    position: static; max-height: 340px;
  }
}

/* -------------------------------------------------------------------------- 
   GENERIC CONTENT PIECES
   -------------------------------------------------------------------------- */
.vlo-lede { max-width: 62ch; color: var(--muted); font-size: 1.02rem; line-height: 1.62; }
.vlo-prose { max-width: 68ch; }
.vlo-prose p { margin-bottom: 16px; color: var(--muted); line-height: 1.72; }
.vlo-prose h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 40px 0 14px; }
.vlo-prose h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 32px 0 10px; }

/* --------------------------------------------------------------------------
   LEGAL PAGES (privacy / terms / disclaimer)
   Long-form policy copy. The section headings are numbered clause titles,
   so they set smaller than the display h2 used elsewhere, and the notice
   box carries the warm amber of a legal caveat rather than a brand tint.
   -------------------------------------------------------------------------- */
.vlo-legal .vlo-panel { max-width: 860px; }
.vlo-legal .vlo-prose { max-width: 74ch; }
.vlo-legal .vlo-prose h2 {
  font-size: 1.32rem; line-height: 1.25; margin: 34px 0 10px;
  color: var(--ink); letter-spacing: -.01em;
}
.vlo-legal .vlo-prose h2:first-child { margin-top: 0; }
.vlo-legal .vlo-prose p { margin-bottom: 14px; line-height: 1.78; }
.vlo-legal .vlo-prose a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.vlo-legal .vlo-prose a:hover { color: var(--forest-deep); }
.vlo-legal .vlo-prose strong { color: var(--ink); font-weight: 700; }
.vlo-legal__notice {
  background: #fbf6e6; border: 1px solid #e2d3a8; border-left: 3px solid #8a6d16;
  border-radius: 4px; padding: 16px 20px; margin-bottom: 30px;
  font-size: .92rem; line-height: 1.7; color: #6b5518;
}
.vlo-legal__notice strong { color: #8a6d16; font-weight: 700; }
.vlo-prose ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; color: var(--muted); }
.vlo-prose li { margin-bottom: 8px; line-height: 1.66; }
.vlo-prose strong { color: var(--ink); font-weight: 700; }

.vlo-checklist { display: grid; gap: 13px; margin-top: 26px; }
.vlo-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; color: var(--ink); line-height: 1.58; }
.vlo-checklist .tick { width: 22px; height: 22px; border-radius: 50%; background: #edf0e3; color: var(--forest); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.vlo-checklist .tick svg { width: 12px; height: 12px; }

.vlo-panel { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.vlo-panel--sage { background: var(--sage); border-color: #d4dac9; }

.vlo-form { display: grid; gap: 17px; }
.vlo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.vlo-form__group { display: grid; gap: 6px; }
.vlo-form__group label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.vlo-form__group .hint { font-size: .78rem; color: var(--muted); }
.vlo-form__group .err { font-size: .8rem; color: #a33; font-weight: 600; }
.vlo-form__control {
  width: 100%; background: var(--white); border: 1px solid #cdd3c3; border-radius: 4px;
  padding: 12px 14px; font-size: .95rem; color: var(--ink); outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.vlo-form__control::placeholder { color: #7d8479; }
.vlo-form__control:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(115,135,81,.18); }
textarea.vlo-form__control { min-height: 130px; resize: vertical; }
.vlo-alert { padding: 13px 16px; border-radius: 4px; font-size: .88rem; }
.vlo-alert--error { background: #fbeeea; border: 1px solid #e2b4a6; color: #8c2f16; }
.vlo-alert--ok { background: #eaf3e6; border: 1px solid #b3d1a6; color: #2f5b23; }

/* --------------------------------------------------------------------------
   LEGACY CANVAS-THEME BRIDGE
   ---------------------------------------------------------------------------
   Pages that were not rebuilt in the forest design still carry the old
   Canvas theme's inline <style> blocks: purple (#3c1a8b / #1e3a8a /
   #0d1b5e) buttons, white-on-dark tab pills sitting on a paper page, and
   other remapped classes. This block re-tints every one of those legacy
   classes onto the forest palette and fixes the buttons that were
   invisible because their foreground matched their background.

   Specificity: the `.vlo-page` prefix (0,2,0) beats the legacy page-level
   rules (0,1,0) without needing !important.
   -------------------------------------------------------------------------- */

/* --- Member auth (login / register): Canvas purple #3c1a8b --- */
.vlo-page .auth-wrap { background: var(--paper); }
.vlo-page .auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(23,46,38,.07);
  font-family: var(--sans);
}
.vlo-page .auth-label {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  text-transform: none; letter-spacing: 0; color: var(--ink);
}
.vlo-page .auth-input {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  border: 1px solid #cdd3c3; border-radius: 4px; background: var(--white);
}
.vlo-page .auth-input:focus {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(115,135,81,.18);
}
.vlo-page .auth-btn {
  background: var(--forest); color: var(--white);
  border-radius: 4px; font-family: var(--sans); font-weight: 700;
  border: 1px solid transparent;
}
.vlo-page .auth-btn:hover { background: #315044; color: var(--white); opacity: 1; }
.vlo-page .auth-link { color: var(--forest); font-family: var(--sans); }
.vlo-page .auth-link:hover { color: var(--forest-deep); }
.vlo-page .auth-divider { color: var(--muted); font-family: var(--sans); }
.vlo-page .auth-alert { font-family: var(--sans); border-radius: 4px; }
.vlo-page .auth-alert-info {
  background: var(--sage); color: var(--forest); border: 1px solid var(--line);
}
.vlo-page .auth-alert-error {
  background: #fbeeea; color: #8c2f16; border: 1px solid #e2b4a6;
}
.vlo-page .auth-alert-success {
  background: #eaf2e2; color: #2c4a1f; border: 1px solid #c3d6b8;
}
.vlo-page .form-check-label { font-family: var(--sans); color: var(--ink); }
.vlo-page .field-error { font-family: var(--sans); color: #8c2f16; }
.vlo-page .prof-toggle-label { font-family: var(--sans); color: var(--ink); }

/* --- Bare act tabs: were white pills on a paper page (invisible) --- */
.vlo-page .tab-btn {
  background: var(--white); color: var(--forest);
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--sans);
}
.vlo-page .tab-btn:hover { background: var(--sage); color: var(--forest); }
.vlo-page .tab-btn.active {
  background: var(--forest); color: var(--white); border-color: var(--forest);
}

/* --- Blog ghost buttons: white-on-white on the new paper blog hero --- */
.vlo-page .btn-ghost {
  background: var(--white); color: var(--forest);
  border: 1px solid var(--line); font-family: var(--sans);
}
.vlo-page .btn-ghost:hover {
  background: var(--sage); color: var(--forest); border-color: #b9c6b1;
}

/* --- Pagination: Canvas indigo current page (#1a237e) ---
   The legacy rule uses !important, so the override has to as well. */
.vlo-page .paginate_button {
  background: var(--white); color: var(--forest);
  border: 1px solid var(--line); font-family: var(--sans);
}
.vlo-page .paginate_button:hover { background: var(--sage); color: var(--forest); }
/* `.vlo-page a { color: inherit }` (0,1,1) out-ranks a plain class rule,
   so the anchor form needs its own selector to keep its label colour. */
.vlo-page a.paginate_button { color: var(--forest); }
/* DataTables ships its own `.dataTables_paginate .paginate_button` rule with
   `color: inherit !important` at specificity 0,4,1, which beats anything
   scoped to `.vlo-page`. The current-page button therefore needs a
   selector at least that specific to hold its forest fill and white
   label. */
.vlo-page .dataTables_wrapper .dataTables_paginate .paginate_button,
.vlo-page .dataTables_wrapper .paginate_button {
  background: var(--white); color: var(--forest);
  border: 1px solid var(--line); font-family: var(--sans);
}
.vlo-page .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.vlo-page .dataTables_wrapper .paginate_button.current,
.vlo-page .paginate_button.current,
.vlo-page a.paginate_button.current {
  background: var(--forest) !important; color: var(--white) !important;
  border-color: var(--forest) !important;
}

/* --- Bootstrap text utility: white-on-paper was invisible --- */
.vlo-page .text-white-50 { color: var(--muted); }
.vlo-page .text-white { color: var(--ink); }

/* --- Table of contents: neutralise the old indigo accent --- */
.vlo-page .toc-link { color: var(--muted); }
.vlo-page .toc-link:hover, .vlo-page .toc-link.active {
  border-left-color: var(--forest); background: var(--sage); color: var(--forest);
}

/* --------------------------------------------------------------------------
   LEGACY RADIUS NORMALISATION
   ---------------------------------------------------------------------------
   Pages that were not rebuilt from scratch still carry their own border
   radii (2px, 5px, 6px, 8px, 10px, 12px, 20px). The design system uses a
   single 4px scale for cards, panels and inputs, with 999px reserved for
   pills. The legacy values are normalised here so the whole site reads as
   one system. Specificity uses the attribute selector to beat the legacy
   page-level rules.
   -------------------------------------------------------------------------- */
.vlo-page .card,
.vlo-page .panel,
.vlo-page .card-header,
.vlo-page .card-body,
.vlo-page .form-control,
.vlo-page .form-select,
.vlo-page .btn,
.vlo-page .alert,
.vlo-page .badge,
.vlo-page .pagination,
.vlo-page .page-link,
.vlo-page .modal-content,
.vlo-page .dropdown-menu,
.vlo-page .list-group-item,
.vlo-page .input-group-text {
  border-radius: 4px;
}
.vlo-page .rounded,
.vlo-page .rounded-1,
.vlo-page .rounded-2,
.vlo-page .rounded-3 { border-radius: 4px; }
.vlo-page .rounded-pill,
.vlo-page .rounded-circle { border-radius: 999px; }
.vlo-page .btn-group > .btn { border-radius: 0; }
.vlo-page .btn-group > .btn:first-child { border-radius: 4px 0 0 4px; }
.vlo-page .btn-group > .btn:last-child { border-radius: 0 4px 4px 0; }

/* Legacy page-specific components. */
.vlo-page .cb-post-card { border-radius: 4px; }
.vlo-page .pdf-pill,
.vlo-page .pdf-btn { border-radius: 999px; }
.vlo-page .cat-tab,
.vlo-page .cat-tab.active { border-radius: 999px; }
.vlo-page .tag-pill { border-radius: 999px; }
.vlo-page .btn-join { border-radius: 4px; }
.vlo-page .paginate_button { border-radius: 4px; }
.vlo-page .prof-toggle { border-radius: 4px; }
.vlo-page .cb-input-hint { border-radius: 4px; }
.vlo-page .cb-sidebar-card { border-radius: 4px; }
.vlo-page .rel-thumb { border-radius: 4px; }
.vlo-page .disclaimer-collapsible { border-radius: 4px; }
.vlo-page .eyebrow { border-radius: 2px; }
/* Remaining legacy controls. */
.vlo-page .btn-success,
.vlo-page .btn-danger,
.vlo-page .btn-warning,
.vlo-page .btn-info,
.vlo-page .btn-secondary,
.vlo-page .btn-primary,
.vlo-page .btn-light,
.vlo-page .btn-dark { border-radius: 4px; }
.vlo-page .mobile-index-btn { border-radius: 999px; }
.vlo-page .form-control,
.vlo-page .form-select,
.vlo-page select,
.vlo-page input[type="text"],
.vlo-page input[type="search"],
.vlo-page input[type="email"],
.vlo-page input[type="password"],
.vlo-page input[type="tel"],
.vlo-page input[type="number"] { border-radius: 4px; }

/* The bare-acts search island is a compiled React bundle, so its radii
   cannot be edited at source without a Vite rebuild. The search field
   takes the panel radius and the suggestion chips take the pill radius. */
#bare-acts-search-root input,
#bare-acts-search-root .search-input,
#bare-acts-search-root .search-box { border-radius: 4px !important; }
/* The field's wrapper carries the magnifier icon and the input. */
#bare-acts-search-root div:has(> svg) { border-radius: 4px !important; }
#bare-acts-search-root button {
  border-radius: 999px !important;
}
#bare-acts-search-root .btn,
#bare-acts-search-root button.btn { border-radius: 4px !important; }

/* --------------------------------------------------------------------------
   LEGACY FONT BRIDGE
   Older pages carry their own scoped CSS naming Merriweather / Manrope /
   Syne. Alias them onto the current faces so nothing
   falls back to a different type family mid-site.
   -------------------------------------------------------------------------- */
.vlo-page {
    --lp-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --lp-sans: "DM Sans", Arial, sans-serif;
}
.vlo-page h1, .vlo-page h2, .vlo-page h3, .vlo-page h4, .vlo-page h5, .vlo-page h6,
.vlo-page .cb-article-title, .vlo-page .cb-article-hero h1 {
    font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}
.vlo-page p, .vlo-page span, .vlo-page li, .vlo-page td, .vlo-page th,
.vlo-page label, .vlo-page input, .vlo-page select, .vlo-page textarea,
.vlo-page button, .vlo-page a, .vlo-page time, .vlo-page small {
    font-family: "DM Sans", Arial, sans-serif;
}
/* --------------------------------------------------------------------------
   LEGACY FAMILY ALIASES
   Some older pages still name Merriweather / Manrope / Syne in their own
   scoped CSS. Alias each retired family onto the current faces so nothing
   on the site falls back to a different type family mid-page.
   -------------------------------------------------------------------------- */
/* Legacy family aliases. The legacy pages name Merriweather / Manrope /
   Syne / JetBrains Mono; these rules point them at the current faces so
   nothing falls back to a different type family mid-site, and so no
   request is made for a font file that is not deployed. */
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; font-display: swap; src: url(/vlo/fonts/source-serif-4-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: italic; font-weight: 400; font-display: swap; src: url(/vlo/fonts/source-serif-4-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 700; font-display: swap; src: url(/vlo/fonts/source-serif-4-var-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/vlo/fonts/dm-sans-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/vlo/fonts/dm-sans-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/vlo/fonts/dm-sans-normal-latin.woff2) format('woff2'); }

/* --------------------------------------------------------------------------
   CASE SUBMISSION — scoped token bridge
   The submit form carries its own scoped CSS. Remap its tokens onto the
   forest palette so it matches the rest of the site without a risky
   rewrite of the form logic, captcha and validation.
   -------------------------------------------------------------------------- */
.vlo-page .cb-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: none;
  padding: 30px;
}
.vlo-page .cb-form-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.vlo-page .cb-form-group label {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}
/* Required-field marker. `--seal` was a token from the old theme that no
   longer exists, so this fell back to the old red #9b2c2c. A warm amber
   marks the field as required and stays legible on the paper background
   (6.6:1). */
.vlo-page .cb-form-group label span.req { color: #6b5610; }
.vlo-page .cb-input, .vlo-page .cb-textarea {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  border: 1px solid #cdd3c3;
  border-radius: 4px;
  background: var(--white);
  padding: 12px 14px;
}
.vlo-page .cb-input:focus, .vlo-page .cb-textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(115,135,81,.18);
}
.vlo-page .cb-textarea { line-height: 1.62; min-height: 170px; }
.vlo-page .cb-input-hint { color: var(--muted); font-family: var(--sans); font-size: .8rem; }
.vlo-page .cb-two-col { gap: 17px; }
.vlo-page .cb-side-claimant { border-left: 2px solid var(--forest); padding-left: 16px; }
.vlo-page .cb-side-respondent { border-left: 2px solid var(--leaf); padding-left: 16px; }
.vlo-page .cb-side-claimant h3 { color: var(--forest); border: 0; padding: 0; margin: 0 0 16px; }
.vlo-page .cb-side-respondent h3 { color: var(--forest); border: 0; padding: 0; margin: 0 0 16px; }
.vlo-page .cb-ai-prompt-box { background: #f4f7e6; border: 1px solid #d5ddba; border-radius: 4px; }
.vlo-page .cb-ai-prompt-box h4 { color: var(--forest); font-family: var(--sans); }
.vlo-page .cb-ai-prompt-box p { color: var(--muted); }
.vlo-page .cb-copy-btn {
  background: var(--forest); color: var(--white);
  border: 1px solid transparent; border-radius: 4px; font-family: var(--sans);
}
.vlo-page .cb-copy-btn:hover { background: #315044; color: var(--white); opacity: 1; }
.vlo-page .cb-privacy { color: var(--muted); font-family: var(--sans); }
.vlo-page .cb-error-box {
  background: #fbeeea; border: 1px solid #e2b4a6; color: #8c2f16;
  font-family: var(--sans); border-radius: 4px;
}
.vlo-page .cb-field-error { color: #8c2f16; font-family: var(--sans); }
.vlo-page .cb-submit-btn {
  background: var(--forest); color: var(--white);
  border: 1px solid transparent; border-radius: 4px; font-family: var(--sans);
  font-weight: 700; padding: 15px 28px;
}
.vlo-page .cb-submit-btn:hover { background: #315044; color: var(--white); opacity: 1; }
.vlo-page .cb-submit-hero {
  background: var(--forest);
  padding: 54px 0 44px;
}
.vlo-page .cb-submit-hero h1 { font-family: var(--display); color: #fff; font-weight: 400; font-size: clamp(2rem,4vw,3.1rem); }
.vlo-page .cb-submit-hero p { color: rgba(233,237,245,.7); font-family: var(--sans); font-size: .95rem; }

/* --------------------------------------------------------------------------
   ACT PAGE (bare_acts/act.blade.php)
   The act view's own rules shipped as unscoped inline <style> blocks inside
   the blade template. They are moved here and scoped under `.vlo-page` so
   they out-rank the generic resets, and their Canvas palette is remapped to
   the forest tokens in one place. Media wrappers are preserved, so the
   responsive rules keep their breakpoint instead of leaking to desktop.
   -------------------------------------------------------------------------- */
.vlo-page .act-hero { background:linear-gradient(135deg,#11251e,#172e26);color:#fff;padding:16px 0 12px;text-align:center; }
.vlo-page .act-hero h1 { font-size:1.2rem;font-weight:700;line-height:1.3;color:#ffffff;text-align:center; }
.vlo-page .meta-pill { background:rgba(255,255,255,.15);border-radius: 999px;padding:5px 12px;font-size:12px;font-weight:600;display:inline-block; }
/* The act tab rail sits on the dark forest hero, so the pills carry their own
   translucent fill. Without it the tabs are transparent and white text sits
   directly on the hero gradient, which is unreadable (contrast ~1.07:1).
   The Canvas-bridge rule further down styles the same class for the paper
   context, so this rule is scoped to the hero and wins on source order. */
.vlo-page .act-hero .tab-btn {
  background: rgba(255,255,255,.12); color: #f0f0e9;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  cursor: pointer; font-size: 12px; font-weight: 600; transition: all .2s;
  padding: 5px 12px;
}
.vlo-page .act-hero .tab-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.vlo-page .act-hero .tab-btn.active {
  background: var(--leaf); color: var(--forest-deep); border-color: var(--leaf);
}
.vlo-page .toc-wrap { position:sticky; top:20px; max-height:calc(100vh - 40px); overflow-y:auto; }
.vlo-page .toc-link { display:block;padding:4px 8px;font-size:12.5px;color:#444;border-radius: 4px;text-decoration:none;line-height:1.35;border-left:3px solid transparent;transition:all .15s; }
.vlo-page .toc-link:hover, .vlo-page .toc-link.active { border-left-color:#172e26;background:#f4f6ef;color:#172e26; }

/* The act page's sidebar rail. Wider than the default grid rail, sticky so
   the section index stays reachable while reading down the act, and with
   tighter vertical rhythm so a long table of contents fits on screen. */
.vlo-page #toc-sidebar { position: sticky; top: 20px; align-self: start; }
.vlo-page #toc-sidebar .toc-wrap {
  position: sticky; top: 20px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px;
}
.vlo-page #toc-sidebar .card-header {
  position: sticky; top: 0; z-index: 2;
  background: var(--sage); border-bottom: 1px solid var(--line);
}
.vlo-page #toc-sidebar .card-body { padding: 0; max-height: none; overflow: visible; }
/* Chapter group headers and their section links. */
.vlo-page #toc-sidebar .toc-chapter-header {
  padding: 6px 12px; font-size: .7rem; letter-spacing: .04em;
  background: var(--sage); color: var(--forest);
  border-bottom: 1px solid var(--line);
}
.vlo-page #toc-sidebar .toc-children a.toc-link {
  padding: 3px 10px 3px 14px; font-size: 12px; line-height: 1.3;
}
.vlo-page #toc-sidebar .toc-children a.toc-link span:first-child,
.vlo-page #toc-sidebar .toc-children a.toc-link .toc-sec-num {
  color: var(--forest); font-weight: 700; margin-right: 3px;
}
.vlo-page #toc-sidebar .toc-children a.toc-link span:last-child { color: var(--ink); }
.vlo-page .chapter-heading { background:linear-gradient(90deg,#f4f6ef,#fff);border-left:5px solid #2c4a1f;padding:12px 20px;border-radius:0 8px 8px 0;margin:32px 0 12px; }
.vlo-page .chapter-heading h5 { margin:0;font-size:14.5px;font-weight:800;color:#11251e;text-transform:uppercase;letter-spacing:.4px; }
.vlo-page .chapter-heading small { font-size:12px;color:#535d53;font-weight:400;text-transform:none;letter-spacing:0; }
.vlo-page .chapter-body .node-preamble-text { padding: 10px 4px; font-size: 13.5px; color: #555; font-style: italic; line-height: 1.8; border-left: 3px solid #eaede2; margin-left: 4px; padding-left: 14px; }
.vlo-page .chapter-body .node-preamble-text > p:first-child:has(b:first-child), .vlo-page .chapter-body .node-preamble-text > p:first-child:has(strong:first-child) { display: none; }
.vlo-page .section-accordion { border:1px solid #eaede2;border-radius: 4px;margin-bottom:10px;background:#fff;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.05);transition:box-shadow .2s; }
.vlo-page .section-accordion:hover { box-shadow:0 3px 12px rgba(0,0,0,.1); }
.vlo-page .section-accordion.open { border-color:#cbd7ab;box-shadow:0 4px 16px rgba(30,58,138,.12); }
.vlo-page .sec-header { display:flex;align-items:flex-start;padding:14px 18px;cursor:pointer;gap:12px;user-select:none; }
.vlo-page .sec-header:hover { background:#f9fafb; }
.vlo-page .sec-num-badge { background:#172e26;color:#fff;border-radius: 4px;padding:3px 10px;font-size:11px;font-weight:700;white-space:nowrap;flex-shrink:0;margin-top:2px; }
.vlo-page .sec-title-text { font-size:14.5px;font-weight:600;color:#242b25;flex:1;line-height:1.4; }
.vlo-page .sec-toggle-icon { color:#999;font-size:18px;flex-shrink:0;transition:transform .25s;margin-top:1px; }
.vlo-page .section-accordion.open .sec-toggle-icon { transform:rotate(180deg);color:#172e26; }
.vlo-page .sec-body-wrap { display:none;padding:0 18px 18px 18px;border-top:1px solid #f4f6ef; }
.vlo-page .section-accordion.open .sec-body-wrap { display:block; }
.vlo-page .sec-body { font-size:14px;color:#242b25;line-height:1.85;font-family:Arial,sans-serif;font-style:normal; }
.vlo-page .sec-body .sub-section { margin:10px 0;padding-left:20px;border-left:2px solid #eaede2; }
.vlo-page .sec-body .clause { margin:6px 0;padding-left:36px; }
.vlo-page .sec-body .proviso { margin:10px 0 10px 20px;padding:10px 14px;background:#fbf6e6;border-left:3px solid #8a6d16;border-radius:0 6px 6px 0;font-style:italic;font-size:13.5px; }
.vlo-page .sec-body .explanation { margin:10px 0 10px 20px;padding:10px 14px;background:#eaf2e2;border-left:3px solid #738751;border-radius:0 6px 6px 0;font-size:13.5px; }
.vlo-page .sec-body .explanation { margin:10px 0 10px 20px;padding:10px 14px;background:#eaf2e2;border-left:3px solid #738751;border-radius:0 6px 6px 0;font-size:13.5px; }
.vlo-page .sec-main-text { padding:12px 0;font-size:14px;line-height:1.85;color:#242b25; }
.vlo-page .sec-main-text > div { margin:6px 0;padding:4px 0 4px 16px;border-left:3px solid #cbd7ab; }
.vlo-page .sec-main-text > div > div { margin:4px 0;padding:3px 0 3px 20px;border-left:2px solid #dbdfd2; }
.vlo-page .sec-main-text > div > div > div { margin:3px 0;padding:2px 0 2px 20px;border-left:1px solid #eaede2; }
.vlo-page .sec-main-text > div > div > div > div { margin:2px 0;padding:2px 0 2px 20px; }
.vlo-page .sec-main-text p[style*="margin:0.5em"] { margin:8px 0 !important;padding:10px 14px;background:#fbf6e6;border-left:3px solid #8a6d16;border-radius:0 4px 4px 0;display:block; }
.vlo-page .sec-main-text p[style*="italic"] { font-style:italic;background:#eaf2e2;border-left-color:#738751; }
.vlo-page .provision-depth { margin:4px 0; }
.vlo-page .provision-depth-1 { padding-left:20px;border-left:2px solid #dbdfd2; }
.vlo-page .subsec-text { display:inline; }
.vlo-page .provision-depth { margin:4px 0 4px 0; }
.vlo-page .provision-depth-1 { padding-left:20px;border-left:2px solid #dbdfd2; }
.vlo-page .subsec-text { display:inline; }
.vlo-page .fn-ref { color:#172e26;font-size:10px;vertical-align:super;cursor:pointer;font-weight:700;text-decoration:underline dotted; }
.vlo-page .footnotes-box { margin-top:14px;padding:12px 16px;background:#f8f7f1;border:1px solid #dbdfd2;border-radius: 4px; }
.vlo-page .footnotes-box h6 { font-size:12px;font-weight:700;color:#555;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px; }
.vlo-page .footnote-item { font-size:12.5px;color:#555;margin-bottom:4px;line-height:1.6; }
.vlo-page .footnote-item sup { color:#172e26;font-weight:700;margin-right:4px; }
.vlo-page .search-within { position:relative;margin-bottom:20px; }
.vlo-page .search-within input { width:100%;padding:11px 44px 11px 18px;border:2px solid #dbdfd2;border-radius: 999px;font-size:14px;outline:none;transition:border .2s; }
.vlo-page .search-within input:focus { border-color:#172e26;box-shadow:0 0 0 3px rgba(30,58,138,.1); }
.vlo-page .search-within .s-icon { position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#aaa; }
.vlo-page .search-within .clear-btn { position:absolute;right:15px;top:50%;transform:translateY(-50%);cursor:pointer;color:#aaa;font-size:18px;display:none; }
.vlo-page mark.hl { background:#e2d3a8;border-radius: 4px;padding:0 2px; }
.vlo-page .toc-chapter-group { border-bottom:1px solid #f4f6ef; }
.vlo-page .toc-chapter-label { display:flex;align-items:flex-start;gap:6px;padding:7px 10px;cursor:pointer;font-size:11px;font-weight:700;color:#11251e;background:#f8f7f1;user-select:none; }
.vlo-page .toc-chapter-label:hover { background:#e8eeff; }
.vlo-page .toc-chapter-label small { flex:1;font-weight:400;color:#535d53;font-size:10.5px;line-height:1.3; }
.vlo-page .toc-ch-arrow { font-size:10px;color:#999;transition:transform .2s; }
.vlo-page .toc-section-list { background:#fff; }
.vlo-page .toc-sec-link { font-size:12px;padding:4px 10px 4px 18px;border-left:2px solid transparent; }
.vlo-page .toc-sec-link:hover, .vlo-page .toc-sec-link.active { border-left-color:#172e26;background:#f4f6ef;color:#172e26; }
.vlo-page .pdf-wrap { background:#535d53;border-radius: 4px;overflow:hidden; }
.vlo-page #pdf-frame { width:100%;height:88vh;border:none;display:block; }
.vlo-page .preamble-box { background:#fbf6e6;border-left:4px solid #8a6d16;padding:14px 18px;border-radius:0 8px 8px 0;margin-bottom:24px;font-size:14px;color:#444;line-height:1.7;font-style:italic; }
.vlo-page .node-chapter { margin:0 0 8px 0;border-radius: 4px;border:1px solid #eaede2; }
.vlo-page .node-chapter>.chapter-heading { display:flex;align-items:center;gap:10px;padding:12px 18px;cursor:pointer;background:linear-gradient(90deg,#f4f6ef,#fff);border-radius: 4px 8px 0 0;border-left:5px solid #2c4a1f;user-select:none; }
.vlo-page .node-chapter>.chapter-heading:hover { background:linear-gradient(90deg,#eaede2,#f8f7f1); }
.vlo-page .chapter-badge { background:#2c4a1f;color:#fff;border-radius: 4px;padding:2px 10px;font-size:11px;font-weight:700;white-space:nowrap; }
.vlo-page .chapter-title { flex:1;font-size:14px;font-weight:700;font-style:italic;color:#11251e;text-transform:uppercase;letter-spacing:.3px; }
.vlo-page .chapter-toggle { color:#999;font-size:14px;transition:transform .2s; }
.vlo-page .chapter-body { padding:8px 12px 12px 12px; }
.vlo-page .node-preamble-text { font-size:13.5px;color:#444;line-height:1.8;padding:8px 0;font-style:italic; }
.vlo-page .sub-section { margin:10px 0;padding-left:18px;border-left:2px solid #eaede2;font-size:14px;line-height:1.85;color:#242b25; }
.vlo-page .sub-sec-num { font-weight:700;color:#172e26;margin-right:6px; }
.vlo-page .clause { margin:5px 0;padding-left:32px;font-size:14px;line-height:1.8;color:#242b25; }
.vlo-page .sub-clause { margin:4px 0;padding-left:48px;font-size:13.5px;line-height:1.8;color:#333; }
.vlo-page .clause-label { font-weight:600;color:#242b25;margin-right:4px; }
.vlo-page .proviso { margin:10px 0 10px 18px;padding:10px 14px;background:#fbf6e6;border-left:3px solid #8a6d16;border-radius:0 6px 6px 0;font-style:italic;font-size:13.5px;line-height:1.8; }
.vlo-page .explanation { margin:10px 0 10px 18px;padding:10px 14px;background:#eaf2e2;border-left:3px solid #738751;border-radius:0 6px 6px 0;font-size:13.5px;line-height:1.8; }
.vlo-page .illustration { margin:10px 0 10px 18px;padding:10px 14px;background:#f8f7f1;border-left:3px solid #8b5cf6;border-radius:0 6px 6px 0;font-size:13.5px;line-height:1.8; }
.vlo-page .sec-main-text { margin:0;font-size:14px;line-height:1.85;color:#242b25; }
.vlo-page .sec-main-text p { margin:0 0 4px 0; }
.vlo-page .sec-main-text .marker { margin-right: 5px; font-weight: 600; color: #172e26; }
.vlo-page .sec-main-text .ptext { margin-right: 0; }
.vlo-page .sec-main-text .provision-line { margin-bottom: 6px; display: flex; align-items: flex-start; }
.vlo-page .sec-main-text .provision-line.subsec { padding-left: 0; }
.vlo-page .sec-main-text .depth-0 { display: block; padding-left: 0; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-1 { display: block; padding-left: 0; margin-bottom: 4px; }
.vlo-page .sec-main-text .seg { display: block; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-2 { display: block; padding-left: 24px; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-3 { display: block; padding-left: 48px; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-4 { display: block; padding-left: 72px; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-5 { display: block; padding-left: 96px; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-6 { display: block; padding-left: 120px; margin-bottom: 4px; }
.vlo-page .sec-main-text .depth-7 { display: block; padding-left: 144px; margin-bottom: 4px; }
.vlo-page .clause-a { padding-left:24px;display:block; }
.vlo-page .clause-i { padding-left:48px;display:block; }
.vlo-page .mobile-index-btn { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 1050; background: linear-gradient(135deg, #11251e, #172e26); color: #fff; border: none; border-radius: 50px; padding: 14px 20px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 20px rgba(13, 27, 94, 0.4); cursor: pointer; align-items: center; gap: 8px; }
.vlo-page .mobile-index-btn:hover { background: linear-gradient(135deg, #172e26, #172e26); color: #fff; }
.vlo-page .mobile-index-btn .badge { background: rgba(255,255,255,0.25); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.vlo-page .mobile-index-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1100; background: rgba(0,0,0,0.5); }
.vlo-page .mobile-index-drawer { position: absolute; bottom: 0; left: 0; right: 0; max-height: 75vh; background: #fff; border-radius: 999px 20px 0 0; overflow: hidden; animation: slideUp 0.3s ease; }
.vlo-page .mobile-index-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #f4f6ef; border-bottom: 2px solid #dbdfd2; }
.vlo-page .mobile-index-header h5 { margin: 0; font-size: 16px; font-weight: 700; color: #11251e; }
.vlo-page .mobile-index-close { background: none; border: none; font-size: 24px; color: #666; cursor: pointer; padding: 4px; }
.vlo-page .mobile-index-list { max-height: calc(75vh - 60px); overflow-y: auto; padding: 8px 0; }
.vlo-page .mobile-index-item { display: block; padding: 12px 20px; font-size: 14px; color: #333; text-decoration: none; border-bottom: 1px solid #f4f6ef; }
.vlo-page .mobile-index-item:hover { background: #f4f6ef; color: #11251e; }
.vlo-page .mobile-index-item .sec-num { font-weight: 700; color: #172e26; margin-right: 8px; }

/* The act page's original responsive rules travelled out of their @media
   wrappers when the inline styles were migrated here, leaving orphaned
   rules that the CSS parser drops entirely. They are restored below with
   the design system's own breakpoints (900 / 620). */

/* Below 900px the sidebar rail gives way to the floating index button. */
@media (max-width: 900px) {
  .vlo-page .mobile-index-btn { display: flex; }
  .vlo-page #toc-sidebar { display: none !important; }
  .vlo-page .col-xl-8,
  .vlo-page .col-lg-8,
  .vlo-page .col-xl-10,
  .vlo-page .col-lg-9 { width: 100% !important; }
}
@media (max-width: 620px) {
  .vlo-page .footer-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .vlo-page .footer-links-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
}
.vlo-page .mobile-index-btn { bottom: 80px !important; right: 16px !important; }
.vlo-page .mobile-index-drawer { padding-bottom: env(safe-area-inset-bottom, 20px); }
/* `overflow-x: hidden` on an ancestor turns it into the scrollport, which
   silently breaks every `position: sticky` descendant inside it. `clip`
   prevents horizontal overflow without creating a scroll container, so the
   act page's sticky section index keeps working. */
html, body { overflow-x: clip; }
.vlo-page .container, .vlo-page .container-fluid { max-width: 100vw; overflow-x: clip; }
.vlo-page .act-detail-table { width:100%;max-width:900px;border-collapse:collapse;font-size:13.5px; }
.vlo-page .act-detail-table th { background:#11251e;color:#fff;padding:10px 14px;text-align:left;font-weight:700;width:220px; }
.vlo-page .act-detail-table td { padding:9px 14px;border-bottom:1px solid #eaede2; }
.vlo-page .act-detail-section { margin-bottom:20px; }
.vlo-page .act-detail-section-title { font-size:13px;font-weight:800;color:#11251e;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #dbdfd2;padding-bottom:6px;margin-bottom:12px; }
.vlo-page .act-detail-badge { display:inline-block;border-radius: 999px;padding:2px 10px;font-size:11px;font-weight:700; }
.vlo-page .act-detail-link { display:inline-block;background:#172e26;color:#fff;padding:4px 12px;border-radius: 4px;font-size:11px;font-weight:700;text-decoration:none;margin:2px; }
.vlo-page .act-detail-link:hover { background:#315044; }
.vlo-page .sub-dt-table { width:100%;border-collapse:collapse;font-size:13.5px; }
.vlo-page .sub-dt-table thead th { background:#11251e;color:#fff;padding:10px 12px;text-align:left;font-weight:700;position:sticky;top:0;z-index:10; }
.vlo-page .sub-dt-table thead th.sorting { cursor:pointer; }
.vlo-page .sub-dt-table thead th.sorting:after { content:" \2195";font-size:11px;opacity:.6; }
.vlo-page .sub-dt-table tbody tr { border-bottom:1px solid #f4f6ef; }
.vlo-page .sub-dt-table tbody tr:hover { background:#f8f7f1; }
.vlo-page .sub-dt-table tbody td { padding:10px 12px;vertical-align:top; }
.vlo-page .sub-doc-title { font-weight:600;color:#242b25;line-height:1.5; }
.vlo-page .sub-doc-meta { font-size:11.5px;color:#535d53;margin-top:3px; }
.vlo-page .sub-doc-badge { display:inline-block;background:#f4f6ef;color:#172e26;border-radius: 999px;padding:1px 8px;font-size:11px;font-weight:700;margin-bottom:3px; }
.vlo-page .sub-dt-pagination { margin-top:16px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px; }
.vlo-page .sub-dt-info { font-size:12px;color:#535d53; }
.vlo-page .sub-dt-paginate { display:flex;gap:4px; }
.vlo-page .sub-dt-paginate button { background:#fff;border:1px solid #cdd3c3;border-radius: 4px;padding:4px 10px;cursor:pointer;font-size:12px;color:#333; }
.vlo-page .sub-dt-paginate button:hover { background:#f4f6ef; }
.vlo-page .sub-dt-paginate button.active { background:#11251e;color:#fff;border-color:#11251e; }
.vlo-page .sub-dt-paginate button:disabled { opacity:.4;cursor:not-allowed; }
.vlo-page .sub-dt-search { margin-bottom:14px;display:flex;gap:8px;align-items:center; }
.vlo-page .sub-dt-search input { flex:1;max-width:320px;padding:7px 12px;border:1px solid #cdd3c3;border-radius: 4px;font-size:13px; }
.vlo-page .sub-dt-search input:focus { outline:none;border-color:#11251e;box-shadow:0 0 0 2px rgba(13,27,94,.1); }
.vlo-page .sub-empty { text-align:center;padding:48px;color:#535d53;font-size:14px; }
.vlo-page .sub-loading { text-align:center;padding:48px;color:#535d53;font-size:13px; }
.vlo-page .sub-badge-eng { display:inline-block;background:#172e26;color:#fff;padding:3px 10px;border-radius: 4px;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap; }
.vlo-page .sub-badge-hi { display:inline-block;background:#444;color:#fff;padding:3px 10px;border-radius: 4px;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap; }
.vlo-page .sub-menu-item:hover { background:#f4f6ef; }
.vlo-page .sub-count { background:#f4f6ef;color:#172e26;border-radius: 999px;padding:0 7px;font-size:11px;font-weight:700;margin-left:8px; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .vlo-wrap { width: calc(100% - 72px); }
  .vlo-header__inner { gap: 16px; }
  .vlo-nav, .vlo-header__actions { gap: 16px; }
  .vlo-header__actions .vlo-signin { display: none; }
}
@media (max-width: 900px) {
  .vlo-wrap { width: calc(100% - 48px); }
  .vlo-header__inner { min-height: 70px; flex-wrap: wrap; gap: 0 14px; }
  .vlo-brand { margin-block: 10px; }
  .vlo-header__actions { margin-left: auto; }
  .vlo-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 7px 20px; padding: 0 0 12px; }
  /* The nav collapses behind the toggle once the JS has added .has-menu.
     Without JS the links stay visible inline, so they remain reachable. */
  .vlo-page.has-menu .vlo-header__inner { flex-wrap: nowrap; }
  .vlo-page.has-menu .vlo-nav {
    display: none;
    position: absolute; inset: 100% 0 auto;
    padding: 12px 24px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(23,46,38,.07);
  }
  .vlo-page.has-menu .vlo-nav.is-open { display: flex; }
  .vlo-page.has-menu .vlo-nav a { padding-block: 10px; }
  .vlo-menu-toggle { order: 2; }
  .vlo-section { padding-block: 60px; }
  .vlo-hero h1 { font-size: clamp(4.5rem, 11vw, 6.7rem); }
  .vlo-hero__inner { min-height: 480px; }
  .vlo-hero__image { left: 36%; }
  .vlo-search-panel { gap: 20px; padding: 22px; }
  .vlo-resource { padding: 19px; }
  .vlo-practice__grid { gap: 35px; }
  .vlo-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vlo-pagehead h1 { font-size: clamp(2.8rem, 8vw, 4.4rem); }
}
@media (max-width: 620px) {
  .vlo-wrap { width: calc(100% - 32px); }
  .vlo-header__inner { gap: 0 8px; }
  .vlo-brand { gap: 6px; }
  .vlo-brand img { width: 31px; height: 35px; }
  .vlo-wordmark strong { font-size: 19px; }
  .vlo-wordmark small { font-size: 7.5px; margin-top: 4px; }
  .vlo-button--small { min-height: 37px; padding-inline: 8px; font-size: .72rem; }
  .vlo-button--small span { display: none; }
  .vlo-menu-toggle { padding-inline: 8px; font-size: .76rem; }
  .vlo-menu-toggle span { margin-left: 0; }

  /* FIX: the supplied mobile mask made the photograph completely invisible. */
  .vlo-hero__image {
    inset: 0 0 0 8%;
    background:
      linear-gradient(90deg, var(--forest) 0%, #172e26a8 30%, #14282040 100%),
      linear-gradient(0deg, var(--forest) 0%, #172e2620 46%, #172e2610 78%),
      url(/vlo/img/library.webp) 49% center / cover no-repeat;
  }
  .vlo-hero__inner { min-height: auto; padding-block: 65px 87px; }
  .vlo-hero h1 { font-size: clamp(4.3rem, 14.5vw, 5.7rem); }
  .vlo-hero__description { margin-top: 20px; max-width: 30ch; font-size: .97rem; }
  .vlo-hero__actions { gap: 14px; margin-top: 20px; }
  .vlo-hero__actions .vlo-button { min-height: 44px; padding-inline: 12px; gap: 8px; }
  .vlo-hero__actions .vlo-textlink, .vlo-hero__actions .vlo-button { font-size: .82rem; }

  .vlo-search-wrap { margin-top: -43px; }
  .vlo-search-panel { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .vlo-search-form { gap: 5px; }
  /* FIX: the field had no visible border on mobile, reading as a hole. */
  .vlo-search-input { gap: 3px; padding-inline: 9px; border-color: #aab59b; background: #fffef9; }
  .vlo-search-input input { font-size: 1rem; }
  .vlo-search-form .vlo-button { gap: 5px; padding-inline: 11px; }
  .vlo-search-form .vlo-button span { display: none; }
  .vlo-results { padding: 17px; }

  .vlo-section { padding-block: 43px; }
  .vlo-resource-grid, .vlo-journal__grid, .vlo-consult__inner, .vlo-practice__grid { grid-template-columns: 1fr; gap: 15px; }
  .vlo-resource { min-height: 0; }
  .vlo-resource p { margin-bottom: 15px; }
  .vlo-practice__grid { gap: 25px; }
  .vlo-practice h2 br { display: none; }
  .vlo-topics { column-gap: 14px; }
  .vlo-topics a { min-height: 55px; font-size: .87rem; }
  .vlo-consult { padding-block: 42px; }
  .vlo-consult__inner { gap: 22px; }
  .vlo-footer__grid { gap: 25px 12px; }
  .vlo-footer__grid a:not(.vlo-brand) { overflow-wrap: anywhere; }
  .vlo-cta { grid-template-columns: 1fr; }
  /* These grids set their columns inline, so the collapse needs !important
     to win against the inline declaration. */
  .vlo-consult-grid { grid-template-columns: 1fr !important; }
  .vlo-checklist li { grid-template-columns: 20px 1fr; }
  .vlo-form__row { grid-template-columns: 1fr; }
  .vlo-panel { padding: 20px; }
}

/* --------------------------------------------------------------------------
   MOTION PREFERENCES
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .vlo-page *, .vlo-page *::before, .vlo-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
