/* ===================================================
   Section Wrapper
=================================================== */
.scc-section {
	background-color: #1a1a1a;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}

.scc-swiper {
	width: 100%;
	overflow: visible; /* allow peeking on mobile */
}

/* ===================================================
   Slides
=================================================== */
.scc-swiper .swiper-slide {
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
}

/* ===================================================
   Card Shell
=================================================== */
.scc-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	overflow: hidden;
	/* Default height set via Elementor SLIDER control, fallback below */
	height: 500px;
}

/* ===================================================
   TOP: Text Section
=================================================== */
.scc-card-top {
	position: relative;
	flex-shrink: 0;
	height: 48%; /* overridden by Elementor control */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 26px 22px;
	box-sizing: border-box;
	text-align: center;
}

/* Star badge – positioned top-right */
.scc-star {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.scc-top-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.scc-title {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0;
}

.scc-author {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	font-style: italic;
}

.scc-subtitle {
	font-size: 13px;
	font-weight: 400;
	margin: 0;
	line-height: 1.4;
	opacity: 0.9;
}

.scc-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 28px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.scc-btn:hover {
	opacity: 0.85;
}

/* ===================================================
   BOTTOM: Image Section
=================================================== */
.scc-card-bottom {
	flex: 1; /* fills remaining height */
	overflow: hidden;
}

.scc-card-bottom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===================================================
   Navigation Arrows
=================================================== */
.scc-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	cursor: pointer;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}
.scc-nav:hover {
	opacity: 0.7;
}
.scc-nav-prev { left: 12px; }
.scc-nav-next { right: 12px; }

/* ===================================================
   Pagination Dots
=================================================== */
.scc-section .scc-pagination {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 10;
}
.scc-section .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #aaa;
	opacity: 0.6;
	margin: 0 5px;
	transition: all 0.3s;
}
.scc-section .swiper-pagination-bullet-active {
	opacity: 1;
	background-color: #da2424 !important;
}

/* ===================================================
   DESKTOP  ≥ 768px — 3 cards, arrows outside
=================================================== */
@media (min-width: 768px) {
	.scc-section {
		padding: 70px 70px; /* horizontal padding gives arrow room */
	}

	.scc-swiper {
		overflow: hidden;
	}

	.scc-swiper .swiper-slide {
		width: calc(33.333% - 14px);
	}

	.scc-card {
		height: 500px; /* fallback; overridden by control */
	}

	.scc-title   { font-size: 20px; }
	.scc-author  { font-size: 15px; }
	.scc-subtitle{ font-size: 13px; }
	.scc-btn     { font-size: 14px; }

	.scc-nav-prev { left: 16px; }
	.scc-nav-next { right: 16px; }

	/* Hide pagination on desktop */
	.scc-pagination { display: none; }
}

/* ===================================================
   MOBILE  < 768px — 1 card + peek, dots
=================================================== */
@media (max-width: 767px) {
	.scc-section {
		padding: 40px 0 60px;
	}

	.scc-swiper {
		overflow: visible;
		padding: 0 32px; /* clip + show peeking card */
		box-sizing: border-box;
	}

	.scc-swiper .swiper-slide {
		width: 100%;
	}

	.scc-card {
		height: 520px;
	}

	.scc-title    { font-size: 20px; }
	.scc-subtitle { font-size: 13px; }
	.scc-btn      { font-size: 14px; padding: 10px 24px; }

	/* Hide arrows on mobile */
	.scc-nav { display: none; }
}
