.posts-slider-container {
	position: relative;
}

.posts-slider-container > ol.posts-slider {
	position: relative;
	aspect-ratio: 2.5;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	gap: 3rem;
	overflow-x: scroll;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	margin: 0;
	padding: 0;
	scrollbar-color: transparent transparent;
	scrollbar-width: 0px;
}

@media (max-width: 767px) {

	.posts-slider-container > ol.posts-slider {
		aspect-ratio: 2;
	}
}

.posts-slider-container > ol.posts-slider.dragging {
	scroll-behavior: auto;
	scroll-snap-type: none;
}

.posts-slider-container > ol.posts-slider.dragging-extended::after,
.posts-slider-container > ol.posts-slider.dragging-extended::before {
	scroll-snap-align: center;
}

.posts-slider-container > ol.posts-slider > li {
	position: relative;
	display: grid;
	scroll-snap-align: center;
}

.posts-slider-container > ol.posts-slider > li > a {
	display: block;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	object-fit: contain;
	width: 100%;
	height: 100%;
	aspect-ratio: 2;
	overflow: clip;

	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.posts-slider-container > ol.posts-slider > li > a > img {
	object-fit: cover;
	width: 100%;
	height: 100%;

	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.posts-slider-container > ol.posts-slider::after,
.posts-slider-container > ol.posts-slider::before {
	content: "";
	display: block;
	margin: 0 50%;
	scroll-snap-align: none;
}

.posts-slider-container[style*="--first-post-thumbnail"] > ol.posts-slider::after {
	content: "";
	margin: 0;
	object-fit: contain;
	width: 100%;
	height: 100%;
	aspect-ratio: 2;
	overflow: clip;
	background-image: var(--first-post-thumbnail, "");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left center;
	margin-right: 50%;
}

.posts-slider-container[style*="--last-post-thumbnail"] > ol.posts-slider::before {
	content: "";
	margin: 0;
	object-fit: contain;
	width: 100%;
	height: 100%;
	aspect-ratio: 2;
	overflow: clip;
	background-image: var(--last-post-thumbnail, "");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right center;
	margin-left: 50%;
}

.posts-slider-container > nav {
	margin-top: 1rem;
}

.posts-slider-container > nav:has(> ol > li:first-child:last-child) {
	display: none;
}

.posts-slider-container > nav > ol {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.posts-slider-container > nav > ol > li {
	display: block;
	margin: 0;
	padding: 0;
}

.posts-slider-container > nav > ol > li button {
	width: 1rem;
	height: 1rem;
	background-color: rgba(6, 191, 219, 0);
	border: solid 2px rgba(6, 191, 219, 1);
	border-radius: 100%;
	outline: none;
}

.posts-slider-container > nav > ol > li button:active,
.posts-slider-container > nav > ol > li button:focus {
	border-color: rgba(6, 191, 219, 1);
	outline: none;
}

.posts-slider-container > nav > ol > li.active button {
	background-color: rgba(6, 191, 219, 1);
	outline: none;
}
