.epbl-post-banner {
	--epbl-height: 520px;
	--epbl-gap: 4px;
	--epbl-overlay: 58;
	--epbl-accent: #1b72ff;
	--epbl-badge: #1b72ff;
	--epbl-mobile-height: 420px;
	--epbl-mobile-image-height: 100%;
	--epbl-mobile-image-scale: 1;
	--epbl-featured-image-width: 100%;
	--epbl-featured-image-height: 100%;
	--epbl-image-position: center center;
	--epbl-meta-icon-bg: #ff4d5a;
	--epbl-meta-icon-color: #fff;
	--epbl-meta-icon-size: 28px;
	--epbl-meta-icon-font-size: 14px;
	display: grid;
	gap: var(--epbl-gap);
	width: 100%;
	min-height: var(--epbl-height);
	overflow: hidden;
}

.epbl-card {
	position: relative;
	min-height: 170px;
	overflow: hidden;
	background: #101014;
	transform-style: preserve-3d;
}

.epbl-link,
.epbl-image-wrap,
.epbl-shade,
.epbl-content {
	position: absolute;
	inset: 0;
}

.epbl-link {
	display: block;
	color: #fff;
	text-decoration: none;
}

.epbl-image-wrap {
	overflow: hidden;
}

.epbl-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--epbl-image-position);
	transform: scale(1.01);
	transition: transform 650ms ease, filter 650ms ease;
}

.epbl-card-1 .epbl-image-wrap {
	width: var(--epbl-featured-image-width);
	height: var(--epbl-featured-image-height);
}

.epbl-shade {
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, calc(var(--epbl-overlay) / 100)) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 55%);
	pointer-events: none;
}

.epbl-content {
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 10px;
	padding: clamp(18px, 3vw, 36px);
}

.epbl-badge {
	position: absolute;
	top: clamp(14px, 2.4vw, 28px);
	left: clamp(14px, 2.4vw, 28px);
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	border-radius: 5px;
	background: var(--epbl-badge);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

.epbl-meta-row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	order: 1;
	color: rgba(255, 255, 255, .92);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.epbl-bolt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--epbl-meta-icon-size);
	height: var(--epbl-meta-icon-size);
	min-width: var(--epbl-meta-icon-size);
	border-radius: 999px;
	background: var(--epbl-meta-icon-bg);
	color: var(--epbl-meta-icon-color);
	font-size: var(--epbl-meta-icon-font-size);
	font-weight: 900;
	line-height: 1;
}

.epbl-bolt svg,
.epbl-bolt i {
	display: block;
	width: 1em;
	height: 1em;
	color: currentColor;
	fill: currentColor;
}

