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

.belief-tabs__icon-box {
    width: 4rem;
    height: 4rem;
}

.belief-tabs__link--active {
    border-color: var(--bs-primary, rgb(var(--tw-primary-500, 59 130 246) / 1)) !important;
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, 37 99 235) / 1)) !important;
    color: #fff !important;
}

.content-brief__float-square {
    width: 4rem;
    height: 4rem;
}

.content-brief__float-square--slow {
    animation: content-brief-float-slow 10s ease-in-out infinite;
}

.content-brief__float-square--fast {
    animation: content-brief-float-fast 7s ease-in-out infinite;
}

@keyframes content-brief-float-slow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(6deg);
    }
}

@keyframes content-brief-float-fast {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-7deg);
    }
}

.content-vertical-paper__layout {
    display: grid;
    grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr);
}

.content-vertical-paper__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -0.025em;
}

@media (max-width: 767.98px) {
    .content-vertical-paper__layout {
        grid-template-columns: 1fr;
    }

    .content-vertical-paper__title {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

.values-simple__thumb {
    width: 5rem;
    height: 5rem;
}

