/* ==========================================================================
   RPM Blog List Page Styles
   ========================================================================== */

.rpm-blog {
	padding: 80px 0;
	background: #f7f8fc;
}

/* ---------- Blog Card ---------- */

.rpm-blog__card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none !important;
	height: 100%;
}

.rpm-blog__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

/* Image */
.rpm-blog__card-img {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, #e8eaf0 0%, #d5d8e0 100%);
}

.rpm-blog__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.rpm-blog__card:hover .rpm-blog__card-img img {
	transform: scale(1.05);
}

.rpm-blog__no-thumb {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a4e 0%, #2d2d7f 50%, #1a3a6e 100%);
	opacity: 0.15;
}

/* Body */
.rpm-blog__card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* Meta */
.rpm-blog__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.rpm-blog__date {
	font-size: 13px;
	color: #888888;
	font-weight: 500;
}

.rpm-blog__cat {
	font-size: 12px;
	font-weight: 600;
	color: #2d2d7f;
	background: rgba(45, 45, 127, 0.08);
	padding: 3px 10px;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Title */
.rpm-blog__card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a2e !important;
	margin: 0 0 10px;
	transition: color 0.2s ease;
}

.rpm-blog__card:hover .rpm-blog__card-title {
	color: #2d2d7f !important;
}

/* Excerpt */
.rpm-blog__excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 16px;
	flex-grow: 1;
}

/* Read More */
.rpm-blog__read-more {
	font-size: 14px;
	font-weight: 600;
	color: #2d2d7f;
	transition: color 0.2s ease;
}

.rpm-blog__card:hover .rpm-blog__read-more {
	color: #4a90d9;
}

/* ---------- Pagination ---------- */

.rpm-blog__pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
}

.rpm-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a2e;
	background: #ffffff;
	text-decoration: none !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease;
}

.rpm-blog__pagination .page-numbers:hover {
	background: #2d2d7f;
	color: #ffffff;
}

.rpm-blog__pagination .page-numbers.current {
	background: linear-gradient(135deg, #1a1a4e 0%, #2d2d7f 100%);
	color: #ffffff;
}

.rpm-blog__pagination .prev,
.rpm-blog__pagination .next {
	font-size: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.rpm-blog {
		padding: 60px 0;
	}
}

@media (max-width: 767px) {
	.rpm-blog {
		padding: 40px 0;
	}
	.rpm-blog__card-img {
		height: 180px;
	}
	.rpm-blog__card-body {
		padding: 20px;
	}
}
