.ssc-story-hero .ssc-lightbox-trigger,
.ssc-story-gallery .ssc-lightbox-trigger {
	display: block;
	max-width: 100%;
}

.ssc-lightbox-trigger {
	cursor: zoom-in;
}

body.ssc-lightbox-open {
	overflow: hidden;
}

.ssc-article-lightbox {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 66px 16px 58px;
	border: 0;
	background: transparent;
	color: #f1f8f7;
	overflow: auto;
}

.ssc-article-lightbox[open] {
	display: grid;
	place-items: center;
}

.ssc-article-lightbox::backdrop {
	background: rgb(6 21 22 / 94%);
}

.ssc-article-lightbox figure {
	max-width: min(1200px, 100%);
	margin: 0;
}

.ssc-article-lightbox img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100dvh - 154px);
	margin-inline: auto;
	object-fit: contain;
}

.ssc-article-lightbox figcaption {
	margin-top: 12px;
	color: #f1f8f7;
	font-size: 14px;
	text-align: center;
}

.ssc-article-lightbox button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #86a6a5;
	border-radius: 50%;
	background: #123334;
	color: #fff;
	font: 400 26px/1 sans-serif;
	cursor: pointer;
}

.ssc-article-lightbox button:hover,
.ssc-article-lightbox button:focus-visible {
	background: #1f5051;
	outline: 2px solid #f0ad7d;
	outline-offset: 3px;
}

.ssc-article-lightbox .ssc-lightbox-close {
	position: fixed;
	top: 14px;
	right: 16px;
}

.ssc-lightbox-controls {
	position: fixed;
	bottom: 10px;
	left: 50%;
	display: flex;
	gap: 12px;
	transform: translateX(-50%);
}

.ssc-article-lightbox [hidden] {
	display: none;
}
