/*
 * unnukeadvent - the doors of an advent page (advent.php).
 *
 * Always six doors in a row, without gaps (the closed doors form one
 * picture). The images keep their own size - the old calendars use
 * different sizes (e.g. advent 18: 83x94) - and are never enlarged; on a
 * narrow screen they only shrink. A single advent can be adjusted with the
 * preference "Own CSS" and the class .unnukeadvent-advent-<id>.
 */
.unnukeadvent-grid {
	display: grid;
	grid-template-columns: repeat(6, auto);
	justify-content: center;
	gap: 0;
	margin-bottom: 1rem;
}

.unnukeadvent-grid img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* A closed door without a closed image. */
.unnukeadvent-empty {
	width: 100px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ccc;
	color: #888;
}
