/* ==========================================================================
   RPM Single Blog Post Styles
   ========================================================================== */

/* ---------- Hero Overrides ---------- */

.rpm-single-hero .rpm-svc-hero__title {
	font-size: 40px;
}

.rpm-single-hero__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
}

.rpm-single-hero__sep {
	opacity: 0.5;
}

/* ---------- Featured Image ---------- */

.rpm-single__featured {
	margin-top: -50px;
	position: relative;
	z-index: 1;
	padding-bottom: 40px;
}

.rpm-single__featured-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ---------- Post Content ---------- */

.rpm-single {
	padding: 40px 0 60px;
	background: #ffffff;
}

.rpm-single__content {
	font-size: 17px;
	line-height: 1.85;
	color: #333333;
}

.rpm-single__content h2 {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 40px 0 16px;
}

.rpm-single__content h3 {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 32px 0 12px;
}

.rpm-single__content h4 {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 28px 0 10px;
}

.rpm-single__content p {
	margin-bottom: 20px;
}

.rpm-single__content a {
	color: #2d2d7f;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.rpm-single__content a:hover {
	color: #4a90d9;
}

.rpm-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

.rpm-single__content blockquote {
	margin: 32px 0;
	padding: 24px 32px;
	border-left: 4px solid #2d2d7f;
	background: #f7f8fc;
	border-radius: 0 8px 8px 0;
	font-size: 18px;
	font-style: italic;
	color: #1a1a2e;
}

.rpm-single__content ul,
.rpm-single__content ol {
	margin-bottom: 20px;
	padding-left: 24px;
}

.rpm-single__content li {
	margin-bottom: 8px;
}

/* ---------- Tags ---------- */

.rpm-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #eaedf3;
}

.rpm-single__tag {
	display: inline-block;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #2d2d7f !important;
	background: rgba(45, 45, 127, 0.08);
	border-radius: 50px;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.rpm-single__tag:hover {
	background: #2d2d7f;
	color: #ffffff !important;
}

/* ---------- Post Navigation ---------- */

.rpm-single__nav {
	display: flex;
	gap: 20px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #eaedf3;
}

.rpm-single__nav-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	background: #f7f8fc;
	border-radius: 10px;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.rpm-single__nav-link:hover {
	background: #eef0f7;
}

.rpm-single__nav-next {
	text-align: right;
}

.rpm-single__nav-label {
	font-size: 13px;
	font-weight: 600;
	color: #888888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rpm-single__nav-title {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a2e;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.rpm-single__nav-link:hover .rpm-single__nav-title {
	color: #2d2d7f;
}

/* ---------- Comments ---------- */

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

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

@media (max-width: 991px) {
	.rpm-single-hero .rpm-svc-hero__title {
		font-size: 32px;
	}
	.rpm-single__featured {
		margin-top: -30px;
	}
}

@media (max-width: 767px) {
	.rpm-single-hero .rpm-svc-hero__title {
		font-size: 26px;
	}
	.rpm-single__featured {
		margin-top: -20px;
		padding-bottom: 24px;
	}
	.rpm-single {
		padding: 24px 0 40px;
	}
	.rpm-single__content {
		font-size: 16px;
	}
	.rpm-single__nav {
		flex-direction: column;
	}
	.rpm-single__nav-next {
		text-align: left;
	}
}
