/* JDM4U release search: published model-guide index, independent of the six-car Garage. */
.guide-search{position:relative;isolation:isolate;overflow:hidden;background:#0b1119;color:#eef3f7;padding:clamp(58px,7vw,108px) 0}
.guide-search:before{content:"";position:absolute;z-index:-1;width:min(90vw,880px);aspect-ratio:1;top:-60%;right:-16%;border-radius:50%;background:radial-gradient(circle,rgba(211,53,54,.19),transparent 67%);pointer-events:none}
.guide-search-shell{max-width:1240px}
.guide-search-intro{max-width:820px;margin-bottom:clamp(28px,4vw,52px)}
.guide-search-eyebrow{margin:0 0 15px!important;color:#e77873;font-size:.75rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.guide-search-intro h2{margin:0 0 18px;font-size:clamp(2.2rem,5.4vw,5.2rem);line-height:1.03;letter-spacing:-.055em;color:#f7f9fa}
.guide-search-intro h2 em{font-style:normal;color:#ec7770}
.guide-search-intro>p:last-child{max-width:680px;margin:0;color:#bdc8d1;line-height:1.65;font-size:clamp(1rem,1.3vw,1.15rem)}
.guide-search-app[hidden],.guide-search [hidden]{display:none!important}
.guide-search-form{display:grid;grid-template-columns:minmax(250px,2fr) repeat(2,minmax(170px,1fr)) auto;align-items:end;gap:12px;padding:16px;border:1px solid #39424e;border-radius:20px;background:rgba(23,32,44,.95);box-shadow:0 28px 75px rgba(0,0,0,.2)}
.guide-search-field{min-width:0}
.guide-search-field label{display:block;margin:0 0 8px;color:#cbd4dd;font-size:.76rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.guide-search-field input,.guide-search-field select{display:block;box-sizing:border-box;width:100%;height:53px;border:1px solid #4b5867;border-radius:11px;background:#0d151f;color:#f8fbff;padding:0 15px;font:inherit;font-size:.98rem;line-height:1.2;outline:none;transition:border-color .18s,box-shadow .18s}
.guide-search-field input::placeholder{color:#8f9eab}
.guide-search-field select{appearance:auto;cursor:pointer}
.guide-search-field input:hover,.guide-search-field select:hover{border-color:#83909a}
.guide-search-field input:focus-visible,.guide-search-field select:focus-visible,.guide-search button:focus-visible,.guide-search-card a:focus-visible,.guide-search-card summary:focus-visible{outline:3px solid #f3a482;outline-offset:3px}
.guide-search-clear,.guide-search-more,.guide-search-empty button{border:1px solid #d66a62;border-radius:11px;background:transparent;color:#fff;padding:13px 18px;min-height:53px;font:inherit;font-weight:750;cursor:pointer;transition:background .18s,transform .18s,border-color .18s}
.guide-search-clear:hover,.guide-search-more:hover,.guide-search-empty button:hover{background:#b84640;border-color:#e07168;transform:translateY(-2px)}
.guide-search-presets{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:19px 0 29px}
.guide-search-presets span{margin-right:5px;color:#aebdc8;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.guide-search-presets button{border:1px solid #445060;border-radius:100px;background:#192431;color:#e7eef4;padding:10px 15px;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;transition:background .18s,transform .18s,border-color .18s}
.guide-search-presets button:hover{background:#293b4b;border-color:#d66a62;transform:translateY(-2px)}
.guide-search-meta{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 16px}
.guide-search-meta [role=status]{margin:0;font-weight:800;font-size:1rem;color:#fff}
.guide-search-scope{max-width:500px;margin:0;color:#9fadb9;font-size:.81rem;line-height:1.4;text-align:right}
.guide-search-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;list-style:none;padding:0;margin:0}
.guide-search-card{min-width:0;animation:guide-rise .26s both;animation-delay:calc(var(--guide-order)*24ms)}
.guide-search-card a,.guide-search-card summary{position:relative;display:flex;box-sizing:border-box;flex-direction:column;min-width:0;height:100%;min-height:177px;padding:21px 44px 18px 21px;overflow:hidden;border:1px solid #374654;border-radius:17px;background:linear-gradient(145deg,#1a2835,#121b26);color:#f5f8fa;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.guide-search-card summary{height:auto;cursor:pointer;list-style:none}
.guide-search-card summary::-webkit-details-marker{display:none}
.guide-search-card a:hover,.guide-search-card summary:hover{border-color:#ed8279;transform:translateY(-4px);box-shadow:0 22px 45px rgba(0,0,0,.23)}
.guide-search-card details[open] summary{border-color:#ed8279;border-radius:17px 17px 0 0}
.guide-search-reference-info{padding:17px 20px 19px;border:1px solid #ed8279;border-top:0;border-radius:0 0 17px 17px;background:#192633;color:#cdd7df;font-size:.78rem;line-height:1.45}
.guide-search-reference-info p{margin:0 0 6px}.guide-search-reference-info strong{color:#f2f6f8}
.guide-search-reference-info .guide-search-reference-note{margin:12px 0 0;padding-top:10px;border-top:1px solid #455360;color:#eba59e}
.guide-search-reference-info a{display:inline-flex;margin-top:10px;color:#ffd0ba;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.guide-search-card-eyebrow{display:block;margin-bottom:10px;color:#ed9a92;font-size:.66rem;letter-spacing:.13em;text-transform:uppercase;font-weight:800}
.guide-search-card a>strong,.guide-search-card summary>strong{display:block;font-size:clamp(1.08rem,1.6vw,1.38rem);line-height:1.2;letter-spacing:-.025em}
.guide-search-card-detail{display:block;margin-top:9px;color:#afbdc9;font-size:.82rem;line-height:1.35}
.guide-search-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:14px}
.guide-search-card-tags>span{border:1px solid #415466;border-radius:100px;padding:4px 8px;color:#c7d3dc;font-size:.68rem;line-height:1.1;white-space:nowrap}
.guide-search-card-arrow{position:absolute;right:19px;top:17px;color:#f29887;font-size:1.25rem}
.guide-search-empty{margin:18px 0 0;padding:30px;border:1px dashed #6a7783;border-radius:17px;background:#17232e}
.guide-search-empty h3{color:#fff;margin:0 0 8px;font-size:1.4rem}
.guide-search-empty p{color:#bbc8d2;margin:0 0 18px;line-height:1.5}
.guide-search-more{display:block;margin:25px auto 0;min-width:220px}
.guide-search-nojs{font-size:1.1rem}.guide-search-nojs a{color:#f3a482}
@keyframes guide-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:980px){.guide-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-search-query{grid-column:1/-1}.guide-search-clear{grid-column:1/-1}.guide-search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.guide-search{padding:64px 0}.guide-search-form{grid-template-columns:minmax(0,1fr);padding:13px}.guide-search-query,.guide-search-clear{grid-column:auto}.guide-search-results{grid-template-columns:minmax(0,1fr)}.guide-search-meta{display:block}.guide-search-scope{text-align:left;margin-top:6px}.guide-search-card a,.guide-search-card summary{min-height:145px}.guide-search-presets{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){.guide-search-card{animation:none!important}.guide-search button,.guide-search-card a,.guide-search-card summary,.guide-search input,.guide-search select{transition:none!important;transform:none!important}}
.motion-off .guide-search-card{animation:none!important}.motion-off .guide-search button,.motion-off .guide-search-card a,.motion-off .guide-search-card summary,.motion-off .guide-search input,.motion-off .guide-search select{transition:none!important;transform:none!important}

/* Card actions are siblings of the profile link; include them in grid sizing. */
.guide-search-results{align-items:start}
.guide-search-card{display:flex;flex-direction:column;gap:8px;min-width:0}
.guide-search-card>a{height:auto;flex:none}
.guide-search-card>.save-car{align-self:stretch;color:#f5f8fa;background:#243547;border:1px solid #8295a7;margin:0;min-height:44px}
.guide-search-card>.save-car[aria-pressed=true]{background:#843b44;color:#fff}
.guide-search-card>.wishlist-save-note{color:#c8d4df;margin:0;line-height:1.5}
.guide-search-card>.cost-enquiry{width:100%;max-width:none;margin:0}
.guide-search-card .cost-enquiry a{height:auto;min-height:44px}
.guide-search-card .cost-enquiry summary{min-height:44px;height:auto}
.guide-search-more{position:relative;clear:both}

.guide-reference-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin-bottom:16px}
