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

.content-ledger__stem {
    height: 4rem;
    transform: translateX(-50%);
}

.values-hub-glow {
    width: min(100%, 42rem);
    height: 16rem;
    filter: blur(3rem);
}

.values-hub-sq-10 {
    width: 2.5rem;
    height: 2.5rem;
}

.values-hub-sq-11 {
    width: 2.75rem;
    height: 2.75rem;
}

.values-hub-spotlight {
    min-height: 12rem;
}

.values-hub-spotlight__rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22rem;
    height: 22rem;
    max-width: 90vw;
    max-height: 90vw;
    pointer-events: none;
}

.values-hub-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--bs-primary, #0d6efd) 22%, transparent);
    pointer-events: none;
}

.values-hub-ring--a {
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.values-hub-ring--b {
    width: 72%;
    height: 72%;
    border-style: dashed;
    opacity: 0.35;
}

.values-hub-core-logo :is(img, svg) {
    max-height: 2.75rem;
    width: auto;
}

.values-hub-core-bs {
    min-height: 11rem;
    max-width: 13rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--bs-body-bg, #fff) 92%, var(--bs-primary, #0d6efd) 8%),
        var(--bs-body-bg, #fff)
    );
}

.values-hub-card-bs {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.values-hub-card-bs:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}

.content-column__body {
    column-gap: 2.5rem;
}

.content-column__body p {
    break-inside: avoid;
}

@media (min-width: 768px) {
    .content-column__body {
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .content-column__body {
        column-count: 3;
    }
}

/* content companion — hairline width for BS decor */
.content-companion__hair {
    width: 3rem;
}

/* numeric index column width on small screens */
.content-companion__index {
    min-width: 0;
}

.content-companion__index-digit {
    font-variant-numeric: tabular-nums;
}

.gallery-animated-dots__dot--pos-1 {
    top: 5rem;
    left: 4rem;
    width: 2rem;
    height: 2rem;
}

.gallery-animated-dots__dot--pos-2 {
    top: 8rem;
    right: 5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.gallery-animated-dots__dot--pos-3 {
    bottom: 6rem;
    left: 5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.gallery-animated-dots__dot--pos-4 {
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
}

.gallery-animated-dots__dot--pos-5 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
}

.gallery-animated-dots__dot--pos-6 {
    top: 33.333%;
    right: 33.333%;
    width: 0.75rem;
    height: 0.75rem;
}

.gallery-animated-dots__dot--pos-7 {
    bottom: 25%;
    left: 33.333%;
    width: 0.5rem;
    height: 0.5rem;
}

@keyframes gallery-animated-dots-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.gallery-animated-dots__dot--bounce {
    animation: gallery-animated-dots-bounce-kf 1s infinite;
}

@keyframes gallery-animated-dots-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.gallery-animated-dots__dot--pulse {
    animation: gallery-animated-dots-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes gallery-animated-dots-ping-kf {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.gallery-animated-dots__dot--ping {
    animation: gallery-animated-dots-ping-kf 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.gallery-animated-dots__item--hover {
    transition: transform 0.3s ease;
}

.gallery-animated-dots__item--hover:hover {
    transform: scale(1.05);
}

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

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

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

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

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

.content-margin-notes__aside {
    align-self: start;
}

@media (min-width: 992px) {
    .content-margin-notes__aside {
        position: sticky;
        top: 2rem;
    }
}

