/* Clean, compact cards for the homepage category rail and vehicle directory. */
.reference-categories{padding-top:13px!important;padding-bottom:18px!important;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;box-shadow:0 6px 18px rgba(20,29,39,.035)!important}.reference-categories .section-head{margin-bottom:10px!important}.reference-categories h2{font-size:15px!important;letter-spacing:-.35px}.section-title-icon{font-size:13px!important;vertical-align:1px}.category-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important}.category-card{min-height:68px!important;padding:9px 7px!important;flex-direction:column!important;gap:5px!important;border:1px solid #e9edf0!important;border-radius:7px!important;background:#fff!important;box-shadow:0 2px 8px rgba(17,27,36,.025)!important}.category-card:hover{transform:translateY(-2px);border-color:#d9a9ad!important;box-shadow:0 8px 18px rgba(20,29,39,.08)!important}.category-icon{width:25px!important;height:25px!important;background:transparent!important;color:#222b33!important;display:grid!important;place-items:center!important;font-size:inherit!important}.category-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.category-card strong{font-size:10px!important;line-height:1.15!important;font-weight:800!important;color:#222a31!important}.category-card small{display:none!important}
.brand-grid{gap:10px!important}.brand-card{min-height:82px!important;padding:10px 6px!important;gap:7px!important;border-radius:9px!important;transition:.2s ease}.brand-card:hover{border-color:#d5a8ac!important;box-shadow:0 8px 17px rgba(20,29,39,.08)!important;transform:translateY(-1px)}.brand-card strong{font-size:10px!important;line-height:1.15!important;color:#262d33!important}.brand-mark{width:42px!important;height:30px!important;border:0!important;border-radius:0!important;background:transparent!important}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.vehicle-directory-intro,.brand-page-hero{background:linear-gradient(125deg,#fff,#f5f6f7);border:1px solid #e3e7ea;border-radius:12px;padding:30px 34px;margin-bottom:22px}.vehicle-directory-intro h2,.brand-page-hero h1{margin:0;font-size:clamp(25px,3vw,36px);letter-spacing:-1.25px;line-height:1.15;color:var(--ref-ink)}.vehicle-directory-intro p:not(.eyebrow),.brand-page-hero p:not(.eyebrow){max-width:680px;color:#65707b;margin:10px 0 0;font-size:14px}.brand-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.brand-directory-card{min-height:135px;background:#fff;border:1px solid #e4e8eb;border-radius:10px;padding:19px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;transition:.2s ease}.brand-directory-card:hover{border-color:#d8adb0;box-shadow:0 10px 21px rgba(20,29,39,.08);transform:translateY(-2px)}.brand-directory-card img{width:58px;height:34px;object-fit:contain;object-position:left center}.brand-directory-card span{font-size:15px;font-weight:800;color:#20272e}.brand-directory-card small{font-size:11px;color:var(--ref-red);font-weight:800}
.brand-page{padding-top:48px}.brand-page-hero{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:27px;padding:32px 36px}.brand-page-logo{width:96px;height:96px;border:1px solid #e5e9eb;border-radius:16px;background:#fff;display:grid;place-items:center;padding:18px}.brand-page-logo img{width:100%;height:100%;object-fit:contain}.brand-page-hero .button{margin-top:18px;background:var(--ref-red)}.brand-page-hero .button:hover{background:#bc2029}.brand-models-section{margin-bottom:42px}.brand-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.brand-model-grid a{background:#fff;border:1px solid #e5e8ec;border-radius:10px;padding:17px;display:flex;flex-direction:column;gap:4px}.brand-model-grid a:hover{border-color:#d7a4a8;color:var(--ref-red)}.brand-model-grid strong{font-size:14px}.brand-model-grid small{font-size:11px;color:#71808b}.brand-empty-state{border:1px dashed #cfd7dc;background:#fbfcfc;border-radius:10px;padding:22px 24px;color:#697681}.brand-empty-state strong{color:#263039}.brand-empty-state p{font-size:13px;margin:5px 0 0;max-width:720px}
@media(max-width:980px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.brand-directory-grid,.brand-model-grid{grid-template-columns:repeat(2,minmax(0,1fr)}}
@media(max-width:680px){.reference-categories{overflow:hidden}.category-grid{display:flex!important;overflow-x:auto;padding:1px 1px 8px;scroll-snap-type:x proximity}.category-card{flex:0 0 118px;min-height:70px;scroll-snap-align:start}.brand-page-hero{grid-template-columns:1fr;padding:25px}.brand-page-logo{width:74px;height:74px}.brand-directory-grid,.brand-model-grid{grid-template-columns:1fr}.vehicle-directory-intro{padding:25px}.brand-card{min-height:78px!important}}
/* Compact category emblems: category-specific, not unrelated stock photography. */
.reference-categories .category-grid{gap:10px!important}
.reference-categories .category-card{min-height:88px!important;padding:10px 7px!important;gap:7px!important;border-color:#e5e7ea!important;background:linear-gradient(180deg,#fff 0%,#fdfcfb 100%)!important;box-shadow:0 3px 11px rgba(22,28,34,.045)!important}
.reference-categories .category-card:hover{transform:translateY(-2px)!important;border-color:#d9bdaf!important;box-shadow:0 10px 20px rgba(63,43,31,.12)!important}
.reference-categories .category-icon{width:36px!important;height:36px!important;border:0!important;border-radius:11px!important;background:linear-gradient(135deg,#293846,#14212c)!important;color:#fff!important;box-shadow:0 5px 11px rgba(24,36,45,.2)!important}
.reference-categories .category-icon svg{width:22px!important;height:22px!important;stroke-width:1.9!important}
.reference-categories .category-card strong{font-size:10.5px!important;line-height:1.14!important;letter-spacing:-.12px!important;color:#20272d!important}
.reference-categories .category-card:nth-child(2) .category-icon{background:linear-gradient(135deg,#387aa3,#1b4765)!important;box-shadow:0 5px 11px rgba(39,102,146,.22)!important}
.reference-categories .category-card:nth-child(3) .category-icon{background:linear-gradient(135deg,#c77742,#8c432a)!important;box-shadow:0 5px 11px rgba(179,87,39,.22)!important}
.reference-categories .category-card:nth-child(4) .category-icon{background:linear-gradient(135deg,#cf4c4c,#8d2533)!important;box-shadow:0 5px 11px rgba(181,45,55,.22)!important}
.reference-categories .category-card:nth-child(5) .category-icon{background:linear-gradient(135deg,#26908d,#146665)!important;box-shadow:0 5px 11px rgba(25,128,126,.22)!important}
.reference-categories .category-card:nth-child(6) .category-icon{background:linear-gradient(135deg,#a86637,#704126)!important;box-shadow:0 5px 11px rgba(142,80,41,.22)!important}
.reference-categories .category-card:nth-child(7) .category-icon{background:linear-gradient(135deg,#7656aa,#443277)!important;box-shadow:0 5px 11px rgba(93,65,150,.22)!important}
.reference-categories .category-card:nth-child(8) .category-icon{background:linear-gradient(135deg,#5b7389,#304758)!important;box-shadow:0 5px 11px rgba(52,73,92,.22)!important}
@media(max-width:680px){.reference-categories .category-card{flex-basis:122px!important;min-height:88px!important}}