.epbl-title {
	display: block;
	order: 2;
	max-width: 920px;
	color: #fff;
	font-size: clamp(22px, 3.1vw, 46px);
	font-weight: 850;
	line-height: 1.08;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.epbl-excerpt {
	display: block;
	order: 3;
	max-width: 780px;
	color: rgba(255, 255, 255, .92);
	font-size: clamp(15px, 1.45vw, 20px);
	font-weight: 600;
	line-height: 1.45;
}

.epbl-card:not(.epbl-card-1) .epbl-title {
	font-size: clamp(19px, 2vw, 30px);
}

.epbl-card:not(.epbl-card-1) .epbl-excerpt {
	display: none;
}

.epbl-empty {
	padding: 24px;
	border: 1px dashed #cbd5e1;
	color: #334155;
	text-align: center;
}

.epbl-carousel-dots {
	display: none;
}

.epbl-layout-magazine_mosaic {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.epbl-layout-magazine_mosaic .epbl-card-1 {
	grid-row: 1 / span 2;
	min-height: var(--epbl-height);
}

.epbl-layout-magazine_mosaic .epbl-card-2 {
	grid-column: 2;
	min-height: calc((var(--epbl-height) - var(--epbl-gap)) * .5);
}

.epbl-layout-magazine_mosaic .epbl-card-3,
.epbl-layout-magazine_mosaic .epbl-card-4 {
	min-height: calc((var(--epbl-height) - var(--epbl-gap)) * .5);
}

.epbl-layout-magazine_mosaic .epbl-card:nth-child(n+5) {
	display: none;
}

.epbl-layout-hero_split {
	grid-template-columns: 1.35fr .65fr;
	grid-template-rows: repeat(3, 1fr);
}

.epbl-layout-hero_split .epbl-card-1 {
	grid-row: 1 / span 3;
	min-height: var(--epbl-height);
}

.epbl-layout-hero_split .epbl-card:not(.epbl-card-1) {
	min-height: calc((var(--epbl-height) - (var(--epbl-gap) * 2)) / 3);
}

.epbl-layout-editorial_stack {
	grid-template-columns: .82fr 1.18fr;
	grid-template-rows: repeat(4, 1fr);
}

.epbl-layout-editorial_stack .epbl-card-1 {
	grid-column: 2;
	grid-row: 1 / span 4;
	min-height: var(--epbl-height);
}

.epbl-layout-editorial_stack .epbl-card:not(.epbl-card-1) {
	min-height: calc((var(--epbl-height) - (var(--epbl-gap) * 3)) / 4);
}

.epbl-layout-editorial_stack .epbl-card:not(.epbl-card-1) .epbl-content {
	padding: 20px;
}

.epbl-layout-cinema_strip {
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 1fr);
	grid-template-rows: 1fr;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.epbl-layout-cinema_strip .epbl-card {
	min-height: var(--epbl-height);
	scroll-snap-align: start;
}

.epbl-layout-cinema_strip .epbl-card-1 {
	grid-column: span 2;
}

.epbl-layout-diagonal_focus {
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: repeat(2, 1fr);
}

.epbl-layout-diagonal_focus .epbl-card-1 {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
	clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
	min-height: var(--epbl-height);
}

.epbl-layout-diagonal_focus .epbl-card:not(.epbl-card-1) {
	min-height: calc((var(--epbl-height) - var(--epbl-gap)) / 2);
}

.epbl-layout-news_wall {
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
}

.epbl-layout-news_wall .epbl-card {
	min-height: calc((var(--epbl-height) - var(--epbl-gap)) / 2);
}

.epbl-layout-news_wall .epbl-card-1 {
	grid-column: span 2;
}

.epbl-layout-news_wall .epbl-card-6 {
	grid-column: span 2;
}

.epbl-layout-spotlight {
	grid-template-columns: .7fr 1.6fr .7fr;
	grid-template-rows: repeat(2, 1fr);
	align-items: stretch;
}

.epbl-layout-spotlight .epbl-card-1 {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-height: var(--epbl-height);
}

.epbl-layout-spotlight .epbl-card:not(.epbl-card-1) {
	min-height: calc((var(--epbl-height) - var(--epbl-gap)) / 2);
}

.epbl-layout-spotlight .epbl-card-2,
.epbl-layout-spotlight .epbl-card-3 {
	grid-column: 1;
}

.epbl-layout-spotlight .epbl-card-4,
.epbl-layout-spotlight .epbl-card-5 {
	grid-column: 3;
}

.epbl-hover-zoom_lift .epbl-card:hover {
	z-index: 5;
	transform: translateY(-3px);
}

.epbl-hover-zoom_lift .epbl-card:hover .epbl-image,
.epbl-hover-tilt .epbl-card:hover .epbl-image,
.epbl-hover-glow .epbl-card:hover .epbl-image,
.epbl-hover-reveal_meta .epbl-card:hover .epbl-image {
	transform: scale(1.09);
	filter: saturate(1.12) contrast(1.04);
}

.epbl-hover-tilt .epbl-card {
	transition: transform 260ms ease;
}

.epbl-hover-tilt .epbl-card:hover {
	z-index: 5;
	transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-2px);
}

.epbl-hover-glow .epbl-link::after {
	position: absolute;
	inset: -30%;
	z-index: 3;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .32), transparent 65%);
	content: "";
	pointer-events: none;
	transform: translateX(-80%);
	transition: transform 700ms ease;
}

.epbl-hover-glow .epbl-card:hover .epbl-link::after {
	transform: translateX(80%);
}

