/* stylelint-disable at-rule-no-unknown */

/* Max. */

/* Min. */

.section-featured {
	position: relative;
}

.section-tags + .section-featured {
		margin-top: calc(var(--layout--gap) * -1 + var(--spacing-9));
	}

/* Carousel. */

.section-featured .swiper {
		width: 100%;
		border-radius: var(--radius-6);
	}

.section-featured .swiper .slider-button-wrapper {
			position: absolute;
			right: var(--spacing-8);
			bottom: var(--spacing-8);
			z-index: 1;
			display: flex;
		}

.section-featured .swiper .slider-button {
			width: 2.25rem;
			height: 2.25rem;
			background-color: transparent;
			color: var(--color-contrast);
			transform: none;
			box-shadow: none;
		}

.section-featured .swiper .slider-button:hover {
				background-color: var(--color-background-300);
			}

.section-featured .swiper .swiper-button-disabled {
			opacity: 0.5;
			visibility: visible;
		}

.section-featured .swiper .swiper-button-disabled:hover {
				background-color: transparent;
			}

.section-featured .swiper .swiper-slide {
			flex: 0 0 100%;
			width: 100%;
		}

@media (max-width: 991px) {

.section-featured .swiper {
			border-radius: var(--radius-4) var(--radius-4) var(--radius-6)
				var(--radius-6)
	}
		}

.section-featured .swiper:not(.swiper-initialized) .swiper-wrapper {
		display: flex;
		gap: var(--layout--padding);
		overflow-x: auto;
	}

.section-featured .swiper.swiper-initialized .slider-button:not(.swiper-button-lock) {
		display: flex;
	}

/* Card. */

.card-post-featured {
	display: flex;
	gap: var(--spacing-8);
	width: 100%;
	padding: var(--spacing-8);
	border-radius: var(--radius-6);
	background-color: var(--color-background-100);
	overflow: hidden;
}

.card-post-featured::after {
		content: '';
		flex: 0 0 50%;
		width: 50%;
		aspect-ratio: 16/10;
	}

.card-post-featured .card-post-image {
		position: absolute;
		top: var(--spacing-8);
		right: var(--spacing-8);
		bottom: var(--spacing-8);
		width: calc(50% - var(--spacing-8));
		border-radius: var(--radius-4);
		background-color: var(--color-background-300);
		aspect-ratio: auto;
		overflow: hidden;
	}

.card-post-featured .card-post-image img {
			transition: transform 1s cubic-bezier(0.2, 1, 0.2, 1);
		}

.card-post-featured .card-post-image:hover img {
			transform: scale(1.03);
		}

.card-post-featured .card-post-content {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: var(--spacing-7);
		width: 100%;
		padding: var(--spacing-8);
	}

/* Avatars. */

.card-post-featured .card-post-avatars {
		display: flex;
		gap: 0;
		margin: 0 0 auto;
		padding: 0;
		align-self: flex-start;
		list-style: none;
	}

.card-post-featured .card-post-avatars > .card-post-avatar + .card-post-avatar {
			margin-left: calc(var(--avatar-large--size) * -0.25);
		}

.card-post-featured .card-post-avatars > .card-post-avatar + .card-post-avatar .avatar {
			-webkit-mask-image: radial-gradient(
				circle calc(var(--avatar-large--size) + 4px) at
					calc(-50% + var(--avatar-large--size) * 0.25) 50%,
				transparent 50%,
				black calc(50% + 1px)
			);
			        mask-image: radial-gradient(
				circle calc(var(--avatar-large--size) + 4px) at
					calc(-50% + var(--avatar-large--size) * 0.25) 50%,
				transparent 50%,
				black calc(50% + 1px)
			);
		}

.card-post-featured .card-post-avatars > .card-post-avatar:first-child {
			z-index: 9;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(2) {
			z-index: 8;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(3) {
			z-index: 7;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(4) {
			z-index: 6;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(5) {
			z-index: 5;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(6) {
			z-index: 4;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(7) {
			z-index: 3;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(8) {
			z-index: 2;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(9) {
			z-index: 1;
		}

.card-post-featured .card-post-avatars > .card-post-avatar:nth-child(10) {
			z-index: 0;
		}

/* Avatar. */

.card-post-featured .card-post-avatar-image {
		position: static;
	}

.card-post-featured .card-post-avatar-image > .avatar {
			--avatar--background-color: var(--color-background-300);
			--avatar-hover--background-color: var(--color-background-300);
		}

/* Tags. */

.card-post-featured .card-post-meta {
		display: flex;
		flex-wrap: wrap;
		gap: var(--spacing-1) var(--spacing-3);
		margin-top: var(--spacing-8);
		margin-bottom: calc(var(--spacing-4) * -1);
		color: var(--color-foreground);
		font-size: var(--font-small);
		font-weight: var(--font-weight-medium);
	}

.card-post-featured .card-post-meta > a {
			color: var(--color-foreground);
			-webkit-text-decoration: none;
			text-decoration: none;
		}

.card-post-featured .card-post-meta > a:hover {
				color: var(--ghost-accent-color);
			}

/* Title. */

.card-post-featured .card-post-title {
		font-size: 1.75rem;
		/* 28px */
		font-weight: var(--font-weight-semibold);
		font-family: var(--font-family-headings);
		line-height: 1.1;

		margin-bottom: 0;
	}

.card-post-featured .card-post-title > a {
			-webkit-text-decoration: none;
			text-decoration: none;
		}

/* Excerpt. */

.card-post-featured .card-post-excerpt {
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		display: -webkit-box;
		overflow: hidden;
	}

/* Button. */

.card-post-featured .card-post-button {
		align-self: flex-start;
		margin-top: var(--spacing-2);
		--button--background-color: var(--ghost-accent-color);
		--button--color: var(--color-white);
		--button-hover--background-color: var(--ghost-accent-color);
		--button-hover--color: var(--color-white);
		--button-hover--opacity: 0.8;
		--button--border-radius: 8px;
	}

/* Hide arrow icon in card post button */

.card-post-featured .card-post-button > svg {
		display: none;
	}

@media (max-width: 991px) {

.card-post-featured {
		flex-direction: column;
		padding: 0;
		border-radius: var(--radius-4)
}

		.card-post-featured::after {
			display: none;
		}

		.card-post-featured .card-post-image {
			position: relative;
			top: 0;
			bottom: auto;
			left: 0;
			width: 100%;
			flex: 0 0 auto;
			aspect-ratio: 16/9;
		}

		.card-post-featured .card-post-content {
			position: static;
			padding: var(--spacing-9);
		}

		.card-post-featured .card-post-authors {
			--avatar-large--size: var(--avatar--size);

			position: absolute;
			top: var(--spacing-8);
			left: var(--spacing-8);
			z-index: 1;
		}

		.card-post-featured .card-post-meta {
			margin-top: 0;
		}
	}

@media (max-width: 539px) {
		.card-post-featured .card-post-title {
			font-size: 1.375rem;
			/* 22px */
			font-weight: var(--font-weight-semibold);
			font-family: var(--font-family-headings);
			line-height: 1.2;
		}

		.card-post-featured .card-post-content {
			padding: var(--layout--padding);
		}
	}

/* Hide posts title. */

.section-featured + .section-posts {
	margin-top: calc(var(--layout--gap) * -1 + var(--spacing-9));
}

.section-featured + .section-posts > h2 {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip-path: inset(0);
		white-space: nowrap;
	}
