.tour-panel-hover {
    transition: box-shadow 0.2s ease;
}

.tour-panel-hover:hover {
    box-shadow: var(--bs-box-shadow);
}

details[open] .tour-open-icon {
    transform: scale(1.05);
}

details[open] .tour-chevron {
    transform: rotate(180deg);
}

.tour-open-icon,
.tour-chevron {
    transition: transform 0.3s ease;
}

.pixel-retro-timeline__pixel-bg {
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        );
}

.pixel-retro-timeline__pixel-card {
    box-shadow:
        4px 0 0 0 currentColor,
        -4px 0 0 0 currentColor,
        0 4px 0 0 currentColor,
        0 -4px 0 0 currentColor;
    outline: 2px solid;
    outline-offset: 4px;
}

.pixel-retro-timeline__pixel-badge {
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

@keyframes pixel-retro-timeline__scan {
    from { width: 0; }
    to { width: 100%; }
}

.pixel-retro-timeline__progress-bar {
    animation: pixel-retro-timeline__scan 1s steps(20) forwards;
}

.pixel-retro-timeline__mono-font {
    font-family: monospace, 'Courier New';
}

.pixel-retro-timeline__grid-width {
    max-width: 48rem;
}

.pixel-retro-timeline__badge-size {
    width: 4rem;
    height: 4rem;
}

.pixel-retro-timeline__progress-height {
    height: 0.5rem;
}

.pixel-retro-timeline__progress-fill {
    width: var(--pixel-retro-timeline__progress, 0%);
}

.pixel-retro-timeline__spacer {
    width: 0.5rem;
    height: 1rem;
}

.pixel-retro-timeline__min-shrink {
  min-width: 0;
}

/* Bootstrap: сетка + зазор; пропорции как md:w-1/2 и lg: 2/3 + 1/3 */
.values-bento-split__bs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
}

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

@media (min-width: 1024px) {
    .values-bento-split__bs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--0 {
        grid-column: span 2;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--1 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--2 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--3 {
        grid-column: span 2;
    }
}

.values-bento-split__subtitle-max {
    max-width: 48rem;
}

/* Текст под абсолютным кругом: отступы сильнее, чем были в bs (избегаем перекрытия) */
.values-bento-split__body {
    min-width: 0;
    margin-top: 6rem;
    margin-left: 0;
}

@media (min-width: 768px) {
    .values-bento-split__body {
        margin-top: 2rem;
        margin-left: 6rem;
    }
}

.values-bento-split__thumb {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 768px) {
    .values-bento-split__thumb {
        width: 5rem;
        height: 5rem;
    }
}

/* team v19 — masonry with corner dots */
.team-masonry__media {
  height: 16rem;
}

.team-masonry__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-masonry__card-accent {
  width: 0.25rem;
  z-index: 1;
}

.team-masonry__decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}

.team-masonry__decor--top-left {
  top: -40px;
  left: -40px;
  background-color: currentColor;
}

.team-masonry__decor--bottom-right {
  bottom: -40px;
  right: -40px;
  background-color: currentColor;
}

@media (max-width: 768px) {
  .team-masonry__decor {
    width: 80px;
    height: 80px;
  }
}

