/* jfa-pg-v2 pages (workshop services, about, tuning landing). Builds on jfa-ds.css + jfa-ds-del.css.
   Image-led by design (John, 2 Oct 2026): photo cards, photo strips, short copy. */

/* photo cards: picture on top, short title + one line under it */
.hv2 .pg-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gap)}
.hv2 .pg-cards.c3{grid-template-columns:repeat(3,1fr)}
.hv2 .pg-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
html body .hv2 .pg-card img{width:100%!important;height:220px!important;max-width:none!important;object-fit:cover;display:block}
.hv2 .pg-card > div{padding:18px 20px 20px}
.hv2 .pg-card h3{font-size:19px;margin:0 0 6px}
.hv2 .pg-card p{margin:0;color:var(--ink2);font-size:15.5px;line-height:1.55}
.hv2 .pg-card:not(:has(img)) > div{padding:22px}

/* tick list inside the split copy */
html body .hv2 .pg-ticks,html body .hv2 .pg-ticks li{list-style:none!important;margin:0;padding:0}
.hv2 .pg-ticks{display:grid;gap:10px;margin:0 0 16px!important}
html body .hv2 .pg-ticks li{position:relative;padding-left:24px;color:var(--ink2);line-height:1.55}
.hv2 .pg-ticks li::before{content:"";position:absolute;left:0;top:6px;width:12px;height:7px;border-left:2.5px solid var(--cyan);border-bottom:2.5px solid var(--cyan);transform:rotate(-45deg)}

