/**
 * AeroSport Racing page — styles for sections not shared with the homepage.
 * Hero, Trust Bar, Inside Out, FAQ and the shared cta-band/warbird-cta
 * component styles all come from front-page.css (this file only adds the
 * racing-specific pieces layered on top of them).
 */

/* ---------- Trust bar: 6 items in one row on desktop ---------- */

@media (min-width: 992px) {
    .trust-bar--cols-6 .trust-bar__list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ---------- Built Around The Car, Chassis & Competition ---------- */

.racing-intro__image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

.racing-intro__image--placeholder {
    background: #cbd7e1;
}

/* ---------- Racing Applications grid ---------- */

.racing-app-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}

.racing-app-card__media {
    display: block;
    width: 100%;
    height: 100%;
    background: #d7e0e8;
}

.racing-app-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.racing-app-card:hover .racing-app-card__media img {
    transform: scale(1.05);
}

.racing-app-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .85rem 1rem;
    background: rgba(9, 24, 40, .82);
    color: #fff;
}

.racing-app-card__title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.racing-app-card__subtitle {
    font-size: .72rem;
    color: rgba(255, 255, 255, .75);
}

/* ---------- Trusted By Historic Racers & Specialty Builders ---------- */

/* Left image wider, right panel narrower (reverse of the homepage's ratio).
   Scoped to >= 992px so it doesn't fight the shared stacking rule in
   front-page.css (.warbird-cta__inner collapses to 1 column below that). */
@media (min-width: 992px) {
    .racing-trust-band .warbird-cta__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

.racing-trust-band__panel {
    display: block;
    text-align: left;
}

.racing-trust-band__signature {
    display: block;
    margin: 1.5rem 0 0;
    max-height: 90px;
    width: auto;
}

.racing-trust-band__tagline {
    margin: 1.5rem 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--afc-gold);
}

/* ---------- Bottom CTA: two buttons instead of the feature-icon aside ---------- */

.racing-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

.racing-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.racing-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 991.98px) {
    .racing-cta__actions {
        margin-left: 0;
    }
}