.gist-cta-hover {
    transition: background-color 0.2s ease;
}

.gist-cta-hover:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.gist-paper {
    border-radius: 2px;
}

.gist-sq-8  { width: 2rem;   height: 2rem;   flex-shrink: 0; }
.gist-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.gist-sq-12 { width: 3rem;   height: 3rem;   flex-shrink: 0; }
.gist-sq-16 { width: 4rem;   height: 4rem;   flex-shrink: 0; }
.gist-sq-20 { width: 5rem;   height: 5rem;   flex-shrink: 0; }

.gist-corner {
    width: 1.75rem;
    height: 1.75rem;
    border-color: var(--bs-primary) !important;
}

.gist-corner--top-start {
    border-top: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--top-end {
    border-top: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-corner--bottom-start {
    border-bottom: 2px solid var(--bs-primary);
    border-left: 2px solid var(--bs-primary);
}

.gist-corner--bottom-end {
    border-bottom: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.gist-paper-lines {
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 11px,
        rgba(255, 255, 255, 0.4) 11px,
        rgba(255, 255, 255, 0.4) 12px
    );
}

.gist-meta-header {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
}

.gist-field-label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    min-width: 7.5rem;
}

.gist-note-radius {
    border-radius: 0 6px 6px 0;
}

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

.gist-divider-rule {
    height: 0.5rem;
    background-color: rgba(var(--bs-primary-rgb), 0.06);
    border-top: 2px solid rgba(var(--bs-primary-rgb), 0.35);
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.35);
}

.gist-seal-text {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
}

.gist-footer-meta {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
}

.gist-dot {
    width: 0.25rem;
    height: 0.25rem;
}

/* Layout / motion — colors stay in Blade / @sem */
/* Grid + gap here only: @sem output may obfuscate class names, so Tailwind gap/grid on the wrapper is unreliable */

.philosophy-cards-row {
    display: grid;
    width: 100%;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

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

.philosophy-decor {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.philosophy-numbered-badge {
    width: 4rem;
    height: 4rem;
}

.philosophy-card {
    transition: transform 0.5s ease;
}

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

.philosophy-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.philosophy-card:hover .philosophy-card-accent {
    opacity: 1;
}

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

/* Featured block: высота области фото на мобилке и растягивание в ряду md+ */
.split-feature-roster__hero-media {
    min-height: 16rem;
}

@media (min-width: 768px) {
    .split-feature-roster__hero-media {
        min-height: 20rem;
        height: 100%;
    }
}

/* Компактные аватарки в правой колонке */
.split-feature-roster__list-thumb {
    width: 5rem;
    height: 5rem;
}

.split-feature-roster__presence-chip {
    width: 1.25rem;
    height: 1.25rem;
}

.split-feature-roster__min-shrink {
  min-width: 0;
}

.values-timeline-row__thumb {
    width: 5rem;
    height: 5rem;
}

.values-timeline-row__badge {
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.values-timeline-row__line {
    left: 2.5rem;
    top: 0;
    width: 2px;
    height: 2rem;
}

