.memo-number-hover,
.memo-box-hover,
.memo-cta-shadow,
.memo-cta-hover {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.memo-title-rule {
    border-bottom: 4px solid var(--bs-primary);
}

.memo-principle-rule {
    border-top: 2px solid rgba(var(--bs-emphasis-color-rgb), 0.2);
}

.memo-principle-group:hover .memo-number-hover {
    color: var(--bs-primary) !important;
}

.memo-principle-group:hover .memo-box-hover {
    border-top-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.memo-cta-shadow {
    transform: translate(0.375rem, 0.375rem);
}

.memo-cta-group:hover .memo-cta-shadow {
    transform: translate(0, 0);
}

.memo-cta-hover:hover {
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, 37 99 235) / 1)) !important;
    color: #fff !important;
    border-color: var(--bs-primary, rgb(var(--tw-primary-700, 29 78 216) / 1)) !important;
}

/* Bootstrap: сетка как Tailwind grid md:2 lg:4 + gap-lg */
.values-number-card__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-number-card__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .values-number-card__bs-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.values-number-card__subtitle-max {
    max-width: 42rem;
}

.values-number-card__thumb {
    width: 4rem;
    height: 4rem;
}

.values-number-card__badge {
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.staircase-bauhaus-timeline__triangle-tr {
    width: 20rem;
    height: 20rem;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.staircase-bauhaus-timeline__triangle-bl {
    width: 14rem;
    height: 14rem;
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.staircase-bauhaus-timeline__accent {
    width: 1.5rem;
    height: 8rem;
    top: 50%;
    left: 25%;
}

.staircase-bauhaus-timeline__sidebar {
    width: 36px;
}

.staircase-bauhaus-timeline__sidebar-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.25em;
}

.staircase-bauhaus-timeline__sidebar-line {
    width: 1px;
    min-height: 120px;
}

.staircase-bauhaus-timeline__stairs > * + * {
    margin-top: 1.5rem;
}

.staircase-bauhaus-timeline__stairs [data-indent] {
    margin-left: calc(var(--staircase-bauhaus-timeline__indent, 0) * 1px);
}

.staircase-bauhaus-timeline__number {
    width: 3.5rem;
    height: 3.5rem;
}

.staircase-bauhaus-timeline__connector {
    left: 1.75rem;
    top: 3.5rem;
    width: 1px;
    height: calc(100% + 1.5rem);
}

@keyframes staircase-bauhaus-timeline__draw {
    from { height: 0; }
    to { height: 100%; }
}

.staircase-bauhaus-timeline__line-animated {
    animation: staircase-bauhaus-timeline__draw 1.2s ease forwards;
}

.members-dual-ring__portrait {
    width: 6rem;
    height: 6rem;
}

