/* Match the existing mobile gallery breakpoint; desktop keeps its collage. */
@media (max-width: 960px) {
	.tn-gallery-section__gallery[data-gallery-items] .tn-gallery-section__top,
	.tn-gallery-section__gallery[data-gallery-items] .tn-gallery-section__left {
		display: block;
	}

	.tn-gallery-section__gallery[data-gallery-items] .tn-gallery-section__right,
	.tn-gallery-section__gallery[data-gallery-items] .tn-gallery-section__thumbs-row {
		display: none;
	}

	.tn-gallery-section__gallery[data-gallery-items] .tn-gallery-section__main {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		cursor: pointer;
	}

	.tn-gallery-section__main[role="button"]:focus-visible {
		outline: 3px solid #2563eb;
		outline-offset: 4px;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__header {
		grid-template-columns: minmax(0, 1fr) auto;
		justify-items: stretch;
		gap: 0.5rem;
		padding: 0.75rem 1rem;
		text-align: left;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__header-left,
	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__cta {
		display: none;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__header-center {
		min-width: 0;
		align-items: flex-start;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__header-right {
		justify-self: end;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__single-view {
		overflow-y: hidden;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__single-stage {
		grid-template-rows: minmax(0, 1fr);
		overflow: hidden;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__single-figure,
	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__single-image {
		height: 100%;
		max-height: 100%;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__close {
		min-height: 44px;
	}

	.tn-gallery-lightbox.is-mobile-direct .tn-gallery-lightbox__single-nav {
		width: 44px;
		height: 44px;
	}
}
