/* 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-river__arc {
    width: 18rem;
    height: 18rem;
}

.content-river__node {
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
}

@media (min-width: 768px) {
    .content-river__copy--right {
        grid-column-start: 2;
    }

    .content-river__copy--left {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .content-river__spacer--left {
        order: 2;
    }
}

.content-watermark__ghost {
    transform: translateX(-50%);
}

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

.stance-flip__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .stance-flip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.stance-flip__card {
    perspective: 1200px;
    height: 32rem;
    overflow: hidden;
    border-radius: 1rem;
}

.stance-flip__inner {
    transition: transform 500ms ease;
    transform-style: preserve-3d;
}

.stance-flip__card.is-flipped .stance-flip__inner {
    transform: rotateY(180deg);
}

.stance-flip__face {
    backface-visibility: hidden;
}

.stance-flip__face--back {
    transform: rotateY(180deg);
}

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

.content-focus-checklist__button {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: 0.2rem;
    transition: transform 180ms ease;
}

.content-focus-checklist__button:hover {
    transform: translateY(-0.125rem);
}

.content-focus-checklist__button.is-active {
    transform: translateX(0.25rem);
}

/* values v14 — bento grid tile sizing, no colors */
.values-nike-bento__grid {
    grid-auto-rows: minmax(9rem, auto);
}

.values-nike-bento__tile--large {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.values-nike-bento__tile--small {
    grid-column: span 1 / span 1;
}

@media (max-width: 640px) {
    .values-nike-bento__tile--large {
        grid-column: span 2 / span 2;
        grid-row: span 1 / span 1;
    }
}

.values-nike-bento__decor-circle,
.values-nike-bento__decor-blob,
.values-nike-bento__decor-ring {
    z-index: 0;
}

.values-nike-bento__decor-line,
.values-nike-bento__decor-square,
.values-nike-bento__decor-dot {
    z-index: 0;
}

/* BS has no w-14/h-14 — without a fixed size, rounded-circle stretches in a flex column */
.values-nike-bento__icon-badge {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    transition: transform 200ms ease;
}

.values-nike-bento__icon-badge:hover {
    transform: scale(1.05);
}