/* price cards with a coverage picture */
.hv2 .pg-prices{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}
.hv2 .pg-price{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 14px 18px;text-align:center}
html body .hv2 .pg-price img{width:100%!important;height:auto!important;max-width:none!important;border-radius:10px;margin-bottom:8px}
.hv2 .pg-price b{font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.03em;font-size:17px;color:var(--ink)}
.hv2 .pg-price span{color:#0079AE;font-weight:700;font-size:18px}
.hv2 .pg-note{margin:16px 0 0;color:var(--ink2);font-size:14.5px}

/* partner block: photo + short story */
.hv2 .pg-partner{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px;align-items:center}
html body .hv2 .pg-partner img{width:100%!important;height:360px!important;max-width:none!important;object-fit:cover;border-radius:14px;display:block}
.hv2 .pg-partner h2{margin:6px 0 12px}
.hv2 .pg-partner.noimg{grid-template-columns:1fr;max-width:820px}

/* photo strip: 3 or 4 real workshop photos */
.hv2 .pg-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hv2 .pg-strip.n3{grid-template-columns:repeat(3,1fr)}
html body .hv2 .pg-strip img{width:100%!important;height:300px!important;max-width:none!important;object-fit:cover;border-radius:14px;display:block}

/* petrol vs diesel, alternating splits, budget rows */
.hv2 .pg-compare{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap)}
.hv2 .pg-compare .pg-ticks{margin:6px 0 12px!important}
.hv2 .pg-compare.c3{grid-template-columns:repeat(3,1fr)}
@media (max-width:1000px){ .hv2 .pg-compare.c3{grid-template-columns:1fr} }
@media (min-width:901px){ .hv2 .del-split.pg-rev{grid-template-columns:.85fr 1.15fr} .hv2 .del-split.pg-rev .del-side{order:-1} }
.hv2 .pg-budget{display:grid;gap:10px}
.hv2 .pg-budget > div{display:grid;grid-template-columns:1.2fr .8fr 1.6fr;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px}
.hv2 .pg-budget b{font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.03em;font-size:16.5px;color:var(--ink)}
.hv2 .pg-budget span{color:#0079AE;font-weight:700;font-size:17px}
.hv2 .pg-budget em{font-style:normal;color:var(--ink2);font-size:14.5px;line-height:1.5}
@media (max-width:700px){ .hv2 .pg-compare{grid-template-columns:1fr} .hv2 .pg-budget > div{grid-template-columns:1fr;gap:4px} }

/* timeline year label on a card */
.hv2 .pg-yr{display:inline-block;font-family:Oswald,sans-serif;font-size:13px;letter-spacing:.14em;color:#0079AE;margin-bottom:4px}

/* team grid */
/* John, 2 Oct: "Read about" lined up along the bottom of every card, and a short last row sits centred */
.hv2 .pg-people{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--gap);--cols:4}
.hv2 .pg-person{flex:0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;text-align:center}
.hv2 .pg-person details{margin-top:auto!important;padding-top:12px}
.hv2 .pg-person summary{text-align:center}
html body .hv2 .pg-person img{width:150px!important;height:150px!important;max-width:none!important;object-fit:cover;border-radius:50%;display:block;margin:0 auto 12px;background:#EEF3F6}
.hv2 .pg-person h3{font-size:19px;margin:0}
.hv2 .pg-role{display:block;color:#0079AE;font-weight:600;font-size:14.5px;margin-top:2px}
.hv2 .pg-dream{display:block;color:var(--ink2);font-size:13.5px;margin-top:6px}
.hv2 .pg-person details,.hv2 .pg-rolecard details{margin-top:10px;text-align:left}
.hv2 .pg-person summary,.hv2 .pg-rolecard summary{cursor:pointer;color:#0079AE;font-weight:600;font-size:14.5px}
.hv2 .pg-person details p{font-size:14.5px;line-height:1.6;color:var(--ink2);margin:8px 0 0}
.hv2 .pg-rolecard .pg-ticks{margin:10px 0 0!important}
.hv2 .pg-apply{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
html body .hv2 .pg-apply a{color:#0079AE!important;font-weight:600}

@media (max-width:900px){
  .hv2 .pg-people{--cols:2}
  .hv2 .pg-person{padding:14px 10px}
  .hv2 .pg-person h3{font-size:17px}
  .hv2 .pg-role{font-size:13.5px}
  .hv2 .pg-dream{font-size:12.5px}
  .hv2 .pg-person summary{font-size:13.5px;white-space:nowrap}
  html body .hv2 .pg-person img{width:110px!important;height:110px!important}
  .hv2 .pg-cards.c3,.hv2 .pg-prices{grid-template-columns:1fr 1fr}
  .hv2 .pg-partner{grid-template-columns:1fr}
  html body .hv2 .pg-partner img{height:260px!important}
  .hv2 .pg-strip,.hv2 .pg-strip.n3{grid-template-columns:1fr 1fr}
  html body .hv2 .pg-strip img{height:200px!important}
}
@media (max-width:600px){
  .hv2 .pg-cards,.hv2 .pg-cards.c3{grid-template-columns:1fr}
  html body .hv2 .pg-card img{height:200px!important}
  .hv2 .pg-strip.n3 img:nth-child(3){display:none}
}

/* 13 Oct 2026 rebuilds: product shots, legal prose, embeds */
html body .hv2 .pg-card.fit img{object-fit:contain;background:#f4f6f8;padding:14px}
.hv2 .del-split.fit .del-side{background:#f4f6f8}
html body .hv2 .del-split.fit .del-side img{object-fit:contain;padding:18px}
.hv2 .del-hero.fit .del-hero-img{background:var(--dark)}
html body .hv2 .del-hero.fit .del-hero-img img{object-fit:contain;padding:24px}
.hv2 .del-hero.noimg{min-height:0}
.hv2 .del-hero.noimg::after{display:none}
.hv2 .del-hero.noimg .del-hero-in{padding-top:48px;padding-bottom:40px}
.hv2 .pg-more{display:inline-block;margin-top:10px;color:#0079AE;font-weight:600;text-decoration:none}
.hv2 .pg-embed{max-width:100%;overflow-x:auto}
.hv2 .pg-embed .wpDataTablesWrapper{max-width:100%}
.hv2 .pg-prose{max-width:860px}
.hv2 .pg-prose h2{font-size:clamp(20px,2.4vw,26px);margin:34px 0 10px;scroll-margin-top:110px}
.hv2 .pg-prose h2:first-child{margin-top:0}
.hv2 .pg-prose h3,.hv2 .pg-prose h4{font-size:18px;margin:22px 0 8px}
.hv2 .pg-prose p,.hv2 .pg-prose li{font-size:16px;line-height:1.7;color:var(--ink2)}
.hv2 .pg-prose img{max-width:100%;height:auto}
.hv2 .pg-prose a{color:#0079AE;overflow-wrap:anywhere!important;word-break:break-word}
.hv2 .pg-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:14px 0;font-size:14.5px}
.hv2 .pg-prose table>tbody,.hv2 .pg-prose table>thead{display:table;width:100%;border-collapse:collapse}
.hv2 .pg-prose td,.hv2 .pg-prose th{border:1px solid var(--line);padding:8px 10px;vertical-align:top;min-width:120px}
.hv2 .pg-prose *{max-width:100%;overflow-wrap:anywhere}
.hv2 table.pg-dl{width:100%;max-width:860px;border-collapse:collapse;background:#fff;font-size:15px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
html body .hv2 table.pg-dl thead th{background:#0f1722!important;color:#fff!important;text-align:left;padding:10px 12px;font-family:var(--fd,inherit);font-size:13px;letter-spacing:.04em;text-transform:uppercase}
.hv2 table.pg-dl td{border-top:1px solid var(--line);padding:10px 12px;color:var(--ink2)}
.hv2 table.pg-dl td:first-child{color:var(--ink);font-weight:600;width:50%}
@media (max-width:600px){ .hv2 table.pg-dl{font-size:13.5px} .hv2 table.pg-dl th,.hv2 table.pg-dl td{padding:8px} .hv2 table.pg-dl th{font-size:11px} }
.hv2 .pg-prose [style*="color: #ffffff"],.hv2 .pg-prose [style*="color:#ffffff"]{color:inherit!important}
@media (max-width:900px){ .hv2 .del-split.fit .del-side{height:260px} }
.hv2 .pg-cards.logos{grid-template-columns:repeat(4,1fr)}
html body .hv2 .pg-cards.logos .pg-card img{height:110px!important;object-fit:contain;background:#fff;padding:16px 20px;border-bottom:1px solid var(--line)}
.hv2 .pg-cards.logos .pg-card > div{padding:14px 16px 16px}
.hv2 .pg-cards.logos h3{font-size:17px}
.hv2 .pg-cards.logos p{font-size:14.5px}
@media (max-width:900px){ .hv2 .pg-cards.logos{grid-template-columns:1fr 1fr} }
@media (max-width:600px){ .hv2 .pg-cards.logos{grid-template-columns:1fr 1fr} html body .hv2 .pg-cards.logos .pg-card img{height:80px!important} .hv2 .pg-cards.logos p{display:none} }
/* Klarna page (John, 13 Oct): centre the pay section and the Stripe button */
.hv2.pg-klarna #apply .shead{text-align:center;margin-left:auto;margin-right:auto}
.hv2.pg-klarna #apply .shead p{margin-left:auto;margin-right:auto;text-align:center}
.hv2.pg-klarna #apply .pg-embed{display:flex;justify-content:center}
.hv2.pg-klarna #apply stripe-buy-button{display:block;margin:0 auto}

/* 15 Oct 2026: link and chip lists (Alientech downloads, sports display ECUs), partner logo cards */
.hv2 .pg-dlinks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;text-align:left}
.hv2 .pg-dlinks > div{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.hv2 .pg-dlinks h3{font-family:Oswald,sans-serif;font-weight:600;font-size:18px;text-transform:uppercase;margin:0 0 10px}
html body .hv2 .pg-dlinks ul{list-style:none!important;margin:0;padding:0;display:grid;gap:8px}
html body .hv2 .pg-dlinks li{margin:0;padding:0;list-style:none}
html body .hv2 .pg-dlinks li:before{display:none!important}
html body .hv2 .pg-dlinks a{color:#0079AE!important;font-weight:600;text-decoration:none;font-size:15px}
html body .hv2 .pg-dlinks a:hover{text-decoration:underline}
html body .hv2 .pg-dlinks ul.pg-chips{display:flex;flex-wrap:wrap;gap:8px}
html body .hv2 .pg-chips li{background:#F1F5F8;border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-size:13.5px;font-family:'Open Sans',sans-serif;color:var(--ink)}
.hv2 .pg-cards.logos.partners{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){ .hv2 .pg-cards.logos.partners{grid-template-columns:1fr 1fr} }
@media (max-width:600px){ .hv2 .pg-cards.logos.partners{grid-template-columns:1fr} .hv2 .pg-cards.logos.partners p{display:block} }
.hv2 .pg-hs{max-width:720px;margin:0 auto;text-align:left}

/* HTML sitemap (15 Oct) */
.hv2 .pg-smap{columns:3 280px;column-gap:28px}
.hv2 .pg-smap-g{break-inside:avoid;display:inline-block;width:100%;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin:0 0 24px}
.hv2 .pg-smap-g h2{font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.03em;font-size:18px;color:var(--ink);margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.hv2 .pg-smap-g ul{list-style:none!important;margin:0!important;padding:0!important}
.hv2 .pg-smap-g li{list-style:none!important;margin:0;padding:0!important}
.hv2 .pg-smap-g li::before,.hv2 .pg-smap-g li::marker{display:none!important;content:none!important}
.hv2 .pg-smap-g summary{cursor:pointer;list-style:none;margin-top:8px;padding:8px 0 2px;font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.04em;font-size:14px;color:#0079AE}
.hv2 .pg-smap-g summary::-webkit-details-marker{display:none}
.hv2 .pg-smap-g summary::after{content:' +'}
.hv2 .pg-smap-g details[open] summary{display:none}
.hv2 .pg-smap-g a{display:block;padding:6px 0;color:var(--ink2);font-size:15px;line-height:1.4;text-decoration:none}
.hv2 .pg-smap-g a:hover{color:var(--ink);text-decoration:underline}
@media (max-width:600px){.hv2 .pg-smap{columns:1}.hv2 .pg-smap-g{padding:14px 16px;margin-bottom:14px}.hv2 .pg-smap-g ul{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}.hv2 .pg-smap-g a{padding:8px 0;font-size:14.5px}}

/* 404 and search (15 Oct) */
.hv2 .pg-find-forms{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;margin-top:22px}
.hv2 .pg-find-reg,.hv2 .pg-find-s{display:flex;gap:8px;align-items:center;margin:0}
.hv2 .pg-find-reg .btn,.hv2 .pg-find-s .btn{height:45px;line-height:45px;padding:0 20px;margin:0;white-space:nowrap}
html body .hv2 .pg-find-s input[type=search]{height:45px;width:250px;max-width:100%;box-sizing:border-box;margin:0;padding:0 14px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(255,255,255,.96);color:#10171E;font-size:16px}
.hv2 .pg-results .pg-card h3 a{color:inherit;text-decoration:none}
.hv2 .pg-results .pg-card h3 a:hover{text-decoration:underline}
.hv2 .pg-res-img{display:block}
.hv2 .pg-res-img img.fit{object-fit:contain;background:#fff;padding:10px;box-sizing:border-box}
.hv2 .pg-pages{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:32px}
.hv2 .pg-pages .page-numbers{display:inline-block;min-width:42px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center;color:var(--ink);text-decoration:none;font-weight:600}
.hv2 .pg-pages .page-numbers.current{background:var(--ink);color:#fff;border-color:var(--ink)}
.hv2 .pg-find .pg-note a{color:#0079AE}
@media (max-width:600px){.hv2 .pg-find-s{width:100%}html body .hv2 .pg-find-s input[type=search]{flex:1 1 auto;width:auto;min-width:0}.hv2 .pg-find-s .btn{flex:0 0 auto;width:auto!important}
 .hv2 .pg-routes{grid-template-columns:1fr 1fr!important;gap:12px}.hv2 .pg-routes .pg-card p{display:none}.hv2 .pg-routes .pg-card > div{padding:12px 12px 14px}.hv2 .pg-routes .pg-card h3{font-size:15px;margin-bottom:6px}.hv2 .pg-routes .pg-more{font-size:13.5px}}

/* Logo / award / badge rows (15 Oct) */
.hv2 .pg-logos{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.hv2 .pg-logos li{list-style:none!important;margin:0;padding:12px 18px!important;background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;min-width:140px;height:96px;box-sizing:border-box}
.hv2 .pg-logos li::before{display:none!important}
html body .hv2 .pg-logos img{max-height:66px!important;max-width:170px!important;width:auto!important;height:auto!important;object-fit:contain;display:block}
@media (max-width:600px){.hv2 .pg-logos{gap:10px}.hv2 .pg-logos li{min-width:0;width:calc(50% - 5px);height:84px;padding:10px!important}html body .hv2 .pg-logos img{max-height:56px!important;max-width:100%!important}}
