.context-card-hover {
    transition: transform 0.3s ease;
}

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

.context-border-w-4 {
    border-left-width: 4px !important;
}

/* values v25 - tabbed value categories */
.values-tabbed__tab {
    font-weight: 700;
    border-width: 2px;
    padding: 0.75rem 1.5rem;
}

.values-tabbed__tab.is-active {
    font-weight: 800;
    border-width: 3px;
}

.values-tabbed__icon-box {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

/* Stack: как grid grid-cols-1 gap-lg (1.5rem в типичной шкале) */
.vertical-manifesto-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

/* Строка карточки: flex + gap-6 + items-start — то же, что tw flex flex-row items-start gap-6 */
.philosophy-v6-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
}

/* Как absolute -top-6 у бейджа в оригинале */
.philosophy-v6-badge-wrap {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -1.5rem;
}

.philosophy-v6-box {
    flex: 1;
    min-width: 0;
}

/* Круг как в Bootstrap + фикс «вытянутой» капсулы во flex */
.philosophy-vertical__badge {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    aspect-ratio: 1;
    box-sizing: border-box;
}

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

@keyframes pull-quote-monocle-timeline__fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pull-quote-monocle-timeline__visible {
    animation: pull-quote-monocle-timeline__fade-up 0.7s ease forwards;
}

.pull-quote-monocle-timeline__quote-decor {
    font-size: 160px;
    line-height: 1;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.pull-quote-monocle-timeline__quote-decor--left {
    top: 6rem;
    left: 2rem;
}

.pull-quote-monocle-timeline__quote-decor--right {
    bottom: 6rem;
    right: 2rem;
}

.pull-quote-monocle-timeline__title-size {
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.15em;
}

.pull-quote-monocle-timeline__media-width {
    width: 12rem;
}

.pull-quote-monocle-timeline__thumb-square {
    aspect-ratio: 1;
}

.pull-quote-monocle-timeline__serif-font {
    font-family: Georgia, 'Times New Roman', serif;
}

.pull-quote-monocle-timeline__media-sm {
    max-width: 10rem;
}

.pull-quote-monocle-timeline__min-shrink {
  min-width: 0;
}

@media (min-width: 768px) {
    .pull-quote-monocle-timeline__item--split {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        gap: 3rem;
    }
}

.inline-row-avatars__blob-tl {
    width: 18rem;
    height: 18rem;
}

.inline-row-avatars__blob-br {
    width: 24rem;
    height: 24rem;
}

.inline-row-avatars__portrait {
    width: 10rem;
    height: 10rem;
}

.inline-row-avatars__status {
    width: 2rem;
    height: 2rem;
    bottom: -0.25rem;
    right: -0.25rem;
}

.inline-row-avatars__status-dot {
    width: 0.75rem;
    height: 0.75rem;
}

.inline-row-avatars__min-shrink {
    min-width: 0;
}

@media (min-width: 992px) {
    .inline-row-avatars__portrait {
        width: 12rem;
        height: 12rem;
    }

    .inline-row-avatars__row--reverse {
        flex-direction: row-reverse;
    }
}

/* quote v18 — checkerboard rhythm, extrude title, icon glyph cards */

/* BS glyph tile sizing (TW w-12 h-12 = 3rem) */
.quote-check__glyph {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.quote-check__meta {
    min-width: 0;
}

.quote-scan__layer {
    animation: quoteScanFlicker 4s steps(2, end) infinite;
}
@keyframes quoteScanFlicker {
    0%, 92%, 100% { opacity: 0.35; }
    94% { opacity: 0.7; }
}

/* checkerboard stagger — margin only (transform on ancestors breaks flip-card 3D) */
.quote-check__cell:nth-child(odd) {
    margin-top: 0.25rem;
}
.quote-check__cell:nth-child(even) {
    margin-bottom: 0.25rem;
}

.quote-check__grid.is-compact-grid .quote-check__cell {
    margin-top: 0;
    margin-bottom: 0;
}

.quote-flip__perspective {
    perspective: 1400px;
}

.quote-flip__card {
    cursor: pointer;
    overflow: visible;
}
.quote-flip__card:active {
    transform: none;
    scale: 1;
}

.quote-tape__strip {
    width: 3.5rem;
    height: 1.25rem;
    transform: rotate(-12deg);
}
.quote-tape__strip--a {
    top: -0.35rem;
    left: 0.75rem;
}
.quote-tape__strip--b {
    top: -0.35rem;
    right: 0.75rem;
    transform: rotate(12deg);
}

.quote-check__extrude {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1.2;
}
.quote-check__extrude--back {
    transform: translate(3px, 3px);
}
.quote-check__extrude--mid {
    transform: translate(6px, 6px);
}

.quote-flip__inner {
    display: grid;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 450ms ease;
}
.quote-flip__face {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.quote-flip__card.is-flipped .quote-flip__inner {
    transform: rotateY(180deg);
}
.quote-flip__face--back {
    transform: rotateY(180deg);
}

.quote-flip__card:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.quote-check-root button:focus-visible,
.quote-check-root [tabindex="0"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-check-root button:hover {
        opacity: 0.92;
    }
}

