/* Loaded only on the brand directory and brand detail pages. */
.sl-brand-hero {
    min-height: 70vh;
    padding-top: 15rem;
    padding-bottom: 3rem;
    background-color: var(--bs-dark);
    isolation: isolate;
}
.sl-brand-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .7));
    z-index: -1;
}
.sl-brand-hero .breadcrumb { justify-content: flex-start; }
.sl-brand-card-photo { display: block; object-fit: cover; aspect-ratio: 16 / 9; width: 100%; height: auto; }
.sl-brand-card-logo { max-width: calc(100% - 2rem); pointer-events: none; }
.sl-brand-card-logo img { display: block; width: 9rem; height: 3rem; object-fit: contain; }
.sl-brand-card-title { overflow-wrap: anywhere; }
.sl-brand-detail-logo { width: 100%; max-width: 17rem; max-height: 7rem; object-fit: contain; object-position: left center; }
.sl-brand-copy h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin-bottom: 1.5rem; }
.sl-brand-copy > :last-child { margin-bottom: 0; }
.sl-brand-triptych img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.sl-brand-slide { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.sl-brand-cta { background-color: var(--bs-beige, #fffcf8); }
.sl-brand-cta-photo { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.sl-brand-slider-controls .btn { padding: .75rem 1rem; }
@media (max-width: 767.98px) {
    .sl-brand-hero { min-height: 34rem; padding-top: 13rem; padding-bottom: 1rem; }
    .sl-brand-hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); overflow-wrap: anywhere; }
    .sl-brand-slide { aspect-ratio: 4 / 3; }
    .sl-brand-triptych img { aspect-ratio: 4 / 3; min-height: 0; }
}
