/* RJ'S OUTBOARD — port.css

   The ONLY hand-written CSS in this port, and the smallest set of rules the
   ported markup cannot do without. Everything else is live's own vendored
   style.css + inventory.css, unedited — and inventory.css is now live's
   COMPLETE inventory stylesheet, so every legacy declaration the
   `.rj-listing` / `.rj-vdp` redesign overrides resolves from the sheet
   itself. Nothing here restates one.

   What is left is the places where THIS PORT differs from live by design, and
   live's own stylesheet would otherwise undo the difference: it renders one
   card per boat where live renders two and switches with CSS, it ships no
   Owl / jQuery / Fancybox, and it does not carry live's mobile filter
   drawers. Each rule below says which of those it serves.

   LOAD ORDER: after css/inventory.css, whose rules these answer. */

/* ===================================================================== */
/* LISTING (css/inventory.css "RJ's redesign: boats listing page").       */
/* Written by the listing build, rj-outboards-listings.tsx.              */
/* ===================================================================== */

/* 1. THE CARD PHOTO RAIL. Live's is an Owl carousel and no Owl CSS is
   vendored (this bundle ships no carousel library), so the slides would stack
   vertically — three stacked aspect-ratio boxes per card. A scroll-snap rail
   is the same one-photo-at-a-time stage, swipeable, keyboard-pannable and
   scriptless. `display` has to be `!important`: the legacy
   `.boat-listing-carousel{display:block!important}` (sheet line 629) outranks
   any inline style, which is also why these three declarations are here and
   not on the element. Everything else the rail needs — the `.item`'s
   `position:relative` + `padding-top` ratio and the `img`'s absolute
   `object-fit:cover` box — is the sheet's own. */