.epbl-hover-reveal_meta .epbl-card:not(:hover) .epbl-meta-row {
	opacity: 0;
	transform: translateY(10px);
}

.epbl-hover-reveal_meta .epbl-meta-row {
	transition: opacity 220ms ease, transform 220ms ease;
}

.epbl-motion-kenburns.is-visible .epbl-card .epbl-image {
	animation: epbl-kenburns 12s ease-out both;
}

.epbl-motion-float.is-visible .epbl-card .epbl-image {
	animation: epbl-float 9s ease-in-out infinite alternate;
}

.epbl-motion-pulse.is-visible .epbl-card .epbl-image {
	animation: epbl-pulse 6s ease-in-out infinite;
}

.epbl-enter-fade_up .epbl-card,
.epbl-enter-zoom_in .epbl-card,
.epbl-enter-slide_left .epbl-card,
.epbl-enter-flip_soft .epbl-card {
	opacity: 0;
	transition: opacity 620ms ease var(--epbl-delay), transform 620ms ease var(--epbl-delay);
}

.epbl-enter-fade_up .epbl-card {
	transform: translateY(28px);
}

.epbl-enter-zoom_in .epbl-card {
	transform: scale(.94);
}

.epbl-enter-slide_left .epbl-card {
	transform: translateX(32px);
}

.epbl-enter-flip_soft .epbl-card {
	transform: perspective(1000px) rotateX(9deg) translateY(20px);
}

.epbl-post-banner.is-visible .epbl-card {
	opacity: 1;
	transform: none;
}

.elementor-editor-active .epbl-post-banner:not(.epbl-ready) .epbl-card {
	opacity: 1;
	transform: none;
}

@keyframes epbl-kenburns {
	from {
		transform: scale(1.01);
	}

	to {
		transform: scale(1.12);
	}
}

@keyframes epbl-float {
	from {
		transform: scale(1.06) translate3d(-1.5%, -1%, 0);
	}

	to {
		transform: scale(1.08) translate3d(1.5%, 1%, 0);
	}
}

@keyframes epbl-pulse {
	0%,
	100% {
		transform: scale(1.02);
	}

	50% {
		transform: scale(1.08);
	}
}

@media (max-width: 1024px) {
	.epbl-post-banner {
		min-height: auto;
	}

	.epbl-layout-magazine_mosaic,
	.epbl-layout-hero_split,
	.epbl-layout-editorial_stack,
	.epbl-layout-diagonal_focus,
	.epbl-layout-news_wall,
	.epbl-layout-spotlight {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
	}

	.epbl-layout-magazine_mosaic .epbl-card-1,
	.epbl-layout-hero_split .epbl-card-1,
	.epbl-layout-editorial_stack .epbl-card-1,
	.epbl-layout-diagonal_focus .epbl-card-1,
	.epbl-layout-news_wall .epbl-card-1,
	.epbl-layout-spotlight .epbl-card-1 {
		grid-column: 1 / -1;
		grid-row: auto;
		clip-path: none;
		min-height: min(var(--epbl-height), 520px);
	}

	.epbl-layout-magazine_mosaic .epbl-card:not(.epbl-card-1),
	.epbl-layout-hero_split .epbl-card:not(.epbl-card-1),
	.epbl-layout-editorial_stack .epbl-card:not(.epbl-card-1),
	.epbl-layout-diagonal_focus .epbl-card:not(.epbl-card-1),
	.epbl-layout-news_wall .epbl-card,
	.epbl-layout-spotlight .epbl-card:not(.epbl-card-1) {
		grid-column: auto;
		grid-row: auto;
		min-height: 260px;
	}
}

