/* Post Carousel — front-end styles */

/* --------------------------------------------------------------------------
 * Minimal Swiper structural styles, scoped to this widget, so the carousel
 * renders on the front end even if Elementor's Swiper stylesheet isn't loaded.
 * ----------------------------------------------------------------------- */
.pc-carousel .swiper {
	position: relative;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 1;
}

.pc-carousel .swiper-wrapper {
	position: relative;
	display: flex;
	box-sizing: content-box;
	width: 100%;
	height: auto;
}

.pc-carousel .swiper-slide {
	flex-shrink: 0;
	height: auto;
}

/* Edge bleed: let slides spill past the boxed container to the browser edge.
 * !important is used so it wins over both this plugin's and Elementor's own
 * .swiper { overflow: hidden|clip } rule regardless of load order. */
.pc-carousel.pc-bleed .swiper {
	overflow: visible !important;
}

/* ---- Header ---- */
.pc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
}

.pc-title {
	margin: 0;
	color: #202928;
}

.pc-nav {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.pc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #202928;
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
	box-shadow: none !important;
    border: none !important;
}

.pc-arrow svg {
	width: 22px;
	height: 22px;
	display: block;
}

.pc-arrow.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

/* ---- Card ---- */
.pc-card {
	display: block;
	text-decoration: none;
}

.pc-img-wrap {
	position: relative;
	overflow: hidden;
	height: 220px;
}

.pc-img-wrap img {
	height: 100% !important;
}

.pc-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.pc-img--placeholder {
	background: #e9eae8;
}

.pc-card:hover .pc-img {
	transform: scale(1.04);
}

.pc-card-title {
	margin-top: 16px;
	color: #202928;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

/* ---- Editor empty notice ---- */
.pc-empty {
	padding: 24px;
	border: 1px dashed #c9cbc8;
	color: #6b6f6c;
	text-align: center;
	font-size: 14px;
}