.rj-listing .boat-listing-carousel {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rj-listing .boat-listing-carousel::-webkit-scrollbar {
    display: none;
}

.rj-listing .boat-listing-carousel > .item {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* 2. BELOW 992px, WHERE LIVE HANDS OVER TO JAVASCRIPT IT NO LONGER HAS.
   Live's sheet hides the whole desktop apparatus at this width — the chip box
   (`.filterBox`), the facet panels (`.desktop_dis`) and the search/sort row
   (`.listing-header-right-box`) — and shows `.top_new_filter` + the
   `.af-disp-mob` sheets in their place: fixed drawers driven by `opeN_clik`
   and `filterCheckboxSelected`. This port adds no client JS, so it renders
   none of that; leaving these three rules to fire would leave every phone and
   tablet with no filters, no chips and no sort at all. Un-hidden, the same
   column stacks above the results, which is the layout the sheet already
   dresses this width for (`.fitler-col{width:100%}`).

   And the card: live can afford `.rj-list-card{display:none!important}` here
   because it renders BOTH cards for every unit. This port renders ONE (each
   carries a photo rail, so rendering both doubles the DOM and the image
   requests of every unit on the page), so that rule would blank the results
   column outright. The rendered card stays visible and stacks — at 375px its
   43%/57% split would be two unreadable columns. */
@media (max-width: 991px) {
    .rj-listing .filterBox,
    .rj-listing .desktop_dis {
        display: block;
    }

    .rj-listing .listing-header-right-box {
        display: flex !important;
    }

    .rj-listing .rj-boats-list > .rj-list-card {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    .rj-listing .rj-boats-list > .rj-list-card .rj-list-media {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
    }

    /* A flex item defaults to `min-width: auto`, which refuses to shrink below
       its content — and this card's media holds a horizontal scroll rail whose
       content is wider than the phone, so as a flex item it would widen the
       card rather than scroll inside it. `min-width: 0` plus the cap answers
       that and the vendored `.rj-listing .rj-list-media { width: 600px }` base
       rule.

       It was not, though, what made this page scroll sideways: that was the
       card's title/price row, two rules below.

       NOT `overflow-x: hidden` on the section, here or there: the rail needs
       its own horizontal scroll, and clipping would have hidden the row's
       overflow instead of showing where it came from. */
    .rj-listing .rj-boats-list > .rj-list-card,
    .rj-listing .rj-boats-list > .rj-list-card .rj-list-media,
    .rj-listing .rj-boats-list > .rj-list-card .rj-list-content {
        min-width: 0;
        max-width: 100%;
    }

    .rj-listing .rj-boats-list > .rj-list-card .boat-listing-carousel {
        max-width: 100%;
    }

    .rj-listing .rj-boats-list > .rj-list-card .rj-list-content {
        padding-top: 0;
    }

    /* THE CARD'S TITLE/PRICE ROW, which is what actually made this page scroll
       sideways on a phone — 411px inside a 390px viewport, the only page on the
       site with a horizontal scroll.

       `.rj-list-head` is live's own one-line row: title left, price right,
       `justify-content: space-between` with a 24px gap, and the price is
       `flex: 0 0 auto` + `white-space: nowrap` at 26px. Measured in the 358px
       card at 390: title 141.6 + gap 24 + price 213.9 = 379.5. The price
       cannot shrink and cannot wrap, so the row pushed the page out by 21px.

       Live never meets this, which is why its sheet has no answer for it: live
       hides this card below 992 (`display: none !important`) and renders a
       second, phone-only card in its place, where the title and price are
       stacked. This port renders ONE card at both widths — see note 2 above —
       so it has to do that stacking itself. This is the same class of gap as
       the filter column in note 2: live's desktop box model, at a width live
       never shows it at.

       Only the axis changes. live's own `gap: 24px` for this row then applies
       vertically instead of horizontally, so the spacing between the title and
       the price stays live's value and nothing here invents one — which also
       keeps the price from reading as a third line of the title.

       Worth knowing for anyone who re-measures: it only appears once the real
       webfonts land. With the fallback metrics the row fits and the page is
       exactly 390, so a check that blocks fonts.googleapis.com will not see
       it. */
    .rj-listing .rj-boats-list > .rj-list-card .rj-list-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 2b. THE FACET COLUMN ON A PHONE. The panels above are collapsed by a
   checkbox whose label is the header (see `Panel` in rj-outboards-listings.tsx
   — no client JS, because this port ships none for the facets).

   The input is never checked on arrival, so these two rules decide what the
   visitor sees: above 991px nothing hides `.filterList`, and the column is
   live's own always-open desktop column, unchanged. At or below 991px it is
   closed until tapped — which is as close as a port with no drawer gets to
   live's behaviour, where this column does not appear at all.

   Measured on /boats-for-sale at 390 before: filter column 2,735px tall, the
   `<h1>` at 2,899px, the first boat at 3,050px. */
.rj-listing .rj-facet-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.rj-listing .rj-facet-toggle:focus-visible + .desktop-accordion-header {
    outline: 2px solid var(--color-signal-red);
    outline-offset: 2px;
}

/* The heading being a LABEL rather than live's `<div>` is what the disclosure
   costs, and it collects a rule live wrote for a different element:

       .filterInner label { margin-bottom: 5px }        (inventory.css L262)

   live puts a `<label>` around each facet ROW's checkbox and its text, so
   that 5px is the gap between its rows; the heading above them is a plain
   div and never had it. Measured on staging on 2026-11-18 at 1920 on
   /boats-for-sale: every group's body opened 24px under its heading bar
   against live's 19px, and because it is one per group the sidebar ran ~30px
   longer than live's by the sixth — the rows themselves diff to zero against
   live once that shift is taken out. It never reached the page height,
   which is set by the taller results column, which is why seven builds of
   full-page captures did not show it. */
.rj-listing label.desktop-accordion-header {
    margin-bottom: 0;
}

/* live's minus: the horizontal bar is drawn on `.fa`, the vertical one on
   `.fa-plus::after` (inventory.css L4311), so dropping the vertical bar is
   what turns the plus into a minus. */
@media (min-width: 992px) {
    .rj-listing .desktop-accordion-header .fa-plus::after {
        content: none;
    }

    /* Above 991px nothing consults the input, so leaving it in the page would
       put six focusable controls that do nothing into the desktop tab order,
       between the header and the first facet. `display: none` takes them out
       of it; no rule at this width reads their state. */
    .rj-listing .rj-facet-toggle {
        display: none;
    }
}

@media (max-width: 991px) {
    .rj-listing .rj-facet-toggle:not(:checked) ~ .filterList {
        display: none;
    }

    .rj-listing .rj-facet-toggle:checked ~ .desktop-accordion-header .fa-plus::after {
        content: none;
    }

    /* And the heading that follows the column: it sat flush against the last
       facet card's border, with no gap at all. */
    .rj-listing .listing-container > .fitler-col {
        margin-bottom: 24px;
    }
}

/* 3. THE DEALER'S INTRO COPY (ThemeListingsProps.intro — Pages → this page →
   "Intro text"). Live's listing page has no intro, so the sheet has no slot
   for one; a theme that drops the prop leaves whatever the dealer wrote
   invisible. The type is the sheet's own `.rj-text-lead`; this is only the
   measure and the spacing, so a paragraph cannot run the full width of a
   1,500px results column. */
.rj-listing .rj-listing-intro {
    max-width: 72ch;
    margin: 20px 0 0;
}

.rj-listing .rj-listing-intro p:last-child {
    margin-bottom: 0;
}


/* ===================================================================== */
/* VDP (css/inventory.css "RJ's redesign: boat detail page" + its share   */
/* modal / calculator tail). Written by the boat-detail build,            */
/* rj-outboards-vdp.tsx. Same reason as the listing rules above — that     */
/* block is a set of OVERRIDES, and it assumes both base rules from        */
/* live's non-vendored sheets (Owl, slick, the pre-redesign inventory      */
/* sheet) and live's custom.js. This bundle ships no carousel, no          */
/* Fancybox and no VDP JavaScript, so these are the smallest rules that    */
/* make the vendored block work as written.                               */
/* ===================================================================== */

/* 1. THE GALLERY STAGE'S SCROLLBAR. Live's stage is an Owl carousel and no
   Owl CSS is vendored, so the stage is a scroll-snap rail instead; its flex /
   overflow / scroll-snap declarations are inline, beside the legacy ones, the
   way the listing card's rail does it (`STAGE_RAIL` in rj-outboards-vdp.tsx).
   This is the only one of them that cannot be an inline style, and Owl's own
   stage shows no scrollbar. */
.rj-vdp .boat-detail-carosuel::-webkit-scrollbar {
    display: none;
}

/* 2. TWO BASE RULES THE TAIL ASSUMES. `.boatShareBtnWrapper` is placed with
   top/right/width/height but never given a `position`, and `.gallery-box-img`
   is given a padding-top box and an absolutely positioned `> a` with no
   positioned ancestor and no rule for its own img — so the thumbnails would
   render at their natural size and blow the grid open. */
.rj-vdp .boatShareBtnWrapper {
    position: absolute;
    z-index: 3;
}

.rj-vdp .gallery-box-img {
    position: relative;
}

.rj-vdp .gallery-box-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. THE PHONE AND TABLET GALLERY. Two rules, and the second is the one that
   matters.

   `.mobHide` is live's own desktop-only helper: the 3-up thumbnail grid and
   the Zoom chip. Phones get the swipeable stage instead, which is what live
   does too.

   But the vendored sheet ALSO hides the stage itself — `.boat-detail-carosuel,
   .mobHide { display: none !important }`, twice inside its own
   `@media (max-width: 991px)` (inventory.css L3753 and L3844). Live can do
   that because it renders a SEPARATE slick slider for phones and shows that
   in the stage's place. This port renders one stage for both widths and ships
   no slick, so left alone the gallery would be `display: none` on every phone
   and tablet — invisible, and invisible only there.

   The stage's own flex/scroll-snap declarations are inline on the element
   (STAGE_RAIL in rj-outboards-vdp.tsx), and an inline style cannot beat
   `!important`, so the un-hide has to live here and has to carry it too. Same
   trap as `.boat-listing-carousel` in the LISTING section above. */
@media (max-width: 991px) {
    .rj-vdp .mobHide {
        display: none !important;
    }

    .rj-vdp .boat-detail-carosuel {
        display: flex !important;
    }

    /* The same `min-width: auto` trap the listing card hit, one page over: the
       gallery stage is a horizontal scroll rail whose content is wider than
       the phone, and as a flex item it refuses to shrink below that — so it
       widened the page instead of scrolling inside it. The boat-detail page
       rendered 420px inside a 390px viewport (measured on staging
       2026-11-17). `min-width: 0` on the two columns lets the rail scroll
       within them. Not `overflow-x: hidden`, which would break the rail. */
    .rj-vdp .details-main-row > * {
        min-width: 0;
        max-width: 100%;
    }

    .rj-vdp .boat-detail-carosuel,
    .rj-vdp .gallery-row {
        max-width: 100%;
    }
}

/* 4. THE ACCORDIONS ARE <details>/<summary> carrying live's own classes,
   because the bundle adds no client JS: so the +/- that live's custom.js
   swapped by class (`fa-plus` → `fa-minus`) is driven by the open state
   instead. inventory.css draws the horizontal bar on `span.fa` and the
   vertical one on `span.fa-plus::after`; dropping the vertical bar when the
   panel is open turns the plus into live's minus. */
.rj-vdp summary.accordion-header {
    list-style: none;
}

.rj-vdp summary.accordion-header::-webkit-details-marker {
    display: none;
}

.rj-vdp details.custom-accordion-item[open] > summary.accordion-header span.fa-plus::after {
    content: none;
}

/* 4b. LIVE'S "MORE IMAGES" DISCLOSURE. Live marks every thumb past the third
   `image-second-sec d-none` and opens the rest from `#load_more_images`;
   `rj-outboards-vdp.tsx` now renders that same grid and a checkbox-and-label
   in place of live's jQuery button, as the facet column already does (§2b of
   the listing block).

   The vendored sheet already draws the control — `.rj-vdp .more-img-btn
   button` is live's full-width 50px grey bar (inventory.css L5342) — so only
   the label needs the same block, and live's own `text-transform: uppercase`
   is what prints the copy in caps.

   Measured against live on 2026-11-18 (staging b-7dbec25edf7b vs
   mean-rj-outboard.mdsbrand.com) on the one unit both sites carry, the
   17-photograph 2004 Tracker 18 Party Barge: live 3,522px at 1920, the port
   4,963px, and the whole 1,441px was this grid rendered open — 17 thumbs in
   six rows where live shows three and a button.

   BELOW 992px NONE OF IT APPLIES: there the grid is the phone rail (see the
   tail of this sheet), live draws no such button on a phone, and the rail
   needs every thumb, so the block at the end un-hides them and hides the
   control. */
.rj-vdp .rj-more-images-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

/* Scoped to the desktop grid rather than left to specificity: the phone rail
   below needs every thumb, and a rule that hides them carries five classes
   where the rail's carries three, so a media query is what keeps the two
   apart without an `!important` between them. */
@media (min-width: 992px) {
    .rj-vdp .rj-more-images-toggle:not(:checked) ~ .gallery-row .image-second-sec {
        display: none;
    }
}

.rj-vdp .more-img-btn label {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    background: rgba(69, 69, 63, 0.1);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 10.5px;
    line-height: 50px;
    letter-spacing: 2.2px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-firefly);
    cursor: pointer;
    transition: background-color .2s ease;
}

.rj-vdp .more-img-btn label:hover {
    background: rgba(69, 69, 63, 0.18);
}

.rj-vdp .rj-more-images-toggle:focus-visible ~ .more-img-btn label {
    outline: 2px solid var(--color-signal-red);
    outline-offset: 2px;
}

/* live's script swaps its button's label for "LESS IMAGES" once the grid is
   open; both words are in the page and the checkbox picks one. */
.rj-vdp .rj-more-images__less,
.rj-vdp .rj-more-images-toggle:checked ~ .more-img-btn .rj-more-images__more {
    display: none;
}

.rj-vdp .rj-more-images-toggle:checked ~ .more-img-btn .rj-more-images__less {
    display: inline;
}

/* 4c. THE FORM'S SUBMIT SITS WHERE LIVE PUTS IT. `.details-form-btn` is
   `display: inline-block` with its own padding (inventory.css L2540), and
   live centres it by wrapping it in `<div class="btn_wrap text-center">`.
   The button is the platform's `FormSubmit`, shared with five other bundles,
   so it has no wrapper of its own to carry that class and the port left it
   against the card's left padding: measured on 2026-11-18 at 1920, live's
   button x1543–1658 inside a card x1428–1772, ours x1453–1569 — the same
   116px button, 90px to the left of live's. Centred here instead, which
   changes nothing outside this card. */
.rj-vdp .gtm_form_submit.details-form-btn {
    display: block;
    width: fit-content;
    margin-inline: auto;
}

/* 5. The gallery's share control is the platform's <ShareButton>, whose
   trigger carries an icon AND the word "Share"; live's control is a 30px red
   square (`.boatShareBtnWrapper button`). The label stays in the DOM, so it is
   still the button's accessible name. */
.rj-vdp .boatShareBtnWrapper button {
    font-size: 0;
}

/* 6. Live's "Contact Dealer" card is navy (`--color-downriver`) and every
   text rule inside it is live's own. The platform form's consent fine print
   carries no colour of its own (by design — `[data-consent]` is the hook it
   documents for exactly this) and its post-submit panel carries a near-black
   one, so both would be unreadable on the card. */
.rj-vdp .boat-details-form-sec {
    color: var(--white-85);
}

.rj-vdp .boat-details-form-sec a {
    color: var(--color-white);
}

.rj-vdp .boat-details-form-sec h3,
.rj-vdp .boat-details-form-sec p {
    color: var(--color-white);
}

/* 7. `.mob-sticky-bar` — AND THE ONE DECLARATION THE VENDORED SHEET IS
   MISSING, which is all that belongs here.

   This block used to restate the bar's layout and type as "live's, not
   vendored". That was wrong on both counts: inventory.css carries live's own
   bar whole — `.mob-sticky-bar` is fixed to the bottom at z-index 99 with
   `padding: 17px 30px` (L2602), `display: flex; width: 100%` at ≤991px
   (L3652, inside the L3551 block), `17px 20px` at ≤576px (L3928) — and
   `.sticky-bar-col` h3 / p / a carry live's 18/22, 16/22 and 16px-on-14-28
   (L2635-2667), with `.rj-vdp ~ .mob-sticky-bar` restating the family,
   ground and CTA for this design (L6062).

   Restating it smaller is what the port actually did: measured on staging on
   2026-11-18 at 390 on the 2004 Tracker 18 Party Barge, the bar came out
   85px tall against live's 105px, its title at 14px/20 against live's
   18px/22 — so live fits "2004 Tracker 18" on its first line and the port
   squeezed in "2004 Tracker 18 Party" — and its CTA at 13px on one line
   where live's is 16px over two. Every one of those declarations is now
   gone, and the vendored sheet draws live's bar.

   WHAT IS GENUINELY MISSING is one family. `.sticky-bar-col p` asks for
   "acumin-regular" (L2646), one of the two licensed families live names and
   this port does not load — the h3 beside it is already restated in
   `var(--font-display)` at L6066 and the `p` was simply never given the same
   treatment, so the price under the boat's name fell back to the UA's
   default serif stack while everything around it is Archivo.

   (The 992px rule that used to close this block went with them: the vendored
   `.mob-sticky-bar` is `display: none` at every width until L3652 turns it
   into a flex row at ≤991, so nothing was ever showing it on a desktop for
   that rule to hide.) */
.rj-vdp ~ .mob-sticky-bar .sticky-bar-col p {
    font-family: var(--font-body);
}

/* 8. THE PLATFORM'S OWN REACT CONTROLS, AND WHY THE VENDORED SHEETS SWALLOW
   THEM. Tailwind ships its utilities inside `@layer utilities`; style.css,
   inventory.css and bootstrap.min.css are unlayered, and an unlayered
   declaration beats a layered one at ANY specificity. So live's own reset —
   `button { padding: 0; background: none; border: 0 }` (style.css L165), a
   rule live wrote for its own bare buttons — wins over `bg-gold-500`,
   `rounded-xl` and `px-4 py-2.5` on every platform control the port reuses,
   and `.apply-box button { padding: 14px 25px }` (inventory.css L2512) wins
   over `w-11 h-11`. Measured on staging 2026-11-17 (build b-684ceba82450):

     - the Save-this-boat heart (`quick_actions`) was 0px WIDE inside a 52x44
       box: 25px of side padding on a 44px border-box leaves no content box,
       and the svg is a flex item, so it shrank to nothing. Invisible above
       450px only, because live narrows that padding on small phones.
     - "Make an Offer" (`make_offer`) lost its background and kept
       `text-white`: white on white, 344x24, a lead path nobody can see.
     - the same for Submit Offer in its modal, which React portals onto
       <body>, outside `.rj-vdp` — hence the body-scoped selector below.

   `revert-layer` would hand all three back their Tailwind look, but that is
   the generic theme's gold on a navy-and-red site, so they are restated here
   in live's own button language instead: the heart as a bare 44px icon
   button, the two actions as `.rj-apply-btn` and `.call-now-btn` are. */
.rj-vdp .apply-box--solo > button {
    padding: 0;
    color: var(--color-downriver);
}

.rj-vdp .apply-box--solo > button:hover {
    color: var(--color-milano-red);
}

/* Live's own secondary action, full width: the face, weight, tracking and
   geometry of `.rj-apply-btn` directly above it, which is what this block is
   a peer of. It is solid navy rather than that button's 16% tint because the
   platform's markup carries `text-white` and bootstrap.min.css declares
   `.text-white { color: #fff !important }` — an !important nothing here
   should out-shout, so the ground is what has to change. */
.rj-vdp .pymentBlock button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 0;
    background: var(--color-downriver);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* `shadow-gold-500/25` is a Tailwind custom property, not a utility the
       cascade can reach here, so the gold glow has to be turned off. */
    box-shadow: none;
    transition: background-color .2s ease;
}

.rj-vdp .pymentBlock button:hover {
    background: var(--color-milano-red);
}

/* The offer modal is portalled onto <body>, so `.rj-vdp` cannot reach it.
   These are the modal's own classes, from the platform's markup — the root is
   the only `position: fixed` full-screen portal this theme renders. */
body > .fixed.inset-0.z-50 button[type="submit"] {
    border: 0;
    box-shadow: none;
    background: var(--color-milano-red);
    font-family: var(--font-display);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--color-white);
}

body > .fixed.inset-0.z-50 button[type="submit"]:hover {
    background: var(--color-signal-red-hover);
}

/* Its close control keeps the platform's own shape; only the tint the reset
   stripped comes back. Matched on the control itself (`absolute` + a full
   radius) rather than on "every button in the sheet", because the share sheet
   portals onto <body> the same way and its own buttons are not this. */
body > .fixed.inset-0.z-50 button.absolute.rounded-full {
    background: var(--color-catskill-white);
}

/* …and it has to be ABOVE live's header. `.rj-header` is `position: fixed`
   with `z-index: 100` (style.css L1008), the platform's modal root is
   Tailwind's `z-50`, and 50 loses: measured on staging on 2026-11-18, at
   390px the offer modal opened UNDER the header, which painted over its
   "Make an Offer" heading and its × close control — the card's first visible
   line was the boat name, and the only way out was the backdrop. At 1920 the
   modal happens to clear the header by ~2px, so it reads as a phone-only
   fault. Lifted over the header (100), the overlay (110) and the drawer
   (120), and left below live's own skip link (999). */
body > .fixed.inset-0.z-50 {
    z-index: 200;
}


/* ═══ THE PLATFORM'S OWN PAGE BODIES ═════════════════════════ */

/* 1. LANDING PAGES (`/lp/<slug>`, marked `[data-lp-preset]`) are the
   platform's own sections inside this theme's chrome: Tailwind markup under
   live's stylesheet. Same trap as the VDP controls above — live's own

       img { display: block; max-width: 100%; height: auto; }   (style.css L133)

   is unlayered and beats Tailwind's `.h-full`, so every LP hero image
   computed `height: auto`. The brand logo each of these pages leads with is an
   SVG with no intrinsic height, and `auto` on one of those is ZERO: all eight
   brand landing pages (/lp/bennington, g3, reaper, evotti, xpress, skeeter,
   war-eagle, yamaha) rendered a 592x0 image inside a 592x450 frame, measured
   on staging 2026-11-17.

   `revert-layer` is the declaration this asks for, but it is specified to
   behave as `revert` when it appears in unlayered styles — which lands back on
   `auto` — so the utility has to be restated. `.h-full` is the only height
   class the platform puts on an LP image today; a second one would need its
   own line here, and the DOM sweep in NOTES.md is what would find it. */
[data-lp-preset] img.h-full {
    height: 100%;
}

/* 2. PLATFORM BLOCKS THE THEME DOES NOT DRAW. Live's and bootstrap's resets
   are unlayered, so they beat the Tailwind utilities on any platform control
   that lands inside this theme — the same trap as the VDP controls, in three
   more places found on staging 2026-11-17:

     - bootstrap's `a { background-color: transparent }` beat `bg-brand-600`
       on the empty-state "View All Boats" call to action, which rendered as
       white text on nothing (`/brand/xpress-boats` and every other brand slug
       with no coded page).
     - live's `a { text-decoration: none }` beat `.underline` on the SMS
       consent block's "Privacy Policy", "SMS Terms" and "Terms of Service"
       links (/careers, /schedule-drive), so three legal links read as plain
       grey body text.

   Restated in live's own language: the call to action is the red button this
   site uses everywhere, and a link that asks to be underlined is underlined. */
a[class*="bg-brand-"] {
    background: var(--color-milano-red);
}

a[class*="bg-brand-"]:hover {
    background: var(--color-signal-red-hover);
    color: var(--color-white);
}

a.underline {
    text-decoration: underline;
}

/* …and a third place, found on 2026-11-18: bootstrap's

       label { display: inline-block; margin-bottom: .5rem; }

   beat Tailwind's `.flex` on the SMS consent row, whose label is
   `flex items-start gap-2` (apps/web/app/components/form-submit.tsx). With
   the box no longer a flex container neither the gap nor the alignment
   applied, so the tick box sat flush against "By checking this box…" with
   nothing between them on every form in this theme that carries one —
   /contact, /contact-us, /schedule-drive, /service, /parts, /repower,
   /value-trade and /careers. Restated the way `a.underline` above is: an
   element that asks to be a flex row is one. */
label.flex {
    display: flex;
}

/* 3. THE EMPTY "RECENTLY VIEWED" BAND. `recently_viewed` renders the
   platform's client component, which returns null for a visitor with no
   history — every first-time visitor — leaving `.rj-vdp-similar`'s own
   `margin-top: 100px` (inventory.css L6057, and 56px + 130px of padding below
   992px at L6170) to paint a band of nothing between Similar Listings and the
   footer: measured 100px at 1920 and 186px at 390 on every boat page.

   `:has` rather than a component change, because whether the band has content
   is only known in the browser: the moment the visitor has history, the
   container stops being empty and the band appears. */
.rj-vdp-similar:has(> .rj-container:empty) {
    display: none;
}

/* 4. THE FEED'S OWN HEADINGS INSIDE A LISTING CARD'S DESCRIPTION. Several
   boats carry a second paragraph that opens with an `<h3>` of the model name,
   and `.rj-listing .rj-list-desc__text *` (inventory.css L4706) exists to
   flatten exactly that — but at (0,2,0) it loses `font`, `letter-spacing` and
   `text-transform` to `.rj-listing .rj-list-desc h3` (L4684, (0,2,1)), which
   was written for the card's own "Description" label and reaches this h3 too.
   So `display: inline` landed and the type reset did not, and the card read

       2026 WAR EAGLE 648LDVThe War Eagle model 648LDV is a duck hunter's…

   — letterspaced caps glued to the sentence with no space, on 3 of the 12
   cards on page 1 of /boats-for-sale, at both widths.

   live renders this identically (its DOM carries the same h3 and inventory.css
   is live's file carried whole), so this is one of the handful of live's own
   bugs the port does not reproduce — see NOTES.md. Specificity (0,3,1), and a
   space after the heading now that it is part of the sentence. */
.rj-listing .rj-list-desc .rj-list-desc__text h3 {
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: inherit;
}

.rj-listing .rj-list-desc .rj-list-desc__text h3::after {
    content: " ";
}

/* 5. THE PHOTO BANDS' FALLBACK PICTURE. A category card and a brand tile are
   a photograph behind a gradient and nothing else, so an <img> that has not
   painted leaves 300-400px of bare gradient, which the live page never shows.
   Live loads these lazily and so does this port — but a lazy <img> the viewport
   only sweeps past can still be unpainted when the page is captured, and where
   a dealer record replaces a brand's picture with its own upload on the
   inventory CDN it is slower again.

   A CSS background is not lazy, so the components put the design's own picture
   underneath and the <img> paints over it as soon as it arrives. These three
   declarations are what make that background cover the box the way the <img>
   above it does. No rule in live's sheet paints either element's background,
   so nothing is being overridden, and the designed crop classes still belong
   to the <img>: the background is plain `cover`, seen only in the moment
   before the picture lands. */
.rj-brand-tile,
.rj-category-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 6. …AND THE SERVICE BAND, which is the same shape one band wider: one
   full-bleed photograph behind the copy and nothing else. Measured on staging
   on 2026-11-17, in one capture of two, `/` at 1920 showed ~700px of bare
   navy from y3890 where the photograph should be. It is a same-origin file in
   this bundle, laid on as a background by the component for the reason above;
   `.rj-service__background` keeps its own `object-fit: cover`, so the <img>
   covers the background the moment it lands. */
.rj-service {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 7. A BUTTON STANDING IN A FLEX COLUMN. `.rj-article` and
   `.rj-directions__content` are both `display: flex; flex-direction: column`
   (style.css L5417, L3304), so `align-items: stretch` blows an inline-flex
   `.rj-button` out to the whole column. Measured on staging on 2026-11-18:
   "Get Event Details" on both /event-detail pages and "Open in Google Maps"
   on /locations were 960px and 658px bars at 1920, where every other button
   in this design hugs its label. The design answers this itself wherever it
   puts a link in one of these columns — `.rj-post-card__link` carries
   `align-self: flex-start` (style.css L5254) — so these two say the same.
   Only at desktop widths: below 992px a full-width button is live's own
   idiom, and the columns there are the page. */
@media (min-width: 992px) {
    .rj-article > .rj-button,
    .rj-directions__content > .rj-button {
        align-self: flex-start;
    }
}

/* 7b. …AND A TEXT LINK STANDING IN ONE, which 7 above missed. `.rj-link` is
   `display: inline-block` with a 2px `border-bottom` for its underline
   (style.css L728), so stretching it does not merely widen a box — it drags
   that red rule the whole width of the column, past the end of its own
   label, where it reads as a section divider under a dangling heading.
   Measured on staging on 2026-11-18, /locations' "SHOWROOM DETAILS"
   (`.rj-directions__content > .rj-link`, rj-outboards-indexes.tsx): label
   x1022-1191 (170px), rule x1021-1679 (659px) at 1920 — 489px of overhang.

   Unlike the button above this is NOT desktop-only: at 390 the same rule
   runs x16-373 under a label ending near x195, and a full-bleed underline is
   nobody's phone idiom — a full-width BUTTON is, which is why 7 stops at
   992px and this does not.

   `.rj-contact-card` is named for the same reason: it is the same
   `display: flex; flex-direction: column` construct (style.css L2804) and it
   holds the same `.rj-link` in this same component (the second-showroom
   card). It renders nothing today because this dealer has one showroom, so
   the selector is inert — it is here so the defect does not come back the
   day a second location is added. */
.rj-article > .rj-link,
.rj-directions__content > .rj-link,
.rj-contact-card > .rj-link {
    align-self: flex-start;
}


/* ═══ THE PROSE BLOCK, OVER BODIES THIS DESIGN DID NOT WRITE ═══ */

/* 1. LISTS KEEP THEIR MARKERS. live's own reset

       ul, ol { padding: 0; list-style: none; }      (style.css L159)

   is there for the design's own nav, footer and facet lists, and it is
   unlayered — so it also beats Tailwind's `.list-disc` and `.pl-6` on the
   platform's compliance pages and every legacy `<ul>` in a migrated body.
   Measured on staging on 2026-11-17: /privacy, /terms and /accessibility
   printed every list as plain indented lines, so "Name (first and last)",
   "Email address" and the rest read as a run-on paragraph rather than as the
   list they are. live's sheet already gives this block `padding-left: 24px`
   for markers that its own reset had taken away, which is the clearest
   evidence they were meant to be here.

   Restored ONLY inside the prose block, so every list the design draws is
   untouched. */
.rj-article__content ul {
    list-style: disc outside;
}

.rj-article__content ol {
    list-style: decimal outside;
}

.rj-article__content ul ul {
    list-style-type: circle;
}

/* 1b. AND THEY KEEP LIVE'S INDENT. The same page family walks into the OTHER
   half of the cascade trap: bootstrap 4.6.2 ships its own spacing utilities
   under the names Tailwind uses, and they carry `!important`.

       .pl-5, .px-5 { padding-left: 3rem !important; }   (bootstrap.min.css)

   Tailwind's `pl-5` is 1.25rem. /accessibility's four lists carry `pl-5`
   where /privacy and /terms carry `pl-6` — which bootstrap's 0–5 scale does
   not define, so those two fall through to live's own
   `.rj-article__content ul, ol { padding-left: 24px }` (style.css L5546) and
   look right. Measured on staging on 2026-11-18 (build b-7dbec25edf7b): the
   three sibling compliance pages open their prose at the same x240, and
   /accessibility's bullets sit at x271 against x247 on the other two — 24px
   adrift at 1920 and 23px at 390, on all four of its lists.

   Given live's own 24px, which is what the siblings already render.
   `!important` is the only thing that reaches past bootstrap's. Scoped to
   lists inside the prose block: a swept of every template on 2026-11-18 found
   `pl-5` on /accessibility and nowhere else on the site, so this rule is as
   narrow as the fault. */
.rj-article__content ul.pl-5,
.rj-article__content ol.pl-5 {
    padding-left: 24px !important;
}

/* 2. A MIGRATED BODY BRINGS ITS OWN BOOTSTRAP. /privacy_policy is the
   dealer's legacy page, and its markup carries `.container-fluid`, `.container`,
   `.row` and `.col-*` — inside a block that is already inside `.rj-container`.
   Nested, bootstrap's container re-applies its own max-width, auto margins and
   15px gutters, so on staging on 2026-11-17 the prose began 163px to the right
   of the hero and the breadcrumb above it. The prose block is the measure, so
   the scaffolding inside it is flattened. Nothing the design draws uses a
   bootstrap container inside this block, and a body without one is untouched. */
.rj-article__content .container,
.rj-article__content .container-fluid {
    max-width: none;
    width: auto;
    margin-inline: 0;
    padding-inline: 0;
}

.rj-article__content .row {
    margin-inline: 0;
}

.rj-article__content [class^="col-"],
.rj-article__content [class*=" col-"] {
    padding-inline: 0;
}

/* 3. …AND THEREFORE LOSES THE BLOCK'S RHYTHM. live spaces this block with
   `.rj-article__content > * + *` (style.css L5505), which reaches DIRECT
   children only — so a body wrapped in one legacy <div> gets none of it, and
   every "I. ABOUT US" on /privacy_policy sat flush against the paragraph
   above it. Given back at the depth the scaffolding puts them, scoped to that
   scaffolding so the compliance pages (which space themselves, and correctly)
   and the blog article body (whose children ARE direct) keep what they have. */
.rj-article__content :is(.container, .container-fluid) :is(h2, h3, h4) {
    margin-top: 32px;
}

.rj-article__content :is(.container, .container-fluid) :is(p, ul, ol, table, blockquote) {
    margin-top: 16px;
}

.rj-article__content :is(.container, .container-fluid) > :first-child,
.rj-article__content :is(.container, .container-fluid) :is(h2, h3, h4):first-child {
    margin-top: 0;
}

/* 4. …AND THE TOP OF ONE. The rule above keeps the block from opening with a
   double gap, but what sits above it here is the BREADCRUMB, outside the
   block, which supplies none: measured on staging on 2026-11-18,
   /privacy_policy's own "PRIVACY POLICY" heading sat 6px under the trail,
   where /privacy and /terms open 35-40px below theirs (their first element
   is the platform's "Last updated" line, which carries its own). The space
   is given to the block, so a migrated body that opens with a paragraph gets
   the same air as one that opens with a heading; a body with no bootstrap
   scaffolding in it — the compliance pages, a blog article — is untouched. */
.rj-article__content:has(> :first-child :is(.container, .container-fluid)) {
    padding-top: 32px;
}

/* ═══ THE DRAWER'S CLOSE CONTROL ═══ */

/* live drew this with one Font Awesome glyph; this port draws an inline SVG
   instead and deletes the 70 KB font (NOTES, "One icon font deleted"). The
   substitution was right; its placement was not. Measured on staging on
   2026-11-18 at 390, drawer open: live's × ends at x356, two pixels inside
   the drawer rules that end at x358, which is where a 16px glyph centred in
   this 44x44 box lands. The port's ended at x343 — the glyph was sitting at
   the LEFT of the box, not its centre, so the control read both smaller than
   live's and indented from the edge every other row aligns to.

   A text glyph is centred by the UA's `text-align: center` on `button`; an
   inline SVG in a box this size is at the mercy of whatever reaches that
   declaration first, and three unlayered sheets here can. Centring it as a
   flex box states it outright instead, the way `label.flex` and `a.underline`
   above are restated for the same cascade. */
.rj-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ═══ THE DATED-CARD GRIDS THAT CARRY AN ACTION ═══

   `.rj-blog-grid`'s row is live's `row rj-row-gap-32 align-items-start`, and
   on live's own blog that is right: every post card is a photo, a meta line,
   a title and a two-line excerpt, so the cards are the same height anyway and
   top-alignment costs nothing.

   /careers and /events reuse `.rj-post-card` for a job advert and an event,
   where the body is whatever the dealer typed. With `align-items-start` the
   columns do not stretch, so each card is exactly its own content tall and
   the "Apply for this role" link lands wherever that content ends. Measured
   on staging on 2026-11-18, /careers' first row at 1920: AI Dev 230px, Ruby
   170px, PHP 230px, three CTAs on three different baselines, ragged card
   bottoms down the page.

   `.rj-post-card` is already `display: flex; flex-direction: column`
   (style.css L5179) — the shape of a card meant to pin its action to the
   bottom. These three grids let it: the column stretches, the card fills it,
   and the link takes the slack. Live's blog grid keeps live's class and is
   untouched. */
.rj-post-grid--stretch {
    align-items: stretch;
}

.rj-post-grid--stretch > [class*="col-"] {
    display: flex;
}

.rj-post-grid--stretch .rj-post-card {
    flex: 1 1 auto;
}

.rj-post-grid--stretch .rj-post-card__link {
    margin-top: auto;
}


/* ═══ THE RANGE BARS, WHICH NOTHING EVER TURNS INTO SLIDERS ═══

   Live loads jquery-ui and makes `#length-range`, `#year-range` and
   `#price-range` into dual-handle sliders: a 12px track, filled navy, with
   two 8x20 handles. The vendored sheet still styles all of that
   (inventory.css L4367-4396) — but this bundle ships no jQuery, so the divs
   stay empty and the sheet's `.ui-*` rules never match anything.

   What that left was about 25px of blank white above each readout, twice per
   sidebar, measured on staging on 2026-11-18: an empty area live's page does
   not have, which is precisely what the design review camera reports.

   So draw what live draws at rest, out of the sheet's own values, while the
   div is still `:empty` — if a slider is ever wired up, these rules switch
   themselves off. The markup carries `aria-hidden`, because unlike live's
   this is NOT a control: it is a bar showing the span the list covers, and
   the numbers under it say the same thing in words. */
.rj-listing .filterOptions .filterList div#length-range:empty,
.rj-listing .filterOptions .filterList div#year-range:empty,
.rj-listing .filterOptions .filterList div#price-range:empty {
    position: relative;
    height: 12px;
    background: var(--color-big-stone);
}

.rj-listing .filterOptions .filterList div#length-range:empty::before,
.rj-listing .filterOptions .filterList div#length-range:empty::after,
.rj-listing .filterOptions .filterList div#year-range:empty::before,
.rj-listing .filterOptions .filterList div#year-range:empty::after,
.rj-listing .filterOptions .filterList div#price-range:empty::before,
.rj-listing .filterOptions .filterList div#price-range:empty::after {
    content: "";
    position: absolute;
    top: -4px;
    width: 8px;
    height: 20px;
    border: 2px solid var(--color-white);
    background: var(--color-big-stone);
}

