/* 18 Nov: cream banned sitewide (Luke, 17 Nov). The Tailwind alabaster token now resolves to brand light grey #e5e5e5 for every bg-alabaster, text-alabaster and border-alabaster use, UK and FR. */
html:root { --color-alabaster: #e5e5e5; }
/* Crown Pavilions website revisions, 8 October 2026 (Luke's "changes crown.pdf").
   Loaded after the Astro bundle on every English page by bin/apply-revisions-2026-10.py.
   Everything here is prefixed rv- so it cannot collide with the compiled Tailwind classes. */

:root {
  --rv-forest: #123627;
  --rv-forest-dark: #123627;
  --rv-gold: #cdac4e;
  --rv-gold-dark: #b89555;
  --rv-alabaster: #e5e5e5;
  --rv-parchment: #d0d0d0;
  --rv-charcoal: #333;
  --rv-optima: "Optima", Georgia, "Times New Roman", serif;
  --rv-mont: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --rv-wrap: 1440px;
}

/* ---------- 1. Product cards: wide image, monthly price first, two actions ---------- */
.product-card-tall.rv-card { display: flex; flex-direction: column; border: 1px solid var(--rv-parchment); background: #fff; transition: border-color .3s, box-shadow .3s; }
.product-card-tall.rv-card:hover { border-color: var(--rv-forest); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.product-card-tall.rv-card > a { flex: 1 1 auto; border: 0 !important; box-shadow: none !important; }
.rv-card-img { height: auto !important; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.rv-card-img-wide { aspect-ratio: 16 / 9; }
.rv-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rv-price-main { font: 700 1.5rem/1.1 var(--rv-mont); color: var(--rv-forest); letter-spacing: -.01em; }
.rv-price-main small { font-size: .95rem; font-weight: 600; color: rgba(18,54,39,.6); }
.rv-price-plan { font: 500 .78rem/1.2 var(--rv-mont); color: rgba(51,51,51,.6); }
.rv-price-start { margin: 6px 0 0; font: 500 .875rem/1.3 var(--rv-mont); color: rgba(51,51,51,.78); }
.rv-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rv-parchment); padding: 16px 20px 20px; }
@media (min-width: 1024px) { .rv-card-actions { padding: 16px 24px 24px; } }
.rv-card-view { font: 500 .9rem/1.2 var(--rv-mont); color: var(--rv-forest); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rv-parchment); transition: text-decoration-color .2s; }
.rv-card-view:hover { text-decoration-color: var(--rv-forest); }
.rv-card-visit { display: inline-flex; align-items: center; gap: 8px; background: var(--rv-gold); color: var(--rv-forest); font: 600 .85rem/1 var(--rv-mont); padding: 12px 18px; white-space: nowrap; transition: background .2s; }
.rv-card-visit:hover { background: var(--rv-gold-dark); }
.rv-card-visit svg { width: 15px; height: 15px; }

/* ---------- 2. Call-to-action strip, placed after every second section ---------- */
.rv-cta { background: var(--rv-forest-dark); border-top: 1px solid rgba(205,172,78,.45); border-bottom: 1px solid rgba(205,172,78,.2); }
.rv-cta-in { max-width: var(--rv-wrap); margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.rv-cta-copy { margin: 0; font: 400 1.3rem/1.3 var(--rv-optima); color: var(--rv-alabaster); max-width: 36ch; }
.rv-cta-copy small { display: block; margin-top: 5px; font: 400 .875rem/1.45 var(--rv-mont); color: rgba(255,255,255,.7); }
.rv-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; font: 500 .95rem/1 var(--rv-mont); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.rv-btn-gold { background: var(--rv-gold); color: var(--rv-forest); }
.rv-btn-gold:hover { background: var(--rv-gold-dark); }
.rv-btn-line { border: 1px solid rgba(255,255,255,.7); color: var(--rv-alabaster); }
.rv-btn-line:hover { background: var(--rv-alabaster); color: var(--rv-forest); }
.rv-btn svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .rv-cta-btns, .rv-btn { width: 100%; } }

/* ---------- 3. Who we are (home page): text only, story beside the heading, facts in a row ---------- */
.rv-who { background: var(--rv-alabaster); border-top: 1px solid rgba(205,172,78,.35); }
.rv-who-wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px 64px; }
.rv-who-top { display: grid; gap: 28px; }
.rv-who h2 { margin: 0; font: 700 2.25rem/1.05 var(--rv-optima); color: var(--rv-forest); letter-spacing: -.01em; }
.rv-who-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.rv-who-lead { margin: 0; font: 400 1.4rem/1.45 var(--rv-optima); color: var(--rv-forest); max-width: 34ch; }
.rv-who-body { margin: 18px 0 0; font: 400 1rem/1.75 var(--rv-mont); color: rgba(51,51,51,.78); max-width: 62ch; }
.rv-who-facts { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.rv-who-facts li { border-top: 2px solid var(--rv-gold); padding-top: 16px; }
.rv-who-facts b { display: block; font: 700 2.1rem/1 var(--rv-optima); color: var(--rv-forest); }
.rv-who-facts span { display: block; margin-top: 10px; font: 400 .9rem/1.5 var(--rv-mont); color: rgba(51,51,51,.72); max-width: 24ch; }
@media (min-width: 1024px) {
  .rv-who-wrap { padding: 104px 24px 96px; }
  .rv-who-top { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .rv-who h2 { font-size: 3.25rem; }
  .rv-who-btns { margin-top: 36px; }
  .rv-who-lead { font-size: 1.75rem; }
  .rv-who-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 80px; }
  .rv-who-facts b { font-size: 2.6rem; }
}
@media (max-width: 1023px) { .rv-who-head { display: contents; } .rv-who-btns { order: 3; margin-top: 4px; } }
@media (max-width: 640px) { .rv-who-btns a { width: 100%; } }

/* ---------- 4. Why Crown Pavilions grid with seven points (Smart AC added) ---------- */
.rv-usp-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
.rv-usp-grid > div { flex: 1 1 100%; max-width: 420px; }
@media (min-width: 640px) { .rv-usp-grid > div { flex-basis: calc(50% - 12px); } }
@media (min-width: 1024px) { .rv-usp-grid > div { flex-basis: calc(25% - 18px); } }

/* ---------- 5. Mega menu: photo cards on the dark header colour ---------- */
.rv-mm-body { background: var(--rv-forest-dark); color: var(--rv-alabaster); box-shadow: 0 24px 50px rgba(0,0,0,.35); border-bottom: 1px solid rgba(205,172,78,.3); }
.rv-mm-wrap { max-width: var(--rv-wrap); margin: 0 auto; padding: 22px 24px 18px; }
.rv-mm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rv-mm-head h3, .rv-mm-head .rv-mm-h { margin: 0; font: 400 1.375rem/1 var(--rv-optima); color: #fff; }
.rv-mm-head a { font: 500 .85rem/1 var(--rv-mont); color: var(--rv-gold); text-decoration: underline; text-underline-offset: 4px; }
.rv-mm-head a:hover { color: #fff; }
.rv-mm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rv-mm-cards.rv-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.rv-mm-card { display: block; color: inherit; text-decoration: none; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: border-color .2s, background .2s; }
.rv-mm-card:hover, .rv-mm-card:focus-visible { border-color: rgba(205,172,78,.7); background: rgba(255,255,255,.07); outline: none; }
.rv-mm-ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: rgba(0,0,0,.2); }
.rv-mm-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-mm-nm { display: block; padding: 10px 12px 0; font: 600 .95rem/1.2 var(--rv-mont); color: #fff; }
.rv-mm-ds { display: block; padding: 3px 12px 0; font: 400 .78rem/1.4 var(--rv-mont); color: rgba(255,255,255,.68); }
.rv-mm-pr { display: block; padding: 8px 12px 12px; font: 600 .85rem/1.3 var(--rv-mont); color: var(--rv-gold); }
.rv-mm-pr em { display: block; font: 400 .72rem/1.3 var(--rv-mont); font-style: normal; color: rgba(255,255,255,.6); }
/* equal-height menu cards, prices aligned along the bottom (Luke, 8 Oct 2026) */
.rv-mm-cards > li { display: flex; }
.rv-mm-card { flex: 1 1 auto; display: flex; flex-direction: column; }
.rv-mm-pr { margin-top: auto; }
.rv-mm-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.rv-mm-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.rv-mm-links span { font: 500 .78rem/1 var(--rv-mont); color: rgba(255,255,255,.5); }
.rv-mm-links a { font: 500 .82rem/1.4 var(--rv-mont); color: rgba(255,255,255,.88); text-decoration: none; }
.rv-mm-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.rv-mm-bespoke { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.rv-mm-bespoke img { width: 56px; height: 38px; object-fit: cover; display: block; }
.rv-mm-bespoke span { font: 400 .78rem/1.3 var(--rv-mont); color: rgba(255,255,255,.72); }
.rv-mm-bespoke b { display: block; color: #fff; font-weight: 600; }
.rv-mm-bespoke:hover b { color: var(--rv-gold); }
/* The three panels not rebuilt (Gallery, Bespoke, About) take the same dark skin so the menu reads as one. */
.mega-panel .bg-white { background: var(--rv-forest-dark); }
.mega-panel .text-charcoal { color: #fff; }
.mega-panel .text-charcoal\/50, .mega-panel .text-charcoal\/60 { color: rgba(255,255,255,.68); }
.mega-panel .text-charcoal\/40 { color: rgba(255,255,255,.5); }
.mega-panel .bg-charcoal\/30 { background: rgba(255,255,255,.4); }
.mega-panel .hover\:bg-alabaster:hover { background: rgba(255,255,255,.08); }
.mega-panel .bg-alabaster { background: rgba(255,255,255,.06); }
.mega-panel .text-forest { color: var(--rv-gold); }
.mega-panel .border-parchment\/10 { border-color: rgba(205,172,78,.3); }
.mega-panel .group-hover\/link\:text-forest:hover { color: #fff; }

/* ---------- 6. Sticky mobile action bar (Hassan prototype) ---------- */
.rv-mbar { display: none; }
@media (max-width: 1023px) {
  .rv-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 8px; background: #fff; border-top: 1px solid var(--rv-parchment); box-shadow: 0 -6px 18px rgba(13,42,30,.12); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .3s ease; }
  .rv-mbar.is-on { transform: none; }
  body.rv-mbar-on { padding-bottom: 72px; }
  .rv-mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; font: 600 .8rem/1 var(--rv-mont); border: 1px solid var(--rv-forest); color: var(--rv-forest); text-decoration: none; }
  .rv-mbar .rv-mbar-call { width: 46px; padding: 0; }
  .rv-mbar svg { width: 20px; height: 20px; }
  .rv-mbar .rv-mbar-book { background: var(--rv-forest); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .rv-mbar { transition: none; } }

/* ---------- 7. Product gallery: full image on top, thumbnails below, zoomable popup ---------- */
.rv-gal { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 100%; }
div:has(> .rv-gal) { min-width: 0; }
.rv-gal-stage { position: relative; background: var(--rv-alabaster); aspect-ratio: 5 / 4; overflow: hidden; }
.rv-gal-main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.rv-gal-main:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: -2px; }
.rv-gal-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rv-gal-video, .rv-gal-count { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(18,54,39,.86); color: var(--rv-alabaster); font: 500 .8rem/1 var(--rv-mont); padding: 9px 12px; border: 0; }
.rv-gal-video { left: 14px; cursor: pointer; }
.rv-gal-video:hover { background: var(--rv-forest); }
.rv-gal-video svg { width: 14px; height: 14px; }
.rv-gal-count { right: 14px; font-size: .75rem; }
.rv-gal-thumbs { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rv-gal-thumbs li { flex: 0 0 calc((100% - 40px) / 6); scroll-snap-align: start; }
@media (max-width: 640px) { .rv-gal-thumbs li { flex-basis: calc((100% - 24px) / 4); } }
.rv-gal-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; background: var(--rv-alabaster); cursor: pointer; aspect-ratio: 5 / 4; overflow: hidden; opacity: .72; transition: opacity .2s, border-color .2s; }
.rv-gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-gal-thumbs button:hover, .rv-gal-thumbs button:focus-visible { opacity: 1; outline: none; }
.rv-gal-thumbs button[aria-pressed="true"] { border-color: var(--rv-gold); opacity: 1; }

.rv-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,24,18,.95); display: flex; flex-direction: column; }
.rv-lb[hidden] { display: none; }
.rv-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--rv-alabaster); font: 500 .85rem/1 var(--rv-mont); }
.rv-lb-tools { display: flex; gap: 6px; }
.rv-lb-tools button, .rv-lb-nav { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); background: rgba(13,42,30,.6); color: var(--rv-alabaster); cursor: pointer; font: 600 1.1rem/1 var(--rv-mont); }
.rv-lb-tools button:hover, .rv-lb-nav:hover { border-color: var(--rv-gold); color: var(--rv-gold); }
.rv-lb-tools button:focus-visible, .rv-lb-nav:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 2px; }
.rv-lb-tools svg { width: 18px; height: 18px; }
.rv-lb-view { flex: 1; overflow: hidden; position: relative; touch-action: none; }
.rv-lb-view img { position: absolute; left: 50%; top: 50%; max-width: 100%; max-height: 100%; transform: translate(-50%, -50%) scale(var(--z, 1)) translate(var(--x, 0px), var(--y, 0px)); transform-origin: center; transition: transform .15s ease; user-select: none; -webkit-user-drag: none; }
.rv-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.rv-lb-prev { left: 12px; }
.rv-lb-next { right: 12px; }
@media (prefers-reduced-motion: reduce) { .rv-lb-view img { transition: none; } }

