.news-detail__gallery--adaptive {
    --news-gallery-gap: 4px;
}

.news-detail__gallery--adaptive.is-laid-out {
    position: relative;
    display: block;
    width: var(--news-gallery-width);
    max-width: 100%;
    height: var(--news-gallery-height);
    margin: 0 auto;
}

.news-detail__gallery--adaptive.is-laid-out figure {
    position: absolute;
    display: block;
    left: var(--news-photo-left);
    top: var(--news-photo-top);
    width: var(--news-photo-width);
    height: var(--news-photo-height);
    max-width: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 4px;
}

.news-detail__gallery--adaptive.is-laid-out figure a {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
}

.news-detail__gallery--adaptive.is-laid-out figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

html[data-accessibility-images="off"] .news-detail__gallery-section {
    display: none;
}

@media (max-width: 680px) {
    .news-detail__gallery--adaptive {
        --news-gallery-gap: 3px;
    }
}
