.intro-instructor__media {
    width: 20rem;
    height: 24rem;
}

.intro-instructor__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.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;
}

.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;
}

.staircase-bauhaus-timeline__min-shrink {
  min-width: 0;
}

/* Bootstrap: сетка 1→2 колонки без «слипания» ячеек */
.values-split-row__bs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
}

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

.values-split-row__subtitle-max {
    max-width: 48rem;
}

.values-split-row__thumb {
    min-height: 5rem;
    flex-shrink: 0;
}

/* team v23 — bento tiles */
.team-bento__item {
  position: relative;
  min-height: 15.625rem;
  height: 100%;
}

.team-bento__item--large {
  min-height: 21.875rem;
}

.team-bento__img {
  object-fit: cover;
  object-position: center;
}

.team-bento__shade {
  pointer-events: none;
}

.team-bento__blob {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.team-bento__blob--1 {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  left: -4rem;
  background: var(--bs-primary);
  animation: team-bento-blob-morph 8s infinite;
}

.team-bento__blob--2 {
  width: 14rem;
  height: 14rem;
  bottom: -3rem;
  right: -3rem;
  background: var(--bs-primary);
  animation: team-bento-blob-morph 10s infinite 2s;
}

@keyframes team-bento-blob-morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

@media (min-width: 992px) {
  .team-bento__item--large {
    min-height: 21.875rem;
  }
}