/* ---------- 8. Smokeless BBQ strip (gazebos page, replaces the intro) ---------- */
.rv-bbq { background: var(--rv-forest-dark); color: var(--rv-alabaster); }
.rv-bbq-in { max-width: var(--rv-wrap); margin: 0 auto; padding: 0 24px 24px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .rv-bbq-in { grid-template-columns: minmax(240px, 340px) 1fr auto; gap: 36px; padding: 0 24px; } }
.rv-bbq-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rv-bbq-tag { display: inline-block; margin-bottom: 8px; font: 600 .78rem/1 var(--rv-mont); color: var(--rv-gold); }
.rv-bbq h2 { margin: 0; font: 700 1.5rem/1.15 var(--rv-optima); color: #fff; }
.rv-bbq p { margin: 8px 0 0; font: 400 .95rem/1.55 var(--rv-mont); color: rgba(255,255,255,.78); max-width: 60ch; }
@media (min-width: 900px) { .rv-bbq-txt { padding: 24px 0; } }

/* ---------- 9. Our process, compact single row ---------- */
.rv-process { background: #fff; padding: 56px 24px; }
.rv-process-in { max-width: var(--rv-wrap); margin: 0 auto; }
.rv-process h2 { margin: 0; text-align: center; font: 700 2rem/1.1 var(--rv-optima); color: var(--rv-forest); }
.rv-process-lede { margin: 12px auto 0; text-align: center; max-width: 60ch; font: 400 1rem/1.6 var(--rv-mont); color: rgba(51,51,51,.72); }
.rv-process-grid { display: grid; gap: 24px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rv-step { position: relative; }
.rv-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-step-n { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--rv-forest); color: var(--rv-gold); font: 700 .9rem/1 var(--rv-optima); }
.rv-step h3 { margin: 14px 0 0; font: 700 1.1rem/1.2 var(--rv-optima); color: var(--rv-forest); }
.rv-step p { margin: 8px 0 0; font: 400 .875rem/1.55 var(--rv-mont); color: rgba(51,51,51,.72); }

/* ---------- 10. Garden rooms: three feature rows become one row ---------- */
.rv-trio { background: var(--rv-alabaster); padding: 56px 24px; }
.rv-trio-in { max-width: var(--rv-wrap); margin: 0 auto; }
.rv-trio-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rv-trio img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-trio h3 { margin: 14px 0 0; font: 700 1.2rem/1.2 var(--rv-optima); color: var(--rv-forest); }
.rv-trio p { margin: 8px 0 0; font: 400 .9rem/1.55 var(--rv-mont); color: rgba(51,51,51,.72); }

/* ---------- 11. Shelters: green "why choose" and the feature section's photo ---------- */
#pillars.rv-green { background: var(--rv-forest); }
#pillars.rv-green .text-forest { color: var(--rv-alabaster); }
#pillars.rv-green .text-charcoal\/70 { color: rgba(255,255,255,.75); }
#pillars.rv-green .bg-forest { background: rgba(255,255,255,.08); border: 1px solid rgba(205,172,78,.4); }
.rv-feature-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* ---------- 12. Collection tiles (Our / Other Collections) use the wide card photos ---------- */
.rv-col-img { aspect-ratio: 16 / 9 !important; }

/* ---------- 13. "Come and see it in person" band, between the reviews and the footer ----------
   Lighter forest than the footer (#1a4a35 vs #0d2a1e) with a gold rule between them, so the
   pale reviews block, this band and the footer read as three separate pieces. */
.rv-visit { background: #123627; color: var(--rv-alabaster); border-bottom: 3px solid var(--rv-gold); }
.rv-visit-wrap { max-width: 1240px; margin: 0 auto; padding: 72px 24px 0; }
.rv-visit-top { display: grid; gap: 40px; padding-bottom: 56px; }
.rv-visit h2 { margin: 0; font: 400 2.25rem/1.1 var(--rv-optima); color: #fff; letter-spacing: -.01em; }
.rv-visit-lede { margin: 16px 0 0; max-width: 46ch; font: 400 1.05rem/1.65 var(--rv-mont); color: rgba(255,255,255,.85); }
.rv-visit-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.rv-visit-book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; background: var(--rv-alabaster); color: var(--rv-forest); font: 600 1rem/1 var(--rv-mont); text-decoration: none; transition: background .2s; }
.rv-visit-book:hover { background: #fff; }
.rv-visit-alt { font: 500 1rem/1.4 var(--rv-mont); color: #fff; text-decoration: underline; text-decoration-color: var(--rv-gold); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.rv-visit-alt:hover { color: var(--rv-gold); }
.rv-visit-call { margin: 24px 0 0; font: 400 .95rem/1.5 var(--rv-mont); color: rgba(255,255,255,.8); }
.rv-visit-call a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.rv-visit-sites { border-left: 2px solid var(--rv-gold); padding-left: 24px; align-self: center; }
.rv-visit-sites h3 { margin: 0; font: 400 1.25rem/1.2 var(--rv-optima); color: #fff; }
.rv-visit-sites ul { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font: 400 .95rem/1.5 var(--rv-mont); color: rgba(255,255,255,.82); }
.rv-visit-tiles { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(205,172,78,.45); }
.rv-visit-tiles a { display: block; padding: 24px 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
.rv-visit-tiles li:last-child a { border-bottom: 0; }
.rv-visit-tiles b { display: block; font: 400 1.4rem/1.2 var(--rv-optima); color: #fff; transition: color .2s; }
.rv-visit-tiles span { display: block; margin-top: 6px; font: 400 .9rem/1.45 var(--rv-mont); color: rgba(255,255,255,.72); }
.rv-visit-tiles a:hover b, .rv-visit-tiles a:focus-visible b { color: var(--rv-gold); }
.rv-visit a:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 4px; }
@media (min-width: 1024px) {
  .rv-visit-wrap { padding-top: 96px; }
  .rv-visit-top { grid-template-columns: 7fr 5fr; gap: 80px; padding-bottom: 80px; }
  .rv-visit h2 { font-size: 3.25rem; }
  .rv-visit-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-visit-tiles a { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.12); height: 100%; }
  .rv-visit-tiles li:first-child a { border-left: 0; padding-left: 0; }
}

/* ---------- 14. Garden rooms menu: Heritage Collection beside the Signature Collection ---------- */
.rv-gr-split { display: grid; grid-template-columns: calc((100% - 56px) / 4) minmax(0, 1fr); gap: 28px; }
.rv-gr-sig .rv-gr-cards { gap: 14px; }
.rv-gr-col { display: flex; flex-direction: column; min-width: 0; }
.rv-gr-label { margin: 0 0 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 3px; }
.rv-gr-label b { font: 400 1.1rem/1.2 var(--rv-optima); color: #fff; }
.rv-gr-label span { font: 400 .78rem/1.3 var(--rv-mont); color: rgba(255,255,255,.62); }
.rv-gr-sig .rv-gr-label { border-top: 2px solid var(--rv-gold); padding-top: 9px; }
.rv-gr-sig .rv-gr-label b { color: var(--rv-gold); }
.rv-gr-col .rv-gr-cards { flex: 1 1 auto; grid-template-columns: minmax(0, 1fr); }
.rv-gr-sig .rv-gr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-gr-sig .rv-mm-card { border-color: rgba(205,172,78,.32); }

/* 15. Mega menu: "View all" sits bottom-left under the cards (9 Oct 2026). From the top-right corner the
   pointer had to cross the other menu tabs to reach it, which switched the menu. */
.rv-mm-all { flex: none; display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--rv-gold);
  font: 600 .82rem/1 var(--rv-mont); color: var(--rv-gold); text-decoration: none; transition: background-color .2s, color .2s; }
.rv-mm-all:hover, .rv-mm-all:focus-visible { background: var(--rv-gold); color: #10301f; }
.rv-mm-bar .rv-mm-links { flex: 1 1 auto; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.rv-mm-bar { justify-content: flex-start; }
.rv-mm-bar .rv-mm-bespoke { margin-left: auto; }

/* Collection headings in the garden rooms menu are links */
a.rv-gr-label { text-decoration: none; }
a.rv-gr-label b { transition: color .2s; }
a.rv-gr-label:hover b, a.rv-gr-label:focus-visible b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rv-gr-col:not(.rv-gr-sig) a.rv-gr-label:hover b { color: var(--rv-gold); }

/* 16. Floor plan popup: the plan now shows at its true shape (real sizes written into the page), with a
   paper margin so dimension labels never touch the screen edge. */
.pswp--floorplan .pswp__img { box-sizing: border-box; padding: clamp(14px, 3vw, 44px); object-fit: contain; }
body:has(.pswp--open) .rv-mbar { display: none; }

/* 16b. Product pages, desktop (25 Nov 2026): the price, finance, chips and drawing column is taller than the
   photo gallery, which left a large empty block under the thumbnails. The gallery column now stays in view
   (sticky under the header) while the right column scrolls, and lands level with its end. */
@media (min-width: 1024px) {
  .lg\:col-span-7:has(> [data-rv-gal]) { position: sticky; top: calc(var(--cp-hdr-h, 94px) + 64px); align-self: start; }
}

/* Garden Annexes menu, 3D configurator and aerial band, 30 Oct 2026 (bin/apply-annexes-nav-2026-10.py) */
#desktop-nav > div { max-width: none; gap: 0; }
#desktop-nav .mega-trigger { white-space: nowrap; }
@media (max-width: 1439px) { #desktop-nav .mega-trigger { padding-left: .5rem; padding-right: .5rem; font-size: .84rem; } }
@media (max-width: 1239px) { #desktop-nav > div { padding-left: 8px; padding-right: 8px; } #desktop-nav .mega-trigger { padding-left: .3rem; padding-right: .3rem; font-size: .74rem; gap: 2px; } #desktop-nav .mega-chevron { width: 11px; height: 11px; } }
.rv-mm-3d { flex: none; display: inline-flex; align-items: center; padding: 10px 18px; background: var(--rv-gold); color: #10301f; font: 600 .82rem/1.2 var(--rv-mont); text-decoration: none; }
.rv-mm-3d:hover, .rv-mm-3d:focus-visible { background: var(--rv-gold-dark); }
.rv-hdr-3d { text-decoration: none; }

.rv-3d { background: var(--rv-forest); color: var(--rv-alabaster); }
.rv-3d-in { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.rv-3d-in img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rv-3d h2 { font: 400 1.9rem/1.2 var(--rv-optima); color: #fff; margin: 0 0 10px; }
.rv-3d p { font: 400 1rem/1.6 var(--rv-mont); color: rgba(255,255,255,.85); margin: 0 0 20px; }
.rv-3d-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .rv-3d-in { grid-template-columns: 1fr; gap: 20px; padding: 32px 16px; } .rv-3d h2 { font-size: 1.55rem; } .rv-3d-btns .rv-btn { width: 100%; justify-content: center; } }

.rv-aerial figure { margin: 0; }
.rv-aerial img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 62%; display: block; }
.rv-aerial-txt { background: var(--rv-forest-dark); border-top: 1px solid rgba(205,172,78,.45); }
.rv-aerial-in { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.rv-aerial h2 { font: 400 2.1rem/1.2 var(--rv-optima); color: #fff; margin: 0 0 6px; }
.rv-aerial p { font: 400 1rem/1.5 var(--rv-mont); color: rgba(255,255,255,.85); margin: 0; max-width: 620px; }
@media (max-width: 767px) { .rv-aerial img { aspect-ratio: 4 / 3; max-height: none; } .rv-aerial-in { padding: 24px 16px; } .rv-aerial h2 { font-size: 1.6rem; } .rv-aerial .rv-3d-btns, .rv-aerial .rv-3d-btns .rv-btn { width: 100%; justify-content: center; } }

.rv-annex-gal { background: var(--rv-alabaster); }
.rv-annex-gal-in { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.rv-annex-gal h2 { font: 700 2rem/1.2 var(--rv-optima); color: var(--rv-forest); text-align: center; margin: 0 0 28px; }
.rv-annex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rv-annex-grid figure { margin: 0; overflow: hidden; }
.rv-annex-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rv-annex-cap { font: 400 .8rem/1.4 var(--rv-mont); color: rgba(51,51,51,.7); text-align: center; margin: 16px 0 0; }
@media (max-width: 767px) { .rv-annex-gal-in { padding: 40px 16px; } .rv-annex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.hx-photos.hx-photos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .hx-photos.hx-photos3 { grid-template-columns: 1fr; } }
@media (max-width: 1239px) { #desktop-nav .mega-chevron { display: none; } }
@media (max-width: 1099px) { #desktop-nav > div > a[href="/news/"] { display: none; } }

/* Small UX fixes, 30 Oct 2026 */
.rv-menu-book { display: flex; width: 100%; align-items: center; justify-content: center; padding: 12px 24px; background: var(--rv-gold); color: #10301f; font: 600 .875rem/1.2 var(--rv-mont); text-decoration: none; }
#mobile-menu .text-alabaster\/40 { color: rgba(255,255,255,.68); }
@media (max-width: 639px) {
  #cookie-consent { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 14px 16px; }
  #cookie-consent p { font-size: .8rem; line-height: 1.4; }
  footer ul a { display: inline-block; padding: 7px 0; }
  footer ul.space-y-3 > li + li { margin-top: 2px; }
}

/* jx: phone journey actions, 3 Nov 2026 (bin/apply-journey-actions-2026-11.py) */
.jx-actions{margin-top:1.25rem;font-family:var(--font-montserrat,sans-serif)}
.jx-actions--light{text-align:center;padding:2.5rem 0 .5rem}
.jx-heading{font-family:var(--font-optima,serif);font-size:1.6rem;color:#07281a;margin:0 0 .25rem}
.jx-price{font-size:1.35rem;font-weight:700;margin:0 0 .75rem;color:#07281a}
.jx-actions--dark .jx-price{color:#fff}
.jx-btns{display:flex;flex-wrap:wrap;gap:.6rem}
.jx-actions--light .jx-btns,.jx-btns--center{justify-content:center}
.jx-btns--center{margin-top:1.75rem}
.jx-btns--product{margin-top:1rem}
.jx-btns--hero{margin-top:1.25rem}
.jx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 1.25rem;font-size:15px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:opacity .2s}
.jx-btn:hover{opacity:.9}
.jx-btn--gold{background:#cdac4e;color:#07281a}
.jx-btn--line{border-color:currentColor;color:inherit}
.jx-actions--dark .jx-btn--line,.jx-btns--hero .jx-btn--line{color:#fff}
.jx-actions--light .jx-btn--line,.jx-btns--product .jx-btn--line,.jx-btn--line-dark{color:#07281a;border-color:#07281a}
.jx-more-link{display:inline-block;margin-top:.75rem;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.jx-actions--dark .jx-more-link{color:#e5e5e5}
.jx-actions--light .jx-more-link{color:#07281a}
@media(max-width:520px){.jx-btns .jx-btn{flex:1 1 100%}}
.jx-band{background:#fff;padding-bottom:2rem}
.jx-more{margin:.25rem 0 1.25rem;border-top:1px solid #d0d0d0;padding-top:.9rem}
.jx-more>summary{cursor:pointer;font-weight:600;color:#07281a;list-style:revert}
.jx-more[open]>summary{margin-bottom:1rem}
.jx-short .lead-form__card-sub,.jx-short .lead-form__card-body>svg{display:none}
.jx-short .lead-form__p-grid{gap:8px}
.jx-short .lead-form__card-body{padding:10px 12px;min-height:0}
.jx-closed{color:#a33;font-size:14px;margin:-8px 0 16px}
.jx-visit-grid{display:grid;gap:2.5rem}
@media(min-width:1024px){.jx-visit-grid{grid-template-columns:7fr 5fr}}
.jx-sites ul{list-style:none;padding:0;margin:1rem 0}
.jx-sites li{padding:.7rem 0;border-bottom:1px solid #e5e5e5;font-size:14px}
.jx-sites li a{display:block;font-weight:600;color:#07281a}
.jx-sites li span{color:#555}
@media(max-width:1023px){
  [data-jx-hero=short],[data-jx-hero=short] .hero-inner{min-height:0!important;height:auto!important}
  [data-jx-hero=short] .hero-inner{padding-top:2.5rem;padding-bottom:2rem}
  [data-jx-compact]{padding-top:1.25rem!important;padding-bottom:1.25rem!important}
  [data-jx-compact] a{padding:.9rem 1rem!important}
  [data-jx-compact] a p+p,[data-jx-compact] a>svg{display:none}
  [data-jx-compact] a h3{font-size:1rem;margin:0}
  [data-jx-compact] a p{margin:.15rem 0 0}
}

/* readability-2026-11 */
[data-variant=home] .hero-overlay,[data-variant=page] .hero-overlay,.hero-overlay{background:linear-gradient(to top,rgba(4,22,14,.86) 0%,rgba(4,22,14,.62) 32%,rgba(4,22,14,.28) 62%,rgba(0,0,0,.12) 100%)!important}
.hero-video-overlay{background:linear-gradient(to top,rgba(4,22,14,.84) 0%,rgba(4,22,14,.55) 35%,rgba(0,0,0,.18) 70%,rgba(0,0,0,.08) 100%)!important}
@media(max-width:767px){.hero-overlay,.hero-video-overlay{background:linear-gradient(to top,rgba(4,22,14,.9) 0%,rgba(4,22,14,.7) 40%,rgba(4,22,14,.35) 70%,rgba(0,0,0,.15) 100%)!important}}
#hero h1,#hero h2,#hero p,#hero nav,.hero-text,.hero-video-slide-heading,.hero-video-slide-subheading{text-shadow:0 1px 3px rgba(0,0,0,.55),0 2px 14px rgba(0,0,0,.35)}
.bg-gradient-to-t.from-forest\/80.via-transparent{--tw-gradient-via:rgba(7,40,26,.35)!important;background-image:linear-gradient(to top,rgba(7,40,26,.9),rgba(7,40,26,.35) 55%,transparent)!important}
.cp-usp-tight.py-16{padding-top:2.5rem;padding-bottom:2.5rem}
.cp-usp-tight .mb-12{margin-bottom:1.5rem}
.cp-usp-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}
.cp-usp-grid>div{padding:1rem .75rem!important;display:flex;flex-direction:column;align-items:center;text-align:center}
.cp-usp-grid>div>div:first-child{margin:0 auto .6rem!important;height:2.5rem!important;width:2.5rem!important}
.cp-usp-grid>div>div:first-child svg{height:1.25rem;width:1.25rem}
.cp-usp-grid h3{font-size:.875rem!important;line-height:1.3!important;font-family:Montserrat,sans-serif!important;font-weight:600!important;margin-top:0!important}
.cp-usp-grid p{font-size:.75rem!important;line-height:1.45!important;margin-top:.35rem!important}
.cp-usp-why p{display:none!important}
@media(min-width:768px){.cp-usp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(min-width:1024px){.cp-usp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1rem!important}.cp-usp-grid>div{padding:1.25rem 1rem!important}.cp-usp-grid h3{font-size:.9375rem!important}.cp-usp-grid p{font-size:.8125rem!important}}

/* Lord Alan Sugar testimonial: close the stacked gap on phones (8 Nov 2026) */
@media(max-width:1023px){
.celebrity-endorsement-b>div>div:first-child{padding-bottom:1rem!important}
.celebrity-endorsement-b>div>div:last-child{padding-top:0!important}
.celebrity-endorsement-b blockquote>div:first-child{margin-bottom:.25rem!important;line-height:1}
}

/* Competitor audit quick wins (11 Nov 2026) */
[data-cp-hdr-left] .cp-hdr-short { display: none; }
@media (max-width: 1279px) { [data-cp-hdr-left] { gap: 1rem !important; } [data-cp-hdr-left] .cp-hdr-long { display: none; } [data-cp-hdr-left] .cp-hdr-short { display: inline; } }
@media (max-width: 1100px) { [data-cp-hdr-left] [data-cp-hdr-phone] svg, [data-cp-hdr-left] [data-cp-hdr-visit] svg { display: none; } }
.cp-hero-h1 { margin: 0 0 .5rem; font-family: Montserrat, sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.88); }
@media (min-width: 1024px) { .cp-hero-h1 { font-size: .8125rem; } }
.cp-qw-short .lead-form__card-sub { display: none; }
.cp-qw-short .lead-form__p-grid { grid-template-columns: 1fr !important; }
.cp-base-note { margin: 1.75rem auto 0; max-width: 46rem; text-align: center; font: 500 .875rem/1.55 Montserrat, sans-serif; color: rgba(43,43,43,.78); }
.bg-forest .cp-base-note, .bg-charcoal .cp-base-note { color: rgba(255,255,255,.8); }
/* Included-as-standard grids after the ground screws tile left (11 Nov 2026): full rows only.
   15 tiles = 3 x 5 on phones and tablets, 5 x 3 on desktop; 14 tiles = 2 x 7, then 7 x 2. */
.exd-incl-grid.cp-n15, .cp-usp-grid.cp-n15 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.cp-n15 > div { padding-left: .5rem !important; padding-right: .5rem !important; }
@media (max-width: 639px) { .cp-n15 h3 { font-size: .8125rem !important; } }
@media (min-width: 1024px) { .exd-incl-grid.cp-n15, .cp-usp-grid.cp-n15 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.exd-incl-grid.cp-n14, .cp-usp-grid.cp-n14 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 1024px) { .exd-incl-grid.cp-n14, .cp-usp-grid.cp-n14 { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; } }
.cp-bgate { border: 0; padding: 0; margin: auto; position: fixed; inset: 0; height: fit-content; max-height: calc(100vh - 2rem); overflow: auto; max-width: 34rem; width: calc(100% - 2rem); background: #fff; color: #2b2b2b; }
.cp-bgate:not([open]) { display: none; }
.cp-bgate::backdrop { background: rgba(7,40,26,.6); }
.cp-bgate-in { position: relative; padding: 2rem 1.5rem 1.5rem; }
@media (min-width: 640px) { .cp-bgate-in { padding: 2.5rem 2.25rem 2rem; } }
.cp-bgate-x { position: absolute; top: .5rem; right: .75rem; font-size: 1.75rem; line-height: 1; background: none; border: 0; color: #07281a; cursor: pointer; padding: .25rem .5rem; }
.cp-bgate-eyebrow { margin: 0; font: 600 .75rem/1.2 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #a8893a; }
.cp-bgate h2 { margin: .35rem 0 .5rem; font-family: Optima, serif; font-size: 1.6rem; line-height: 1.15; color: #07281a; }
.cp-bgate-p { margin: 0 0 1.25rem; font: .9375rem/1.55 Montserrat, sans-serif; color: rgba(43,43,43,.75); }
.exd-stock, .exd-faq { margin: 3rem 0 0; }
.exd-stock h2, .exd-faq h2 { font-family: Optima, serif; font-size: clamp(1.5rem, 3vw, 2rem); color: #07281a; margin: 0 0 .5rem; }
.exd-stock > p { max-width: 44rem; color: rgba(43,43,43,.75); line-height: 1.6; margin: 0 0 1rem; }
.exd-stock-wrap { overflow-x: auto; }
.exd-stock-t { width: 100%; border-collapse: collapse; font: .9375rem/1.4 Montserrat, sans-serif; }
.exd-stock-t th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #07281a; border-bottom: 2px solid #07281a; padding: .6rem .75rem; }
.exd-stock-t td { border-bottom: 1px solid #e5e5e5; padding: .65rem .75rem; vertical-align: top; }
.exd-stock-t td small { display: block; color: rgba(43,43,43,.6); font-size: .8125rem; }
.exd-stock-t td a { color: #07281a; text-decoration: none; font-weight: 600; }
.exd-stock-t s { color: rgba(43,43,43,.55); }
.exd-stock-t b { color: #07281a; }
@media (max-width: 639px) { .exd-stock-t thead th:nth-child(2), .exd-stock-t td:nth-child(2) { display: none; } .exd-stock-t td, .exd-stock-t th { padding: .55rem .4rem; } }
.exd-faq-i { border-bottom: 1px solid #e5e5e5; padding: .9rem 0; max-width: 48rem; }
.exd-faq-i summary { cursor: pointer; font: 600 1rem/1.4 Montserrat, sans-serif; color: #07281a; }
.exd-faq-i p { margin: .5rem 0 0; line-height: 1.6; color: rgba(43,43,43,.8); }

/* Sticky header on desktop (Hassan, 12 Nov 2026): banner, top bar and main menu always visible from 1024px.
   On scroll the header goes compact (slim banner, 56px bar, smaller logo). The 125px spacer never changes,
   so nothing below moves (no layout shift). Mobile keeps its own behaviour. */
@media (min-width: 1024px) {
  #top-bar, #top-bar.is-hidden, #desktop-nav { transform: none !important; }
  #top-bar { transition: box-shadow .2s ease; }
  #top-bar > .exd-banner { transition: padding .2s ease; }
  #top-bar > div.h-20 { transition: height .2s ease; }
  #top-bar > div.h-20 > a.justify-self-center > * { transition: transform .2s ease; transform-origin: center; }
  #desktop-nav { top: var(--cp-hdr-h, 125px) !important; transition: top .2s ease; }
  html.cp-hdr-compact #top-bar { box-shadow: 0 2px 10px rgba(0,0,0,.18); }
  html.cp-hdr-compact #top-bar > .exd-banner { padding-top: .2rem; padding-bottom: .2rem; }
  html.cp-hdr-compact #top-bar > .exd-banner .exd-banner-s,
  html.cp-hdr-compact #top-bar > .exd-banner .exd-banner-e { display: none; }
  html.cp-hdr-compact #top-bar > .exd-banner .exd-banner-h { font-size: .9375rem; }
  html.cp-hdr-compact #top-bar > .exd-banner .exd-banner-c { padding: .1rem .5rem; font-size: .6875rem; }
  html.cp-hdr-compact #top-bar > div.h-20 { height: 3.5rem; }
  html.cp-hdr-compact #top-bar > div.h-20 > a.justify-self-center > * { transform: scale(.78); }
  html { scroll-padding-top: calc(var(--cp-hdr-h, 125px) + 60px); }
  [id] { scroll-margin-top: calc(var(--cp-hdr-h, 125px) + 60px); }
}
@media (min-width: 1024px) { #desktop-nav > div > a { white-space: nowrap; } }

/* Free consultation includes layout, 3D visual and fixed quote (Hassan, 12 Nov 2026). Site tokens only. */
.cp-consult-note { margin: .6rem 0 0; font-family: Montserrat, system-ui, sans-serif; font-size: .8125rem; line-height: 1.45; color: rgba(43,43,43,.75); }
.jx-btns--center + .cp-consult-note { text-align: center; }
.jx-btns--hero + .cp-consult-note { color: rgba(250,248,243,.9); }
.cp-cb-ctas + .cp-consult-note { margin-top: .75rem; }
.cp-consult-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .75rem; max-width: 44rem; }
.cp-consult-list li { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem; border: 1px solid rgba(205,172,78,.55); background: rgba(18,54,39,.55); text-align: left; }
.cp-consult-list b { font-family: Optima, "Optima nova", Candara, serif; font-size: 1.125rem; color: #cdac4e; }
.cp-consult-list span { font-family: Montserrat, system-ui, sans-serif; font-size: .875rem; line-height: 1.4; color: rgba(250,248,243,.9); }
@media (min-width: 768px) { .cp-consult-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 15 Nov 2026 QA fixes (Hassan's phone screenshots; bin/apply-qa-fixes-2026-11-15.py) ---------------------- */
/* Popup: above the header and offer bar, a clear labelled Close button, sticky bar hidden while open. */
.rv-lb { z-index: 10000; }
.rv-lb-bar { padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.rv-lb-tools .rv-lb-close { width: auto; min-width: 48px; height: 48px; padding: 0 16px; gap: 8px; border-color: var(--rv-gold); background: var(--rv-gold); color: #10301f; font: 700 .85rem/1 var(--rv-mont); letter-spacing: .04em; }
.rv-lb-tools .rv-lb-close::before { content: "Close"; }
html[lang="fr"] .rv-lb-tools .rv-lb-close::before { content: "Fermer"; }
.rv-lb-tools .rv-lb-close:hover { background: #d8b878; color: #10301f; }
.rv-lb-nav[hidden] { display: none; }
@media (max-width: 640px) { .rv-lb-tools .rv-lb-out, .rv-lb-tools .rv-lb-in, .rv-lb-tools .rv-lb-reset { display: none; } }
html.rv-lb-open .rv-mbar, html.rv-lb-open .cpc-btn, html.rv-lb-open #cookie-consent { display: none !important; }
.rv-lb { background: #123627; }

/* Bottom visit block, one tidy version: two buttons, call + brochure line, six show sites as links. */
.rv-visit-wrap { padding-bottom: 0; }
.rv-visit-actions { gap: 12px; }
/* Order (HQ gate 15 Nov, crown-cta-priority 6 Nov): free consultation gold first, show site visit outlined,
   brochure as a text link. To put visits first, swap the two <a> lines in bin/apply-qa-fixes-2026-11-15.py. */
.rv-visit-primary, .rv-visit-secondary { flex: 1 1 220px; max-width: 320px; text-align: center; }
.rv-visit-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--rv-gold); color: #10301f; font: 600 1rem/1 var(--rv-mont); text-decoration: none; transition: background .2s; }
.rv-visit-primary:hover { background: #d8b878; }
.rv-visit-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid rgba(255,255,255,.7); color: #fff; font: 600 1rem/1 var(--rv-mont); text-decoration: none; transition: border-color .2s, color .2s; }
.rv-visit-secondary:hover { border-color: var(--rv-gold); color: var(--rv-gold); }
.rv-visit-call a { white-space: nowrap; }
.rv-visit-sites ul { margin-bottom: 0; }
.rv-visit-sites li a { color: rgba(255,255,255,.9); text-decoration: none; display: inline-block; padding: 4px 0; }
.rv-visit-sites li a::after { content: " \203A"; color: var(--rv-gold); }
.rv-visit-sites li a:hover, .rv-visit-sites li a:focus-visible { color: var(--rv-gold); }
@media (max-width: 1023px) { .rv-visit-sites { border-left: 0; padding-left: 0; border-top: 1px solid rgba(205,172,78,.45); padding-top: 28px; } }

/* Range cards: monthly price leads, cash price second. */
.cp-card-mo { font-size: 1.375rem; line-height: 1.2; }
.cp-card-mo .cp-card-mo-u { font-size: .95rem; font-weight: 600; color: rgba(18,54,39,.6); }

/* Long e-mail addresses / links in page text widened two pages on phones (privacy policy, a news post),
   which dragged the sale banner and header past the screen edge. Let such words wrap. */
main :is(p, li, td, dd, a) { overflow-wrap: anywhere; }

/* Floating chat button never covers page text (HQ gate, 15 Nov 2026).
   Phones: the button shows only with the sticky bar, in a slot kept free at the bar's right end (so not at the
   very top of the page, nor in the bottom block / footer zone, which has call + consultation already). Desktop: the footer
   ends with enough space for the button. */
@media (max-width: 1023px) {
  .rv-mbar { padding-right: 84px; }
  body.rv-mbar-on .cpc-btn { bottom: calc(6px + env(safe-area-inset-bottom)) !important; right: 14px !important; }
  /* on phones the chat button lives in the bar: hidden at the very top, in the footer zone and in the popup */
  body:not(.rv-mbar-on) .cpc-btn { display: none !important; }
}
footer { padding-bottom: calc(5rem + 72px) !important; }
/* Creative r2 #1 (16 Nov 2026): the chat button is the small round 48px one at EVERY width (the wide "Questions? Chat with us" pill
   covered the "Book a visit" bar at 900px and text at 1440px), tucked into the bottom-right corner. crown-exdisplay.js (chatGuard)
   slides it out of the way while it sits over any page text. Phones: in the sticky bar slot (rule above), unchanged. */
.cpc-btn { right: 10px !important; bottom: 10px !important; padding: 8px !important; font-size: 0 !important; gap: 0 !important; width: 48px !important; height: 48px !important; min-width: 0 !important; justify-content: center !important; }
.cpc-btn img { width: 32px !important; height: 32px !important; }
@media (max-width: 1023px) { body.rv-mbar-on .cpc-btn { bottom: calc(10px + env(safe-area-inset-bottom)) !important; right: 12px !important; } }

/* ==== Home polish (Hassan, 15 Nov 2026) ===================================================== */
/* 1. Mega menus light and bright: cream panel, green text, photos at full strength, a short shade only
   behind labels. Dark panels and dimmed photos put people off. */
.rv-mm-body, .mega-panel .bg-white { background: var(--rv-alabaster); color: #1f2a24; box-shadow: 0 24px 50px rgba(13,42,30,.18); border-bottom: 1px solid rgba(18,54,39,.12); }
.rv-mm-head h3, .rv-mm-head .rv-mm-h, .rv-gr-label b, .rv-mm-nm, .rv-mm-bespoke b { color: var(--rv-forest); }
.rv-mm-head a { color: var(--rv-forest); }
.rv-mm-head a:hover, .rv-mm-bespoke:hover b { color: var(--rv-gold-dark); }
.rv-mm-card { background: #fff; border-color: rgba(18,54,39,.1); }
.rv-mm-card:hover, .rv-mm-card:focus-visible { background: #fff; border-color: var(--rv-gold); box-shadow: 0 8px 24px rgba(13,42,30,.12); }
.rv-mm-ph { background: #e5e5e5; }
.rv-mm-ds, .rv-gr-label span, .rv-mm-bespoke span { color: rgba(31,42,36,.66); }
.rv-mm-pr { color: #7d6227; }
.rv-mm-pr em { color: rgba(31,42,36,.6); }
.rv-mm-bar { border-top-color: rgba(18,54,39,.12); }
.rv-mm-bar .rv-mm-links { border-left-color: rgba(18,54,39,.14); }
.rv-mm-links span { color: rgba(31,42,36,.5); }
.rv-mm-links a { color: var(--rv-forest); }
.rv-mm-links a:hover { color: var(--rv-forest); }
.rv-gr-label { border-top-color: rgba(18,54,39,.16); }
.rv-gr-sig .rv-gr-label b { color: #7d6227; }
.rv-mm-all { color: var(--rv-forest); border-color: var(--rv-forest); }
.rv-mm-all:hover, .rv-mm-all:focus-visible { background: var(--rv-forest); color: #fff; }
.mega-panel .text-charcoal { color: #1f2a24; }
.mega-panel .text-charcoal\/50, .mega-panel .text-charcoal\/60 { color: rgba(31,42,36,.62); }
.mega-panel .text-charcoal\/40 { color: rgba(31,42,36,.5); }
.mega-panel .bg-charcoal\/30 { background: rgba(31,42,36,.3); }
.mega-panel .hover\:bg-alabaster:hover { background: rgba(18,54,39,.05); }
.mega-panel .bg-alabaster { background: rgba(18,54,39,.04); }
.mega-panel .text-forest, .mega-panel .group-hover\/link\:text-forest:hover { color: var(--rv-forest); }
.mega-panel .border-parchment\/10, .mega-panel .border-parchment\/20 { border-color: rgba(18,54,39,.12); }
.mega-panel .text-gold { color: #7d6227; }
.mega-panel :is(.group\/gal, .group\/cat) .text-gold { color: #fff; }
.mega-panel .group\/promo { background: var(--rv-forest); }
.mega-panel .group\/promo .text-gold { color: var(--rv-gold); }
.mega-panel img { opacity: 1 !important; }
.mega-panel .bg-gradient-to-t { background: linear-gradient(to top, rgba(10,32,23,.72) 0%, rgba(10,32,23,.28) 30%, rgba(10,32,23,0) 55%) !important; }
.mega-panel .group\/promo .absolute.bg-gold { display: none; }   /* empty-looking gold badge on the menu photo */
.mega-gallery .grid { background: var(--rv-alabaster); }
/* Ex-display: one text link in the menu's link row (no boxes) */
.exd-mm-txt { font: 600 .82rem/1.4 var(--rv-mont); color: #7d6227 !important; text-decoration: underline; text-underline-offset: 4px; }
.exd-mm-wrap, .exd-mm-mob, .exd-mm-btn { display: none !important; }

/* 2. Selling points first: a strip straight under the hero (home, garden rooms) */
.rv-usps { background: var(--rv-forest); border-bottom: 1px solid rgba(205,172,78,.35); }
.rv-usps-in { list-style: none; margin: 0 auto; padding: 18px 24px; max-width: var(--rv-wrap); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 22px; }
.rv-usps li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.78); font: 400 .82rem/1.35 var(--rv-mont); }
.rv-usps svg { flex: none; width: 20px; height: 20px; color: var(--rv-gold); margin-top: 1px; }
.rv-usps b { display: block; font: 600 1rem/1.25 var(--rv-mont); color: #fff; margin-bottom: 2px; }
@media (max-width: 1100px) { .rv-usps-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rv-usps-in { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px 14px; } .rv-usps li:last-child { grid-column: 1 / -1; } .rv-usps b { font-size: .92rem; } .rv-usps li { font-size: .76rem; } }

/* 3. Hero photos stay bright: shade only low behind the words, plus a soft text shadow */
.hero-video-overlay { background: linear-gradient(to top, rgba(4,22,14,.6) 0%, rgba(4,22,14,.28) 28%, rgba(4,22,14,0) 52%) !important; }
@media (max-width: 767px) { .hero-overlay, .hero-video-overlay { background: linear-gradient(to top, rgba(4,22,14,.78) 0%, rgba(4,22,14,.4) 34%, rgba(4,22,14,0) 60%) !important; } }
.hero-video-slides h1, .hero-video-slides h2, .hero-video-slides p { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* 4. Lifestyle cards: the whole photo shows, words sit underneath it, never on it */
#uses-grid-items > a:not(.hidden) { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(18,54,39,.1); }
#uses-grid-items > a > figure { aspect-ratio: 4 / 3; }
#uses-grid-items > a > .absolute.inset-0 { position: static; inset: auto; background: none; padding: 16px 18px 20px; justify-content: flex-start; }
#uses-grid-items > a > .absolute.inset-0 h3 { color: var(--rv-forest); }
#uses-grid-items > a > .absolute.inset-0 p { color: rgba(31,42,36,.7); }

/* 5. Five-up feature rows: 3 + 2 centred, never one card alone on a row */
#pillars .cp-usp-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
#pillars .cp-usp-grid > div { flex: 0 1 calc((100% - 64px) / 3); }
@media (max-width: 1023px) { #pillars .cp-usp-grid > div { flex-basis: calc((100% - 32px) / 2); } }
@media (max-width: 640px) { #pillars .cp-usp-grid > div { flex-basis: 100%; } }

#pillars .cp-usp-grid { gap: 28px !important; }
#pillars .cp-usp-grid > div { background: #fff; border: 1px solid rgba(18,54,39,.1); padding: 30px 26px !important; }
#pillars .cp-usp-grid > div > div:first-child { width: 3.5rem !important; height: 3.5rem !important; }
#pillars .cp-usp-grid > div > div:first-child svg { width: 1.6rem; height: 1.6rem; }

/* 6. Wooden / Large / Outdoor garden rooms: three equal cards, aligned */
#garden-room-types .max-w-3xl { max-width: var(--rv-wrap); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#garden-room-types .max-w-3xl > div { margin: 0; background: #fff; border: 1px solid rgba(18,54,39,.1); padding: 28px; }
#garden-room-types .max-w-3xl h2 { font-size: 1.75rem; line-height: 1.2; }
@media (max-width: 1023px) { #garden-room-types .max-w-3xl { grid-template-columns: 1fr; max-width: 760px; } }

/* 7. Footer finance block: no short gold line, heading level with the text */
#footer-finance-heading { margin-top: 0; }
section[aria-labelledby="footer-finance-heading"] .lg\:col-span-3 > .h-px { display: none; }

/* 8. No short gold accent lines anywhere (Hassan's rule) */
span.h-px.bg-gold, span.h-px.w-6, span.h-px.w-8, div.h-px.w-8 { display: none !important; }

/* 9. Buttons on hero photos: crisp text on flat colour. The hero text shadow must not reach buttons
   (Hassan, 15 Nov 2026: "the shade behind book a free consultation doesn't look good"). */
:is(#hero, .hero-text, .hero-video, .hero-video-slides, [class*="hero"]) :is(a, button),
:is(a, button):is([class*="bg-gold"], [class*="btn"]), :is(a, button)[class*="btn"] * { text-shadow: none !important; }

/* 10. Hero words never sit on the building (rule never-cover-buildings, HQ gate 15 Nov 2026): the photo or
   video fills the top, the words sit in a green band underneath it. No shade on the photo at all. */
.hero-video { --rv-band: 150px; }
.hero-video .hero-video-poster, .hero-video .hero-video-el, .hero-video .hero-video-overlay { top: 0 !important; bottom: auto !important; height: calc(100% - var(--rv-band)) !important; }
.hero-video .hero-video-overlay { background: none !important; }
.hero-video .hero-video-inner { padding-bottom: 20px !important; }
.hero-video .hero-video-slides { min-height: calc(var(--rv-band) - 40px); align-content: end; }
.hero-video .hero-video-slides h1, .hero-video .hero-video-slides h2, .hero-video .hero-video-slides p, .hero-video .hero-text { text-shadow: none !important; }
.hero-video .hero-video-slide-heading { font-size: clamp(2rem, 2.6vw, 2.75rem) !important; line-height: 1.12 !important; }
.hero-video .hero-video-slides { max-width: 900px !important; }
@media (max-width: 767px) { .hero-video { --rv-band: 250px; } .hero-video .hero-video-slide-heading { font-size: 1.75rem !important; } }

/* 11. Gallery menu: bright photos with the label underneath, no shade on the photo */
.mega-gallery .grid { height: auto !important; gap: 12px !important; padding: 16px 24px 4px; background: var(--rv-alabaster) !important; }
.mega-gallery a.mega-item { display: flex !important; flex-direction: column; background: #fff !important; border: 1px solid rgba(18,54,39,.1); }
.mega-gallery a.mega-item > img { position: static !important; height: 210px !important; width: 100%; object-fit: cover; }
.mega-gallery a.mega-item > div.absolute.inset-0 { display: none !important; }
.mega-gallery a.mega-item > .absolute.bottom-0 { position: static !important; padding: 10px 12px 12px !important; }
.mega-gallery a.mega-item > .absolute.bottom-0 p { color: var(--rv-forest) !important; }
.mega-gallery a.mega-item > .absolute.bottom-0 span { color: #333 !important; opacity: 1 !important; }

/* 12. Small text on light backgrounds in charcoal, not gold (contrast) */
.cst-card figcaption a { color: #333 !important; }
.comparison-cta .text-charcoal\/50 { color: #333 !important; }

/* 13. Selling-points strip: no single word left alone on a line */
.rv-usps li span { text-wrap: pretty; }

/* 14. HQ critic round 2 (16 Nov 2026) */
/* numbers in Montserrat; no gold rule above the facts */
.rv-who-facts li { border-top: 1px solid rgba(18,54,39,.14); }
.rv-who-facts b { font-family: var(--rv-mont) !important; font-weight: 700; letter-spacing: -.01em; }
/* selling-points strip on alabaster */
.rv-usps { background: var(--rv-alabaster); border-bottom: 1px solid rgba(18,54,39,.12); }
.rv-usps li { color: rgba(31,42,36,.72); }
.rv-usps b { color: var(--rv-forest); }
.rv-usps svg { color: #7d6227; }
/* lighter hero band on phones */
@media (max-width: 767px) { .hero-video { --rv-band: 184px; } .hero-video .hero-video-inner { padding-bottom: 18px !important; } .hero-video .hero-video-slides p { font-size: .95rem; } }
/* hero video controls to the top right of the photo, clear of the chat button */
@media (min-width: 500px) { .hero-video .absolute.top-4.right-3 { top: 16px !important; bottom: auto !important; } }
/* footer: email inside the column; finance block on the footer's own left edge */
footer address a[href^="mailto:"] { font-size: .875rem; overflow-wrap: anywhere; }
/* 19 Nov run 3: at 1024-1279 the contact column was 123 px and the email broke mid-word; the contact column takes one column from the brand column */
@media (min-width: 1024px) and (max-width: 1439px) { footer .grid > .lg\:col-span-4 { grid-column: span 3 / span 3; } footer .grid > div:has(> address) { grid-column: span 3 / span 3; } }
@media (min-width: 1024px) { footer address a[href^="mailto:"] { overflow-wrap: normal; white-space: nowrap; } }
section[aria-labelledby="footer-finance-heading"] > .grid { display: block !important; }
section[aria-labelledby="footer-finance-heading"] > .grid > div + div { margin-top: 10px; }
section[aria-labelledby="footer-finance-heading"] p { max-width: 960px; }
/* package specs stack on phones */
@media (max-width: 640px) { .columns-2 { columns: auto !important; column-count: auto !important; column-width: auto !important; } }

/* Home polish 15: Heritage card photo (golf club) keeps its left roof edge clear in the menu and model cards */
img[src="https://pub-eea37394922349a894dea17a3fa591cf.r2.dev/Images/cards/heritage.webp"] { object-position: 25% 50%; }

/* Home polish 16: About menu tile shows the whole building, label in a strip below (critic r1 fix 1-2). Scoped to the About panel only. */
.mega-panel[data-panel="about"] a.group\/cat { display: flex !important; flex-direction: column; justify-content: flex-start; background: var(--rv-alabaster, #e5e5e5); }
.mega-panel[data-panel="about"] a.group\/cat > img { position: static !important; height: auto !important; aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transform: none !important; flex: none; }
.mega-panel[data-panel="about"] a.group\/cat > div.absolute.inset-0 { display: none !important; }
.mega-panel[data-panel="about"] a.group\/cat > .absolute.bottom-0 { position: static !important; padding: 14px 16px 16px !important; }
.mega-panel[data-panel="about"] a.group\/cat > .absolute.bottom-0 p { color: var(--rv-forest, #07281a) !important; }
.mega-panel[data-panel="about"] a.group\/cat > .absolute.bottom-0 span { color: #333 !important; }

/* Home polish 18: Bespoke menu tile shows the whole pavilion, label in a strip below (same pattern as the About tile). Scoped to the Bespoke panel only. */
.mega-panel[data-panel="bespoke"] a.group\/cat { display: flex !important; flex-direction: column; justify-content: flex-start; background: var(--rv-alabaster, #e5e5e5); }
.mega-panel[data-panel="bespoke"] a.group\/cat > img { position: static !important; height: auto !important; aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transform: none !important; flex: none; }
.mega-panel[data-panel="bespoke"] a.group\/cat > div.absolute.inset-0 { display: none !important; }
.mega-panel[data-panel="bespoke"] a.group\/cat > .absolute.bottom-0 { position: static !important; padding: 14px 16px 16px !important; }
.mega-panel[data-panel="bespoke"] a.group\/cat > .absolute.bottom-0 p { color: var(--rv-forest, #07281a) !important; }
.mega-panel[data-panel="bespoke"] a.group\/cat > .absolute.bottom-0 span { color: #333 !important; }

/* Home polish 19: hero band tight to its words, equal padding above and below each slide (Hassan, 16 Nov 2026: "no unnecessary blank areas").
   Band = tallest slide + 2 x pad; every slide is centred in it, so no slide carries a big empty green gap above it. */
.hero-video { --rv-pad: 16px; --rv-band: 150px; }
.hero-video .hero-video-inner { padding-bottom: var(--rv-pad) !important; }
.hero-video .hero-video-slides { min-height: calc(var(--rv-band) - 2 * var(--rv-pad)) !important; align-content: center; }
.hero-video .hero-video-slides > .hero-video-slide { align-self: center; }
@media (max-width: 767px) {
  .hero-video { --rv-band: 152px; }
  .hero-video .hero-video-slide-heading { font-size: 1.5rem !important; }
  .hero-video .hero-video-slides p { font-size: .9rem; }
}

/* Home polish 20: About and Bespoke menus, no blank areas. Row height = the link list; the tile photo grows to fill the column
   (label strip stays under it) and the right-hand promo photo grows so its words and link sit together under it. */
.mega-panel[data-panel="about"] .grid.min-h-\[320px\], .mega-panel[data-panel="bespoke"] .grid.min-h-\[320px\] { min-height: 0 !important; }
.mega-panel[data-panel="about"] a.group\/cat > img { object-position: 20% 50%; }
.mega-panel[data-panel="about"] a.group\/cat > img, .mega-panel[data-panel="bespoke"] a.group\/cat > img { aspect-ratio: auto; flex: 1 1 0; min-height: 150px; height: 0 !important; }
.mega-panel[data-panel="about"] a.group\/promo > div.relative.h-40, .mega-panel[data-panel="bespoke"] a.group\/promo > div.relative.h-40 { height: auto !important; flex: 1 1 140px; min-height: 140px; }
.mega-panel[data-panel="about"] a.group\/promo > div.flex-1, .mega-panel[data-panel="bespoke"] a.group\/promo > div.flex-1 { flex: none; justify-content: flex-start; }

/* Home polish 21: model-menu and Gallery-menu cards have no spare space under their words.
   A card with no price line (Smokeless BBQ) has an empty price slot, now filled with a gold link line; Gallery labels stay on one line so all six cards match. */
.rv-mm-pr:empty::after { content: "View the collection"; }
.mega-gallery a.mega-item > .absolute.bottom-0 p { font-size: .9rem !important; letter-spacing: -.005em; white-space: nowrap; }

/* Home polish 22: the site-footer padding rule had hit every <footer>, including the name line under a quote
   (Lord Alan Sugar band: 152px of empty green under the quote). Quote footers keep their own small spacing. */
blockquote footer, figure footer, article footer { padding-bottom: 0 !important; }

/* Home polish 23: "Handmade garden buildings since 2006" section: padding trimmed so its gaps match the other sections */
.rv-who-wrap { padding: 56px 24px 52px; }
@media (min-width: 1024px) { .rv-who-wrap { padding: 72px 24px 72px; } .rv-who-facts { margin-top: 56px; } }

/* Home polish 24: review cards size to their words (Hassan, 16 Nov 2026: "the first 3 are half empty areas").
   Quotes are grouped three to a slide by length; each card ends under its own name line, and cards of one slide
   are matched to the tallest of that slide (script in crown-revisions.js) so a slide reads as an even set. */
.cst-track { align-items: start; overflow-y: hidden; transition: height .25s ease; }
.cst-track > .cst-card { height: auto; }
.cst-track .cst-card blockquote { flex: none; }
.cst-track .cst-card figcaption { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .cst-track { transition: none; } }

/* Home polish 25: hero band follows the slide on show (Hassan, 16 Nov 2026: spare green below the line on phones).
   crown-revisions.js sets --rv-band on the hero to the slide's own height plus equal padding above and below. */
@media (prefers-reduced-motion: reduce) { .hero-video .hero-video-poster, .hero-video .hero-video-el, .hero-video .hero-video-overlay { transition: none; } }
@media (max-width: 767px) { .hero-video { --rv-pad: 20px; } }
.hero-video .hero-video-slides { position: relative; }
.hero-video .hero-video-slides { width: 100%; }
.hero-video .hero-video-slides > .hero-video-slide[aria-hidden="true"] { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }
/* Hotfix 18 Nov: the slide box keeps its full width while slides swap (it collapsed to 0 and the words stacked as single letters). */

/* Home polish 26: desktop hero band earns its width (Hassan, 16 Nov 2026): name and line on the left, three proof points
   and the consultation button on the right, one row. Words stay in the green band under the photo. Narrow screens (under 1180px) hide the row. */
.rv-hero-proof { display: none; }
@media (min-width: 1180px) {
  .hero-video .hero-video-inner { align-items: flex-end; }
  .rv-hero-proof { display: flex; align-items: center; gap: 32px; margin-left: auto; padding-left: 32px; min-height: calc(var(--rv-band) - 2 * var(--rv-pad)); position: relative; z-index: 2; }
  .rv-hero-proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .rv-hero-proof li { display: flex; align-items: center; gap: 10px; font: 500 .9rem/1.3 var(--rv-mont); color: var(--rv-alabaster); white-space: nowrap; }
  .rv-hero-proof li svg { width: 16px; height: 16px; flex: none; color: var(--rv-gold); }
  .rv-hero-proof .rv-btn { white-space: nowrap; text-shadow: none; }
}
@media (min-width: 1180px) and (max-width: 1359px) { .rv-hero-proof { gap: 20px; padding-left: 16px; } .rv-hero-proof li { font-size: .8rem; } .rv-hero-proof .rv-btn { padding: 12px 16px; font-size: .85rem; } }

/* Home polish 27: phone sliders (Hassan, 16 Nov 2026: long stacks become one card per view). Apply with data-rv-slider on a
   grid; under 768px it becomes a swipe row (scroll-snap) with previous/next buttons, dots and an "n of N" count, built by
   crown-revisions.js. All card text stays in the page HTML. Desktop layout is untouched. */
.rv-sl-ctl { display: none; }
@media (max-width: 767px) {
  [data-rv-slider] { display: flex !important; flex-wrap: nowrap !important; gap: 16px !important; align-items: flex-start !important; justify-content: flex-start !important;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; overscroll-behavior-x: contain; transition: height .25s ease; }
  /* Slider hotfix 25 Nov 2026 (Hassan: "showing 4th page and taps on arrow isn't working"): crown-exdisplay.css loads later with
     .exd-incl-grid { display: grid !important }, so the Included as standard track stayed a grid; with the crown-tokens
     grid-template-columns: none (21 Nov) its pages stacked, nothing could scroll and the pager read "4 of 4". The id-weighted
     :not() keeps every slider track a swipe row whatever grid class it carries. */
  [data-rv-slider]:not(#rv-sl) { display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; }
  [data-rv-slider]::-webkit-scrollbar { display: none; }
  [data-rv-slider] > * { flex: 0 0 100% !important; max-width: 100% !important; min-width: 0; margin: 0 !important; scroll-snap-align: start; scroll-snap-stop: always;
    opacity: 1 !important; transform: none !important; transition: none; box-sizing: border-box; }
  [data-rv-slider]:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 4px; }
  .rv-sl-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
  .rv-sl-ctl[hidden] { display: none; }
  .rv-sl-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
  .rv-sl-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
  .rv-sl-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .rv-sl-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(18,54,39,.28); transition: background .2s, transform .2s; }
  .rv-sl-dot[aria-current="true"]::before { background: var(--rv-forest); transform: scale(1.25); }
  .rv-sl-count { font: 500 .8rem/1 var(--rv-mont); color: rgba(51,51,51,.8); }
  .rv-sl-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rv-forest); background: var(--rv-forest); color: var(--rv-gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-shadow: none; }
  .rv-sl-btn svg { width: 18px; height: 18px; }
  .rv-sl-btn:disabled { opacity: .35; cursor: default; }
  .rv-sl-btn:focus-visible, .rv-sl-dot:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 2px; }
  .rv-sl-dark .rv-sl-btn { background: var(--rv-gold); border-color: var(--rv-gold); color: var(--rv-forest); }
  .rv-sl-dark .rv-sl-dot::before { background: rgba(255,255,255,.4); }
  .rv-sl-dark .rv-sl-dot[aria-current="true"]::before { background: var(--rv-gold); }
  .rv-sl-dark .rv-sl-count { color: rgba(255,255,255,.85); }
}
@media (prefers-reduced-motion: reduce) { [data-rv-slider] { transition: none; } .rv-sl-dot::before { transition: none; } }

/* SEO 4 (16 Nov 2026): img width/height attributes only reserve the aspect ratio for article images */
img[class*="wp-image-"] { width: auto; height: auto; max-width: 100%; }

/* Interim fix 3 (Hassan 16 Nov): collections are never sliders. Phones: every card visible, tight stack. Desktop unchanged. */
@media (max-width: 767px) {
  .rv-col-compact { gap: 20px !important; margin-top: 28px !important; }
  .rv-col-compact .rv-col-img { aspect-ratio: 16 / 9 !important; }
  .rv-col-compact figure + div { margin-top: 10px !important; }
  .rv-col-compact h3 { font-size: 1.3rem; line-height: 1.2; }
  .rv-col-compact p { margin-top: 6px !important; font-size: .9rem; line-height: 1.45; }
  .rv-col-compact span.inline-flex { margin-top: 8px !important; }
}

/* Interim fix 4 (Hassan 16 Nov): USP and feature sliders show 4 per phone view as 2x2 compact tiles, paged by the slider above.
   data-rv-per="4" makes crown-revisions.js group the tiles into pages. Desktop: pages are display:contents, layout unchanged. */
.rv-sl-page { display: contents; }
@media (max-width: 767px) {
  [data-rv-slider] > .rv-sl-page { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; align-content: start; align-items: stretch; }
  .rv-sl-page > * { min-width: 0; margin: 0 !important; }
  /* 25 Nov: crown-exdisplay .exd-incl-grid > div > div:first-child gave the first tile of each page a .6rem bottom margin (taller first row, shorter first tile) */
  [data-rv-slider] > .rv-sl-page > :not(#rv-sl) { margin: 0 !important; }
  /* descriptions stay in the page for readers and search, only hidden visually */
  .rv-sl-page p { position: absolute !important; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* text-centre icon USPs (home, FR home) */
  .rv-sl-page > .text-center { padding: 14px 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(205,172,78,.22); }
  .rv-sl-page > .text-center > div:first-child { height: 40px !important; width: 40px !important; }
  .rv-sl-page > .text-center svg { height: 32px !important; width: 32px !important; }
  .rv-sl-page > .text-center h3 { margin-top: 8px !important; font-size: .95rem !important; line-height: 1.25 !important; }
  /* boxed icon USPs (garden rooms: Why choose) */
  .rv-sl-page > .border { padding: 14px 10px !important; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: flex-start; }
  .rv-sl-page > .border > div:first-child { margin-bottom: 8px !important; height: 36px !important; width: 36px !important; }
  .rv-sl-page > .border h3 { font-size: .95rem !important; line-height: 1.25 !important; }
  /* photo tiles (Expand your living space) */
  .rv-sl-page > a figure { aspect-ratio: 1 / 1; }
  .rv-sl-page > a > div.absolute { padding: 10px !important; }
  .rv-sl-page > a h3 { font-size: .95rem !important; line-height: 1.2 !important; }
}

/* Inner hero band (Hassan, 16 Nov 2026): no words, overlay or gradient on the photo. The image sits on its own; the breadcrumb, H1 and line sit in a solid forest band directly below, sized to its words.
   Phones and tablets: the image shows at its own aspect (whole building). Desktop: 80vh, centre 65%. Dual-image pages show the landscape file on phones. */
#hero[data-variant="page"] { display: flex !important; flex-direction: column; min-height: 0 !important; height: auto !important; background: #123627; }
#hero[data-variant="page"] > img { position: static !important; inset: auto !important; display: block; width: 100% !important; height: auto !important; max-width: none; flex: none; order: 1; object-position: center; }
#hero[data-variant="page"] > img.hidden { display: block !important; }
#hero[data-variant="page"] > img[class*="min-[500px]:hidden"] { display: none !important; }
/* Live height restored (Hassan, 21 Nov 2026): heroes are the same size as live so the heading and buttons show on first load. The photo is cropped by cover; --rv-op on the img sets the focus per photo so the whole building stays in frame. */
@media (min-width: 1024px) { #hero[data-variant="page"] { --rv-hero-hdr: 175px; --rv-hero-band: 215px; } #hero[data-variant="page"] > img { height: clamp(440px, calc(100vh - var(--rv-hero-hdr) - var(--rv-hero-band)), 80vh) !important; object-fit: cover; object-position: var(--rv-op, center 58%); } }
#hero[data-variant="page"] > .hero-overlay { display: none !important; }
#hero[data-variant="page"] > .hero-inner { order: 2; position: relative; height: auto !important; min-height: 0 !important; align-items: center !important; padding: 22px 24px !important; width: 100%; background: #123627; }
#hero[data-variant="page"] .hero-content { max-width: none !important; width: 100%; }
#hero[data-variant="page"] nav { margin-bottom: 10px !important; }
#hero[data-variant="page"] h1, #hero[data-variant="page"] p, #hero[data-variant="page"] nav, #hero[data-variant="page"] .hero-text, #hero[data-variant="page"] span { text-shadow: none !important; }
#hero[data-variant="page"] h1 { margin: 0; }
#hero[data-variant="page"] .hero-text > p:first-child { margin-top: 8px !important; }
#hero[data-variant="page"] .hero-content > span.inline-block { margin-bottom: 10px; }
#hero[data-variant="page"] .hero-content > div.mt-4 { margin-top: 8px !important; }
@media (min-width: 1024px) {
  #hero[data-variant="page"] > .hero-inner { padding: 28px 24px !important; }
  /* words left, call to action right where the page has one (Hassan 25 Nov: button on the title line, vertically centred on the h1, a subtitle sits under the title in the left column, right edge on the container edge). The button wrapper dissolves into the content grid so title, subtitle and button share rows. */
  #hero[data-variant="page"] .hero-content:has(.jx-btns--hero) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; grid-auto-flow: row dense; align-items: center; }
  #hero[data-variant="page"] .hero-content:has(.jx-btns--hero) > *, #hero[data-variant="page"] .hero-content:has(.jx-btns--hero) > .hero-text > * { grid-column: 1; }
  #hero[data-variant="page"] .hero-content:has(.jx-btns--hero) > .hero-text:has(.jx-btns--hero) { display: contents; }
  /* Hassan 25 Nov: the button's centre sits on the centre of the WHOLE left block (breadcrumb, title, subtitle), so it spans every row the block uses (spare rows are empty and take no height). */
  #hero[data-variant="page"] .hero-content:has(.jx-btns--hero) .jx-btns--hero { grid-column: 2; grid-row: 1 / span 10; justify-self: end; align-self: center; margin: 0; transform: translateY(var(--rv-hero-nudge, 0px)); }
  /* Optical trim: line boxes carry more space under the last baseline than above the breadcrumb caps, so the button is lifted a few px and the band padding shifted to match; measured per shape. */
  #hero[data-variant="page"] .hero-content:has(> nav):has(.hero-text > p):not(:has(> span.inline-block)):has(.jx-btns--hero) { --rv-hero-nudge: -3px; }
  #hero[data-variant="page"] .hero-content:has(> nav):not(:has(p)):not(:has(> span.inline-block)):has(.jx-btns--hero) { --rv-hero-nudge: -6px; }
  #hero[data-variant="page"] > .hero-inner:has(.hero-content > nav):has(.hero-text > p):not(:has(.hero-content > span.inline-block)):has(.jx-btns--hero) { padding-top: 31px !important; padding-bottom: 25px !important; }
  #hero[data-variant="page"] > .hero-inner:has(.hero-content > nav):not(:has(p)):not(:has(.hero-content > span.inline-block)):has(.jx-btns--hero) { padding-top: 34px !important; padding-bottom: 22px !important; }
}
  /* Three-button heroes (Contact) are too wide to sit beside the words below 1280 px: the buttons go under the block, left aligned. */
@media (max-width: 1279px) {
  #hero[data-variant="page"] .hero-content:has(.jx-btns--hero):has(.jx-btns--hero > a:nth-child(3)) .jx-btns--hero { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 16px; transform: none; }
}

/* Inner hero band, other templates (Hassan, 16 Nov 2026): comparison pages and Customer Stories had words over the photo. Same pattern: photo alone, words in a solid forest band below. */
.cg .cg-hero { display: block !important; min-height: 0 !important; background: #123627; }
.cg .cg-hero:after { display: none !important; }
.cg .cg-hero img { position: relative !important; inset: auto !important; display: block; width: 100%; height: auto !important; object-fit: cover; object-position: var(--rv-op, center 65%) !important; }
.cg .cg-hero .cg-wrap { padding-top: 24px !important; padding-bottom: 28px !important; }
@media (min-width: 1024px) { .cg .cg-hero { --rv-hero-hdr: 175px; --rv-hero-band: 300px; } .cg .cg-hero img { height: clamp(380px, calc(100vh - var(--rv-hero-hdr) - var(--rv-hero-band) - 50px), 80vh) !important; } } /* Batch A: 50px shorter than live so the gold button under the heading sits in the first screen */
.cst-hero { display: flex; flex-direction: column; padding: 0 !important; background: #123627; }
.cst-hero .cst-hero-img { position: static !important; inset: auto !important; opacity: 1 !important; display: block; width: 100%; height: auto !important; order: 1; object-fit: cover; object-position: var(--rv-op, center 65%); }
.cst-hero .cst-wrap { order: 2; padding-top: 24px; padding-bottom: 28px; }
.cst-hero ol { margin-bottom: 12px !important; }
@media (min-width: 1024px) { .cst-hero { --rv-hero-hdr: 175px; --rv-hero-band: 235px; } .cst-hero .cst-hero-img { height: clamp(440px, calc(100vh - var(--rv-hero-hdr) - var(--rv-hero-band)), 80vh) !important; } }

@media (min-width: 1024px) {
  #hero[data-variant="page"] > .hero-inner { padding: 20px 24px !important; }
  #hero[data-variant="page"] nav { margin-bottom: 6px !important; }
  .cg .cg-hero .cg-wrap { padding-top: 18px !important; padding-bottom: 22px !important; }
  .cst-hero .cst-wrap { padding-top: 18px; padding-bottom: 20px; }
}

/* Fold rule (16 Nov 2026): on desktop the photo gets min(80vh, 100vh - header 175px - band), floor 340px, so the words band shows on the first screen at 1440x900 and 1366x768. Tune --rv-hero-band if the band grows. */

/* Part D (16 Nov 2026): phone 2x2 USP tiles on /garden-rooms/ Why choose had uneven heights. The older .cp-usp-grid > div rules hit the page wrapper and the first tile
   (40px square icon box). Reset them for the page wrapper and its first tile, so every tile in a row stretches to the tallest. */
@media (max-width: 767px) {
  .cp-usp-grid > .rv-sl-page { padding: 0 !important; align-items: stretch !important; text-align: inherit; }
  .cp-usp-grid > .rv-sl-page > div:first-child { height: auto !important; width: auto !important; margin: 0 !important; }
  .cp-usp-grid > .rv-sl-page > .border { height: 100%; box-sizing: border-box; }
  .cp-usp-grid > .rv-sl-page > .border > div:first-child svg { height: 1.25rem !important; width: 1.25rem !important; }
}

/* Sweep fix 6 (16 Nov 2026): the #pillars card rules (white box, 30px padding) hit the 2x2 page wrapper; reset it and style the tiles themselves. */
@media (max-width: 767px) {
  #pillars .cp-usp-grid { display: flex !important; flex-wrap: nowrap; gap: 0 !important; }
  #pillars .cp-usp-grid > .rv-sl-page { background: none !important; border: 0 !important; padding: 0 !important; flex: 0 0 100% !important; }
  #pillars .cp-usp-grid > .rv-sl-page > .text-center { background: #fff; border: 1px solid rgba(18,54,39,.12); padding: 14px 8px !important; display: flex; flex-direction: column; align-items: center; height: 100%; box-sizing: border-box; flex: none !important; }
  #pillars .cp-usp-grid > .rv-sl-page > .text-center:first-child { width: auto !important; height: auto !important; margin: 0 !important; }
  #pillars .cp-usp-grid > .rv-sl-page > .text-center > div:first-child { margin: 0 auto 8px !important; height: 40px !important; width: 40px !important; }
}

/* Sweep fix 7 (16 Nov 2026): no text over photos. Tile titles sit in a solid forest band below the photo; the shared CTA band is solid forest. */
a.group > figure + div.absolute.inset-0.flex.flex-col.justify-end { position: static !important; inset: auto !important; background: #123627 !important; padding: 14px 16px 16px !important; }
a.group:has(> figure + div.absolute.inset-0.flex.flex-col.justify-end) { display: flex; flex-direction: column; height: 100%; background: #123627; }
a.group:has(> figure + div.absolute.inset-0.flex.flex-col.justify-end) > figure { flex: none; }
a.group:has(> figure + div.absolute.inset-0.flex.flex-col.justify-end) > div { flex: 1 1 auto; justify-content: flex-start !important; }
@media (max-width: 767px) { a.group > figure + div.absolute.inset-0.flex.flex-col.justify-end { padding: 10px !important; } }
section#quote > img.absolute.inset-0, section#mid-cta > div.absolute.inset-0.opacity-20 { display: none !important; }

/* Sweep fix 7b (16 Nov 2026): comparison pictures: caption in a solid band below the photo, not over it. */
.cg-pic { aspect-ratio: auto !important; display: flex; flex-direction: column; background: #123627 !important; }
.cg-pic img { aspect-ratio: 3 / 2; height: auto !important; }
.cg-pic figcaption { position: static !important; padding: 12px 20px 14px !important; background: #123627 !important; }

/* Sweep fix 8b (16 Nov 2026): longer menu label; tighten desktop nav spacing so all ten items fit on one line from 1024 to 1535 px. */
@media (min-width: 1024px) and (max-width: 1535px) {
  #desktop-nav > div { gap: 0 !important; padding-left: 8px !important; padding-right: 8px !important; }
  #desktop-nav > div > a, #desktop-nav > div > button { padding-left: 7px !important; padding-right: 7px !important; font-size: 13px !important; }
}
@media (min-width: 1024px) and (max-width: 1299px) {
  #desktop-nav > div > a, #desktop-nav > div > button { padding-left: 4px !important; padding-right: 4px !important; font-size: 12px !important; }
}

/* Sweep fix 9 (16 Nov 2026): product listing grids, 2 compact columns on phones. Spec row hidden; photo, model name, monthly price and two small actions stay. */
@media (max-width: 639px) {
  .grid:has(> .product-card-tall) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin-top: 1.25rem !important; }
  .product-card-tall.rv-card .p-5 { padding: 10px 10px 8px !important; }
  .product-card-tall.rv-card h3 { font-size: 1.05rem !important; line-height: 1.2 !important; }
  .product-card-tall.rv-card .rv-price-main { font-size: 1.1rem; }
  .product-card-tall.rv-card .rv-price-main small { font-size: .75rem; }
  .product-card-tall.rv-card .rv-price-plan { font-size: .7rem; }
  .product-card-tall.rv-card .rv-price-start { font-size: .75rem; margin-top: 4px; }
  .product-card-tall.rv-card .mt-5.grid { display: none !important; }
  .product-card-tall.rv-card .rv-card-img { aspect-ratio: 4 / 3; }
  .product-card-tall.rv-card .rv-card-actions { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 10px 10px; }
  .product-card-tall.rv-card .rv-card-view { text-align: center; font-size: .8rem; }
  .product-card-tall.rv-card .rv-card-visit { justify-content: center; padding: 9px 8px; font-size: .78rem; }
  .product-card-tall.rv-card .rv-card-visit svg { display: none; }
}
/* ex-display listing on phones (19 Nov 2026, Hassan: names broke mid-word in a narrow text column): one card per row, full width, photo fills the card width, text uses the whole card width. */
@media (max-width: 639px) {
  .exd-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
  .exd-card:not(#rv-x) { padding-right: 0 !important; padding-left: 0 !important; padding-bottom: .9rem !important; } /* the 64px chat-button padding on li had squeezed the photo to about 60% of the card */
  .exd-card > *:not(.exd-card-img) { margin-left: 1rem !important; margin-right: 1rem !important; }
  .exd-card-img { aspect-ratio: 4 / 3; margin-bottom: .75rem !important; }
  .exd-card .exd-card-n { font-size: 1.25rem; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .exd-card .exd-card-v { font-size: .8125rem; line-height: 1.35; }
  .exd-card .exd-card-mo b { font-size: 1.5rem !important; }
  .exd-card .exd-card-mo small { font-size: .7rem; }
  .exd-card .exd-card-was { font-size: .875rem; }
  .exd-card .exd-card-p { margin-top: .25rem; gap: .15rem .5rem; }
  .exd-card .exd-card-ex { font-size: 1.125rem !important; }
  .exd-card .exd-card-l { font-size: .65rem; }
  .exd-card .exd-card-save { font-size: .875rem; white-space: nowrap; }
  .exd-card .exd-card-r { display: none; }
  .exd-card .exd-card-b { margin-top: .6rem; gap: .5rem; flex-direction: column; align-items: stretch; }
  .exd-card .exd-register--sm { padding: .7rem .6rem; font-size: .8125rem; }
  .exd-card .exd-card-link { text-align: center; font-size: .875rem; }
}

/* Sweep fix 10 (16 Nov 2026): no labels on product photos. */
figure > span.absolute.left-4.top-4.bg-forest { position: static !important; display: block !important; padding: 8px 16px !important; }
.rv-step-n { position: static !important; margin-top: 12px; }
.rv-gal-stage { overflow: visible; margin-bottom: 46px; }
.rv-gal-video, .rv-gal-count { top: 100%; bottom: auto; margin-top: 8px; }
.rv-gal-video { left: 0; }
.rv-gal-count { right: 0; }
a.group.relative.block.overflow-hidden > div.absolute.inset-x-0.bottom-0.bg-gradient-to-t { position: static !important; background: #123627 !important; padding: 14px 20px !important; }
.cw-fig figcaption { position: static !important; background: #123627 !important; padding: .6rem 1rem !important; }
.relative.overflow-hidden > .absolute.inset-0.bg-forest\/50 + .absolute.bottom-0.left-0.right-0 { position: static !important; background: #123627; }
.relative.overflow-hidden > .absolute.inset-0.bg-forest\/50:has(+ .absolute.bottom-0.left-0.right-0) { display: none; }

/* Creative r2 #12 (16 Nov 2026): a show-site gallery of 5 photos has no empty cell: the last photo spans two columns. */
@media (max-width: 1023px) { #showsite-gallery > a:nth-child(5):last-child { grid-column: span 2; } }
@media (min-width: 1024px) {
  #showsite-gallery:has(> a:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #showsite-gallery:has(> a:nth-child(5):last-child) > a { grid-column: span 2; }
  #showsite-gallery:has(> a:nth-child(5):last-child) > a:nth-child(n+4) { grid-column: span 3; }
}

/* Creative r2 #2 (16 Nov 2026): feature photo trio is a compact 2-column grid on phones; odd last tile spans both columns */
@media (max-width: 767px) {
  .rv-trio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .rv-trio-grid > article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rv-trio { padding: 36px 16px; }
  .rv-trio img { aspect-ratio: 4 / 3; }
  .rv-trio h3 { font-size: .95rem; line-height: 1.25; margin-top: 8px; }
  .rv-trio p { position: absolute !important; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Creative r2 #3 (16 Nov 2026): long stacked card runs on phones become compact 2-column grids (garden office considerations, customer stories) */
@media (max-width: 767px) {
  [data-cms-component="ConsiderationsGrid"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; margin-top: 1.5rem !important; }
  [data-cms-component="ConsiderationsGrid"] .grid > article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  [data-cms-component="ConsiderationsGrid"] article > .p-6 { padding: 10px 12px 12px !important; }
  [data-cms-component="ConsiderationsGrid"] article h3 { font-size: .95rem !important; line-height: 1.25 !important; }
  [data-cms-component="ConsiderationsGrid"] article p { position: absolute !important; width: 1px; height: 1px; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 640px) {
  .cst-list .cst-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cst-list .cst-story--text { padding: 14px 12px; }
  .cst-list .cst-story--text .cst-product { font-size: 1rem; line-height: 1.25; }
  .cst-list .cst-story--text .cst-detail { font-size: .75rem; margin-bottom: 8px; }
  .cst-list .cst-story--text blockquote { font-size: .8125rem; line-height: 1.5; margin: 8px 0 10px; }
  .cst-list .cst-story--text .cst-credit { font-size: .75rem; }
}

/* Creative r2 #4 (16 Nov 2026): no dead cells: an odd last tile spans the full row (2x2 USP pages, spec tiles) */
@media (max-width: 767px) { .rv-sl-page > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 1023px) { .exd-specs .grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .exd-specs .grid > :last-child:nth-child(3n+2) { grid-column: span 2; } }

/* Creative r2 #5 (16 Nov 2026): contrast. Home lifestyle cards: light text on the forest band; shelter Why Choose tiles: translucent tiles on the green section (light text) instead of white tiles */
#uses-grid-items > a > .absolute.inset-0 h3 { color: #fff !important; }
#uses-grid-items > a > .absolute.inset-0 p { color: rgba(255,255,255, .88) !important; }
#pillars.rv-green .cp-usp-grid > div,
#pillars.rv-green .cp-usp-grid > .rv-sl-page > .text-center { background: rgba(255,255,255, .07); border: 1px solid rgba(205, 172, 78, .45); }
#pillars.rv-green .cp-usp-grid h3 { color: #fff; }

/* Creative r2 #6 (16 Nov 2026): the site font is Montserrat everywhere (breadcrumbs, chips and captions were falling back to ui-sans-serif) */
body { font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
nav[aria-label="Breadcrumb"], nav[aria-label="Breadcrumb"] *, caption, .inline-block.bg-gold { font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

/* Creative r2 #7 (16 Nov 2026): prices and the breadcrumb Home never split mid-word */
.cp-card-mo, .cp-card-cash, .cp-price-hero, .cp-price-cash, .exd-card-was, .exd-card-was s, .exd-card-mo, .exd-card-mo b, .exd-card-p, .exd-was, .exd-hero-save s { white-space: nowrap; }
nav[aria-label="Breadcrumb"] ol { flex-wrap: wrap; }
nav[aria-label="Breadcrumb"] li:not(:last-child), nav[aria-label="Breadcrumb"] li:not(:last-child) a { white-space: nowrap; overflow-wrap: normal; flex: none; }

/* Creative r2 #8 (16 Nov 2026): .size-full (height:100%) made every blog figure as tall as the article column; the Related Articles card then overlapped the article */
.prose figure.wp-block-image, .prose figure.wp-block-image img { height: auto !important; }

/* Creative r2 #8b: a lone Related Articles card is centred, not left in a three-column row. */
.grid:has(> a.group:only-child) { grid-template-columns: minmax(0, 440px) !important; justify-content: center; }

/* Creative r2 #13b: package card price block stays compact beside the heading on phones. */
@media (max-width: 767px) { .cp-card-mo { font-size: 1.2rem; } .cp-card-cash { font-size: .75rem; } }

/* Night16 #2 (16 Nov 2026): "Included as standard with every ..." heading sits on one line on desktop; still wraps on phones */
@media (min-width: 1024px) {
  #included .cp-incl-head, .cp-incl-head { max-width: none; }
    .cp-incl-head h2 { white-space: nowrap; font-size: clamp(1.4rem, 2.6vw, 2rem); }
}

/* Night16 #6 (16 Nov 2026): "Why choose" tiles use the regular site body size (1rem), not the shrunken tile text; grid already spans the full container */
.cp-usp-why h3 { font-size: 1rem !important; line-height: 1.45 !important; }
@media (min-width: 1024px) { .cp-usp-grid.cp-usp-why h3 { font-size: 1rem !important; } .cp-usp-why > div { padding: 1.5rem 1.25rem !important; } .cp-usp-why > div > div:first-child { height: 3rem !important; width: 3rem !important; } .cp-usp-why > div > div:first-child svg { height: 1.5rem; width: 1.5rem; } }

/* Night16 #4 (16 Nov 2026): "Choose <package>" button under each package card (gold, bottom-aligned) */
#packages .grid > div:has(.cp-pkg-cta-wrap) { display: flex; flex-direction: column; }
#packages .grid > div:has(.cp-pkg-cta-wrap) > .p-6 { flex: 1; display: flex; flex-direction: column; }
.cp-pkg-cta-wrap { margin-top: auto; padding-top: 1.5rem; }
.cp-pkg-cta { display: block; text-align: center; background: #cdac4e; color: #07281a; font-family: Montserrat, sans-serif; font-weight: 600; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; padding: .9rem 1.25rem; border-radius: 2px; text-decoration: none; transition: background-color .2s; }
.cp-pkg-cta:hover, .cp-pkg-cta:focus-visible { background: #d9bb68; }
.cp-pkg-cta.is-chosen { box-shadow: inset 0 0 0 2px #07281a; }
.cp-pkg-chosen { margin: 0 0 .75rem; padding: .5rem .75rem; background: rgba(205, 172, 78, .18); border-left: 3px solid #cdac4e; font-size: .875rem; font-weight: 600; color: #07281a; }

/* Night16 #10 (16 Nov 2026): ex-display Crown Orangery card photo: the building sat too far away. Zoom 2.1x about the building (transform + matching clip-path so the box stays the same); whole building stays in frame. File unchanged. */
/* Night16 #10: wooden gazebo listing, Crown Orangery card: 1.25x about the building so it fills the card (whole building and roof stay in frame). */

/* Night16 #8 (16 Nov 2026): full desktop width. Page-level wrappers that capped at 1100-1200px use the site standard container (1440px with 24px sides). Article prose keeps its readable measure. */
.cg-wrap, .vs-wrap, .cp-cb-wrap, .cp-cc-wrap, .cst-wrap { max-width: 1440px !important; padding-left: 24px !important; padding-right: 24px !important; }
@media (min-width: 1024px) {
  /* single-package card on the gazebo pages: photo and list side by side across the container instead of a 768px column */
  #packages > div > .mx-auto.mt-12.max-w-3xl { max-width: none; }
  #packages > div > .mx-auto.mt-12.max-w-3xl > .border-gold { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #packages > div > .mx-auto.mt-12.max-w-3xl > .border-gold > .relative { aspect-ratio: auto; min-height: 380px; }
  #packages > div > .mx-auto.mt-12.max-w-3xl > .border-gold > .relative > img { position: absolute; inset: 0; }
  /* French accessories grid */
  #accessories .mx-auto.mt-12.grid.max-w-3xl { max-width: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

/* 17 Nov 2026 (Hassan): news article pages use the full container width. The 320px sidebar column left the right
   side empty below the sidebar, so on desktop the text runs in two columns across the container and the sidebar
   cards sit in one row under the article. Phones are unchanged. */
@media (min-width:1024px){
  #article > div > .lg\:grid{display:block}
  #article article.prose{column-count:2;column-gap:72px;max-width:none}
  #article article.prose figure,#article article.prose img,#article article.prose table,#article article.prose blockquote{break-inside:avoid}
  #article article.prose h2,#article article.prose h3,#article article.prose h4{break-after:avoid;margin-top:1.6em}
  #article article.prose > :first-child{margin-top:0}
  #article aside{margin-top:56px}
  #article aside > .sticky{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
  #article aside > .sticky > *{margin:0}
}

/* 17 Nov 2026 (Hassan): comparison hero text band used only the left half. On desktop the words and buttons sit
   in the left column and the three highlights stack in the right column, so the band spans the container. */
@media (min-width:1024px){
  .cg .cg-hero .cg-wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:72px;align-items:center;padding-top:40px !important;padding-bottom:44px !important}
  .cg .cg-hero .cg-wrap > .cg-eyebrow,.cg .cg-hero .cg-wrap > h1,.cg .cg-hero .cg-wrap > .cg-lead,.cg .cg-hero .cg-wrap > .cg-ctas{grid-column:1}
  .cg .cg-hero h1{max-width:none}
  .cg .cg-hero .cg-lead{max-width:none}
  .cg .cg-hero .cg-chips{grid-column:2;grid-row:1 / span 4;grid-template-columns:1fr;margin-top:0}
  .cg .cg-hero .cg-chip{padding:26px 28px}
  .cg .cg-hero .cg-chip b{font-size:24px}
  .cg .cg-hero .cg-chip span{font-size:16px}
}

/* 17 Nov 2026: left-aligned long text bands use the container (two columns) instead of a 768px column. */
@media (min-width:1024px){
  #garden-shelter-types .max-w-3xl{max-width:none;column-count:2;column-gap:72px}
  #garden-shelter-types .max-w-3xl > *{break-inside:avoid}
}

/* 17 Nov 2026 FR parity for Night16 #10: same crop on the French Orangery card. */

/* Phone hero shows the whole building (Hassan, 18 Nov 2026): category pages whose poster is a 16:9 landscape photo were cropped to
   about half its width in the tall phone box. On phones the photo box takes the photo's own 16:9 shape (band stays below it). */
@media (max-width: 767px) {
  .hero-video:has(.hero-video-poster[width="1920"]), .hero-video:has(.hero-video-poster[width="1917"]), .hero-video:has(.hero-video-poster[width="1653"]) { height: calc(56.25vw + var(--rv-band)) !important; min-height: 0 !important; }
  .hero-video:has(.hero-video-poster[width="1920"]) .hero-video-inner, .hero-video:has(.hero-video-poster[width="1917"]) .hero-video-inner, .hero-video:has(.hero-video-poster[width="1653"]) .hero-video-inner { min-height: 0 !important; height: 100% !important; }
}

/* ===== Hotfix 18 Nov 2026 (Hassan, phone review) ===== */
/* 1. Phone header: search icon on the left, logo centred, menu on the right. */
@media (max-width: 767px) {
  .grid.h-20.max-w-container { position: relative; }
  .grid.h-20.max-w-container .cps-btn { position: absolute; left: .5rem; top: 50%; transform: translateY(-50%); margin: 0; z-index: 2; }
}
/* 2. No centred body text: paragraphs, headings and list text sit left. The "Come and see it in person" band is centred on phones on purpose (rule 3). */
main :is(h1, h2, h3, h4, h5, p, li, blockquote, figcaption, dt, dd):not(a *):not(button *):not(.rv-visit *):not(.hero-video *) { text-align: left !important; }
main .mx-auto:is(.max-w-xl, .max-w-2xl, .max-w-3xl, .max-w-prose).text-center { margin-left: 0; }
.cp-base-note, .rv-process-lede { margin-left: 0 !important; text-align: left !important; }
.cp-usp-grid > div, [data-rv-slider] > .rv-sl-page > .border, .rv-sl-page > .border { align-items: flex-start !important; text-align: left !important; }
/* 3. "Come and see it in person" on phones: one centred column, buttons as wide as the divider, show sites in two even centred columns. */
@media (max-width: 767px) {
  .rv-visit-wrap { padding-left: 24px; padding-right: 24px; }
  .rv-visit-main, .rv-visit-sites { text-align: center; }
  .rv-visit-lede { margin-left: auto; margin-right: auto; }
  .rv-visit-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .rv-visit-book { display: flex; width: 100%; box-sizing: border-box; }
  .rv-visit-actions .rv-visit-alt { text-align: center; align-self: center; }
  .rv-visit-primary, .rv-visit-secondary { flex: none; width: 100%; max-width: none; box-sizing: border-box; }
  .rv-visit-call { text-align: center; }
  .rv-visit-sites ul { justify-items: center; text-align: center; }
  .rv-visit-sites li { text-align: center; }
}
/* 4. Phone length: tighter gaps between sections. */
@media (max-width: 767px) {
  main section.py-16, main section.py-20, main section.py-24 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  main section.py-12 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  main .mt-12 { margin-top: 1.5rem; }
  main .mb-12 { margin-bottom: 1.5rem; }
  main .gap-12 { gap: 1.5rem; }
}
/* 5. FAQs: first four, then "See more" shows four more each tap. */
details.rv-faq-hidden { display: none; }
.rv-faq-more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 20px; padding: 0 28px; background: #123627; color: #fff; border: 0; font: 600 .95rem/1 var(--rv-mont); cursor: pointer; }
.rv-faq-more:hover, .rv-faq-more:focus-visible { background: #123627; outline: 2px solid #cdac4e; outline-offset: 2px; }
/* 6. Use and category cards on phones: two even columns, not one long stack (products and categories are never sliders). */
@media (max-width: 639px) {
  main .grid.gap-6.sm\:grid-cols-2:not([data-rv-slider]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Hotfix 18 Nov 2026 (2): video captions sit INSIDE the photo, just above the words band, never over the band or its links.
   Solid pill, no backdrop blur (blur over a playing video can freeze the picture on Android Chrome). Video gets its own compositor layer. */
.hero-video .hero-video-subtitle-bar { bottom: calc(var(--rv-band, 150px) + 10px) !important; z-index: 10; pointer-events: none; }
.hero-video .hero-video-subtitle-text { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background-color: rgba(4,22,14,.82) !important; max-width: calc(100% - 24px); }
.hero-video .hero-video-el { transform: translateZ(0); }
/* Phone: centre the slide dots on the photo, not on photo plus band, so the last dot never sits in the words band. */
@media (max-width: 767px) { .hero-video .hero-dots-container { top: calc((100% - var(--rv-band, 150px)) / 2) !important; max-height: calc(100% - var(--rv-band, 150px) - 80px) !important; } }

/* ===== Mobile feedback 18 Nov 2026 (Hassan, phone review) ===== */
/* 1. Icon tiles: the icon AND its label sit centred inside the box, site-wide (home Why Crown Pavilions, Included as standard,
   Robust Redwood Frame / Premium Pitched Roof rows, size boxes, comparison tiles). A tile = a box whose first child is an icon box holding only an svg.
   Longer descriptions inside a tile stay left (no centred body text). The :not(#rv-x) term lifts these above the left-align rules of the hotfix. */
main div:has(> div:first-child > svg:only-child):not(#rv-x),
main .cp-usp-grid > div:not(#rv-x),
main .rv-sl-page > .border:not(#rv-x),
main .rv-usp-grid > div:not(#rv-x) { display: flex; flex-direction: column; align-items: center !important; text-align: center !important; }
main div:has(> div:first-child > svg:only-child):not(#rv-x) > :is(h2, h3, h4, h5, b, strong, span, figcaption),
main .cp-usp-grid > div:not(#rv-x) > :is(h3, h4, span),
main .rv-sl-page > .border:not(#rv-x) > :is(h3, h4, span) { text-align: center !important; margin-left: auto; margin-right: auto; }
main div:has(> div:first-child > svg:only-child):not(#rv-x) > p { align-self: stretch; }
main div:has(> div:first-child > svg:only-child):not(#rv-x) > div:first-child { margin-left: auto; margin-right: auto; }

/* 2. One USP band on the home page (and the same tile look on other pages that carry the band): icon above, label centred, white tiles on brand grey. */
.rv-usps { background: #e5e5e5; border-bottom: 1px solid rgba(7,40,26,.12); }
.rv-usps-in { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 22px 24px; }
.rv-usps li { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 12px; background: #fff; border: 1px solid rgba(7,40,26,.1); }
.rv-usps li svg { width: 30px; height: 30px; margin: 0; color: #7d6227; }
.rv-usps li span { text-align: center; }
.rv-usps li b { margin-bottom: 4px; }
@media (min-width: 1101px) { .rv-usps-in { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
@media (max-width: 1100px) { .rv-usps-in { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (max-width: 640px) { .rv-usps-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 10px; } .rv-usps li:last-child { grid-column: auto; } .rv-usps li:last-child:nth-child(odd) { grid-column: 1 / -1; } .rv-usps li { padding: 14px 8px; } }

/* 3. "Designed for Your Lifestyle": phones show four uses, then a Show more button reveals the rest. */
.rv-more-btn { display: none; align-items: center; justify-content: center; min-height: 48px; margin: 20px auto 0; padding: 0 28px; background: #123627; color: #fff; border: 0; font: 600 .95rem/1 var(--rv-mont); cursor: pointer; text-shadow: none; }
.rv-more-btn:hover, .rv-more-btn:focus-visible { background: #123627; outline: 2px solid #cdac4e; outline-offset: 2px; }
#uses-grid-items.rv-more-on > .rv-use-hidden { display: none !important; }
.rv-more-btn.rv-live { display: flex; }

/* 8. Show-site cards: one size, "View Show Site" a real gold button pinned to the bottom of every card. */
[data-ref="cards"] { grid-auto-rows: 1fr; }
.c3-card { display: flex; flex-direction: column; height: 100%; }
.c3-card > .p-6 { display: flex; flex-direction: column; flex: 1 1 auto; }
.c3-card > .p-6 > div.flex:last-child { margin-top: auto; padding-top: 18px; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.c3-card > .p-6 > div.flex:last-child > a:first-child,
ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child > a[href="#reserver"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; background: #cdac4e; color: #07281a; font-weight: 600; text-decoration: none; text-shadow: none; transition: background .2s; }
.c3-card > .p-6 > div.flex:last-child > a:first-child:hover,
ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child > a[href="#reserver"]:hover { background: #b9993f; opacity: 1; text-decoration: none; }
.c3-card > .p-6 > div.flex:last-child > a:first-child:focus-visible,
ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child > a[href="#reserver"]:focus-visible { outline: 2px solid #07281a; outline-offset: 2px; }
ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child { margin-top: auto; padding-top: 18px; }

/* Technical specification boxes: icon + short figure and labels, all centred in the box. */
main div.border:has(> svg:first-child + p):not(#rv-x) { display: flex; flex-direction: column; align-items: center; text-align: center !important; }
main div.border:has(> svg:first-child + p):not(#rv-x) > p { text-align: center !important; }
#uses-see-more { display: none; }

ul.grid:has(> li > div > a[href="#reserver"]) { grid-auto-rows: 1fr; }

/* Show-site cards on phones: the gold button spans the card on one line, Directions sits below it. */
@media (max-width: 767px) {
  .c3-card > .p-6 > div.flex:last-child, ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child { flex-direction: column; align-items: stretch; gap: 12px; }
  .c3-card > .p-6 > div.flex:last-child > a:first-child, ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child > a[href="#reserver"] { width: 100%; box-sizing: border-box; white-space: nowrap; }
  .c3-card > .p-6 > div.flex:last-child > a:not(:first-child), ul.grid > li:has(> div > a[href="#reserver"]) > div:last-child > a:not([href="#reserver"]) { align-self: center; }
}
@media (max-width: 639px) { main [data-ref="cards"].grid:not(#rv-x) { grid-template-columns: minmax(0, 1fr); } }

/* 18 Nov 2026 (Hassan): show-site list in "Come and see it in person" is a confident, balanced block. */
.rv-visit-top { align-items: center; }
.rv-visit-sites { border-left: 0 !important; padding: 0 0 0 40px; align-self: center; border-left: 1px solid rgba(255,255,255,.18) !important; text-align: left !important; }
.rv-visit-sites h3 { font: 400 1.5rem/1.25 var(--rv-optima); text-align: left; }
.rv-visit-sites ul { margin: 22px 0 0; gap: 8px 40px; font: 500 1.1rem/1.4 var(--rv-mont); justify-items: start; text-align: left; }
.rv-visit-sites li { text-align: left; }
.rv-visit-sites li a { display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-size: 1.1rem; }
.rv-visit-sites li a::after { margin-left: .35em; }
.rv-visit-sites .rv-visit-alt { display: inline-block; margin-top: 22px; }
@media (max-width: 1023px) { .rv-visit-sites { border-left: 0 !important; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.18); } }
@media (max-width: 640px) { .rv-visit-sites ul { grid-template-columns: 1fr; gap: 0; } .rv-visit-sites li a { border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; } }
/* Quote band: buttons left-aligned with the heading; full width and stacked on phones. */
section#quote div.mt-8.flex.flex-col { align-items: stretch; justify-content: flex-start; }
@media (min-width: 640px) { section#quote div.mt-8.flex.flex-col { flex-direction: row; align-items: center; justify-content: flex-start; } }
@media (max-width: 639px) { section#quote div.mt-8.flex.flex-col { flex-direction: column; } section#quote div.mt-8.flex.flex-col > a { width: 100%; box-sizing: border-box; } }

/* Hero shows the whole building at every width (Hassan, 18 Nov 2026): the photo box takes the photo's own 16:9 shape on
   desktop and tablet too (it was cut by the green words band). The band always sits below the media, never over it.
   Photos that are 16:9 show uncropped, so no object-position is needed; --rv-op on a hero overrides it for a rare taller photo. */
@media (min-width: 500px) {
  .hero-video { height: calc(56.25vw + var(--rv-band)) !important; min-height: 0 !important; }
  .hero-video .hero-video-inner { min-height: 0 !important; height: 100% !important; }
  .hero-video .hero-video-poster, .hero-video .hero-video-el { object-position: var(--rv-op, 50% 50%) !important; }
  .hero-video .hero-dots-container { top: calc((100% - var(--rv-band, 150px)) / 2) !important; max-height: calc(100% - var(--rv-band, 150px) - 60px) !important; }
}

/* Section intro text spans the full content width (Hassan, 18 Nov 2026), light and dark-green sections alike, to match the grid below. */
@media (min-width: 768px) {
  main section :is(div, p).mx-auto.text-center:is(.max-w-3xl, .max-w-2xl):not(.mt-8):not(.flex):not(.hero-content) { max-width: none; margin-left: 0; margin-right: 0; }
  main section :is(div, p).mx-auto.text-center:is(.max-w-3xl, .max-w-2xl):not(.mt-8):not(.flex) > :is(p, h2, h3) { max-width: none; }
}

/* Text-only sections get a close exterior photo on the right (photo above the text on phones). */
.rv-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.rv-split-img { margin: 0; order: -1; }
.rv-split-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1024px) { .rv-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .rv-split-img { order: 0; } }

/* "Take the Next Step" band: text and buttons left, brochure cover (clickable download) right; tight height; no visual on phones. */
.rv-quote-cover { display: none; }
@media (min-width: 768px) {
  section#quote { padding-top: 40px; padding-bottom: 40px; }
  section#quote > .relative.mx-auto > div { margin: 0; max-width: none; text-align: left; }
  section#quote div.mt-8.flex.flex-col { justify-content: flex-start; margin-top: 24px; }
  section#quote p.mt-8 { margin-top: 20px; }
}
@media (min-width: 1024px) {
  section#quote > .relative.mx-auto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: center; }
  section#quote > .relative.mx-auto > div { margin: 0; max-width: none; text-align: left; }
  section#quote div.mt-8.flex.flex-col { justify-content: flex-start; }
  section#quote div.mt-8.flex.flex-col { margin-top: 24px; }
  section#quote p.mt-8 { margin-top: 20px; }
  .rv-quote-cover { display: block; box-shadow: 0 14px 34px rgba(0,0,0,.4); transition: transform .25s ease; }
  .rv-quote-cover:hover { transform: translateY(-3px); }
  .rv-quote-cover img { display: block; width: 100%; height: auto; }
}

/* Equal tiles (Hassan 18 Nov): phone USP pages stretch their tiles to one row height (a stray align-items:center on .rv-usp-grid > div
   shrank tiles to content), and every slide in a slider is as tall as the tallest. Tile content stays vertically centred. */
@media (max-width: 767px) {
  [data-rv-slider]:not(#rv-x) { align-items: stretch !important; }
  main [data-rv-slider] > .rv-sl-page:not(#rv-x) { align-items: stretch !important; text-align: inherit; }
  main .rv-sl-page > .text-center:not(#rv-x), main .rv-sl-page > .border:not(#rv-x) { height: 100%; box-sizing: border-box; justify-content: center; }
}

/* Chat button (Hassan, 19 Nov 2026: text columns were squeezed by a 64px right padding on every text block). The padding is gone.
   Phones and tablets: the button stands perfectly still inside the sticky bar's reserved right slot (bar padding-right 84px), so it can
   never sit on page text, and text uses the full column. It is hidden only where the bar is hidden (top of page, footer zone, menu). No JS slide, no transition. */
.cpc .cpc-btn, .cpc.cpc-tucked .cpc-btn { transform: none !important; opacity: 1 !important; pointer-events: auto !important; transition: none !important; animation: none !important; }
@media (max-width: 1023px) {
  body:not(.rv-mbar-on) .cpc-btn { display: none !important; }
  body.rv-mbar-on .cpc-btn { display: flex !important; right: 12px !important; bottom: calc(10px + env(safe-area-inset-bottom)) !important; }
  .rv-mbar { padding-right: 84px; }
}

/* ===== Alignment sweep, 19 Nov 2026 (Hassan, phone review: "Not all text needs to be left. Only what looks wrong when centred.") =====
   Rule: short content in centred tiles (icon + 1 to 3 lines) and testimonials centre as one block; long paragraphs, lists and card copy stay left, and a card with left copy keeps its icon left too. Shared by UK and /fr/. */
/* 1. Centred icon tiles (home "Why Crown Pavilions", product feature tiles, FR twins): heading and text sit on the icon's axis at every width. */
main .text-center:has(> .mx-auto.h-16.w-16):not(#rv-x) :is(h3, p) { text-align: center !important; padding-left: 0 !important; padding-right: 0 !important; }
/* The 64px chat-button padding on phones pushed centred tile text 32px off the icon's axis (Marque of Excellence, Planning Expertise): centred tile text carries no side padding. */
/* 2. Bordered cards with a small round icon and a long description: card copy stays left, so the whole card (icon, heading, text) sits left, not a centred icon and heading over left text. */
main .border:has(> div:first-child.flex.h-10.w-10):not(#rv-x),
main .border:has(> div:first-child.flex.h-12.w-12):not(#rv-x) { align-items: flex-start !important; text-align: left !important; }
main .border:has(> div:first-child.flex.h-10.w-10):not(#rv-x) > div:first-child,
main .border:has(> div:first-child.flex.h-12.w-12):not(#rv-x) > div:first-child { margin-left: 0 !important; margin-right: auto !important; }
main .border:has(> div:first-child.flex.h-10.w-10):not(#rv-x) > :is(h3, h4, span, p),
main .border:has(> div:first-child.flex.h-12.w-12):not(#rv-x) > :is(h3, h4, span, p) { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; align-self: stretch; }
main div.border:has(> svg:first-child + p):not(#rv-x) > p { padding-left: 0 !important; padding-right: 0 !important; } /* centred size boxes: no side padding, so text stays on the icon's axis */
/* 3. Section intro blocks: a label or pill above a left heading sits left too. */
main div.mx-auto.text-center:is(.max-w-2xl, .max-w-3xl):has(> :is(h1, h2)):not(.rv-visit *) { text-align: left !important; }
/* 4. Brochure cards: name and file line follow the left description; the thank-you kicker follows its left heading. */
.cpb-card .cpb-body :is(.cpb-name, .cpb-meta) { text-align: left !important; }
.cpb-lead .cpb-kicker { justify-content: flex-start !important; text-align: left !important; }
@media (max-width: 767px) {
  /* 6. Home testimonial (Lord Alan Sugar): label, quote and attribution are one centred block. */
  main section:has(img[src*="lord-alan-sugar"]):not(:has(.celebrity-card)) :is(blockquote, blockquote p, blockquote footer, p, span):not(#rv-x) { text-align: center !important; padding-left: 40px !important; padding-right: 40px !important; }
  main section:has(img[src*="lord-alan-sugar"]):not(:has(.celebrity-card)) .min-w-0 { text-align: center; }
}

/* Offer strip compact state when the header shrinks on scroll (rotating strip). */
html.cp-hdr-compact #top-bar > .exd-banner.exd-rot { padding: 0; }
html.cp-hdr-compact #top-bar > .exd-banner.exd-rot > .exd-slide { padding-top: .2rem; padding-bottom: .2rem; }
html.cp-hdr-compact #top-bar > .exd-banner.exd-rot .exd-banner-s { display: none; }

/* Equal product cards: action buttons pinned to the bottom of every card in a grid row. */
.product-card-tall.rv-card { display: flex; flex-direction: column; height: 100%; }
.product-card-tall.rv-card > a { flex: 1 1 auto; }
.product-card-tall.rv-card .rv-card-actions { margin-top: auto; }

/* Process step cards (UK + FR gazebos-de-bois): the 64px chat-button padding on li.rv-step doubled up with the 64px on the step's own h3 and p; the li itself carries none (19 Nov 2026). */
@media (max-width: 767px) {
  li.rv-step:not(#rv-x) { padding-right: 0 !important; padding-left: 0 !important; }
}

/* Short stacked link lists run in two columns on desktop (19 Nov 2026, Hassan): reading order left column first; phones and tablets stay one column. */
@media (min-width: 1024px) {
  main ul.mx-auto.max-w-3xl.flex-col.gap-3.text-center:not(#rv-x) { display: block; max-width: 56rem; column-count: 2; column-gap: 3rem; }
  main ul.mx-auto.max-w-3xl.flex-col.gap-3.text-center:not(#rv-x) > li { break-inside: avoid; margin-bottom: .75rem; }
}

/* Bespoke menu cards 19 Nov */
.mega-panel[data-panel="bespoke"] .rv-bsp { display: flex; flex-direction: column; gap: 12px; padding: 22px 32px; min-width: 0; }
.rv-bsp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-bsp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rv-bsp-card, .rv-bsp-tile { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid rgba(18,54,39,.14); color: #07281a; text-decoration: none; }
.rv-bsp-ph { display: block; overflow: hidden; background: #e5e5e5; }
.rv-bsp-card .rv-bsp-ph { height: 172px; } .rv-bsp-tile { flex-direction: row; align-items: center; } .rv-bsp-tile .rv-bsp-ph { flex: none; width: 120px; height: 75px; }
.rv-bsp-ph picture, .rv-bsp-ph img { display: block; width: 100%; height: 100%; }
.rv-bsp-ph img { object-fit: cover; transition: transform .5s ease; }
.rv-bsp-card:hover .rv-bsp-ph img, .rv-bsp-tile:hover .rv-bsp-ph img { transform: scale(1.04); }
.rv-bsp-cap { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 10px; }
.mega-panel .rv-bsp-t { color: #07281a; font-size: 14px; font-weight: 600; line-height: 1.25; }
.rv-bsp-tile .rv-bsp-t { font-size: 13px; }
.mega-panel .rv-bsp-d { color: #3b463f; font-size: 12px; line-height: 1.4; }
.mega-panel .rv-bsp-h { color: #07281a; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 2px 0 0; }
.rv-bsp-card:focus-visible, .rv-bsp-tile:focus-visible { outline: 2px solid #cdac4e; outline-offset: 2px; }
@media (hover: hover) { .rv-bsp-card:hover, .rv-bsp-tile:hover { border-color: #cdac4e; } }

/* ===== UX overhaul, 19 Nov 2026 (Hassan: centring, equal buttons, no broken words, no squeezed text) ===== */
/* 1. Top offer bar: one centred line at every width, both texts on one centre line, rotation untouched. */
#top-bar > .exd-banner, #top-bar > .exd-banner.exd-rot > .exd-slide { justify-content: center !important; align-items: center !important; text-align: center !important; flex-wrap: nowrap !important; gap: .5rem !important; line-height: 1.25 !important; }
#top-bar > .exd-banner.exd-rot { align-items: center; min-height: 2.4rem; }
#top-bar .exd-banner-h, #top-bar .exd-banner-r, #top-bar .exd-banner-e { display: inline-flex !important; align-items: center; line-height: 1.25 !important; margin: 0 !important; }
#top-bar .exd-banner-r, #top-bar .exd-banner-e { font-size: .75rem; font-weight: 600; }
@media (min-width: 640px) { #top-bar .exd-banner-r { display: none !important; } #top-bar .exd-banner-s { display: inline-flex !important; align-items: center; flex-basis: auto !important; order: 0 !important; } }
/* 2. No word is ever broken mid-word in tiles, chips, cards and buttons. */
.cp-glance-chips li, .cp-usp-grid h3, .cp-usp-grid p, .rv-usps li, .rv-card h3, .rv-card-view, .rv-card-visit, .exd-card-n { overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important; }
/* 3. At-a-glance chips: icon and text never overlap; balanced grid with no lone full-width last tile. */
.cp-glance-chips li { min-width: 0; align-items: center !important; }
.cp-glance-chips svg { flex: 0 0 22px; }
@media (max-width: 479px) { .cp-glance-chips { grid-template-columns: minmax(0, 1fr) !important; } .cp-glance-chips li:last-child:nth-child(odd) { grid-column: auto !important; } .cp-glance-chips li { font-size: .875rem !important; padding: .65rem .9rem !important; } }
@media (min-width: 480px) and (max-width: 1099px) { .cp-glance-chips { display: flex !important; flex-wrap: wrap; justify-content: center; } .cp-glance-chips li { flex: 0 1 auto; } }
/* 4. Product cards: identical button pair in every card (same height, same width, same type), equal price block so spec rows line up. */
.rv-card-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.rv-card-view, .rv-card-visit { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 0 14px !important; font: 600 .85rem/1.1 var(--rv-mont) !important; text-align: center; white-space: nowrap; }
.rv-card-view { border: 1px solid var(--rv-forest); text-decoration: none !important; background: #fff; color: var(--rv-forest); }
.rv-card-view:hover { background: var(--rv-forest); color: #fff; }
@media (min-width: 640px) { .product-card-tall.rv-card > a .p-5 > .mt-2 { min-height: 4.75rem; } }
@media (max-width: 639px) {
  .product-card-tall.rv-card .rv-card-actions { grid-template-columns: minmax(0, 1fr) !important; }
  .product-card-tall.rv-card .rv-card-view, .product-card-tall.rv-card .rv-card-visit { min-height: 40px; font-size: .8rem !important; padding: 0 8px !important; }
  /* odd last card in the 2-column phone grid spans both columns in the same vertical layout, so no empty cell and no odd horizontal variant */
  .grid:has(> .product-card-tall) > .product-card-tall.rv-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid:has(> .product-card-tall) > .product-card-tall.rv-card:last-child:nth-child(odd) .rv-card-actions { grid-template-columns: 1fr 1fr !important; }
}
/* 5. Read-the-guide cards: one-line link with the arrow attached; cards stretch to equal height. */
main a.group.flex.h-full.flex-col > span.mt-auto.inline-flex { flex-wrap: nowrap !important; white-space: nowrap !important; align-self: flex-start; gap: .4rem !important; }
main a.group.flex.h-full.flex-col > span.mt-auto.inline-flex svg { flex: 0 0 1rem; margin: 0; }
@media (max-width: 479px) { main a.group.flex.h-full.flex-col:has(> span.mt-auto.inline-flex) { padding: 1rem !important; } }

/* 6. Phones: price tables never wrap a figure; padded include-lists use the card's width (19 Nov 2026) */
td.tabular-nums, th.tabular-nums { white-space: nowrap; }
@media (max-width: 479px) {
  td.tabular-nums { font-size: .8125rem; letter-spacing: 0; }
  main div.reveal.border-gold > div.p-6 { padding: 1rem !important; }
}

/* 7. Sweep fixes (19 Nov 2026): no mid-word breaks in 2-up show-site cards, finance and price tables; footer email on one line; odd last tile spans the row on phones */
@media (max-width: 479px) {
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 { padding: .75rem !important; }
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 h3 { font-size: 1.05rem; line-height: 1.25; overflow-wrap: normal; }
  main .grid.sm\:grid-cols-2 > a.group > div.p-6 p { overflow-wrap: anywhere; }
  main td.px-6 { padding-left: .75rem; padding-right: .75rem; }
  main td.px-6.text-right { font-size: .875rem; }
  main .grid.grid-cols-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* 19 Nov run 3: 3-per-row grids at 1024-1279 never leave a lone card on the last row: the lone card sits in the middle column */
@media (min-width: 1024px) and (max-width: 1279px) {
  .grid:has(> .product-card-tall) > .product-card-tall:last-child:nth-child(3n+1),
  .exd-grid > .exd-card:last-child:nth-child(3n+1),
  .grid.mt-12 > .group:last-child:nth-child(3n+1) { grid-column: 2; }
}

/* 19 Nov run 3: social link names on /contact/ never break mid-word on phones; the row wraps instead */
main div:has(> a[aria-label="Facebook"]):has(> a[aria-label="Instagram"]) { flex-wrap: wrap; gap: 12px 20px; }
main a[aria-label="Facebook"], main a[aria-label="Instagram"], main a[aria-label="YouTube"] { white-space: nowrap; flex: 0 0 auto; }

/* Uses grid See more / See all / See less (21 Nov 2026). Namespaced rv-uc; reuses the site's 48px button size. */
section[data-cms-component="UseCasesGrid"] { overflow-anchor: none; }
.rv-uc-off { display: none !important; }
.rv-uc-ctl { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px auto 0; }
.rv-uc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: #123627; color: #fff; border: 2px solid #07281a; font: 600 .95rem/1 var(--rv-mont, Montserrat, sans-serif); cursor: pointer; text-shadow: none; }
.rv-uc-btn[hidden] { display: none; }
.rv-uc-less { background: #fff; color: #07281a; }
.rv-uc-btn:hover { background: #123627; color: #fff; }
.rv-uc-btn:focus-visible { outline: 3px solid #cdac4e; outline-offset: 2px; }
.rv-uc-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .rv-uc-btn { transition: none; } }

/* UX quick wins, 21 Nov 2026 (branch fix/ux-quickwins-2026-11-21) */
/* 1. Form fields 16 px so iOS Safari does not zoom on focus (UK and /fr/) */
@media (max-width: 1024px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  select, textarea,
  .lead-form__input, .lead-form__select, .lead-form__tel-country, .lead-form__tel-number,
  .lead-form__card-input, .lead-form__pill-input { font-size: 16px !important; }
}
/* 2. Cookie banner: compact bottom bar on phones, buttons side by side and equal */
@media (max-width: 767px) {
  #cookie-consent { left: 0 !important; right: 0 !important; bottom: 0 !important; max-width: none !important; width: 100% !important; padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px)) !important; box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
  #cookie-consent:not(.hidden) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 5px 8px; }
  #cookie-consent h4 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #cookie-consent p { grid-column: 1 / -1; margin: 0 !important; font-size: 10.5px !important; line-height: 1.25 !important; color: #2b2b2b !important; }
  #cookie-consent > div { display: contents; margin: 0 !important; }
  #cookie-consent button { height: 36px !important; min-height: 0 !important; padding: 0 10px !important; font-size: 13px !important; line-height: 1 !important; }
}
/* 3. /ex-display/: reserve space for the JS-rendered sale cards so the page does not jump */
[data-exd-list]:empty { min-height: 3200px; }
@media (min-width: 768px) { [data-exd-list]:empty { min-height: 1600px; } }
.exd-card-img { aspect-ratio: 4 / 3; }
/* 5. Phones: price straight after the product title, gallery below it */
@media (max-width: 1023px) {
  .grid > .lg\:col-span-5:has([data-exd-hero]),
  .grid > .lg\:col-span-5:has([data-exd-hero]) > div:has(> [data-exd-items]),
  .grid > .lg\:col-span-5:has([data-exd-hero]) [data-exd-items] { display: contents; }
  .grid:has(> .lg\:col-span-5 [data-exd-hero]) > .lg\:col-span-5 > div > [data-exd-items] > .cp-price-hero { order: -2; }
  .grid:has(> .lg\:col-span-5 [data-exd-hero]) > .lg\:col-span-5 > div > [data-exd-items] > .cp-price-cash { order: -1; margin-top: -1.5rem; }
}
/* 6. Tap targets (hit area only, layout unchanged) */
.exd-card-link, .rv-card-view, .rv-card-visit { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.rv-sl-dot { position: relative; }
.rv-sl-dot::after { content: ""; position: absolute; inset: -10px; }
footer a, nav[aria-label="Breadcrumb"] a { position: relative; }
footer a::after, nav[aria-label="Breadcrumb"] a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
main summary { padding-block: .7rem; }
.cp-pick__d { min-height: 44px !important; height: 44px !important; }
.cp-pick__t { height: 44px !important; }
.cp-pick__nav { min-height: 44px !important; height: 44px !important; }
.cp-pick__nav { min-width: 44px !important; }
.cp-pick__err { font-size: 14px; font-weight: 600; }
/* 6. Contrast: brand green on light surfaces instead of gold or pale grey small text */
.lead-form__hint, .lead-form__assure, .cp-pick__tz { color: #4a4d44 !important; }
.cp-glance-kicker, .cp-mo-k, .exd-t-l, .exd-card-l, .exd-cat-h, .exd-cat-h small, .exdfr-k, .exdfr-kick, .cp-bgate-eyebrow, [data-exd-finance] > span.inline-block { color: #07281a !important; }
.exd-card-l, .exd-t-l { font-size: .75rem !important; }
.sm-prose a { color: #07281a; text-decoration: underline; display: inline-block; padding: 10px 0; }
/* 7. Gazebo category filter and sort bar */
.rv-fs { background: #e5e5e5; padding: 14px 0; position: relative; z-index: 1; }
.rv-fs__in { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; font-family: Montserrat, sans-serif; }
.rv-fs__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-fs__chips button { min-height: 44px; padding: 0 16px; border: 1px solid #07281a; background: #fff; color: #07281a; font: 600 14px/1 Montserrat, sans-serif; cursor: pointer; }
.rv-fs__chips button[aria-pressed="true"] { background: #123627; color: #fff; }
.rv-fs__sort { display: flex; align-items: center; gap: 8px; color: #07281a; font-size: 14px; font-weight: 600; }
.rv-fs__sort select { min-height: 44px; padding: 0 10px; border: 1px solid #07281a; background: #fff; color: #07281a; font: 500 16px Montserrat, sans-serif; }
.rv-fs__n { margin: 0; color: #2b2b2b; font-size: 14px; flex-basis: 100%; }

/* Buyer guides, one shared component (Hassan 21 Nov 2026): 4 per view (2x2 phones, 4 across desktop). More than 4: crown-revisions.js pages them
   4 at a time with the brand arrows, dots and "n of N". Without JavaScript the first 4 show and the "All guides and news" link stays visible. */
.rv-guides .rv-g-track, .rv-guides .rv-g-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
@media (min-width: 900px) { .rv-guides .rv-g-track, .rv-guides .rv-g-page { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.rv-guides:not(.rv-g-on) .rv-g-track > .rv-g-card:nth-child(n+5) { display: none; }
.rv-guides .rv-g-card { padding: 16px; min-width: 0; }
@media (min-width: 900px) { .rv-guides .rv-g-card { padding: 24px; } }
.rv-guides .rv-g-line { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-guides .rv-g-card > span:nth-child(2) { overflow-wrap: anywhere; }
.rv-guides.rv-g-paged .rv-g-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rv-guides.rv-g-paged .rv-g-track::-webkit-scrollbar { display: none; }
.rv-guides .rv-g-page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.rv-guides .rv-g-track:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 4px; }
.rv-guides .rv-sl-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.rv-guides .rv-sl-ctl[hidden] { display: none; }
.rv-guides .rv-sl-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.rv-guides .rv-sl-dots { display: flex; justify-content: center; }
.rv-guides .rv-sl-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rv-guides .rv-sl-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(18,54,39,.28); transition: background .2s, transform .2s; }
.rv-guides .rv-sl-dot[aria-current="true"]::before { background: var(--rv-forest); transform: scale(1.25); }
.rv-guides .rv-sl-count { font: 500 .8rem/1 var(--rv-mont); color: rgba(51,51,51,.8); }
.rv-guides .rv-sl-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rv-forest); background: var(--rv-forest); color: var(--rv-gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; text-shadow: none; }
.rv-guides .rv-sl-btn svg { width: 18px; height: 18px; }
.rv-guides .rv-sl-btn:disabled { opacity: .35; cursor: default; }
.rv-guides .rv-sl-btn:focus-visible, .rv-guides .rv-sl-dot:focus-visible { outline: 2px solid var(--rv-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rv-guides .rv-sl-dot::before { transition: none; } }

/* 21 Nov 2026 (Hassan): a heading block above a centred USP tile grid is centred too on tablet and desktop, so the section reads as one centred unit. */
@media (min-width: 768px) {
  main .text-center:has(+ .rv-usp-grid) > :is(h2, h3, p):not(a *):not(button *):not(.rv-visit *):not(.hero-video *) { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
}
/* 21 Nov 2026 (Hassan): CTA band copy stays on one line on desktop instead of wrapping beside empty space. */
@media (min-width: 1024px) { .rv-cta-copy { max-width: none; } .rv-cta-copy small { max-width: 90ch; } }

/* Hero focus per photo (21 Nov 2026): at live height the photo is cropped top and bottom, so these photos get their own focus to keep the roof and the building in frame on desktop. Phones show the whole photo, so this has no effect there. */
#hero[data-variant="page"] > img[src*="winter/hero-summer-houses"] { --rv-op: center 27%; }
#hero[data-variant="page"] > img[src*="cb262b921b875db3"] { --rv-op: center 25%; }
#hero[data-variant="page"] > img[src*="garden-shelters/hero-horizon"] { --rv-op: center 38%; }
#hero[data-variant="page"] > img[src*="art-studio-hero"] { --rv-op: center 36%; }
#hero[data-variant="page"] > img[src*="carport-hero"] { --rv-op: center 34%; }
#hero[data-variant="page"] > img[src*="garden-bar/your_style"] { --rv-op: center 42%; }
#hero[data-variant="page"] > img[src*="Clarence_Annexe2_1440x900"] { --rv-op: center 30%; }
#hero[data-variant="page"] > img[src*="garden-gym/groundworks"] { --rv-op: center 42%; }
#hero[data-variant="page"] > img[src*="garden-office/phone_internet"] { --rv-op: center 46%; }
#hero[data-variant="page"] > img[src*="Pool-Houses-Tablet"] { --rv-op: center 55%; }
#hero[data-variant="page"] > img[src*="music-room/Imagemusic"] { --rv-op: center 40%; }
#hero[data-variant="page"] > img[src*="pages/summer-houses/hero"] { --rv-op: center 42%; }
#hero[data-variant="page"] > img[src*="eb407ba241f0e959"] { --rv-op: center 50%; }
#hero[data-variant="page"] > img[src*="9676724cebe97725"] { --rv-op: center 46%; }
#hero[data-variant="page"] > img[src*="6ddb13a935fc8d40"] { --rv-op: center 45%; }
#hero[data-variant="page"] > img[src*="e9ca4a49d4d24c66"] { --rv-op: center 55%; }

/* Batch A (21 Nov 2026): first screen. Shared, so UK and /fr/ both get it. */
/* Phone action bar shows from page load: Call plus the one gold primary action for that page. The cookie bar sits above it, never over it. */
@media (max-width: 1023px) {
  .rv-mbar { grid-template-columns: auto 1fr !important; }
  .rv-mbar .rv-mbar-call { width: auto !important; padding: 0 16px !important; gap: 8px; }
  .rv-mbar .rv-mbar-book { background: #cdac4e !important; border-color: #cdac4e !important; color: #07281a !important; }
  body.rv-mbar-on #cookie-consent { bottom: calc(67px + env(safe-area-inset-bottom, 0px)) !important; padding-bottom: 6px !important; }
  /* hero buttons added for desktop: phones use the bar, so one gold button per screen */
  .jx-btns--auto, .rv-hero-cta { display: none !important; }
  /* the bar keeps the right-hand slot free only when the chat button is on the page */
  .rv-mbar { padding-right: 14px !important; }
  body:has(.cpc-btn) .rv-mbar { padding-right: 84px !important; }
  /* a gold button already in the first phone screen steps down to an outline, so the bar holds the one gold button */
  [data-gold-yield="dark"]:not(#x) { background: transparent !important; color: #fff !important; border: 1px solid #fff !important; }
  [data-gold-yield="light"]:not(#x) { background: transparent !important; color: #07281a !important; border: 1px solid #07281a !important; }
}
/* Desktop video hero: the hero ends at the bottom of the first screen, so the heading band and its gold button show on load. */
@media (min-width: 1024px) {
  .hero-video { height: clamp(500px, calc(100vh - var(--rv-hdr, 172px)), calc(56.25vw + var(--rv-band))) !important; }
  html[lang^="fr"] .hero-video { --rv-hdr: 245px; }
  .hero-video .hero-video-poster, .hero-video .hero-video-el { object-position: var(--rv-op, 50% 50%) !important; }
  .rv-hero-cta { position: absolute; z-index: 12; right: 24px; bottom: calc((var(--rv-band, 150px) - 48px) / 2); }
  .hero-video .hero-video-slides { max-width: min(900px, calc(100% - 340px)) !important; }
  /* product page: visit and consultation side by side in the first screen */
  .jx-btns--product:has(.jx-btn + .jx-btn) { flex-direction: row !important; flex-wrap: wrap !important; align-items: stretch !important; }
  .jx-btns--product:has(.jx-btn + .jx-btn) .jx-btn { flex: 1 1 232px !important; width: auto !important; max-width: none !important; padding: 0 10px !important; white-space: nowrap; font-size: 14px !important; letter-spacing: 0 !important; }
}
/* Finance links land on the heading band, which carries the next step */
#next-step { scroll-margin-top: 132px; }
/* Annexe and mobile home annexe pages: no show site visit buttons */
body[data-cp-novisit] header a[href^="/book-a-visit/"], body[data-cp-novisit] .rv-menu-book, body[data-cp-novisit] footer a[href^="/book-a-visit/"] { display: none !important; }
/* Tables wider than a phone scroll inside their own box, with a line that says so */
.rv-tscroll-cue { display: none; }
@media (max-width: 767px) {
  .rv-tscroll-cue { display: block; margin: 0 0 6px !important; font: 600 12.5px/1.35 Montserrat, Arial, sans-serif; color: #07281a; text-align: left !important; }
  .rv-tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-right: 3px solid #cdac4e; }
  /* cells keep whole words and whole prices; the box scrolls instead of breaking them mid-word */
  .rv-tscroll table :is(th, td) { overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important; }
}

/* garden-studio-page */
/* Garden Studio Collection: mega menu gets a third column (Heritage, Garden Studio, Signature) */
.rv-gr-split { grid-template-columns: calc((100% - 84px) / 5) calc((100% - 84px) / 5) minmax(0, 1fr); }
@media (min-width: 1024px) { .rv-gr-split .rv-gr-label:not(#p2) { min-height: 6.6rem; } }
.rv-gr-col:not(.rv-gr-sig) a.rv-gr-label:hover b { color: var(--rv-gold); }
/* page */
.gs-h1 { font-size: 2.25rem; }
@media (min-width: 1024px) { .gs-h1 { font-size: 3.5rem; white-space: nowrap; } }
.gs-kw { margin: 0; }
.gs-desc { margin: 0; }
.gs-fin { margin: 10px 0 18px; font: 400 .75rem/1.45 var(--rv-mont); color: rgba(31,42,36,.66); max-width: 34rem; }
.rv-gal--32 .rv-gal-stage { aspect-ratio: 3 / 2; }
.rv-gal--32 .rv-gal-thumbs li { flex: 0 0 calc((100% - 16px) / 3); }
.rv-gal--32 .rv-gal-thumbs button { aspect-ratio: 3 / 2; }
@media (max-width: 640px) { .rv-gal--32 .rv-gal-thumbs li { flex-basis: calc((100% - 16px) / 3); } }
.gs-stats { background: #fff; border-top: 1px solid rgba(18,54,39,.14); border-bottom: 1px solid rgba(18,54,39,.14); }
.gs-stats-grid { margin: 0; display: grid; grid-template-columns: 1fr; }
.gs-stats-grid > div { padding: 18px 0; border-top: 1px solid rgba(18,54,39,.14); }
.gs-stats-grid > div:first-child { border-top: 0; }
.gs-stats-grid dt { font: 600 .72rem/1 var(--rv-mont); letter-spacing: .14em; text-transform: uppercase; color: #7d6227; }
.gs-stats-grid dd { margin: 8px 0 0; font: 700 1.2rem/1.3 var(--rv-optima); color: var(--rv-forest); }
@media (min-width: 900px) {
  .gs-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gs-stats-grid > div { padding: 26px 28px; border-top: 0; border-left: 1px solid rgba(18,54,39,.14); }
  .gs-stats-grid > div:first-child { border-left: 0; padding-left: 0; }
}
.gs-intro { max-width: 46rem; text-align: left; }
.gs-intro p { margin-top: 12px; }
.gs-head { text-align: left; }
.gs-note { margin-top: 28px; font: 400 .8rem/1.5 var(--rv-mont); color: rgba(31,42,36,.66); text-align: left; }
.gs-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 56px; border-top: 1px solid rgba(18,54,39,.16); }
@media (min-width: 900px) { .gs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gs-list li { padding: 16px 0; border-bottom: 1px solid rgba(18,54,39,.16); text-align: left; }
.gs-list b { display: block; font: 700 1.1rem/1.25 var(--rv-optima); color: var(--rv-forest); }
.gs-list p { display: block; margin: 4px 0 0; font: 400 .95rem/1.5 var(--rv-mont); color: rgba(31,42,36,.78); }
.gs-fig { margin: 0; background: #fff; border: 1px solid rgba(18,54,39,.14); }
.gs-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.gs-fig figcaption { padding: 14px 18px; font: 700 1.15rem/1.2 var(--rv-optima); color: var(--rv-forest); text-align: left; }
.gs-opts { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .gs-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gs-opts > div { background: #fff; border: 1px solid rgba(18,54,39,.14); padding: 22px 24px; }
.gs-opts h3 { margin: 0 0 10px; font: 700 1.15rem/1.2 var(--rv-optima); color: var(--rv-forest); }
.gs-opts ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gs-opts li { padding: 8px 14px; border: 1px solid rgba(18,54,39,.2); font: 500 .9rem/1.2 var(--rv-mont); color: #1f2a24; background: #e5e5e5; }
.gs-brochure { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .gs-brochure { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.gs-brochure-act { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .gs-brochure-act { flex-direction: row; } }
/* hub: five collection cards, three on the first row and two centred on the second, never an orphan */
.gs-hubgrid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 32px; }
.gs-hubgrid > .rv-card { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; align-self: stretch; height: auto; }
.gs-hubgrid > .rv-card > a:first-child { flex: 1 1 auto; height: auto; }
@media (min-width: 640px) { .gs-hubgrid > .rv-card { flex-basis: calc((100% - 32px) / 2); } }
@media (min-width: 1024px) { .gs-hubgrid > .rv-card { flex-basis: calc((100% - 64px) / 3); } }

/* 24 Nov 2026 full-width sweep: share bar under article heroes fills the container like the page heading */
.max-w-\[800px\]:has(> nav[aria-label="Share this article"]){max-width:none}
/* two cards in a three-column grid fill the row (no empty third cell) */
@media (min-width:1024px){.lg\:grid-cols-3:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* sitemap list starts at the container edge like the page heading */
.max-w-content:has(> .sm-prose){max-width:90rem}
.sm-prose{margin-left:0!important;margin-right:0!important;max-width:48rem!important}
/* thank-you confirmation blocks (contact, show sites): full container, left aligned, button beside the text */
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center{max-width:none;margin:0;text-align:left}
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center p{max-width:52rem}
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center .jx-btns{justify-content:flex-start;margin-top:1.25rem}
@media (min-width:860px){
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center:has(.jx-btns){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:56px;align-items:start;row-gap:0}
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center:has(.jx-btns) h2{grid-column:1;grid-row:1;align-self:center}
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center:has(.jx-btns) > p{grid-column:1;grid-row:2}
section:has(+ #brochure-downloads) > div > .max-w-2xl.text-center:has(.jx-btns) .jx-btns{grid-column:2;grid-row:1;align-self:center;margin-top:0}
}
/* 25 Nov 2026 (Hassan, French site review): one header on every page, UK and FR (bin/apply-fr-header-parity-2026-11-25.py).
   The logo never touches the search icon, menu button or contact links: phones cap it to the space between them,
   1024-1279px use a smaller logo, and the three header columns keep a 16px gap. Unlayered, so no page style can resize it. */
header .grid.h-20 { column-gap: 1rem; }
header .grid.h-20 > a.justify-self-center > img { height: 3rem; width: auto; }
@media (max-width: 767px) {
  header .grid.h-20 > a.justify-self-center > img { width: min(16.125rem, calc(100vw - 10.5rem)); height: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  header .grid.h-20 > a.justify-self-center > img { height: 2.5rem; }
}
