.epjc-widget,
.epjc-widget * {
	box-sizing: border-box;
}

.epjc-widget {
	width: 100%;
	position: relative;
	--epjc-cutout-color: #fff;
	--epjc-notch-size: 12px;
	--epjc-notch-curve: 16px;
	--epjc-opposite-inset: 0px;
	--epjc-navigation-side-inset: 0px;
}

.epjc-widget a,
.epjc-widget button {
	-webkit-tap-highlight-color: transparent;
}

.epjc-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	align-items: center;
	gap: 30px;
	width: 100%;
	min-width: 0;
	margin-bottom: 47px;
	position: relative;
	z-index: 20;
	contain: layout;
}

.epjc-heading-copy {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 42px;
	min-width: 0;
	justify-self: start;
	transform: none !important;
	transition: none !important;
}

.epjc-heading-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.epjc-heading-subtitle {
	--epjc-divider-gap: 20px;
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
}

.epjc-heading-subtitle::before {
	content: "";
	width: 1px;
	height: 25px;
	background: #c9c9c9;
	margin-inline-end: var(--epjc-divider-gap);
	flex: 0 0 auto;
}

.epjc-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	justify-self: end;
	white-space: nowrap;
	min-height: 35px;
	direction: ltr;
	transform: none !important;
	transition: none !important;
}

/* Header placement is physical and does not reverse unexpectedly in RTL. */
.epjc-header {
	direction: ltr;
}

.epjc-widget[dir="rtl"] .epjc-heading-copy {
	direction: rtl;
}

.epjc-widget[dir="ltr"] .epjc-heading-copy {
	direction: ltr;
}

.epjc-widget.epjc-navigation-position-right .epjc-heading-copy {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.epjc-widget.epjc-navigation-position-right .epjc-navigation {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
	position: relative;
	right: var(--epjc-navigation-side-inset);
	left: auto;
}

.epjc-widget.epjc-navigation-position-left .epjc-navigation {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	position: relative;
	left: var(--epjc-navigation-side-inset);
	right: auto;
}

.epjc-widget.epjc-navigation-position-left .epjc-heading-copy {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

/* The opposite inset now aligns the header title with the slider content. */
.epjc-widget.epjc-widget-bleed-right .epjc-header {
	padding-left: var(--epjc-opposite-inset);
}

.epjc-widget.epjc-widget-bleed-left .epjc-header {
	padding-right: var(--epjc-opposite-inset);
}

.epjc-nav-button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: opacity .25s ease, transform .25s ease, color .25s ease;
}

.epjc-nav-button:hover,
.epjc-nav-button:focus,
.epjc-nav-button:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
}

.epjc-nav-button:hover {
	transform: translateY(-1px);
}

.epjc-nav-button.swiper-button-disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

.epjc-nav-button svg,
.epjc-nav-button i {
	display: block;
	width: 35px;
	height: 35px;
	font-size: 35px;
	line-height: 35px;
	fill: currentColor !important;
	color: currentColor !important;
}

.epjc-nav-button i::before {
	display: block;
	line-height: inherit;
}

.epjc-pagination {
	position: static !important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto !important;
	min-width: 32px;
	padding: 0 4px;
	white-space: nowrap;
}

.epjc-pagination .swiper-pagination-bullet {
	width: 6px !important;
	height: 6px !important;
	flex: 0 0 6px;
	margin: 0 3px !important;
	border-radius: 999px !important;
	background: #c6c6c6 !important;
	opacity: 1 !important;
	transform: scale(1);
	transform-origin: center;
	transition: transform .25s ease, background-color .25s ease;
}

.epjc-pagination .swiper-pagination-bullet-active {
	width: 6px !important;
	background: #111 !important;
	transform: scale(1.55);
}

.epjc-slider-viewport {
	--epjc-edge-shadow-width: 70px;
	--epjc-edge-shadow-color: rgba(0, 0, 0, .18);
	--epjc-bleed-distance: 0px;
	position: relative;
	min-width: 0;
	overflow: hidden;
}

/*
 * Bleed distance is measured from the real widget position to the browser edge.
 * This remains accurate when Elementor margin/padding is added and does not create page scroll.
 */
.epjc-slider-viewport.epjc-bleed-right {
	width: calc(100% + var(--epjc-bleed-distance));
	margin-right: calc(-1 * var(--epjc-bleed-distance));
	margin-left: 0;
	padding-right: var(--epjc-bleed-distance);
	padding-left: var(--epjc-opposite-inset);
}

