/* Polished automotive logos: bigger, clearer, less clipping, with support for long wordmarks. */
.alm-brand-mark{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:108px;max-width:100%;vertical-align:middle;overflow:visible}
.alm-brand-mark img{display:block;width:auto;max-width:118px;height:46px;max-height:46px;object-fit:contain;object-position:center;border-radius:0;flex:0 0 auto;filter:none}
.alm-brand-mark.is-xs{min-width:76px}.alm-brand-mark.is-xs img{max-width:76px;height:32px;max-height:32px}
.alm-brand-mark.is-sm{min-width:92px}.alm-brand-mark.is-sm img{max-width:92px;height:38px;max-height:38px}
.alm-brand-mark.is-lg{min-width:136px}.alm-brand-mark.is-lg img{max-width:136px;height:58px;max-height:58px}
.alm-brand-name{font-weight:900;color:#0f172a;white-space:nowrap}.alm-brand-link{text-decoration:none;color:inherit}
.alm-brand-fallback{display:inline-flex;align-items:center;justify-content:center;min-width:68px;min-height:30px;padding:5px 8px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;font-size:.72rem;line-height:1.15;font-weight:900;letter-spacing:0;color:#334155;text-transform:none}.alm-brand-wordmark{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.alm-brand-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:7px 0 9px}.alm-brand-strip .alm-brand-mark{min-width:94px;padding:7px 9px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.alm-brand-more{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.78rem;font-weight:900}
.alm-card-brand{margin:2px 0 7px}.alm-card-brand .alm-brand-mark{background:#fff}.alm-market-title>.alm-brand-strip,.alm-service-hero-copy>.alm-brand-strip{margin:4px 0 10px}.alm-part-card .alm-brand-strip{margin:6px 0}.alm-service-card .alm-brand-strip{margin:7px 0}.alm-agency-card .alm-brand-strip{margin:8px 0 4px}.alm-make-card summary{align-items:center}.alm-make-summary-brand{display:inline-flex;align-items:center;gap:12px;min-width:0}.alm-make-summary-brand .alm-brand-mark{min-width:112px;min-height:42px}.alm-make-summary-brand .alm-brand-mark img{max-width:108px;height:42px;max-height:42px}
.alm-selected-brand-preview{display:flex;align-items:center;gap:7px;margin-top:6px;min-height:34px;color:#475569;font-size:.85rem;font-weight:800}.alm-selected-brand-preview:empty{display:none}.alm-selected-brand-preview .alm-brand-mark img{max-width:78px;height:30px;max-height:30px}
.alm-brand-picker{display:grid;gap:10px}.alm-brand-picker-search{width:100%!important}.alm-brand-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:390px;overflow:auto;padding:6px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.alm-brand-choice{position:relative;display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;gap:6px!important;min-height:96px;padding:10px 6px!important;border:1px solid #e2e8f0;border-radius:11px;background:#fff;cursor:pointer;font-weight:800!important;text-align:center;overflow:visible}.alm-brand-choice input{position:absolute;top:6px;inset-inline-start:6px;width:16px;height:16px;margin:0!important;accent-color:#0f766e}.alm-brand-choice .alm-brand-mark{min-width:96px;min-height:40px}.alm-brand-choice .alm-brand-mark img{max-width:96px;height:40px;max-height:40px}.alm-brand-choice>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;color:#334155}.alm-brand-choice:has(input:checked){border-color:#0f766e;box-shadow:0 0 0 2px rgba(15,118,110,.09);background:#f0fdfa}.alm-brand-choice:hover{border-color:#94a3b8}.alm-service-brand-filter .alm-selected-brand-preview{margin-bottom:0}.alm-make-card>summary .alm-brand-mark{pointer-events:none}.alm-model-tags a{display:inline-flex;align-items:center}
/* long wordmarks */
.alm-brand-mark[data-alm-brand="aston-martin"],.alm-brand-mark[data-alm-brand="land-rover"],.alm-brand-mark[data-alm-brand="mercedes-benz"],.alm-brand-mark[data-alm-brand="alfa-romeo"],.alm-brand-mark[data-alm-brand="rolls-royce"],.alm-brand-mark[data-alm-brand="volkswagen"],.alm-brand-mark[data-alm-brand="renault-trucks"],.alm-brand-mark[data-alm-brand="volvo-trucks"],.alm-brand-mark[data-alm-brand="mercedes-trucks"],.alm-brand-mark[data-alm-brand="ud-trucks"]{min-width:128px}
.alm-brand-mark[data-alm-brand="aston-martin"] img,.alm-brand-mark[data-alm-brand="land-rover"] img,.alm-brand-mark[data-alm-brand="mercedes-benz"] img,.alm-brand-mark[data-alm-brand="alfa-romeo"] img,.alm-brand-mark[data-alm-brand="rolls-royce"] img,.alm-brand-mark[data-alm-brand="volkswagen"] img,.alm-brand-mark[data-alm-brand="renault-trucks"] img,.alm-brand-mark[data-alm-brand="volvo-trucks"] img,.alm-brand-mark[data-alm-brand="mercedes-trucks"] img,.alm-brand-mark[data-alm-brand="ud-trucks"] img{max-width:128px}
@media(max-width:900px){.alm-brand-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.alm-brand-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:350px}.alm-brand-name{white-space:normal}.alm-brand-mark{min-width:82px}.alm-brand-mark img{max-width:82px;height:34px;max-height:34px}.alm-brand-mark.is-lg img{max-width:104px;height:44px;max-height:44px}.alm-brand-strip .alm-brand-mark{min-width:82px}}
@media(max-width:420px){.alm-brand-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.alm-brand-choice{min-height:84px}}

.alm-brand-related{display:grid;gap:10px;margin:18px 0;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.alm-brand-related-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.alm-brand-related-head>span{font-size:.88rem;font-weight:800;color:#64748b}.alm-brand-related-links{display:flex;flex-wrap:wrap;gap:8px}.alm-brand-related-links a{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border:1px solid #dbe3ec;border-radius:11px;background:#fff;color:#0f172a;text-decoration:none;font-weight:850;font-size:.9rem}.alm-brand-related-links a:hover{border-color:#94a3b8;transform:translateY(-1px)}.alm-brand-related>small{color:#64748b}.alm-smart-brand-context{margin:14px 0 20px}
@media(max-width:560px){.alm-brand-related{padding:11px}.alm-brand-related-links{display:grid;grid-template-columns:1fr 1fr}.alm-brand-related-links a{min-width:0;font-size:.82rem}.alm-brand-related-head .alm-brand-name{font-size:.95rem}}

.alm-brand-mark.is-text-only{min-width:0!important;justify-content:flex-start}.alm-brand-mark.is-text-only .alm-brand-name{font-size:.86rem}.alm-company-model-brand>.alm-brand-mark:empty{display:none}
