.home-links {
	text-align: center;
}

.home-links p {
	margin: 0.6em 0;
}

.home-links a {
	display: inline-block;
	background-color: #32373c;
	color: #fff;
	text-decoration: none;
	border-radius: 9999px;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	font-size: 1.125em;
}

.home-links a:hover,
.home-links a:focus {
	background-color: #111;
	color: #fff;
}

.has-text-align-center {
	text-align: center;
}

.creative-gallery {
	position: relative;
	width: 100%;
	height: 800px;
	margin: 0 0 1.5rem;
}

.creative-gallery:not(.is-ready) .tile {
	visibility: hidden;
}

.creative-gallery .tile {
	position: absolute;
	display: block;
	overflow: hidden;
	cursor: zoom-in;
}

.entry-content .creative-gallery .tile,
.entry-content .creative-gallery .tile:hover,
.entry-content .creative-gallery .tile:focus {
	box-shadow: none;
	color: inherit;
}

.creative-gallery .tile img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	box-shadow: none;
}

.creative-gallery .tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.2s ease;
}

.creative-gallery .tile:hover::after,
.creative-gallery .tile:focus::after {
	background: rgba(0, 0, 0, 0.15);
}

.no-js .creative-gallery {
	height: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.no-js .creative-gallery .tile {
	position: static;
	visibility: visible;
	height: 16rem;
}

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem 4.5rem;
	background: rgba(0, 0, 0, 0.92);
}

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

.gallery-lightbox figure {
	margin: 0;
	max-width: 100%;
}

.gallery-lightbox img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 78vh;
	margin: 0 auto;
	box-shadow: none;
	object-fit: contain;
}

.gallery-lightbox figcaption {
	color: #fff;
	text-align: center;
	max-width: 40rem;
	margin: 0.8rem auto 0;
	white-space: pre-line;
}

.gallery-lightbox button {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
}

.gallery-lightbox-close {
	top: 0.6rem;
	right: 1rem;
}

.gallery-lightbox-prev {
	left: 0.4rem;
	top: 50%;
	transform: translateY(-50%);
}

.gallery-lightbox-next {
	right: 0.4rem;
	top: 50%;
	transform: translateY(-50%);
}

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