.gallery-zoom-cards__card {
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover {
    transform: scale(1.05);
}
.gallery-zoom-cards__img {
    transition: transform 0.7s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__img {
    transform: scale(1.10);
}
.gallery-zoom-cards__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__overlay {
    opacity: 1;
}
.gallery-zoom-cards__badge {
    top: 0.5rem;
    right: 0.5rem;
}
.gallery-zoom-cards__content {
    transform: translateY(0.5rem);
    transition: transform 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__content {
    transform: translateY(0);
}
.gallery-zoom-cards__desc {
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__desc {
    opacity: 1;
}
.gallery-zoom-cards__accent {
    transition: all 0.5s ease;
}
.gallery-zoom-cards__card:hover .gallery-zoom-cards__accent {
    border-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

/* quote v28 — cinema: rotating orbits, watermark, compare slider, text cards */

.quote-cinema__orbit {
    position: absolute;
    border-radius: 9999px;
    animation: quoteCinemaOrbit 60s linear infinite;
}
.quote-cinema__orbit--a {
    width: 28rem;
    height: 28rem;
    top: -8rem;
    left: -6rem;
}
.quote-cinema__orbit--b {
    width: 22rem;
    height: 22rem;
    bottom: -6rem;
    right: -4rem;
    animation-direction: reverse;
    animation-duration: 45s;
}
.quote-cinema__orbit--c {
    width: 16rem;
    height: 16rem;
    top: 35%;
    left: 55%;
    animation-duration: 75s;
}
@keyframes quoteCinemaOrbit {
    to { transform: rotate(360deg); }
}

.quote-cinema__watermark {
    opacity: 0.25;
}

.quote-cinema__compare {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
}
.quote-cinema__compare-img {
    object-fit: cover;
}
.quote-cinema__compare-clip {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}
.quote-cinema__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    width: 2rem;
    height: 2rem;
}

.quote-cinema__rail {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
}
.quote-cinema__cell {
    scroll-snap-align: start;
    width: 11rem;
}

.quote-cinema__card {
    outline: 2px dashed currentColor;
    outline-offset: -4px;
}
.quote-cinema__texture {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 20%, currentColor 0.5px, transparent 0.6px);
    background-size: 6px 6px;
    pointer-events: none;
}

.quote-cinema__photo {
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 250ms ease;
}
.quote-cinema__card:hover .quote-cinema__photo,
.quote-cinema__card:focus-within .quote-cinema__photo {
    filter: grayscale(0);
}

.quote-cinema__card summary {
    cursor: pointer;
    list-style: none;
}
.quote-cinema__card summary::-webkit-details-marker {
    display: none;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-cinema-root [role="listitem"]:hover,
    .quote-cinema-root article:hover,
    .quote-cinema-root [class*="quote-cinema__card"]:hover,
    .quote-cinema-root .quote-cinema__book:hover,
    .quote-cinema-root .quote-cinema__step:hover,
    .quote-cinema-root .quote-cinema__index-card:hover,
    .quote-cinema-root .quote-cinema__pill:hover,
    .quote-cinema-root .quote-cinema__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-cinema-root [role="listitem"],
.quote-cinema-root article,
.quote-cinema-root [class*="quote-cinema__card"],
.quote-cinema-root .quote-cinema__book,
.quote-cinema-root .quote-cinema__step,
.quote-cinema-root .quote-cinema__index-card,
.quote-cinema-root .quote-cinema__pill {
    transition: transform 200ms ease;
}

.quote-cinema-root a:focus-visible,
.quote-cinema-root button:focus-visible,
.quote-cinema-root [tabindex="0"]:focus-visible,
.quote-cinema-root input:focus-visible,
.quote-cinema-root summary:focus-visible,
.quote-cinema-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-cinema-root button:hover,
    .quote-cinema-root a:hover,
    .quote-cinema-root summary:hover {
        opacity: 0.92;
    }
}

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

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

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

