/* SC Blog Archive for Elementor */
.scba-wrap {
	width: 100%;
}

.scba-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: start;
}

.scba-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	min-width: 0;
}

/* Media */
.scba-media {
	position: relative;
	line-height: 0;
	overflow: hidden;
}

.scba-image-link {
	display: block;
}

.scba-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 550 / 300;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.scba-card:hover .scba-media img {
	transform: scale(1.05);
}

.scba-no-image {
	display: block;
	width: 100%;
	aspect-ratio: 550 / 300;
	background: #e6e8ee;
}

/* Date badge */
.scba-date {
	position: absolute;
	top: 0;
	right: 0;
	padding: 9px 12px;
	background: #f28c00;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	z-index: 2;
}

/* Content */
.scba-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 20px 20px 24px;
}

.scba-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 14px;
	font-size: 11px;
	line-height: 1.5;
	color: #333;
}

.scba-meta a {
	color: inherit;
	text-decoration: none;
}

.scba-meta a:hover {
	text-decoration: underline;
}

.scba-meta-item + .scba-meta-item::before {
	content: "/";
	margin: 0 8px;
	opacity: 0.6;
}

.scba-title {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
}

.scba-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.scba-excerpt {
	margin: 0 0 20px;
	font-size: 11px;
	line-height: 1.8;
	color: #222;
}

.scba-more {
	margin-top: auto;
}

/* Button */
.scba-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 90px;
	padding: 14px 26px;
	background: #14194f;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border-radius: 30px;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.scba-btn:hover,
.scba-btn:focus {
	background: #f28c00;
	color: #fff;
	transform: translateY(-1px);
}

.scba-btn:focus-visible,
.scba-pagination a:focus-visible {
	outline: 2px solid #f28c00;
	outline-offset: 2px;
}

/* Pagination */
.scba-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
	font-size: 12px;
	color: #14194f;
}

.scba-pagination a,
.scba-pagination span {
	color: #14194f;
	text-decoration: none;
}

.scba-pagination .current,
.scba-pagination a:hover {
	color: #f28c00;
}

.scba-pagination .dots {
	opacity: 0.6;
}

/* Visually hidden helper (in case theme lacks one) */
.scba-wrap .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive fallbacks (Elementor responsive controls override these) */
@media (max-width: 1024px) {
	.scba-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.scba-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.scba-content {
		padding: 18px 16px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scba-media img,
	.scba-btn {
		transition: none;
	}
	.scba-card:hover .scba-media img {
		transform: none;
	}
}
