/* gallery v16 — polaroid scatter trio.
   Geometry shared by both CSS frameworks (Bootstrap has no utilities for it). */
.gallery-polaroid__section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.mxw-2xl {
    max-width: 42rem !important;
}

.gallery-polaroid__title {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.gallery-polaroid__lead {
    font-size: 1.125rem;
}

.gallery-polaroid__frame {
    width: 12rem;
    padding: 0.75rem 0.75rem 1.5rem;
}

.gallery-polaroid__caption {
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .gallery-polaroid__title {
        font-size: 2.25rem;
    }

    .gallery-polaroid__frame {
        width: 14rem;
    }
}

/* gallery v16 — polaroid scatter trio */
.gallery-polaroid__img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

[data-frame] {
    position: relative;
    transition: transform 220ms ease, z-index 0s;
}

[data-frame="a"] {
    transform: rotate(-3deg);
    z-index: 1;
    margin-right: -1.5rem;
}

[data-frame="b"] {
    transform: rotate(2deg) translateY(-0.75rem);
    z-index: 2;
}

[data-frame="c"] {
    transform: rotate(-1.5deg);
    z-index: 1;
    margin-left: -1.5rem;
}

[data-frame]:hover {
    transform: rotate(0deg) translateY(0);
    z-index: 3;
}

.content-prose__diamond {
    transform: rotate(45deg);
}

/* 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-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

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

.editorial-document__text-panel-inset {
    padding: 4rem;
}


.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 gutter — bracket ticks share width */
.content-gutter__tick {
    width: 1px;
}

/* solo column: span full grid / row when second stack hidden */
.content-gutter__lead--span {
    grid-column: 1 / -1;
}

.content-index-sheet__shell {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    width: 100%;
}

.content-index-sheet__shell .rounded-circle,
.content-index-sheet__shell [class*="rounded-full"] {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .content-index-sheet__shell {
        grid-template-columns: 1fr;
    }
}

