.origin-image-hover {
    transition: transform 0.3s ease;
}

.origin-image-hover:hover {
    transform: scale(1.05);
}

/* values v14 — bento grid tile sizing, no colors */
.values-nike-bento__grid {
    grid-auto-rows: minmax(9rem, auto);
}

.values-nike-bento__tile--large {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.values-nike-bento__tile--small {
    grid-column: span 1 / span 1;
}

@media (max-width: 640px) {
    .values-nike-bento__tile--large {
        grid-column: span 2 / span 2;
        grid-row: span 1 / span 1;
    }
}

.values-nike-bento__decor-circle,
.values-nike-bento__decor-blob,
.values-nike-bento__decor-ring {
    z-index: 0;
}

.values-nike-bento__decor-line,
.values-nike-bento__decor-square,
.values-nike-bento__decor-dot {
    z-index: 0;
}

/* BS has no w-14/h-14 — without a fixed size, rounded-circle stretches in a flex column */
.values-nike-bento__icon-badge {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    transition: transform 200ms ease;
}

.values-nike-bento__icon-badge:hover {
    transform: scale(1.05);
}

.classic-rail-timeline__line {
    width: 2px;
    left: 2rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.classic-rail-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .classic-rail-timeline__dot {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.classic-rail-timeline__content {
    margin-left: 5rem;
}

@media (min-width: 768px) {
    .classic-rail-timeline__content {
        margin-left: 0;
        width: 50%;
    }

    .classic-rail-timeline__content--start {
        padding-right: 2.5rem;
    }

    .classic-rail-timeline__content--end {
        padding-left: 2.5rem;
    }

    .classic-rail-timeline__row--reverse {
        flex-direction: row-reverse;
    }
}

/* Совпадает с Tailwind max-w-4xl (56rem) для Bootstrap-ветки */
.border-rail-list__shell {
    max-width: 56rem;
}

.border-rail-list__portrait {
    width: 7rem;
    height: 7rem;
}

@media (min-width: 768px) {
    .border-rail-list__portrait {
        width: 8rem;
        height: 8rem;
    }
}

.border-rail-list__min-shrink {
  min-width: 0;
}

