/*
 * Home page (D-038). Styles the owner's blocks by their classes; the text lives in wp-admin.
 * The original home styles are in the Customizer CSS (content/theme/kadence.json); these rules are
 * scoped to body.home and are more specific, so they win where they differ. Colours from the theme
 * palette, as on the product pages and the booking flow (D-036, D-037); the Roadside Retro skin
 * (D-048) is the last section.
 */
body.home, body.rlt-has-availability {
	/* Roadside Retro roles (D-048): navy for outlines and text, red for accents, paper cards on cream. */
	--h-navy: var(--global-palette3, #1b2a4a);
	--h-blue: var(--global-palette1, #b8322b);
	--h-ink: var(--global-palette3, #1b2a4a);
	--h-text: var(--global-palette4, #1b2a4a);
	--h-muted: var(--global-palette5, #4a5672);
	--h-line: var(--global-palette3, #1b2a4a);
	--h-soft: var(--global-palette8, #f6efe2);
	--h-paper: var(--global-palette9, #fff8ec);
	--h-green: var(--global-palette11, #1f6b3a);
	--h-yellow: var(--global-palette14, #e9b23a);
	--h-radius: 14px;
	--h-shadow: 5px 5px 0 var(--global-palette3, #1b2a4a);
}

/* ---- section rhythm and headings ---- */
body.home .entry-content .ltc-section { margin-top: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); }
body.home .entry-content .ltc-section-title { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em; margin-bottom: 10px; color: var(--h-ink); }
body.home .entry-content .ltc-section-title::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--h-yellow); margin-top: 14px; }
body.home .entry-content .ltc-serious .ltc-section-title::after, body.home .entry-content .ltc-final__title::after { margin-left: 0; }
body.home .entry-content .ltc-lead { font-size: 18px; color: var(--h-muted); margin: 0 0 28px; max-width: 60ch; }
body.home .entry-content .ltc-section-head { margin-bottom: 8px; align-items: flex-end; }

/* ---- 1 The "Start Here" box: on Trailers and Add-Ons under the page title (owner 2026-11-08); on home inside the top
   section (D-088, its own rules at the end) ---- */
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability { position: relative; max-width: none; margin: 0 0 40px; padding: 0; text-align: left; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); column-gap: clamp(24px, 4vw, 56px); align-items: start;
	background: #fff; border-radius: var(--h-radius); box-shadow: var(--h-shadow); border: 1px solid var(--h-line); padding: clamp(24px, 3.5vw, 40px);
}
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__title { grid-column: 1; grid-row: 1; font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 800 !important; color: var(--h-ink); margin: 0 0 10px; letter-spacing: -.015em; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note { grid-column: 1; grid-row: 2; font-style: normal; font-size: 17px; color: var(--h-muted); margin: 0 0 18px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note a { color: var(--h-blue); font-weight: 600; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability .ltc-chips { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container > .rlt-cta { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__buttons { grid-column: 2; grid-row: 3; justify-content: flex-start; gap: 10px; margin: 14px 0 0; }

/* fact chips */
:is(body.home, body.rlt-has-availability) .entry-content .ltc-chips strong { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--h-green); background: color-mix(in srgb, var(--h-green) 8%, #fff); border: 1px solid color-mix(in srgb, var(--h-green) 25%, transparent); border-radius: 999px; padding: 6px 12px 6px 10px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-chips strong::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--h-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 8.4l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 75% no-repeat; }

/* the "Find a pickup time" box from [booqable_datepicker], on the home page */
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta { background: var(--h-soft); border: 0; border-radius: 14px; padding: 20px 22px; }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--h-muted); margin: 0 0 10px; }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta:not(.rlt-period) a.rlt-cta-button.rlt-cta-button { display: block; text-align: center; font-size: 17px; padding: 14px 18px; border-radius: 12px; background: var(--h-blue); box-shadow: 0 8px 20px color-mix(in srgb, var(--h-blue) 30%, transparent); }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta:not(.rlt-period) a.rlt-cta-button.rlt-cta-button:hover { background: var(--h-navy); }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta .rlt-cta-note { font-size: 14px; margin: 10px 0 0; }

/* outline buttons: navy, rounded */
body.home .entry-content .wp-block-button .wp-block-button__link { border-radius: 10px; font-weight: 700; padding: 12px 22px; }
body.home .entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--h-navy); border: 2px solid color-mix(in srgb, var(--h-navy) 30%, transparent); }
body.home .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--h-navy); background: color-mix(in srgb, var(--h-navy) 5%, #fff); }

/* ---- 2 Trailers ---- */
body.home .entry-content .ltc-products .rlt-cards { gap: 18px; margin-top: 28px; }
body.home .entry-content .rlt-card { border-color: var(--h-line); padding: 10px 10px 14px; }
body.home .entry-content .rlt-card h3 { font-size: 16px; margin: 12px 4px 2px; }
body.home .entry-content .rlt-card h3 a { color: var(--h-ink); }

/* ---- 3 How it works: three cards in a row, joined by a line ---- */
body.home .entry-content .ltc-how__steps { position: relative; gap: 20px; margin-top: 8px; counter-reset: step; }
body.home .entry-content .ltc-how__steps > .wp-block-column { position: relative; background: #fff; border: 1px solid var(--h-line); border-radius: var(--h-radius); padding: 76px 26px 28px; box-shadow: 0 1px 2px rgba(11, 26, 38, .04); }
body.home .entry-content .ltc-how__steps > .wp-block-column::before { content: ""; position: absolute; left: 26px; top: 24px; width: 40px; height: 40px; border-radius: 12px; background-color: var(--h-blue); -webkit-mask: var(--h-icon) center / 26px no-repeat; mask: var(--h-icon) center / 26px no-repeat; }
body.home .entry-content .ltc-how__steps > .wp-block-column::after { content: ""; position: absolute; left: 26px; top: 24px; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--h-blue) 11%, #fff); z-index: -1; }
body.home .entry-content .ltc-how__steps > .wp-block-column { isolation: isolate; }
body.home .entry-content .ltc-how__steps > .wp-block-column:nth-child(1) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4M8.5 14.5l2.2 2.2 4.8-4.8'/%3E%3C/svg%3E"); }
body.home .entry-content .ltc-how__steps > .wp-block-column:nth-child(2) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='12' r='4'/%3E%3Cpath d='M12 12h9M18 12v3M21 12v2'/%3E%3C/svg%3E"); }
body.home .entry-content .ltc-how__steps > .wp-block-column:nth-child(3) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V4M4 4h12l-2 4 2 4H4'/%3E%3C/svg%3E"); }
body.home .entry-content .ltc-step-title { font-size: clamp(20px, 1.8vw, 24px) !important; color: var(--h-ink); margin: 0 0 10px !important; letter-spacing: -.01em; }
body.home .entry-content .ltc-how__steps p { color: var(--h-muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* ---- 4 Why rent with us: six light cards with icons (they were six navy blocks) ---- */
body.home .entry-content .ltc-why .ltc-features { margin: 28px 0 0; }
/* The grid goes on the group's inner container when WordPress adds one (it does here), else on the group. */
body.home .entry-content .ltc-why .ltc-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.home .entry-content .ltc-why .ltc-features:has(> .wp-block-group__inner-container) { display: block; }
body.home .entry-content .ltc-why .ltc-features > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.home .entry-content .ltc-why .ltc-features .ltc-feature { background: #fff; border: 1px solid var(--h-line); border-radius: var(--h-radius); padding: 24px 24px 26px !important; transition: transform .18s ease, box-shadow .18s ease; }
body.home .entry-content .ltc-why .ltc-features .ltc-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 26, 38, .09); }
body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container { position: relative; padding-top: 58px; }
body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::before { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--h-yellow) 55%, #fff); }
body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::after { content: ""; position: absolute; left: 0; top: 0; width: 42px; height: 42px; background-color: var(--h-ink); -webkit-mask: var(--h-icon) center / 24px no-repeat; mask: var(--h-icon) center / 24px no-repeat; }
body.home .entry-content .ltc-why .ltc-feature__title { color: var(--h-ink) !important; font-size: 20px !important; margin: 0 0 8px !important; letter-spacing: -.01em; }
body.home .entry-content .ltc-why .ltc-feature p { color: var(--h-muted) !important; font-size: 15.5px; line-height: 1.6; }
body.home .entry-content .ltc-why .ltc-feature a { color: var(--h-blue) !important; }
/* icons, in the owner's order: mileage, quality, 50% off, pricing, marketplace, add-ons */
body.home .ltc-why .ltc-feature:nth-child(1) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21l4-18M18 21l-4-18M12 6v2M12 11v2M12 16v2'/%3E%3C/svg%3E"); }
body.home .ltc-why .ltc-feature:nth-child(2) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
body.home .ltc-why .ltc-feature:nth-child(3) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5L5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E"); }
body.home .ltc-why .ltc-feature:nth-child(4) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h4'/%3E%3C/svg%3E"); }
body.home .ltc-why .ltc-feature:nth-child(5) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6M5 9v11h14V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
body.home .ltc-why .ltc-feature:nth-child(6) { --h-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='12' rx='2'/%3E%3Cpath d='M8 8V5h8v3M3 13h18M11 13v2h2v-2'/%3E%3C/svg%3E"); }

/* ---- 5 Add-ons: one scrolling row ---- */
body.home .entry-content .rlt-cards.is-rail { grid-auto-columns: minmax(200px, 220px); gap: 16px; margin-top: 4px; scrollbar-width: thin; }

/* ---- 6 We're serious: navy band, warmer ---- */
body.home .entry-content .ltc-serious { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 20%, color-mix(in srgb, var(--h-blue) 45%, transparent), transparent 70%), var(--h-navy); }
body.home .entry-content .ltc-serious .ltc-section-title { color: #fff; }
body.home .entry-content .ltc-serious__img img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

/* ---- 7 Ready to haul ---- */
body.home .entry-content .ltc-final { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); box-sizing: border-box; margin-top: clamp(56px, 7vw, 96px); margin-bottom: 0; padding: clamp(48px, 6vw, 80px) var(--global-content-edge-padding, 1.5rem); background: var(--h-soft); text-align: center; }
body.home .entry-content .ltc-final > .wp-block-group__inner-container { max-width: 720px; margin: 0 auto; }
body.home .entry-content .ltc-final__title { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.02em; color: var(--h-ink); margin: 0 0 10px; }
body.home .entry-content .ltc-final__title::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--h-yellow); margin: 14px auto 0; }
body.home .entry-content .ltc-final__note { font-size: 18px; color: var(--h-muted); margin: 0 auto 24px; }
body.home .entry-content .ltc-final .rlt-cta { background: #fff; box-shadow: var(--h-shadow); text-align: left; max-width: 460px; margin: 0 auto; }
body.home .entry-content .ltc-final__buttons { justify-content: center; gap: 12px; margin-top: 22px; }

/* ---- phones and tablets ---- */
@media (max-width: 1024px) {
	body.home .entry-content .ltc-why .ltc-features > .wp-block-group__inner-container, body.home .entry-content .ltc-why .ltc-features:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability { margin-top: 16px; padding: 0; } /* the page already has side padding */
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container { grid-template-columns: 1fr; padding: 22px; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:not(:has(.rlt-period)) > .wp-block-group__inner-container > * { grid-column: 1 !important; grid-row: auto !important; }
	/* One column on phones, in reading order: heading, note, chips, then the booking box and links. */
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__title { order: 1; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note { order: 2; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability .ltc-chips { order: 3; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container > .rlt-cta { order: 4; margin: 18px 0 0; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__buttons { order: 5; }
	body.home .entry-content .ltc-why .ltc-features > .wp-block-group__inner-container, body.home .entry-content .ltc-why .ltc-features:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
	body.home .entry-content .ltc-how__steps > .wp-block-column { padding: 72px 22px 24px; }
	body.home .entry-content .ltc-products .rlt-cards:not(.is-rail) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

}
@media (prefers-reduced-motion: reduce) {
	body.home .entry-content .ltc-why .ltc-features .ltc-feature { transition: none; }
	body.home .entry-content .ltc-why .ltc-features .ltc-feature:hover { transform: none; }
}

/* ---- Roadside Retro skin (D-048): navy outlines, offset shadows, paper cards, slab headings ---- */
body.home .entry-content .ltc-section-title::after, body.home .entry-content .ltc-final__title::after { display: none; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container { background: var(--h-paper); border: 2px solid var(--h-navy); border-radius: var(--h-radius); box-shadow: var(--h-shadow); }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__title { font-weight: 400 !important; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-chips strong { color: var(--h-navy); background: var(--h-yellow); border: 2px solid var(--h-navy); border-radius: 8px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-chips strong::before { background-color: var(--h-navy); }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta { background: var(--h-soft); border: 2px dashed var(--h-navy); box-shadow: none; }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta:not(.rlt-period) a.rlt-cta-button.rlt-cta-button { background: var(--h-blue); box-shadow: 3px 3px 0 var(--h-navy); border-radius: 10px; }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta:not(.rlt-period) a.rlt-cta-button.rlt-cta-button:hover { background: var(--global-palette2, #9a2621); }
body.home .entry-content .wp-block-button .wp-block-button__link { border-radius: 10px; }
body.home .entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: var(--h-paper); color: var(--h-navy); border: 2px solid var(--h-navy); }
body.home .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; border-color: var(--h-navy); }
body.home .entry-content .rlt-card { padding: 0 0 .9rem; border-color: var(--h-navy); }
body.home .entry-content .rlt-card h3 { margin: .75rem .9rem .2rem; font-size: 17px; }
/* How it works: paper cards; the icons sit on mustard tiles (the headings carry the numbers) */
body.home .entry-content .ltc-how__steps > .wp-block-column { background: var(--h-paper); border: 2px solid var(--h-navy); border-radius: var(--h-radius); box-shadow: none; }
body.home .entry-content .ltc-how__steps > .wp-block-column::before { background-color: var(--h-navy); width: 42px; height: 42px; }
body.home .entry-content .ltc-how__steps > .wp-block-column::after { background: var(--h-yellow); border: 2px solid var(--h-navy); box-sizing: border-box; width: 42px; height: 42px; }
/* Why rent with us: paper cards, mustard icon tiles */
body.home .entry-content .ltc-why .ltc-features .ltc-feature { background: var(--h-paper); border: 2px solid var(--h-navy); border-radius: var(--h-radius); box-shadow: 4px 4px 0 var(--h-navy); }
body.home .entry-content .ltc-why .ltc-features .ltc-feature:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--h-navy); }
body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::before { background: var(--h-yellow); border: 2px solid var(--h-navy); box-sizing: border-box; }
body.home .entry-content .ltc-why .ltc-feature__title { font-weight: 400; }
body.home .entry-content .ltc-why .ltc-feature a { color: var(--h-blue) !important; }
/* We're serious: plain navy, checkered edges */
body.home .entry-content .ltc-serious { background: var(--h-navy); }
body.home .entry-content .ltc-serious::before, body.home .entry-content .ltc-serious::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-conic-gradient(var(--h-soft) 0 25%, var(--h-navy) 0 50%) 0 0 / 14px 14px; }
body.home .entry-content .ltc-serious::before { top: 0; }
body.home .entry-content .ltc-serious::after { bottom: 0; }
/* Ready to haul: a tan band with navy rules */
body.home .entry-content .ltc-final { background: color-mix(in srgb, var(--h-soft) 70%, var(--global-palette7, #c9bfa9)); border-top: 2px solid var(--h-navy); border-bottom: 2px solid var(--h-navy); }
body.home .entry-content .ltc-final .rlt-cta { background: var(--h-paper); border: 2px solid var(--h-navy); box-shadow: var(--h-shadow); }
:is(body.home, body.rlt-has-availability) .entry-content .rlt-cta h3 { font-family: inherit; }
@media (prefers-reduced-motion: reduce) {
	body.home .entry-content .ltc-why .ltc-features .ltc-feature:hover { transform: none; box-shadow: 4px 4px 0 var(--h-navy); }
}
@media (max-width: 781px) {
	body.home .entry-content .rlt-card h3 { font-size: 15px; margin: .65rem .7rem .2rem; }
}

@media (max-width: 781px) {
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability { margin-top: 16px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container > .rlt-cta { order: -1; width: 100%; box-sizing: border-box; }
}
body.home .entry-content .rlt-card .rlt-card-spec { margin: 0 .9rem .55rem; font-size: 13px; line-height: 1.35; color: var(--h-muted); }
@media (max-width: 781px) { body.home .entry-content .rlt-card .rlt-card-spec { font-size: 11.5px; } }

/* Card rail controls (home.js): round arrows over the rail's ends, Pause/Play below it. */
body.home .rlt-rail { position: relative; }
body.home .rlt-rail__arrow { position: absolute; top: 80px; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 28px; line-height: 1; background: var(--ltc-paper, #fff8ec); color: var(--ltc-navy, #1b2a4a); border: 2px solid var(--ltc-navy, #1b2a4a); box-shadow: 2px 2px 0 var(--ltc-navy, #1b2a4a); }
body.home .rlt-rail__arrow:hover, body.home .rlt-rail__arrow:focus-visible { background: var(--ltc-mustard, #e9b23a); color: var(--ltc-navy, #1b2a4a); }
body.home .rlt-rail__arrow:focus-visible, body.home .rlt-rail__pause:focus-visible { outline: 3px solid var(--ltc-mustard, #e9b23a); outline-offset: 2px; }
body.home .rlt-rail__prev { left: -14px; }
body.home .rlt-rail__next { right: -14px; }
body.home .rlt-rail__bar { display: flex; justify-content: flex-end; margin-top: 2px; }
body.home .rlt-rail__pause { min-width: 68px; height: 34px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; background: var(--ltc-paper, #fff8ec); color: var(--ltc-navy, #1b2a4a); border: 2px solid var(--ltc-navy, #1b2a4a); box-shadow: 2px 2px 0 var(--ltc-navy, #1b2a4a); }
body.home .rlt-rail__pause:hover { background: var(--ltc-mustard, #e9b23a); }
@media (max-width: 781px) {
	body.home .rlt-rail__arrow { width: 38px; height: 38px; font-size: 24px; top: 64px; }
	body.home .rlt-rail__prev { left: -6px; }
	body.home .rlt-rail__next { right: -6px; }
}

/* ---- The availability box, any panel (D-072): heading and sentence centred against the panel; on phones, heading first ---- */
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container { grid-template-rows: 1fr 1fr; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__title { align-self: end; margin: 0 0 8px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note { align-self: start; margin: 0; }
@media (max-width: 781px) {
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container { gap: 0; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__title { order: 1; align-self: stretch; margin: 0 0 6px; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note { order: 2; align-self: stretch; margin: 0 0 16px; }
	:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability > .wp-block-group__inner-container > .rlt-cta { order: 3; margin: 0; }
}

/* keep "Self Service" together */
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability__note a { white-space: nowrap; }

/* the card footer (D-074) on the home page's narrower phone cards */
@media (max-width: 781px) { body.home .entry-content .rlt-card .rlt-card-foot { margin: auto .7rem 0; } }

/* ---- Site review 2026-11-10 (owner, 2026-11-11) ---- */
/* #3: no empty strip between "We're Serious About Trailers" and "Ready to haul?" */
body.home .entry-content .ltc-serious:has(+ .ltc-final) { margin-bottom: 0; }
body.home .entry-content .ltc-serious + .ltc-final { margin-top: 0; border-top: 0; }
/* #6: "Why Rent With Us" as two columns of shorter cards on phones */
@media (max-width: 781px) {
	body.home .entry-content .ltc-why .ltc-features > .wp-block-group__inner-container, body.home .entry-content .ltc-why .ltc-features:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.home .entry-content .ltc-why .ltc-features .ltc-feature { padding: 14px 12px 16px !important; box-shadow: 3px 3px 0 var(--h-navy); }
	body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container { padding-top: 40px; }
	body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::before, body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::after { width: 32px; height: 32px; border-radius: 9px; }
	body.home .entry-content .ltc-why .ltc-feature > .wp-block-group__inner-container::after { -webkit-mask-size: 18px; mask-size: 18px; }
	body.home .entry-content .ltc-why .ltc-feature__title { font-size: 16px !important; line-height: 1.2; margin: 0 0 6px; hyphens: auto; }
	body.home .entry-content .ltc-why .ltc-feature p { font-size: 13.5px; line-height: 1.45; margin: 0; }
}

/* ---- Top of the home page (D-088): back towards the Roadside Retro concept. The headline, a line, the "Start Here"
   box without its card (the heading, turn signal and button on one row, the note under it), and the full logo on the
   right; no slider. On phones: the logo, then the text, centred. ---- */
body.home .entry-content .ltc-intro { margin: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 72px); }
body.home .entry-content .ltc-intro__cols { gap: clamp(24px, 4vw, 64px); margin: 0; }
body.home .entry-content .ltc-intro__text { flex-basis: 54% !important; }
body.home .entry-content .ltc-intro__art { flex-basis: 46% !important; }
body.home .entry-content .ltc-intro__title { font-size: clamp(40px, 5.6vw, 80px) !important; line-height: 1.02 !important; letter-spacing: -.02em; color: var(--h-ink); margin: 0 0 18px !important; font-weight: 400 !important; }
body.home .entry-content .ltc-intro__title mark { background: none !important; color: var(--h-blue) !important; }
body.home .entry-content .ltc-intro__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--h-muted); max-width: 34ch; margin: 0 0 clamp(20px, 2.4vw, 30px); }
body.home .entry-content .ltc-intro__logo { margin: 0; }
body.home .entry-content .ltc-intro__logo img { display: block; width: 100%; height: auto; max-width: 640px; margin: 0 auto; filter: drop-shadow(0 10px 18px rgba(27, 42, 74, .18)); }
/* without the button (booking not open to visitors): the panel under the heading */
body.home .entry-content .ltc-intro .ltc-availability:not(:has(.rlt-cta-button)) > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 12px; }
body.home .entry-content .ltc-intro .ltc-availability:not(:has(.rlt-cta-button)) .ltc-availability__title { order: 0; margin: 0; align-self: flex-start; text-align: left; }
body.home .entry-content .ltc-intro .ltc-availability:not(:has(.rlt-cta-button)) .rlt-cta { order: 1; align-self: stretch; max-width: 540px; }
body.home .entry-content .ltc-intro .ltc-availability:not(:has(.rlt-cta-button)) .ltc-availability__note { order: 2; }
@media (max-width: 781px) {
	body.home .entry-content .ltc-intro { margin-top: 0; }
	body.home .entry-content .ltc-intro__cols { flex-direction: column-reverse; gap: 8px; }
	body.home .entry-content .ltc-intro__text, body.home .entry-content .ltc-intro__art { flex-basis: auto !important; width: 100%; }
	body.home .entry-content .ltc-intro__logo img { max-width: min(88%, 380px); }
	body.home .entry-content .ltc-intro__text { text-align: center; }
	body.home .entry-content .ltc-intro__title { font-size: clamp(34px, 10.5vw, 46px) !important; margin-bottom: 12px !important; }
	body.home .entry-content .ltc-intro__lead { margin: 0 auto 22px; font-size: 17px; }
	/* the box keeps its phone layout (turn signals either side of "Start Here", pointing down to the button), unboxed */
	body.home .entry-content .ltc-intro .ltc-availability:has(.rlt-cta-button) > .wp-block-group__inner-container { padding: 0 !important; }
	body.home .entry-content .ltc-intro .ltc-availability:has(.rlt-cta-button) > .wp-block-group__inner-container > .ltc-availability__note { text-align: center; font-size: 15px; }
}

/* D-104: a full-width rental-period banner, shared by Home, Trailers and Add-Ons.
   Keep the saved heading/note and shortcode in their original blocks; CSS lays out the banner around them. */
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) { max-width: none; margin: 0 0 32px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container { display: grid; grid-template-columns: auto 80px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; gap: 18px 18px; position: relative; isolation: isolate; padding: 0 !important; background: none; border: 0; box-shadow: none; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::before { content: ''; grid-column: 1 / -1; grid-row: 1; align-self: stretch; background: var(--h-paper, #fff8ec); border: 2px solid var(--h-navy, #1b2a4a); border-radius: 16px; box-shadow: 5px 5px 0 var(--h-navy, #1b2a4a); z-index: -1; pointer-events: none; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::after { content: ''; grid-column: 2; grid-row: 1; width: 80px; height: 42px; background: var(--rlt-banner-signal) center / contain no-repeat; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .ltc-availability__title { grid-column: 1; grid-row: 1; margin: 0 0 0 24px; align-self: center; white-space: nowrap; font-size: clamp(23px, 2.4vw, 34px); }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period { display: contents; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period h3 { display: none; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period > p:has(.rlt-period-open) { grid-column: 3; grid-row: 1; margin: 0 18px 0 0; min-width: 0; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period-open { min-height: 96px; padding: 16px 0; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .ltc-availability__note { grid-column: 1 / -1; grid-row: 2; align-self: start; text-align: left; margin: 0; padding: 0 12px; font-size: 16px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-cta-note { grid-column: 1 / -1; grid-row: 3; margin: 0; padding: 0 12px; min-height: 24px; text-align: left; font-size: 15px; }
:is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period:not(.is-chosen) .rlt-cta-note { visibility: hidden; }
/* Let the existing saved availability block span both hero columns without rewriting WordPress content. */
@media (min-width: 782px) {
 body.home .entry-content .ltc-intro__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 26px; }
 body.home .entry-content .ltc-intro__text { display: contents; }
 body.home .entry-content .ltc-intro__title { grid-column: 1; grid-row: 1; align-self: end; margin-bottom: 0 !important; }
 body.home .entry-content .ltc-intro__lead { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
 body.home .entry-content .ltc-intro__art { grid-column: 2; grid-row: 1 / span 2; width: 100%; }
 body.home .entry-content .ltc-intro .ltc-availability { grid-column: 1 / -1; grid-row: 3; width: 100%; margin: 12px 0 0; }
}
@media (max-width: 1100px) and (min-width: 641px) {
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container { grid-template-columns: auto 56px minmax(0, 1fr); gap: 16px 12px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::after { width: 56px; }
}
@media (max-width: 640px) {
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container { grid-template-columns: auto 64px; gap: 16px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::before { grid-row: 1 / span 2; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::after { width: 56px; height: 28px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .ltc-availability__title { margin-left: 16px; padding-top: 14px; text-align: left; font-size: 26px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) > .wp-block-group__inner-container::after { margin-top: 14px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period > p:has(.rlt-period-open) { grid-column: 1 / -1; grid-row: 2; margin: 0 16px 20px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-period-open { min-height: 0; padding: 0; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .ltc-availability__note { grid-row: 3; padding: 6px 0 0; font-size: 14px; }
 :is(body.home, body.rlt-has-availability) .entry-content .ltc-availability:has(.rlt-period) .rlt-cta-note { grid-row: 4; padding: 0; font-size: 14px; }
 body.home .entry-content .ltc-intro__lead { margin-bottom: 24px; }
}
:is(body.home, body.rlt-has-availability) .ltc-availability { --rlt-banner-signal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 42'%3E%3Cpolygon points='2,3 15,3 31,21 15,39 2,39 18,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='0.18'%3E%3Canimate attributeName='opacity' calcMode='discrete' values='0.18;1;0.18' keyTimes='0;0.12;0.8' dur='1.3s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='30,3 43,3 59,21 43,39 30,39 46,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='0.18'%3E%3Canimate attributeName='opacity' calcMode='discrete' values='0.18;1;0.18' keyTimes='0;0.3;0.8' dur='1.3s' repeatCount='indefinite'/%3E%3C/polygon%3E%3Cpolygon points='58,3 71,3 87,21 71,39 58,39 74,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='0.18'%3E%3Canimate attributeName='opacity' calcMode='discrete' values='0.18;1;0.18' keyTimes='0;0.48;0.8' dur='1.3s' repeatCount='indefinite'/%3E%3C/polygon%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { :is(body.home, body.rlt-has-availability) .ltc-availability { --rlt-banner-signal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 42'%3E%3Cpolygon points='2,3 15,3 31,21 15,39 2,39 18,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='1'%3E%3C/polygon%3E%3Cpolygon points='30,3 43,3 59,21 43,39 30,39 46,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='1'%3E%3C/polygon%3E%3Cpolygon points='58,3 71,3 87,21 71,39 58,39 74,21' fill='%23b8322b' stroke='%231b2a4a' stroke-width='2.5' stroke-linejoin='round' opacity='1'%3E%3C/polygon%3E%3C/svg%3E"); } }