.epjc-slider-viewport.epjc-bleed-left {
	width: calc(100% + var(--epjc-bleed-distance));
	margin-left: calc(-1 * var(--epjc-bleed-distance));
	margin-right: 0;
	padding-left: var(--epjc-bleed-distance);
	padding-right: var(--epjc-opposite-inset);
}

.epjc-slider-viewport.epjc-edge-shadow-left::after,
.epjc-slider-viewport.epjc-edge-shadow-right::after {
	content: "";
	position: absolute;
	z-index: 12;
	top: 0;
	bottom: 0;
	width: var(--epjc-edge-shadow-width);
	pointer-events: none;
}

.epjc-slider-viewport.epjc-edge-shadow-left::after {
	left: 0;
	right: auto;
	background: linear-gradient(to right, var(--epjc-edge-shadow-color), transparent);
}

.epjc-slider-viewport.epjc-edge-shadow-right::after {
	right: 0;
	left: auto;
	background: linear-gradient(to left, var(--epjc-edge-shadow-color), transparent);
}

.epjc-swiper {
	width: 100%;
	overflow: hidden;
}

.epjc-swiper:not(.swiper-initialized) .swiper-wrapper {
	display: flex;
	gap: 30px;
}

.epjc-swiper:not(.swiper-initialized) .swiper-slide {
	flex: 0 0 calc(33.333333% - 20px);
}

.epjc-slide {
	height: auto !important;
}

.epjc-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: visible;
	transition: transform .3s ease, box-shadow .3s ease;
}

.epjc-media {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 10px;
	isolation: isolate;
}

.epjc-image-link {
	display: block;
	width: 100%;
	height: 330px;
	overflow: hidden;
	border-radius: 10px;
	background: #f1f1f1;
}

.epjc-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none !important;
	object-fit: cover;
	transform: scale(1);
	transition: transform .45s cubic-bezier(.2,.65,.3,1);
}

.epjc-card:hover .epjc-image {
	transform: scale(1.05);
}

.epjc-category-wrap {
	position: absolute;
	z-index: 5;
	left: 10px;
	right: auto;
	bottom: 10px;
	max-width: calc(100% - 95px);
}

.epjc-category {
	display: block !important;
	max-width: 100%;
	overflow: hidden;
	padding: 7px 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.6;
	text-decoration: none !important;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.epjc-category:hover,
.epjc-category:focus {
	background: #111 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

/*
 * Circular notch / inverted border radius.
 * The solid cutout area and the two curved pseudo-elements form a real
 * concave connection around the circular button instead of merely placing
 * a circle over the image.
 */
.epjc-notch {
	--epjc-cutout-color: #fff;
	--epjc-notch-size: 12px;
	--epjc-notch-curve: 16px;
	position: absolute;
	z-index: 7;
	bottom: 0;
	background: var(--epjc-cutout-color);
	isolation: isolate;
	pointer-events: none;
	will-change: transform;
	transition: transform .48s cubic-bezier(.22,.75,.18,1);
}

/* The complete notch enters horizontally from its own edge. */
.epjc-notch-right {
	transform: translateX(calc(100% + var(--epjc-notch-curve) + var(--epjc-notch-size)));
}

.epjc-notch-left {
	transform: translateX(calc(-100% - var(--epjc-notch-curve) - var(--epjc-notch-size)));
}

.epjc-card:hover .epjc-notch,
.epjc-card:focus-within .epjc-notch {
	pointer-events: auto;
	transform: translateX(0);
}

.epjc-notch::before,
.epjc-notch::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: var(--epjc-notch-curve);
	height: var(--epjc-notch-curve);
	pointer-events: none;
}

.epjc-notch-right {
	right: 0;
	padding-top: var(--epjc-notch-size);
	padding-left: var(--epjc-notch-size);
	border-top-left-radius: var(--epjc-notch-curve);
}

.epjc-notch-right::before {
	top: calc(0px - var(--epjc-notch-curve));
	right: 0;
	border-bottom-right-radius: var(--epjc-notch-curve);
	box-shadow: 6px 6px 0 6px var(--epjc-cutout-color);
}

.epjc-notch-right::after {
	bottom: 0;
	left: calc(0px - var(--epjc-notch-curve));
	border-bottom-right-radius: var(--epjc-notch-curve);
	box-shadow: 6px 6px 0 6px var(--epjc-cutout-color);
}

.epjc-notch-left {
	left: 0;
	padding-top: var(--epjc-notch-size);
	padding-right: var(--epjc-notch-size);
	border-top-right-radius: var(--epjc-notch-curve);
}

.epjc-notch-left::before {
	top: calc(0px - var(--epjc-notch-curve));
	left: 0;
	border-bottom-left-radius: var(--epjc-notch-curve);
	box-shadow: -6px 6px 0 6px var(--epjc-cutout-color);
}

.epjc-notch-left::after {
	bottom: 0;
	right: calc(0px - var(--epjc-notch-curve));
	border-bottom-left-radius: var(--epjc-notch-curve);
	box-shadow: -6px 6px 0 6px var(--epjc-cutout-color);
}

.epjc-readmore {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 45px !important;
	height: 45px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f3f3f3 !important;
	box-shadow: none !important;
	color: #111 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: color .3s ease, background-color .3s ease, transform .3s ease;
}

.epjc-readmore:hover,
.epjc-readmore:focus,
.epjc-readmore:active {
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
}

.epjc-readmore:hover {
	background: #111 !important;
	color: #fff !important;
	transform: rotate(-8deg);
}

.epjc-readmore svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: currentColor !important;
	transition: transform .3s ease;
}

