/* min-width: 0 — довгий текст/флекс у колонці не роздуває рядок */
.content-col-grow {
    min-width: 0;
}

.content-stack-col--text {
    overflow-wrap: anywhere;
}

.content-stack-col--text > :first-child {
    width: 100%;
    max-width: 65ch;
    margin-inline: auto;
}

/* gap лише для Tailwind (grid). У Bootstrap — відступи через g-* у component (row-cols + g-3), без CSS gap на .row */
.content-grid-gap:not(.row) {
    gap: 1rem;
}

.content-full-frame {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Третина рядка: стабільна висота прев’ю, без height:100% від сусіднього тексту */
.content-img-fullheight {
    display: block;
    width: 100%;
    max-width: min(100%, 28rem);
    margin-inline: auto;
    min-width: 0;
    aspect-ratio: 3 / 4;
    max-height: 28rem;
    height: auto;
    flex-shrink: 1;
    object-fit: cover;
    object-position: center;
}

/* 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;
}

/* advantages broadsheet — sticky heading offset + decorative corner orb (layout only, no colors) */

/* mirror Tailwind md:top-24 in Bootstrap (sticky-md-top defaults to top:0) */
.advantages-broadsheet__box {
    top: 6rem;
}

.advantages-broadsheet__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    left: -6rem;
}

/* quote v26 — Bugatti duo: VHS lines, rain, typewriter cursor, scroll-snap, newspaper columns */

.quote-v26__vhs {
    opacity: 0.35;
}

.quote-v26__drop {
    width: 1px;
    animation: quoteV26Rain 5s linear infinite;
}
.quote-v26__drop:nth-child(1) { left: 8%; animation-delay: 0s; }
.quote-v26__drop:nth-child(2) { left: 22%; animation-delay: 1.1s; }
.quote-v26__drop:nth-child(3) { left: 38%; animation-delay: 0.4s; }
.quote-v26__drop:nth-child(4) { left: 55%; animation-delay: 2s; }
.quote-v26__drop:nth-child(5) { left: 71%; animation-delay: 0.9s; }
.quote-v26__drop:nth-child(6) { left: 86%; animation-delay: 1.7s; }
@keyframes quoteV26Rain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 0.5; }
    100% { transform: translateY(110vh); opacity: 0; }
}

.quote-v26__cursor {
    display: inline-block;
    width: 0.55em;
    margin-left: 0.1em;
    border-right: 2px solid currentColor;
    animation: quoteV26Blink 1s step-end infinite;
}
@keyframes quoteV26Blink {
    50% { opacity: 0; }
}

.quote-v26__scroller {
    max-height: 28rem;
    scroll-snap-type: y mandatory;
}
.quote-v26__scroller > .col {
    scroll-snap-align: start;
}

.quote-v26__columns {
    column-gap: 1.5rem;
}

.quote-v26__ticket pre {
    margin: 0;
    white-space: pre-wrap;
}

.quote-v26__ring {
    animation: quoteV26Glow 3s ease-in-out infinite;
}
@keyframes quoteV26Glow {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.03); opacity: 1; }
}

.quote-v26__halftone {
    width: 4rem;
    height: 4rem;
    margin-top: -0.5rem;
    margin-right: -0.5rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-v26-root [role="listitem"]:hover,
    .quote-v26-root article:hover,
    .quote-v26-root [class*="quote-v26__card"]:hover,
    .quote-v26-root .quote-v26__book:hover,
    .quote-v26-root .quote-v26__step:hover,
    .quote-v26-root .quote-v26__index-card:hover,
    .quote-v26-root .quote-v26__pill:hover,
    .quote-v26-root .quote-v26__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-v26-root [role="listitem"],
.quote-v26-root article,
.quote-v26-root [class*="quote-v26__card"],
.quote-v26-root .quote-v26__book,
.quote-v26-root .quote-v26__step,
.quote-v26-root .quote-v26__index-card,
.quote-v26-root .quote-v26__pill {
    transition: transform 200ms ease;
}

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

@media (hover: hover) {
    .quote-v26-root button:hover,
    .quote-v26-root a:hover,
    .quote-v26-root summary:hover {
        opacity: 0.92;
    }
}

