/*
 * BS Reboot задає img { max-width: 100%; height: auto } — у порожній рамці висота стає 0.
 * Рамка з aspect-ratio + absolute img гарантують видиму площу.
 */
.intro-performance-split__thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
}

.intro-performance-split__thumb > img.intro-performance-split__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.timeline-layout__card--hover {
    transition: transform 0.3s ease;
}
.timeline-layout__card--hover:hover {
    transform: scale(1.05);
}

.timeline-layout__img--zoom {
    transition: transform 0.5s ease;
}
.timeline-layout__row:hover .timeline-layout__img--zoom {
    transform: scale(1.1);
}

.timeline-layout__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__overlay--fade {
    opacity: 1;
}

.timeline-layout__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__panel--slide {
    transform: translateY(0);
}

.timeline-layout__badge--zoom {
    transition: transform 0.3s ease;
}
.timeline-layout__row:hover .timeline-layout__badge--zoom {
    transform: scale(1.25);
}

.timeline-layout__slot {
    width: 3rem;
    height: 3rem;
}

.timeline-layout__badge {
    width: 2rem;
    height: 2rem;
}

.timeline-layout__line {
    width: 0.25rem;
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

.steps-primary-row__card-col {
    max-width: 28rem;
}

.steps-primary-row__badge-circle {
    width: 4rem;
    height: 4rem;
}

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}

.stats-card-hover .stats-value-hover,
.stats-card-hover .stats__label,
.stats-card-hover .stats__desc {
  transition: color 0.3s ease;
}

.stats-card-hover:hover .stats-value-hover {
  color: rgb(30 41 59);
}

.stats-card-hover:hover .stats__label {
  color: rgb(30 41 59);
}

.stats-card-hover:hover .stats__desc {
  color: rgb(51 65 85);
}

