/* Site rhythm: one source of vertical spacing between page sections.
   Core's constrained layout adds a 24px block gap above every top-level block. Between full-bleed coloured
   sections (section nav, exterior stage, colour panel, interior, lifestyle band) that gap shows as a white strip.
   Vehicle pages are built from self-padded sections, so they get no block gap; plain text blocks keep theirs. */
:root{--section-nav-height:52px}
.gwm-vehicle-page .entry-content>:is(section,nav,div,figure,aside){margin-block-start:0}
.gwm-vehicle-page .entry-content>:is(section,nav,div,figure,aside)+:is(p,h2,h3,ul,ol){margin-block-start:clamp(32px,4vw,56px)}
/* Hero brand mark: core's constrained layout gives every child margin-inline:auto, which centred the logo in its
   grid cell instead of aligning it with the eyebrow and title. Also size it from its real 4.35:1 ratio. */
.gwm-vehicle-hero>.gwm-hero-brand{margin-left:0!important;margin-right:0!important;justify-self:start;width:auto;aspect-ratio:792/182}
/* ORA 5 interior trim photos only exist at ~532px (GWM supplied no larger): never show them wider than ~270 CSS px,
   or they go soft on every 2x/3x screen. */
.gwm-interior-trim-cards{grid-template-columns:repeat(3,minmax(0,270px))}
.gwm-interior-trim-cards img{max-width:270px}
@media(max-width:700px){.gwm-interior-trim-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
/* Interior detail rail: keep the photos' own 3:2 shape instead of a near-square crop (tablet showed 1.3x upscale). */
.gwm-interior-rail figure>div{aspect-ratio:1008/682;height:auto}

/* Keep vehicle bands truly edge-to-edge inside Core's constrained post-content wrapper. */
.gwm-vehicle-ora-5-ev .entry-content>:is(.gwm-section-nav,.gwm-exterior-wrap,.gwm-colour-panel,.gwm-interior){
  width:100vw;
  max-width:none!important;
  margin-inline:calc(50% - 50vw)!important;
  left:auto;
  transform:none;
}

/* Price cards should read as one centred row on wide displays, not a small cluster at the left edge. */
.gwm-vehicle-ora-5-ev .gwm-trim-prices{
  box-sizing:border-box;
  width:min(100%,1240px);
  margin-inline:auto!important;
}
.gwm-vehicle-ora-5-ev .gwm-trim-prices>div{grid-template-columns:repeat(2,minmax(0,1fr))}

/* WordPress stacks Columns below 782px. At tablet width these three compact footer groups fit better as columns. */
@media (min-width:701px) and (max-width:900px){
  .gwm-footer .wp-block-columns{
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,1.15fr);
    gap:clamp(20px,3vw,36px)!important;
  }
  .gwm-footer .wp-block-column{min-width:0;margin:0!important}
  .gwm-footer p,.gwm-footer a{overflow-wrap:anywhere}
}
/* 360 stages on phones: the drag hint sat on top of the ← → buttons. Centre it above the controls instead. */
@media(max-width:700px){.gwm-exterior-stage .gwm-spin-hint{left:50%;right:auto;bottom:150px;transform:translateX(-50%);white-space:nowrap}}
/* Hero prices: 16px figures under a 60px+ title read as an afterthought on phones and tablets. */
@media(max-width:1024px){.gwm-hero-prices strong{font-size:clamp(22px,4.6vw,28px)}.gwm-hero-prices span{font-size:12px}}
/* Closing panel for models without a Nepal spec sheet (replaces a bare "Specifications coming soon" line). */
.gwm-specs-pending{margin:clamp(56px,8vw,112px) 0 0;padding:clamp(32px,5vw,64px);background:#eef0ec}
.gwm-specs-pending .eyebrow{margin:0 0 14px}
.gwm-specs-pending h2{margin:0 0 14px;font-size:clamp(30px,3.4vw,48px);font-weight:500;letter-spacing:-.03em;line-height:1.05}
.gwm-specs-pending p:not(.eyebrow){max-width:560px;margin:0;color:#4c534f;line-height:1.55}
.gwm-specs-pending__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.gwm-specs-pending__actions .wp-element-button,.gwm-specs-pending__secondary{min-height:50px;padding:13px 24px;font:inherit;font-weight:600;cursor:pointer}
.gwm-specs-pending__secondary{color:#111615;background:transparent;border:1px solid #111615}
.gwm-specs-pending__secondary:hover{color:#fff;background:#111615}
/* The details block repeated the price a third time at the foot of pages that already show hero + trim prices.
   Keep the block (brochure download) but drop its price lines there. */
.gwm-vehicle-page:has(.gwm-trim-prices) :is(.gwm-vehicle-details__price,.gwm-vehicle-details__date,.gwm-vehicle-details__status){display:none}
/* About page */
.gwm-main:has(.gwm-about-hero)>.wp-block-post-title{display:none}
.gwm-about-copy{padding-block:clamp(56px,7vw,104px) 0}
.gwm-about-copy h2{margin:0 0 18px;font-size:clamp(34px,4.2vw,60px);font-weight:500;letter-spacing:-.035em;line-height:1.02}
.gwm-about-lead{margin-left:0!important;margin-right:auto!important;max-width:720px;font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:#3f4642}
.gwm-about-copy .wp-block-buttons{margin-top:28px}
.gwm-about-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:clamp(48px,6vw,88px)!important;border-top:1px solid #d9dcd6}
.gwm-about-facts>.wp-block-group{margin:0!important;padding:28px 28px 8px 0;border-right:1px solid #d9dcd6}
.gwm-about-facts>.wp-block-group+.wp-block-group{padding-left:28px}
.gwm-about-facts>.wp-block-group:last-child{border-right:0}
.gwm-about-facts p{margin:0;line-height:1.5;color:#4c534f}
.gwm-about-facts strong{color:#111615}
.gwm-about-facts .gwm-about-figure{margin:0 0 10px;font-size:clamp(48px,5vw,76px);font-weight:500;letter-spacing:-.05em;line-height:1;color:#111615}
@media(max-width:700px){.gwm-about-facts{grid-template-columns:1fr}.gwm-about-facts>.wp-block-group,.gwm-about-facts>.wp-block-group+.wp-block-group{padding:22px 0;border-right:0;border-bottom:1px solid #d9dcd6}}
/* News & Offers */
.gwm-news-page{padding-bottom:clamp(64px,8vw,120px)}
.gwm-news-lead{max-width:620px;margin-left:0!important;font-size:clamp(17px,1.4vw,19px);color:#4c534f}
.gwm-news-query{margin-top:clamp(32px,4vw,56px)!important}
.gwm-news-grid{gap:clamp(18px,2.4vw,32px)!important}
.gwm-news-card{display:grid;gap:10px;align-content:start}
.gwm-news-card .wp-block-post-featured-image{margin:0 0 6px}
.gwm-news-date{font-size:13px;color:#6b716d}
.gwm-news-card .gwm-news-title{margin:0;font-size:clamp(20px,1.7vw,24px);font-weight:500;letter-spacing:-.015em;line-height:1.2}
.gwm-news-card .gwm-news-title a{color:inherit;text-decoration:none}
.gwm-news-empty{max-width:none;margin:0!important;padding:clamp(32px,5vw,64px);background:#eef0ec}
.gwm-news-empty h2{margin:0 0 12px;font-size:clamp(26px,3vw,40px);font-weight:500;letter-spacing:-.03em}
.gwm-news-empty p{max-width:560px;margin:0;color:#4c534f;line-height:1.55}
.gwm-news-empty .wp-block-buttons{margin-top:26px}
@media(max-width:900px){.gwm-news-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){.gwm-news-grid{grid-template-columns:1fr!important}}
/* Compare on phones: the 3-column table ran off-screen. Each spec becomes a full-width label over two values. */
@media(max-width:700px){
.gwm-compare-wrap{overflow:visible}
.gwm-compare-table,.gwm-compare-table tbody,.gwm-compare-table thead{display:block;width:100%;min-width:0!important}
.gwm-compare-table td{min-width:0;overflow-wrap:anywhere}
.gwm-compare-table tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;padding:12px 0;border-bottom:1px solid #e3e5e1}
.gwm-compare-table th[scope=row]{grid-column:1/-1;padding:0;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5b625e}
.gwm-compare-table thead tr{position:sticky;top:0;z-index:2;background:#fff}
.gwm-compare-table thead th:first-child{display:none}
.gwm-compare-table th[colspan]{grid-column:1/-1;padding-top:18px;font-size:18px;text-transform:none;letter-spacing:0;color:#111615}
.gwm-compare-table td,.gwm-compare-table th{padding:0;border:0}
}