.rj-listing .filterOptions .filterList div#length-range:empty::before,
.rj-listing .filterOptions .filterList div#year-range:empty::before,
.rj-listing .filterOptions .filterList div#price-range:empty::before {
    left: -4px;
}

.rj-listing .filterOptions .filterList div#length-range:empty::after,
.rj-listing .filterOptions .filterList div#year-range:empty::after,
.rj-listing .filterOptions .filterList div#price-range:empty::after {
    right: -4px;
}

/* ═══ THE BREADCRUMB OVER A TWO-COLUMN ARTICLE BODY ═══
   `.rj-breadcrumbs` carries `margin: 0` (style.css L5313) and nothing after
   it supplies the gap, so the trail only ever clears the block beneath it
   when that block brings its own top margin. The prose pages do: the
   compliance frame's dateline takes `margin-top: 28px` (style.css L7087) and
   a migrated body gets the same from §4 above, which is why /privacy and
   /privacy_policy measure 34-35px of clearance.

   `.rj-article-body__layout` brings none, and it is what the EVENT template
   puts after the trail (`rj-outboards-indexes.tsx`). The trail is NOT a bare
   sibling of the layout, which is what the first attempt at this rule
   assumed: `RjBreadcrumbs` (`rj-outboards-page-kit.tsx` L135) wraps the
   `<ol class="rj-breadcrumbs">` in `<nav aria-label="Breadcrumb">`, so the
   layout's previous sibling is the NAV and `.rj-breadcrumbs + …` matched
   nothing at all. Re-measured on staging on 2026-11-18, on the build that
   carries that rule (port.css served byte-identical to the repo): on
   /event-detail/esse-unde-… the trail's glyphs still end at y845
   and the event photograph starts at y848 — three pixels, with the descender
   of the "q" in "consequuntur" resting on the top edge of the picture; on
   /event-detail/birmingham-boat-show-2026 the when/where card's rule is the
   very next row, zero gap. At 390 it is one pixel. Not an overlap, but it
   reads as a collision, and it is the same fault the dateline rule already
   fixed for the prose pages.

   Given the same 28px, on the layout rather than on the trail, and matched
   through the wrapper with `:has()` (as §§ above already do), so the rule
   reaches this arrangement only: the blog article puts both classes on ONE
   div and keeps its trail in `.rj-article-header`, a different section
   entirely, and the CMS pages are followed by `.rj-article__content`, which
   keeps the spacing it already has. */