@media (max-width: 767px) {
	.epbl-layout-magazine_mosaic,
	.epbl-layout-hero_split,
	.epbl-layout-editorial_stack,
	.epbl-layout-diagonal_focus,
	.epbl-layout-news_wall,
	.epbl-layout-spotlight {
		grid-template-columns: 1fr;
	}

	.epbl-post-banner {
		gap: var(--epbl-gap);
	}

	.epbl-layout-magazine_mosaic .epbl-card-1,
	.epbl-layout-hero_split .epbl-card-1,
	.epbl-layout-editorial_stack .epbl-card-1,
	.epbl-layout-diagonal_focus .epbl-card-1,
	.epbl-layout-news_wall .epbl-card-1,
	.epbl-layout-spotlight .epbl-card-1 {
		min-height: var(--epbl-mobile-height);
	}

	.epbl-card,
	.epbl-layout-cinema_strip .epbl-card,
	.epbl-layout-news_wall .epbl-card,
	.epbl-layout-spotlight .epbl-card:not(.epbl-card-1) {
		min-height: var(--epbl-mobile-height);
	}

	.epbl-mobile-image-cover .epbl-image-wrap {
		inset: 0;
		height: 100%;
	}

	.epbl-mobile-image-custom .epbl-image-wrap {
		bottom: auto;
		height: var(--epbl-mobile-image-height);
	}

	.epbl-image {
		transform: scale(var(--epbl-mobile-image-scale));
	}

	.epbl-mobile-count-1 .epbl-card:nth-child(n+2),
	.epbl-mobile-count-2 .epbl-card:nth-child(n+3),
	.epbl-mobile-count-3 .epbl-card:nth-child(n+4),
	.epbl-mobile-count-4 .epbl-card:nth-child(n+5),
	.epbl-mobile-count-6 .epbl-card:nth-child(n+7) {
		display: none;
	}

	.epbl-title,
	.epbl-card:not(.epbl-card-1) .epbl-title {
		font-size: clamp(22px, 7vw, 34px);
	}

	.epbl-content {
		padding: 20px;
	}

	.epbl-mobile-layout-stacked_focus {
		grid-template-columns: 1fr;
	}

	.epbl-mobile-layout-stacked_focus .epbl-card {
		border-radius: 8px;
		box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
	}

	.epbl-mobile-layout-stacked_focus .epbl-card-1 {
		min-height: var(--epbl-mobile-height);
	}

	.epbl-mobile-layout-stacked_focus .epbl-card:not(.epbl-card-1) {
		min-height: calc(var(--epbl-mobile-height) * .72);
	}

	.epbl-mobile-layout-swipe_cards {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(82%, 1fr);
		grid-template-columns: none;
		overflow-x: auto;
		padding: 0 18px 12px 0;
		scroll-padding-inline: 18px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.epbl-mobile-layout-swipe_cards .epbl-card,
	.epbl-mobile-layout-swipe_cards .epbl-card-1 {
		grid-column: auto;
		grid-row: auto;
		min-height: var(--epbl-mobile-height);
		border-radius: 8px;
		scroll-snap-align: start;
	}

	.epbl-mobile-layout-carousel {
		position: relative;
		display: block;
		min-height: var(--epbl-mobile-height);
	}

	.epbl-mobile-layout-carousel .epbl-card,
	.epbl-mobile-layout-carousel .epbl-card-1 {
		position: absolute;
		inset: 0;
		display: block;
		min-height: var(--epbl-mobile-height);
		border-radius: 8px;
		opacity: 0;
		pointer-events: none;
		transform: translateX(18px) scale(.98);
		transition: opacity 420ms ease, transform 420ms ease;
	}

	.epbl-mobile-layout-carousel .epbl-card.is-epbl-active {
		position: relative;
		z-index: 2;
		opacity: 1;
		pointer-events: auto;
		transform: translateX(0) scale(1);
	}

	.epbl-mobile-layout-carousel .epbl-card-1 .epbl-image-wrap {
		width: var(--epbl-featured-image-width);
		height: var(--epbl-featured-image-height);
	}

	.epbl-mobile-layout-carousel .epbl-carousel-dots {
		position: absolute;
		right: 16px;
		bottom: 14px;
		z-index: 8;
		display: inline-flex;
		align-items: center;
		gap: 7px;
		padding: 7px 9px;
		border-radius: 999px;
		background: rgba(15, 23, 42, .42);
		backdrop-filter: blur(10px);
	}

	.epbl-mobile-layout-carousel .epbl-carousel-dot {
		width: 8px;
		height: 8px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: rgba(255, 255, 255, .52);
		cursor: pointer;
		transition: width 220ms ease, background 220ms ease;
	}

	.epbl-mobile-layout-carousel .epbl-carousel-dot.is-epbl-active {
		width: 22px;
		background: #fff;
	}

	.epbl-mobile-layout-split_feature {
		grid-template-columns: 1fr;
	}

	.epbl-mobile-layout-split_feature .epbl-card {
		border-radius: 8px;
		background: #111827;
	}

	.epbl-mobile-layout-split_feature .epbl-link {
		position: relative;
		display: grid;
		min-height: inherit;
		color: #111827;
		background: #fff;
	}

	.epbl-mobile-layout-split_feature .epbl-card-1 .epbl-link {
		grid-template-rows: minmax(180px, var(--epbl-featured-image-height)) auto;
	}

	.epbl-mobile-layout-split_feature .epbl-image-wrap,
	.epbl-mobile-layout-split_feature .epbl-card-1 .epbl-image-wrap,
	.epbl-mobile-layout-split_feature .epbl-shade,
	.epbl-mobile-layout-split_feature .epbl-content {
		position: relative;
		inset: auto;
	}

	.epbl-mobile-layout-split_feature .epbl-image-wrap,
	.epbl-mobile-layout-split_feature .epbl-card-1 .epbl-image-wrap {
		width: 100%;
		height: var(--epbl-mobile-image-height);
		min-height: 180px;
	}

	.epbl-mobile-layout-split_feature .epbl-card-1 .epbl-image-wrap {
		width: var(--epbl-featured-image-width);
		height: var(--epbl-featured-image-height);
	}

	.epbl-mobile-layout-split_feature .epbl-shade {
		display: none;
	}

	.epbl-mobile-layout-split_feature .epbl-content {
		gap: 8px;
		padding: 18px;
		background: #fff;
	}

	.epbl-mobile-layout-split_feature .epbl-badge {
		position: static;
	}

	.epbl-mobile-layout-split_feature .epbl-title,
	.epbl-mobile-layout-split_feature .epbl-card:not(.epbl-card-1) .epbl-title {
		color: #111827;
		text-shadow: none;
	}

	.epbl-mobile-layout-split_feature .epbl-meta-row {
		color: #475569;
	}

	.epbl-mobile-layout-split_feature .epbl-excerpt {
		color: #334155;
	}

	.epbl-mobile-layout-compact_news {
		grid-template-columns: 1fr;
	}

	.epbl-mobile-layout-compact_news .epbl-card,
	.epbl-mobile-layout-compact_news .epbl-card-1 {
		min-height: 132px;
		border-radius: 8px;
	}

	.epbl-mobile-layout-compact_news .epbl-link {
		display: grid;
		grid-template-columns: minmax(118px, 38%) 1fr;
		align-items: stretch;
		background: #0f172a;
	}

	.epbl-mobile-layout-compact_news .epbl-image-wrap,
	.epbl-mobile-layout-compact_news .epbl-card-1 .epbl-image-wrap,
	.epbl-mobile-layout-compact_news .epbl-shade,
	.epbl-mobile-layout-compact_news .epbl-content {
		position: relative;
		inset: auto;
	}

	.epbl-mobile-layout-compact_news .epbl-image-wrap,
	.epbl-mobile-layout-compact_news .epbl-card-1 .epbl-image-wrap {
		width: 100%;
		height: 100%;
	}

	.epbl-mobile-layout-compact_news .epbl-shade {
		display: none;
	}

	.epbl-mobile-layout-compact_news .epbl-content {
		justify-content: center;
		gap: 7px;
		padding: 14px;
	}

	.epbl-mobile-layout-compact_news .epbl-badge {
		position: static;
		min-height: 24px;
		padding: 5px 8px;
		font-size: 11px;
	}

	.epbl-mobile-layout-compact_news .epbl-meta-row {
		font-size: 12px;
	}

	.epbl-mobile-layout-compact_news .epbl-title,
	.epbl-mobile-layout-compact_news .epbl-card:not(.epbl-card-1) .epbl-title {
		display: -webkit-box;
		overflow: hidden;
		font-size: 17px;
		line-height: 1.16;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.epbl-mobile-layout-compact_news .epbl-excerpt {
		display: none;
	}
}
