.featured-post-cards {
	color: var(--lp-color-white);
	display:flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.featured-post-cards__inner {
	position: relative;
	z-index: 1;
	margin: 50px 0;
	width:100%;
}

.featured-post-cards__heading {
	background: linear-gradient(270deg, #ff9d00 -0.86%, #fff 97.17%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: uppercase;
	text-align: center;
}

.featured-post-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.featured-post-cards[aria-label="Featured"] .featured-post-cards__grid {
	grid-template-columns: 1fr;
}
.featured-post-cards[aria-label="Featured"] .featured-post-cards__grid .featured-post-card__link {
	aspect-ratio: unset;
	min-height:30rem;
}

.featured-post-cards[aria-label="Featured"] .featured-post-card__external {
	background-color:transparent;
	top:auto;
	bottom:20%;
	right:5%;
}

.featured-post-cards[aria-label="Featured"] .featured-post-card__excerpt {
	padding-right:50px;
}
.featured-post-cards[aria-label="Featured"] .featured-post-card__external img {
	width:48px;
	height:auto;
	aspect-ratio: 78/74;
}

.article-meta__subitem > .article-meta__item {
	gap: .8rem;
}

@media (max-width: 950px) {
	.featured-post-card__external {
		display:none!important;
	}
	.featured-post-cards__grid:not(.slick-initialized) {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Slick overrides grid on the same element when initialized */
	.featured-post-cards__grid.slick-initialized {
		display: block;
		margin-bottom: 0;
	}

	.featured-post-cards__grid.slick-initialized .slick-list {
		overflow: hidden;
		margin: 0 -0.25rem;
	}

	.featured-post-cards__grid.slick-initialized .slick-slide {
		padding: 0 0.25rem;
		height: auto;
	}

	.featured-post-cards__grid.slick-initialized .slick-slide > div {
		height: 100%;
	}

	.featured-post-cards__grid.slick-initialized .featured-post-card {
		height: 100%;
	}

	/* Dots: inactive = small grey circles; active = pink pill */
	.featured-post-cards .slick-dots {
		position: relative;
		bottom: auto;
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		width: 100%;
		margin: 1.125rem 0 0;
		padding: 0;
		list-style: none;
		line-height: 0;
	}

	.featured-post-cards .slick-dots li {
		position: relative;
		display: inline-block;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		cursor: pointer;
	}

	.featured-post-cards .slick-dots li button {
		width: 8px;
		height: 8px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #3f3f46;
		cursor: pointer;
		font-size: 0;
		line-height: 0;
		color: transparent;
		transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
	}

	.featured-post-cards .slick-dots li button:hover,
	.featured-post-cards .slick-dots li button:focus-visible {
		background: #52525b;
		outline: none;
	}

	.featured-post-cards .slick-dots li button:focus-visible {
		box-shadow: 0 0 0 2px var(--lp-color-pink, #ff00b7);
	}

	.featured-post-cards .slick-dots li button:before {
		display: none;
	}

	.featured-post-cards .slick-dots li.slick-active button {
		width: 1.75rem;
		height: 8px;
		border-radius: 999px;
		background: #ff0099;
	}

	.featured-post-cards .slick-dots li.slick-active button:hover {
		background: #e6008a;
	}
}

.featured-post-card {
	border-radius: var(--lp-radius-card-lg);

}

.featured-post-card__link {
	position: relative;
	top:0;
	display: block;
	isolation: isolate;
	min-height: 22rem;
	aspect-ratio: 4 / 5;
	/* max-height: 32rem; */
	color: inherit;
	text-decoration: none;
	border-radius: inherit;
	overflow: hidden;
	background-color: var(--lp-color-zinc-800);
	transition: top 0.2s ease, box-shadow 0.2s ease;
	clip-path: inset(.5px round var(--lp-radius-card-lg)); /* Fixed bleeding edge of the image */
}

.featured-post-card__link:hover,
.featured-post-card__link:focus-visible {
	top: -2px;
	box-shadow: 0 0.75rem 2.5rem var(--lp-color-shadow-25);
}

.featured-post-card__link:focus-visible {
	outline: 2px solid var(--lp-color-pink);
	outline-offset: 3px;
}

/* Full-bleed cover image */
.featured-post-card__image {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.featured-post-card__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.featured-post-card__thumb--placeholder {
	min-height: 100%;
	background: linear-gradient(145deg, var(--lp-color-zinc-700), var(--lp-color-zinc-800));
}

.featured-post-card__external {
	position: absolute;
	top: 1.125rem;
	right: 1.125rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background-color: var(--lp-color-white);
	box-shadow: 0 2px 10px var(--lp-color-shadow-16);
}

.featured-post-card__external img {
	display: block;
	width: 0.875rem;
	height: 0.875rem;
	object-fit: contain;
}

/* Bottom: frosted scrim (::before) + sharp text on top */
.featured-post-card__bottom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 2.25rem 1.75rem 1.75rem;
	padding-top: 3.25rem;
	min-height: 48%;
}

.featured-post-card__bottom::before {
  	content: "";
  	position: absolute;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.97) 0%,
		rgba(0, 0, 0, 0.82) 38%,
		rgba(0, 0, 0, 0.45) 72%,
		transparent 100%
	);
	inset: 0;
	mask: linear-gradient(to bottom, transparent -20%, black 30%);
	backdrop-filter: blur(6px);
}


@supports not (backdrop-filter: blur(1px)) {
	.featured-post-card__bottom::before {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.97) 0%,
			rgba(0, 0, 0, 0.82) 38%,
			rgba(0, 0, 0, 0.45) 72%,
			transparent 100%
		);
	}
}

.featured-post-card__badge,
.featured-post-card__title,
.featured-post-card__excerpt {
	position: relative;
	z-index: 1;
}

.featured-post-card__badge {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: var(--lp-radius-pill-full);
	background-color: var(--lp-color-white);
	color: var(--lp-color-black);
	font-size: 0.6875rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
}

.featured-post-card__excerpt {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.55;
	color: var(--lp-color-white-90);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
