/* A featured placement (Pages/Shared/_FeatureBand.cshtml): a band of cards above the results of a page, labelled "Sponsored" or "Featured". */
.feature-band {
    border: 1px solid rgba(255, 193, 7, .35);
    border-radius: .85rem;
    padding: .9rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, .10), rgba(111, 66, 193, .22));
}
.feature-band-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.feature-label {
    font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #1b1b1b; background: #ffc107; border-radius: .35rem; padding: .12rem .45rem;
}
/* the site sets its text colour on body (not --bs-body-color), so the band inherits it and follows the light and the dark theme */
.feature-band h2.feature-title { color: inherit; }
.feature-tag { color: inherit; opacity: .75; }
.feature-count { font-size: .8rem; font-weight: 600; color: #ffd75e; }

.feature-card {
    display: block; height: 100%; text-decoration: none; color: inherit;
    border: 1px solid rgba(127, 127, 127, .3); border-radius: .6rem; overflow: hidden;
    background: rgba(127, 127, 127, .14); transition: transform .12s ease, border-color .12s ease;
}
.feature-card:hover, .feature-card:focus-visible { transform: translateY(-2px); border-color: rgba(255, 193, 7, .7); color: inherit; }
.feature-img {
    display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 21 / 9;
    background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .5); overflow: hidden;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-body { display: block; padding: .4rem .55rem .5rem; min-width: 0; }
.feature-name { display: block; font-weight: 600; font-size: .85rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-sub { display: block; font-size: .72rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 575.98px) {
    .feature-band { padding: .75rem; }
    .feature-band-head { flex-direction: column; }
}
