.intro-split-icon {
    width: 3rem;
    height: 3rem;
}

/* Як TW: w-64 → sm:w-80 → lg:w-96 (одна шкала для обох фреймворків) */
.intro-split-thumb {
    width: 16rem;
    height: 16rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .intro-split-thumb {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .intro-split-thumb {
        width: 24rem;
        height: 24rem;
    }
}

/* Bootstrap: flex + gap (no .row negative margins; works with section overflow). Tailwind grid ignores flex on items. */
@media (min-width: 576px) {
    .intro-split-benefits__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }
}


.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;
}

.memo-number-hover,
.memo-box-hover,
.memo-cta-shadow,
.memo-cta-hover {
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

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

.memo-principle-rule {
    border-top: 2px solid rgba(var(--bs-emphasis-color-rgb), 0.2);
}

.memo-principle-group:hover .memo-number-hover {
    color: var(--bs-primary) !important;
}

.memo-principle-group:hover .memo-box-hover {
    border-top-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.memo-cta-shadow {
    transform: translate(0.375rem, 0.375rem);
}

.memo-cta-group:hover .memo-cta-shadow {
    transform: translate(0, 0);
}

.memo-cta-hover:hover {
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, 37 99 235) / 1)) !important;
    color: #fff !important;
    border-color: var(--bs-primary, rgb(var(--tw-primary-700, 29 78 216) / 1)) !important;
}

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

.card-stack__accent--1 { width: 10rem; height: 10rem; filter: blur(2rem); }
.card-stack__accent--2 { width: 12rem; height: 12rem; filter: blur(2rem); }
.card-stack__accent--3 { width: 8rem; height: 8rem; filter: blur(1.5rem); }
.card-stack__accent--4 { width: 9rem; height: 9rem; filter: blur(2rem); }

.card-stack__title-line--1, .card-stack__title-line--2 {
    width: 5rem; height: 0.125rem; transform: translateY(-50%);
}
.card-stack__title-dot--1 { width: 0.5rem; height: 0.5rem; top: -0.5rem; right: -0.5rem; }
.card-stack__title-dot--2 { width: 0.5rem; height: 0.5rem; bottom: -0.5rem; left: -0.5rem; }

.card-stack__corner--tl { top: -0.5rem; left: -0.5rem; width: 1.5rem; height: 1.5rem; }
.card-stack__corner--tr { top: -0.5rem; right: -0.5rem; width: 1.5rem; height: 1.5rem; }
.card-stack__corner--bl { bottom: -0.5rem; left: -0.5rem; width: 1.5rem; height: 1.5rem; }
.card-stack__corner--br { bottom: -0.5rem; right: -0.5rem; width: 1.5rem; height: 1.5rem; }

.card-stack__corner--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-stack__item:hover .card-stack__corner--fade {
    opacity: 1;
}

.card-stack__media--hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.card-stack__item:hover .card-stack__media--hover {
    transform: scale(1.05);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
}

.card-stack__decor--glow {
    background: radial-gradient(circle at center, rgba(var(--bs-primary-rgb), 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.card-stack__item:hover .card-stack__decor--glow {
    opacity: 1;
}

.card-stack__img--zoom {
    transition: transform 0.5s ease;
}
.card-stack__item:hover .card-stack__img--zoom {
    transform: scale(1.1);
}

.card-stack__overlay--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-stack__item:hover .card-stack__overlay--fade {
    opacity: 1;
}

.card-stack__overlay--dark {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-stack__item:hover .card-stack__overlay--dark {
    opacity: 1;
}

.card-stack__inner-corner--tl, .card-stack__inner-corner--br {
    width: 4rem; height: 4rem;
}

.card-stack__badge--shadow {
    transition: box-shadow 0.3s ease;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
}
.card-stack__item:hover .card-stack__badge--shadow {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.card-stack__accent-corner--tr { right: 0; width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.card-stack__accent-corner--bl { left: 0; width: 2rem; height: 2rem; opacity: 0; transition: opacity 0.3s ease; }
.card-stack__item:hover .card-stack__accent-corner--tr,
.card-stack__item:hover .card-stack__accent-corner--bl {
    opacity: 1;
}

.card-stack__panel--slide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.card-stack__item:hover .card-stack__panel--slide {
    transform: translateY(0);
}


.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-details-leaf__summary {
    cursor: pointer;
}

.content-details-leaf__summary::marker {
    font-size: 0.85em;
}

.content-details-leaf__item[open] {
    transform: translateY(-0.0625rem);
}

.content-details-leaf__orb {
    width: 16rem;
    height: 16rem;
    filter: blur(4rem);
}

