.intro-gradient-card__area {
    max-width: 48rem;
}


.folio-grid-bg {
    background-image:
        linear-gradient(rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--bs-emphasis-color-rgb, 33, 37, 41), 0.06) 1px, transparent 1px);
    background-size: 1.5rem 1.5rem;
}

.dark .folio-grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.folio-glow {
    width: 24rem;
    height: 24rem;
    filter: blur(3rem);
    bottom: 0;
    left: -6rem;
}

.folio-cap {
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.12);
}

.folio-sq-9 {
    width: 2.25rem;
    height: 2.25rem;
}

/* Вертикальний tagline на md+ */
@media (min-width: 768px) {
    .folio-rail-tagline {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        text-orientation: mixed;
        max-height: 22rem;
    }
}

.folio-rail-bs {
    width: min(100%, 16rem);
    min-height: min(22rem, 50vh);
    padding-right: 1.75rem;
    border-color: rgba(var(--bs-emphasis-color-rgb), 0.15) !important;
}

.folio-title-rule-bs {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--bs-primary);
}

.folio-tile-bs {
    border: 1px solid rgba(var(--bs-emphasis-color-rgb), 0.12);
    border-radius: var(--bs-border-radius-xl, 0.75rem);
    background-color: var(--bs-body-bg);
    padding: 1rem;
    box-shadow: var(--bs-box-shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.folio-tile-bs:hover {
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
    box-shadow: var(--bs-box-shadow);
}

.folio-cta {
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.folio-cta:hover {
    transform: translateY(-2px);
}

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

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

/* Matches Tailwind flex-1: equal columns on row; avoids shrink-to-content width on Bootstrap */
.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

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


.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-ledger__label {
    letter-spacing: 0.05em;
}

