/* PBD "Start with what you drive" vehicle grid.  v1
   Served from cc.palmbeachdyno.com, same arrangement as pbd-builds.js,
   pbd-tunefinder.css and pbd-standalone.css.

   WHY IT IS NOT IN THE HEAD FIELD. That field is at roughly 50KB of a ~60KB working
   limit, and v36 hit 76KB and got silently truncated mid-block, which swallowed the site
   header on every page. Page specific CSS belongs out here.

   Everything is scoped under .pbdvg; nothing can reach the rest of the store.
   Inert on any page without a .pbdvg block. */
:root{--pbd-vehiclegrid-css:"v1"}

.pbdvg *{box-sizing:border-box}
.pbdvg{font-family:inherit;line-height:1.55;padding:46px 0 54px;background:#fff;color:#101114}
.pbdvg a{text-decoration:none}
.pbdvg .vg-wrap{max-width:1240px;margin:0 auto;padding:0 22px}

.pbdvg .vg-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:0 0 22px}
.pbdvg .vg-eyebrow{font-size:11.5px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#b61a1f;margin:0 0 8px}
.pbdvg .vg-head h2{font-size:clamp(23px,3vw,32px);line-height:1.08;letter-spacing:-.03em;font-weight:900;margin:0 0 8px;color:#101318}
.pbdvg .vg-head p{font-size:15px;color:#5b626c;max-width:66ch;margin:0}
.pbdvg .vg-all{flex:0 0 auto;display:inline-flex;align-items:center;height:44px;padding:0 20px;background:#101318;color:#fff;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:6px}
.pbdvg .vg-all:hover{background:#b61a1f;color:#fff}

.pbdvg .vg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pbdvg .vg-card{border:1px solid #e3e5e9;border-radius:9px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s}
.pbdvg .vg-card:hover{border-color:#b61a1f;box-shadow:0 8px 22px rgba(0,0,0,.09);transform:translateY(-2px)}

/* The photo is a link in its own right, so the obvious click (the car) goes to the tune,
   which is the thing we actually want them to buy. */
.pbdvg .vg-shot{display:block;height:150px;position:relative;background:#15181c;background-size:cover;background-position:center 54%}
.pbdvg .vg-shot::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 38%,rgba(0,0,0,.76) 100%)}
.pbdvg .vg-shot span{position:absolute;left:12px;bottom:10px;z-index:2;color:#fff;font-weight:900;font-size:15px;line-height:1.2;text-shadow:0 2px 8px rgba(0,0,0,.6)}

.pbdvg .vg-links{display:flex;font-size:12px;font-weight:800}
.pbdvg .vg-links a{flex:1;text-align:center;padding:11px 4px;border-right:1px solid #e3e5e9;color:#3a3f47}
.pbdvg .vg-links a:last-child{border-right:0}
.pbdvg .vg-links a:hover{background:#b61a1f;color:#fff}
.pbdvg .vg-links a:focus-visible{outline:2px solid #b61a1f;outline-offset:-2px}

/* Packages is not built yet. A <span>, not a disabled <a>, so there is nothing to click,
   nothing to tab to, and no href that could ever 404. Greyed with a small SOON chip: a
   grey label on its own reads as a broken link, the chip says it is deliberate. */
.pbdvg .vg-links .vg-soon{flex:1;text-align:center;padding:11px 4px;border-right:1px solid #e3e5e9;color:#a6abb2;cursor:default;white-space:nowrap;background:#fbfbfc}
.pbdvg .vg-links .vg-soon:last-child{border-right:0}
.pbdvg .vg-links .vg-soon i{font-style:normal;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8d939c;border:1px solid #dfe2e7;border-radius:3px;padding:1px 4px;margin-left:5px;vertical-align:1px}

@media (max-width:1000px){
  .pbdvg .vg-grid{grid-template-columns:repeat(2,1fr)}
  .pbdvg .vg-head{flex-direction:column;align-items:flex-start;gap:14px}
}
@media (max-width:560px){
  .pbdvg{padding:34px 0 40px}
  .pbdvg .vg-grid{grid-template-columns:1fr}
  .pbdvg .vg-shot{height:170px}
}