:has(> .rj-breadcrumbs) + .rj-article-body__layout {
    margin-top: 28px;
}

/* ═══ THE PHONE GALLERY'S THUMBNAIL RAIL ═══
   §3 above un-hides the stage on a phone and notes that "phones get the
   swipeable stage, which is what live does too". Half right: live renders a
   separate slick slider there, and slick draws a THUMBNAIL RAIL under the
   stage — four thumbs with the first and last clipped at the viewport edges,
   which is the whole of what tells you the gallery scrolls.

   The port drew nothing. Measured on staging on 2026-11-18 at 390 on
   /boats-for-sale-detail/2026-bennington-24msl-9771, a boat with 22
   photographs: the stage ends at y510 and the H1 begins at y560, with no
   thumbs, no dots and no arrows between them. The stage IS swipeable, but
   `STAGE_SLIDE` is `flex: 0 0 100%` so no next photo peeks either — so a
   22-photo boat reads as a one-photo boat on the width most shoppers use.

   Live's own thumbnail markup is already in the page (the 3-up grid, hidden
   with `.mobHide`), so it is given back here as the rail live draws, scoped
   to `rj-gallery-thumbs` — the hook on that one block — so the other
   `.mobHide`, the Zoom chip, stays hidden exactly as it is on live's phone.

   THE RAIL HAS TO OVERRIDE A GRID, which the first attempt at this block did
   not: `.rj-vdp .gallery-row` is `display: grid` with
   `grid-template-columns: repeat(3, minmax(0, 1fr))` (inventory.css L5281),
   and `flex-wrap`/`flex-basis` mean nothing to a grid container or its
   children. So the un-hidden block came out as the FULL 3-up grid stacked
   down the phone — measured on staging on 2026-11-18 at 390 on
   /boats-for-sale-detail/2026-bennington-24msl-9771, eight rows of thumbs
   between the stage and the H1 on a 22-photograph boat. `display: flex` here
   is what turns it into the one-row rail.

   GEOMETRY IS LIVE'S OWN, measured on
   mean-rj-outboard.mdsbrand.com/new-boats-for-sale-detail/2026-bennington-24msl-…
   at 390 on 2026-11-18: slick runs `.slider-nav` at `slidesToShow: 2`,
   `centerMode: true` below its 767 breakpoint (custom.js L95), which paints
   thumbs 115px wide and 100px tall on a 10px gap, inside the page's own 20px
   gutter, with the first and last clipped by the centre padding. 115 × 100 is
   `padding-top: 86.96%`, not the 74.45% the desktop grid gives its wider
   tiles. The rail scrolls instead of stepping, because the bundle ships no
   client JS — the next thumb peeks past the right edge, which is what says
   there are more photographs. */
@media (max-width: 991px) {
    .rj-vdp .rj-gallery-thumbs {
        display: block !important;
        margin-top: 23px;
    }

    .rj-vdp .rj-gallery-thumbs .gallery-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .rj-vdp .rj-gallery-thumbs .gallery-row::-webkit-scrollbar {
        display: none;
    }

    .rj-vdp .rj-gallery-thumbs .gallery-cols {
        flex: 0 0 115px;
        scroll-snap-align: start;
    }

    .rj-vdp .rj-gallery-thumbs .gallery-box-img {
        padding-top: 86.96%;
    }

    /* The desktop grid's "MORE IMAGES" disclosure (VDP §4b) has no part in
       this: live's phone slider draws a rail of every photograph and no such
       button, so nothing here hides a thumb — §4b's rule is scoped to 992px
       and up — and the control itself goes out of the page, and out of the
       tab order with it, as §2b does for the facet toggles above 991px. */
    .rj-vdp .rj-more-images-toggle,
    .rj-vdp .more-img-btn {
        display: none;
    }
}
