/* Vehicle details: "The things you'll love to live with." (approved by Adam 10/18).
   Ported from the handoff's component.css (vehicle-details-section/final), scoped to .ap-vd
   instead of the preview's #ap-feature-rail-v2 because the listing carries a desktop and a
   mobile copy. Values are the source's, except the small-text greys, darkened just enough to
   meet the site's WCAG AA audit (4.5:1 on the ivory): #657962 -> #60735d, #6c756b -> #687067,
   #7a8775 -> #667162, #6a7b65 -> #62725e, #6d756b -> #697067, #7a8072 -> #6a6f63, and the
   popover category #76836d -> #66715e. Large headings keep #76836d (3:1 applies there).
   Behaviour (rail arrows, popovers) is /js/vehicle-details.js. */
.ap-vd{--ap-paper:#f6f3ec;--ap-ink:#193b30;--ap-muted:#687067;--ap-line:#dadfd4;--ap-icon-size:60px;--ap-feature-gap:7px;color-scheme:light;margin-top:28px}
.ap-vd *{box-sizing:border-box}
.ap-vd [hidden]{display:none!important}
.ap-vd .ap-page{max-width:736px;background:var(--ap-paper);color:var(--ap-ink);padding:36px 30px 28px;font-family:Arial,sans-serif;line-height:normal;letter-spacing:normal}
.ap-vd .ap-header{padding-right:80px;margin-bottom:30px}
.ap-vd .ap-eyebrow{font-size:11px;letter-spacing:.17em;color:#60735d;font-weight:500}
.ap-vd h2{font-family:Georgia,serif;font-size:34px;font-weight:400;line-height:1.12;letter-spacing:-.035em;margin:15px 0;color:var(--ap-ink)}
.ap-vd h2 em{font-weight:400;color:#76836d}
.ap-vd .ap-highlights{position:relative;border-top:1px solid var(--ap-line);padding:20px 0 5px}
.ap-vd .ap-rail-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px;min-height:32px}
.ap-vd .ap-rail-header h3{font-family:Arial,sans-serif;font-size:15px;font-weight:500;line-height:normal;letter-spacing:normal;color:var(--ap-ink);margin:0;white-space:nowrap}
.ap-vd .ap-rail-header h3>span{font-size:11px;color:#667162;font-weight:400;margin-left:9px}
.ap-vd .ap-arrows{display:flex;gap:5px}
.ap-vd .ap-arrows button{border:1px solid #d6ddd0;background:#fffef9;color:#31543f;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;padding:0;cursor:pointer}
.ap-vd .ap-arrows button:disabled{opacity:.35;cursor:default}
.ap-vd .ap-chevron{font:400 25px/1 Arial,sans-serif;padding-bottom:2px}
/* width 0 + min-width 100%: the rail fills its column but adds nothing to the column's
   min-content, so a long row never widens the page grid (it scrolls instead) */
.ap-vd .ap-rail{width:0;min-width:100%;display:flex;gap:var(--ap-feature-gap);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:9px 1px 16px;scrollbar-width:thin;scrollbar-color:#bec9b6 transparent;overscroll-behavior-x:contain}
.ap-vd .ap-feature{display:flex;flex:0 0 103px;align-items:center;flex-direction:column;gap:14px;padding:0 4px 3px;background:transparent;border:0;color:var(--ap-ink);font-family:inherit;scroll-snap-align:start;min-width:0;cursor:pointer}
.ap-vd .ap-label{font-size:11.5px;line-height:1.45;font-weight:500;text-align:center;white-space:normal}
.ap-vd .ap-icon{width:var(--ap-icon-size);height:var(--ap-icon-size);display:grid;place-items:center;position:relative;isolation:isolate;transition:transform .3s}
.ap-vd .ap-icon img{width:100%;height:100%;object-fit:contain;display:block;max-width:none}
.ap-vd .ap-feature:hover .ap-icon,.ap-vd .ap-feature:focus-visible .ap-icon,.ap-vd .ap-feature[aria-expanded=true] .ap-icon{transform:perspective(250px) rotateX(0) rotateY(0) translateY(-4px)}
/* the light sweep, clipped to the icon's own coloured surface (not the transparent canvas) */
.ap-vd .ap-local-shine{position:absolute;inset:7.8% 9.4% 10.9%;border-radius:24%;overflow:hidden;pointer-events:none}
.ap-vd .ap-local-shine::after{content:'';position:absolute;inset:-60% -150%;background:linear-gradient(112deg,transparent 42%,#ffffffa6 49%,transparent 56%);transform:translateX(-40%);transition:transform .65s}
.ap-vd .ap-feature:hover .ap-local-shine::after,.ap-vd .ap-feature:focus-visible .ap-local-shine::after{transform:translateX(40%)}
.ap-vd .ap-popover{position:absolute;z-index:20;width:256px;max-width:calc(100% - 12px);padding:16px 18px;top:169px;left:6px;border-radius:12px;background:#fffef9;color:var(--ap-ink);border:1px solid #dce3d4;box-shadow:0 15px 40px #1b352827,0 3px 8px #1b35280a;text-align:left;pointer-events:none}
.ap-vd .ap-popover-category{display:block;font-size:11px;letter-spacing:.13em;color:#66715e;margin-bottom:8px}
.ap-vd .ap-popover strong{font-size:14px;font-weight:500;line-height:1.4}
.ap-vd .ap-popover p{font-size:12px;line-height:1.6;color:#5d6b5a;margin:7px 0 0}
.ap-vd .ap-at-a-glance{display:grid;grid-template-columns:repeat(4,1fr);margin:17px 0 35px;padding:22px 0;border-top:1px solid var(--ap-line);border-bottom:1px solid var(--ap-line)}
.ap-vd .ap-glance-3{grid-template-columns:repeat(3,1fr)}
.ap-vd .ap-glance-2{grid-template-columns:repeat(2,1fr)}
.ap-vd .ap-glance-1{grid-template-columns:1fr}
.ap-vd .ap-highlights+.ap-at-a-glance{margin-top:17px}
.ap-vd .ap-header+.ap-at-a-glance{margin-top:0}
.ap-vd .ap-at-a-glance>div{padding:0 14px;border-right:1px solid var(--ap-line);min-width:0}
.ap-vd .ap-at-a-glance>div:first-child{padding-left:0}
.ap-vd .ap-at-a-glance>div:last-child{padding-right:0;border:0}
.ap-vd .ap-at-a-glance span{display:block;font-size:11px;letter-spacing:.11em;color:#62725e;margin-bottom:9px}
.ap-vd .ap-at-a-glance strong{display:block;font-size:12px;font-weight:500;line-height:1.5}
.ap-vd .ap-spec-heading h2{font-size:28px;margin:11px 0 22px}
.ap-vd details{border-bottom:1px solid var(--ap-line)}
.ap-vd summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:19px 0;font-size:13px;min-height:54px;cursor:pointer}
.ap-vd summary::-webkit-details-marker{display:none}
.ap-vd summary>span:first-child{display:flex;gap:12px;align-items:center}
.ap-vd .ap-summary-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.ap-vd .ap-plus{font-size:20px;color:#73856b;transition:transform .2s}
.ap-vd details[open] .ap-plus{transform:rotate(45deg)}
.ap-vd .ap-spec-body>p{font-size:11px;line-height:1.5;color:var(--ap-muted);margin:0 0 12px 30px}
.ap-vd dl{margin:0 0 17px 30px}
.ap-vd dl>div{display:flex;gap:18px;justify-content:space-between;padding:10px 0;border-top:1px solid #e5e8de;font-size:12px;line-height:1.5}
.ap-vd dt{color:#697067}
.ap-vd dd{margin:0;text-align:right}
.ap-vd .ap-footnote{font-size:11px;line-height:1.6;color:#6a6f63;margin:21px 0 0}
@media(max-width:520px){
  .ap-vd .ap-page{padding:28px 20px 23px}
  .ap-vd .ap-header{padding-right:45px}
  .ap-vd h2{font-size:30px}
  .ap-vd .ap-feature{flex-basis:93px}
  .ap-vd .ap-at-a-glance{grid-template-columns:1fr 1fr;gap:23px 0}
  .ap-vd .ap-glance-1{grid-template-columns:1fr}
  .ap-vd .ap-at-a-glance>div:nth-child(3){padding-left:0}
  .ap-vd .ap-at-a-glance>div:nth-child(2){border:0}
  .ap-vd .ap-spec-heading h2{font-size:26px}
  .ap-vd .ap-arrows button{width:38px;height:38px}
  .ap-vd .ap-popover{top:175px}
  .ap-vd .ap-rail-header{gap:8px}
  .ap-vd .ap-rail-header h3>span{display:none}
}
@media(prefers-reduced-motion:reduce){
  .ap-vd *{transition:none!important;scroll-behavior:auto!important}
  .ap-vd .ap-feature:hover .ap-icon,.ap-vd .ap-feature:focus-visible .ap-icon,.ap-vd .ap-feature[aria-expanded=true] .ap-icon{transform:none}
  .ap-vd .ap-local-shine{display:none}
}
