/* Keep the story artwork in its original ratio, without a clipping frame. */
.about-story-visual {
    margin: 0;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 12px;
}
.about-story-visual img {
    display: block;
    width: min(100%, 420px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* A dedicated badge row keeps photographs from overlapping labels. */
.bike-visual {
    position: relative;
    isolation: isolate;
    padding: 18px 20px 24px;
    border-radius: 22px 22px 0 0;
    background: radial-gradient(ellipse at 50% 68%, #fcf5e8 0, #faf9f5 48%, #f7fafc 100%);
}
.bike-visual-badges {
    position: relative;
    z-index: 2;
    min-height: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 16px;
}
.bike-popular-badge,
.bike-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 26px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.bike-popular-badge {
    color: #8a4c0b;
    background: #fff0d4;
    border: 1px solid #f4dfb8;
}
.bike-popular-badge span { color: #b66b13; }
.bike-category-badge {
    margin-left: auto;
    color: #536679;
    background: #edf2f6;
    letter-spacing: .04em;
}
.bike-category--roadbike { color: #326b9b; background: #e5f0fb; }
.bike-category--mtb { color: #30735a; background: #e3f3eb; }
.bike-category--folding { color: #745498; background: #f0e8fa; }
.bike-category--ebike { color: #906b2c; background: #faf0db; }
.bike-visual-picture {
    position: relative;
    z-index: 1;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.bike-visual-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 8px 12px rgba(64, 63, 54, .07));
    transition: transform .25s ease;
}
.bike-visual--compact .bike-visual-picture { height: 180px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .group:hover .bike-visual-image { transform: translateY(-3px); }
}
@media (max-width: 480px) {
    .about-story-visual { padding: 4px 12px; }
    .about-story-visual img { width: min(100%, 340px); }
    .bike-visual { padding: 16px 18px 22px; }
    .bike-visual-picture { height: 200px; }
    .bike-visual--compact .bike-visual-picture { height: 190px; }
}
