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


.copy-document__body-stack-gap {
    gap: 4rem;
}

.content-flow-gap {
    gap: 4rem;
}

.content-grid-gap {
    gap: 2rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-medium {
    display: block;
    width: 100%;
    height: 22rem;
    min-height: 22rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-medium {
        height: 28rem;
        min-height: 28rem;
    }
}

.content-thumb-height {
    display: block;
    width: 100%;
    height: 13rem;
    min-height: 13rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* tenet-tide — layout, sizes, shapes and motion only (colours live in the template) */

.tenet-tide__eyebrow {
    letter-spacing: 0.2em;
}

.tenet-tide__statement,
.tenet-tide__figure {
    letter-spacing: -0.03em;
}

.tenet-tide__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* hairline zone dividers: horizontal when stacked, vertical from lg */
.tenet-tide__zone + .tenet-tide__zone {
    border-top-width: 1px;
    border-top-style: solid;
}

.tenet-tide__photo {
    min-height: 18rem;
}

.tenet-tide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tenet-tide__dot {
    width: 0.375rem;
    height: 0.375rem;
}

/* abstract drifting-wave chart — decorative only */
.tenet-tide__viz {
    min-height: 12rem;
}

.tenet-tide__guide {
    border-top-width: 1px;
    border-top-style: dashed;
}

.tenet-tide__guide--1 { top: 25%; }
.tenet-tide__guide--2 { top: 50%; }
.tenet-tide__guide--3 { top: 75%; }

.tenet-tide__track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200%;
    will-change: transform;
}

.tenet-tide__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tenet-tide__track--fill {
    animation: tenet-tide-drift 16s linear infinite;
}

.tenet-tide__track--slow {
    animation: tenet-tide-drift-back 11s linear infinite;
}

.tenet-tide__track--fast {
    animation: tenet-tide-drift 7s linear infinite;
}

.tenet-tide__track--thin {
    animation: tenet-tide-drift 9.5s linear infinite;
}

.tenet-tide__dash {
    stroke-dasharray: 3 6;
}

@keyframes tenet-tide-drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes tenet-tide-drift-back {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .tenet-tide__track {
        animation: none;
    }
}

@media (min-width: 1024px) {
    .tenet-tide__zone + .tenet-tide__zone {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }

    .tenet-tide__photo {
        min-height: 26rem;
    }

    .tenet-tide__viz {
        min-height: 15rem;
    }
}

.content-watermark__ghost {
    transform: translateX(-50%);
}

.gallery-two-col__card {
    transition: all 0.3s ease;
}
.gallery-two-col__card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.gallery-two-col__img {
    height: 16rem;
    transition: transform 0.5s ease;
}
.gallery-two-col__card:hover .gallery-two-col__img {
    transform: scale(1.05);
}

.gallery-two-col__overlay {
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
}
.gallery-two-col__card:hover .gallery-two-col__overlay {
    background-color: rgba(0, 0, 0, 0.2);
}


.passage-chapter__visual--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.passage-chapter__prompt--glow:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-img-compact {
    display: block;
    width: 100%;
    height: 12rem;
    min-height: 12rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 768px) {
    .content-img-compact {
        height: 14rem;
        min-height: 14rem;
    }
}

.content-flex-min {
    min-width: 0;
}

