.frame-scroll-container { -webkit-overflow-scrolling: touch; }

/* BS (прев’ю + експорт): картки ~вдвічі вужчі за w-72; TW без змін */
.about-frame-strip--bs .frame-scroll-container > li:not([aria-hidden="true"]),
#section-preview-root.section-preview--bootstrap .frame-scroll-container > li:not([aria-hidden="true"]),
[data-preview-framework="bootstrap"] .frame-scroll-container > li:not([aria-hidden="true"]) {
    flex: 0 0 16rem !important;
    width: 16rem !important;
    max-width: min(16rem, 85vw) !important;
}

.frame-sq-12 { width: 3rem; height: 3rem; flex-shrink: 0; }

.frame-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
}

.frame-icon-hover {
    transition: transform 0.2s ease;
}

.frame-card-hover:hover .frame-icon-hover {
    transform: scale(1.05);
}

.frame-title-hover {
    transition: color 0.2s ease;
}

.frame-card-hover:hover .frame-title-hover {
    color: var(--bs-primary);
}

.horizontal-snap-timeline__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 24px 24px;
}

.horizontal-snap-timeline__no-scrollbar::-webkit-scrollbar {
    display: none;
}

.horizontal-snap-timeline__no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal-snap-timeline__dot--active {
    width: 24px;
    height: 0.5rem;
    filter: brightness(1.05);
}

.horizontal-snap-timeline__dot--idle {
    width: 8px;
    height: 0.5rem;
    filter: brightness(0.55);
}

.horizontal-snap-timeline__nav {
    width: 2.5rem;
    height: 2.5rem;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(-1rem);
}

.horizontal-snap-timeline__nav--next {
    left: auto;
    right: 0;
    transform: translateY(-50%) translateX(1rem);
}

.horizontal-snap-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
}

.horizontal-snap-timeline__track {
    list-style: none;
    padding-left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    overflow-y: visible;
}

.horizontal-snap-timeline__slide {
    width: 18rem;
    overflow: visible;
    padding-top: 0.25rem;
}

.horizontal-snap-timeline__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.horizontal-snap-timeline__card:hover {
    transform: translateY(-0.25rem);
}

@media (min-width: 768px) {
    .horizontal-snap-timeline__slide {
        width: 20rem;
    }
}

.horizontal-snap-timeline__bar {
    height: 2px;
}

.horizontal-snap-timeline__progress {
    height: 2px;
    width: var(--horizontal-snap-timeline__progress, 0%);
}

.roster-lift-hover__portrait {
    width: 7rem;
    height: 7rem;
}

.roster-lift-hover__min-shrink {
  min-width: 0;
}

/* Сетка карточек + gap (fallback для bs; совпадает с tw gap-lg ≈ 1.5rem) */
.orbit-showcase-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .orbit-showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.philosophy-icons__circle {
    width: 6rem;
    min-width: 6rem;
    max-width: 6rem;
    height: 6rem;
    min-height: 6rem;
    max-height: 6rem;
    padding: 0.75rem;
    aspect-ratio: 1;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.philosophy-bg__img {
    object-fit: cover;
}

