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

/* Bootstrap flex-md-row: cap thumb width (parity with Tailwind md:w-80) */
.content-v41-thumb-wrap {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .content-v41-thumb-wrap {
        width: 20rem;
        max-width: 20rem;
    }
}

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

.spread-chapter__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

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

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

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

/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__divider-bar {
    height: 0.25rem;
}

.leaflet-document__title-trail { margin-bottom: 2rem; }

.leaflet-document__rule-trail { margin-bottom: 3rem; }

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

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

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

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

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

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

.content-min-small {
    min-height: 12rem;
}

.storyblock-chapter__column-inset {
    padding: 4rem;
}

.features-animated-rows__decor--spin {
    animation: features-animated-rows-spin-kf 1s linear infinite;
}
@keyframes features-animated-rows-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features-animated-rows__decor--bounce {
    animation: features-animated-rows-bounce-kf 1s infinite;
}
@keyframes features-animated-rows-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); }
}

.features-animated-rows__decor--pulse,
.features-animated-rows__line--pulse {
    animation: features-animated-rows-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes features-animated-rows-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.features-animated-rows__overlay--gradient-br {
    background: linear-gradient(to bottom right, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-tl {
    background: linear-gradient(to top left, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-r {
    background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}
.features-animated-rows__overlay--gradient-bl {
    background: linear-gradient(to bottom left, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.2));
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