.epjc-icon-rotate-yes .epjc-readmore:hover svg {
	transform: rotate(45deg);
}

.epjc-info {
	min-width: 0;
}

.epjc-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 40px;
	row-gap: 7px;
	color: #666;
	font-size: 10px;
	line-height: 1.5;
	text-transform: uppercase;
}

.epjc-author {
	display: inline-flex;
	align-items: center;
	gap: .35em;
}

.epjc-author-name {
	color: #111;
	font-weight: 700;
}

.epjc-date {
	white-space: nowrap;
}

.epjc-post-title {
	display: -webkit-box !important;
	max-width: 370px;
	min-height: 60px;
	overflow: hidden;
	margin-top: 12px;
	padding: 0 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--epjc-title-lines, 2);
	color: #111 !important;
	font-size: 18px;
	font-weight: 800;
	line-height: 30px;
	text-decoration: none !important;
	transition: color .3s ease;
}

.epjc-post-title:hover,
.epjc-card:hover .epjc-post-title {
	color: #666 !important;
}

.epjc-empty {
	padding: 24px;
	border: 1px dashed #bbb;
	border-radius: 8px;
	text-align: center;
}

@media (max-width: 1024px) {
	.epjc-swiper:not(.swiper-initialized) .swiper-wrapper {
		gap: 24px;
	}

	.epjc-swiper:not(.swiper-initialized) .swiper-slide {
		flex-basis: calc(50% - 12px);
	}

	.epjc-image-link {
		height: 280px;
	}
}

@media (max-width: 767px) {
	.epjc-header {
		grid-template-columns: minmax(0, 1fr) max-content;
		align-items: flex-start;
		margin-bottom: 30px;
	}

	.epjc-heading-copy {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.epjc-heading-subtitle::before {
		display: none;
	}

	.epjc-hide-nav-mobile .epjc-navigation {
		display: none;
	}

	.epjc-hide-nav-mobile .epjc-heading-copy {
		grid-column: 1 / -1 !important;
	}

	.epjc-slider-viewport.epjc-bleed-right,
	.epjc-slider-viewport.epjc-bleed-left {
		--epjc-bleed-distance: 0px !important;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.epjc-slider-viewport.epjc-bleed-right {
		padding-right: 0;
		padding-left: var(--epjc-opposite-inset);
	}

	.epjc-slider-viewport.epjc-bleed-left {
		padding-left: 0;
		padding-right: var(--epjc-opposite-inset);
	}

	.epjc-swiper:not(.swiper-initialized) .swiper-wrapper {
		gap: 16px;
	}

	.epjc-swiper:not(.swiper-initialized) .swiper-slide {
		flex-basis: 100%;
	}

	.epjc-image-link {
		height: 240px;
	}

	.epjc-meta {
		column-gap: 20px;
	}

	.epjc-post-title {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.epjc-widget *,
	.epjc-widget *::before,
	.epjc-widget *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Touch devices do not have a persistent hover state, so the action remains usable. */
@media (hover: none), (pointer: coarse) {
	.epjc-notch {
		pointer-events: auto;
		transform: translateX(0);
	}
}
