/* rangerovercarbuyer.co.uk: home page history section + desktop logo size (24 Oct 2026). Timeline type 8, gallery type 6. */
.rvh{--hb:var(--off);--hi:var(--ink);--hm:var(--muted);--ha:var(--cognac);--ha2:var(--slate-950);--hc:var(--white);--hl:var(--rule);--hh:var(--display);--hbf:var(--text);--ho:#fff;--hy:var(--ha);--hg:var(--ha);
  position:relative;background:var(--hb);color:var(--hi);font-family:var(--hbf);padding:clamp(56px,7vw,96px) 0;overflow:hidden}
.rvh *,.rvh *::before,.rvh *::after{box-sizing:border-box}
.rvh-in{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.rvh-top{max-width:780px;margin:0 0 clamp(28px,4vw,44px)}
.rvh-top::after{content:"";display:block;width:96px;height:4px;margin-top:18px;background:var(--hg)}
.rvh-h{font-family:var(--hh);color:var(--hi);font-size:clamp(28px,4.2vw,46px);line-height:1.1;margin:0 0 14px;display:flex;align-items:center;gap:14px}
.rvh-h>span:last-child{min-width:0;flex:1 1 auto}
.rvh-flag{display:inline-flex;flex:none;width:clamp(36px,4vw,46px);line-height:0}
.rvh-flagsvg{display:block;width:100%;height:auto;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.14),0 2px 6px rgba(0,0,0,.12)}
.rvh-intro{color:var(--hm);font-size:clamp(16px,1.6vw,18px);line-height:1.6;margin:0}
.rvh-tl{list-style:none;margin:0;padding:0 0 0 28px;position:relative}
.rvh-tl::before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--hl)}
.rvh-tl:focus-visible{outline:3px solid var(--ha);outline-offset:4px}
.rvh-ev{position:relative;margin:0;padding:0 0 24px}
.rvh-ev::before{content:"";position:absolute;left:-26px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--ha);box-shadow:0 0 0 3px var(--hb)}
.rvh-yr{display:inline-block;font-family:var(--hh);font-weight:700;color:var(--ha);font-variant-numeric:tabular-nums;line-height:1.1}
.rvh-tx{margin:6px 0 0;font-size:16px;line-height:1.55;color:var(--hi)}
.rvh-gh{font-family:var(--hh);color:var(--hi);font-size:clamp(22px,2.8vw,32px);line-height:1.15;margin:clamp(44px,6vw,68px) 0 22px}
.rvh-gal{display:grid;gap:18px}
.rvh-ph{margin:0;position:relative;min-width:0}
.rvh-fr{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--hc)}
.rvh-fr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;font-size:12px;line-height:1.4;color:var(--hm);padding:0}
.rvh figcaption{margin-top:10px;font-size:14.5px;line-height:1.45;color:var(--hi)}
.rvh-cy{font-weight:700;color:var(--ha);font-variant-numeric:tabular-nums}
.rvh-cr{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:var(--hm);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.rvh-cr:hover{color:var(--hi)}
.rvh-call{margin:clamp(34px,5vw,52px) 0 0;font-size:clamp(17px,2vw,21px);font-weight:600;line-height:1.4;color:var(--hi)}
.rvh-call a{color:var(--ha);font-weight:800;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.rvh-ev,.rvh-yr,.rvh-ph{transition:transform .35s ease,opacity .35s ease}
@media (min-width:860px){
  .rvh-tl{display:flex;gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 18px;scrollbar-width:thin;scrollbar-color:var(--ha) transparent}
  .rvh-tl::before,.rvh-ev::before{display:none}
  .rvh-ev{flex:0 0 240px;scroll-snap-align:start;padding:0}
}

.rvh-tl::before{width:1px;left:8px;background:var(--hi);opacity:.5}
.rvh-ev::before{width:9px;height:9px;left:-24px;top:16px;border-radius:0;transform:rotate(45deg)}
.rvh-yr{font-style:italic;font-weight:400;font-size:38px}
.rvh-tx{font-size:15.5px}
@media (min-width:860px){
  .rvh-tl{gap:32px;counter-reset:hx}
  .rvh-ev{flex-basis:244px;border-top:1px solid var(--hi);padding-top:16px;counter-increment:hx}
  .rvh-ev::after{content:counter(hx,decimal-leading-zero);position:absolute;top:18px;right:0;font-size:12px;letter-spacing:.12em;color:var(--hm)}
  .rvh-yr{font-size:44px}
  .rvh-ev:hover .rvh-yr{transform:translateX(4px)}
}

.rvh-gal{grid-template-columns:1fr 1fr;gap:22px 14px}
.rvh-fr{aspect-ratio:4/5;border:8px solid var(--ha2);background:var(--hc);box-shadow:0 10px 22px rgba(0,0,0,.14)}
.rvh-fr img{inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}
.rvh figcaption{margin:12px auto 0;text-align:center;padding:8px 8px 10px;border:1px solid var(--hl);background:var(--hc);font-size:13.5px}
.rvh-cy{display:block;letter-spacing:.14em;font-size:12px}
.rvh-ph:hover{transform:translateY(-4px)}
@media (min-width:860px){.rvh-gal{grid-template-columns:repeat(4,1fr);gap:30px}.rvh-gal--n3{grid-template-columns:repeat(3,1fr)}.rvh-gal--n2{grid-template-columns:repeat(2,minmax(0,300px))}.rvh-fr{border-width:12px}.rvh-fr img{inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}}

@media (prefers-reduced-motion:reduce){
  .rvh-ev,.rvh-yr,.rvh-ph,.rvh-fr,.rvh-ev::after{transition:none!important}
  .rvh-ev:hover,.rvh-ph:hover,.rvh-ph:hover .rvh-fr,.rvh-ev:hover .rvh-yr,.rvh-ev:hover::after{transform:none}
  .rvh--t7 .rvh-ev:hover{transform:rotate(-1.2deg)}
  .rvh--g3 .rvh-ph:hover{transform:rotate(-1.4deg)}
}

/* Header logo: larger on wide screens (24 Oct 2026). zoom scales the mark and wordmark together. */
@media (min-width:1200px){header .ed-logo{zoom:1.22}}
