/* ============================================================
   Custom Latest Articles Widget
   ============================================================ */

/* ---------- Wrapper ---------- */
.cla-wrap {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Header ---------- */
.cla-top {
	margin-bottom: 32px;
}

.cla-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #24469b;
	margin-bottom: 8px;
}

.cla-main-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	color: #111827;
	margin: 0;
}

/* ---------- Grid layout ---------- */
.cla-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

/* ---------- Small cards list ---------- */
.cla-small-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
}
.cla-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 560px;
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background-color: #10245a;
	text-decoration: none;
	color: #fff;
	transition: box-shadow 0.3s ease;
}

.cla-hero:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.cla-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cla-hero:hover .cla-hero-img {
	transform: scale(1.03);
}

.cla-hero-content {
	position: relative;
	z-index: 2;
	padding: 32px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.cla-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 5px 14px;
	border-radius: 50px;
	margin-bottom: 16px;
}

.cla-hero h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
	color: #fff;
}

.cla-hero p {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cla-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 14px;
}

.cla-read-more strong {
	font-weight: 600;
}

.cla-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	font-size: 14px;
	transition: transform 0.3s ease;
}

.cla-hero:hover .cla-arrow {
	transform: translateX(4px);
}

/* ---------- Small card ---------- */
.cla-small-card {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px;
	border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	color: inherit;
	position: relative;
	overflow: hidden;
	flex: 1;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cla-small-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.cla-small-card::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background-color: #24469b;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cla-small-card:hover::after {
	opacity: 1;
}

/* ---------- Thumbnail ---------- */
.cla-thumb {
	width: 88px;
	height: 102px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
	background-color: #e5e7eb;
}

.cla-thumb-empty {
	display: block;
}

/* ---------- Small card body ---------- */
.cla-small-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.cla-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
}

.cla-tag {
	font-weight: 600;
	color: #24469b;
}

.cla-date {
	color: #6b7280;
}

.cla-small-card h3 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.cla-small-card:hover h3 {
	color: #24469b;
}

.cla-small-card p {
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.cla-grid {
		grid-template-columns: 1fr;
	}

	.cla-hero {
		min-height: 360px;
	}

	.cla-main-title {
		font-size: 24px;
	}
}
