/* ================================================================
   Maranatha SC — Blog Widget + Single Post + Archive Pages
   ================================================================ */

/* ================================================================
   BLOG ARCHIVE / HOME PAGE
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────────── */
.ba-hero {
	background: #0f1117;
	padding: 4rem 1.5rem 3rem;
	position: relative;
	overflow: hidden;
}

.ba-hero::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--color-accent,#c8102e);
}

.ba-hero__inner {
	max-width: 860px;
	margin: 0 auto;
}

.ba-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: rgba(255,255,255,0.4);
	margin-bottom: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ba-breadcrumb a {
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	transition: color 0.2s;
}

.ba-breadcrumb a:hover { color: #fff; }

.ba-hero__title {
	font-size: clamp( 2rem, 5vw, 3.25rem );
	font-weight: 900;
	color: #fff;
	line-height: 1.1;
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}

.ba-hero__desc {
	font-size: 1rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.7;
	margin: 0 0 1rem;
	max-width: 560px;
}

.ba-hero__count {
	font-size: 0.72rem;
	color: rgba(255,255,255,0.35);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0;
}

/* ── Category Filter Bar ─────────────────────────────────────────── */
.ba-filters {
	background: #fff;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 72px; /* height of sticky header */
	z-index: 100;
}

.ba-filters__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.ba-filters__inner::-webkit-scrollbar { display: none; }

.ba-filter-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #666;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	flex-shrink: 0;
}

.ba-filter-pill:hover { color: #111; }

.ba-filter-pill.is-active {
	color: var(--color-accent,#c8102e);
	border-bottom-color: var(--color-accent,#c8102e);
}

.ba-filter-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: #f0f0f0;
	border-radius: 20px;
	font-size: 0.65rem;
	font-weight: 700;
	color: #888;
}

.ba-filter-pill.is-active .ba-filter-pill__count {
	background: rgba(200,16,46,0.1);
	color: var(--color-accent,#c8102e);
}

/* ── Body layout ─────────────────────────────────────────────────── */
.ba-body {
	background: #f5f5f7;
	padding: 2.5rem 1.5rem 4rem;
}

.ba-body__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2.5rem;
	align-items: start;
}

/* ── Cards grid ──────────────────────────────────────────────────── */
.ba-grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 1.25rem;
}

.ba-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e8e8e8;
	transition: box-shadow 0.25s, transform 0.25s;
}

.ba-card:hover {
	box-shadow: 0 12px 36px rgba(0,0,0,0.11);
	transform: translateY( -4px );
}

.ba-card:hover .ba-card__read-more svg { transform: translateX( 4px ); }

.ba-card__image {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #e8e8e8;
	flex-shrink: 0;
}

.ba-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.ba-card:hover .ba-card__image img { transform: scale( 1.05 ); }

.ba-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
	background: #efefef;
}

.ba-card__placeholder svg { width: 40px; height: 40px; }

.ba-card__cat {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.65rem;
	background: var(--color-accent,#c8102e);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	border-radius: 3px;
	z-index: 2;
}

.ba-card__body {
	padding: 1.1rem 1.25rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.ba-card__date {
	font-size: 0.7rem;
	color: #999;
	letter-spacing: 0.03em;
}

.ba-card__title {
	font-size: 1rem;
	font-weight: 800;
	color: #111;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ba-card__excerpt {
	font-size: 0.82rem;
	color: #666;
	line-height: 1.65;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.ba-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-accent,#c8102e);
	margin-top: 0.25rem;
}

.ba-card__read-more svg {
	width: 13px;
	height: 13px;
	transition: transform 0.2s;
	flex-shrink: 0;
}

/* ── Pagination ──────────────────────────────────────────────────── */
.ba-pagination {
	margin-top: 2rem;
}

.ba-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.ba-pagination .page-numbers li { display: contents; }

.ba-pagination .page-numbers a,
.ba-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #555;
	background: #fff;
	border: 1.5px solid #e0e0e0;
	text-decoration: none;
	transition: all 0.2s;
}

.ba-pagination .page-numbers a:hover {
	border-color: var(--color-accent,#c8102e);
	color: var(--color-accent,#c8102e);
}

.ba-pagination .page-numbers .current {
	background: var(--color-accent,#c8102e);
	border-color: var(--color-accent,#c8102e);
	color: #fff;
}

.ba-pagination .page-numbers svg {
	width: 16px;
	height: 16px;
}

/* ── Empty state ─────────────────────────────────────────────────── */
.ba-empty {
	text-align: center;
	padding: 4rem 2rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e8e8e8;
}

.ba-empty svg {
	width: 48px;
	height: 48px;
	color: #ccc;
	margin-bottom: 1rem;
}

.ba-empty h2 {
	font-size: 1.25rem;
	font-weight: 800;
	color: #111;
	margin: 0 0 0.5rem;
}

.ba-empty p {
	font-size: 0.875rem;
	color: #888;
	margin: 0 0 1.5rem;
}

.ba-empty__btn {
	display: inline-flex;
	align-items: center;
	padding: 0.65rem 1.5rem;
	background: var(--color-accent,#c8102e);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.2s;
}

.ba-empty__btn:hover { background: var(--color-accent-dark,#a50d26); }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.ba-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: sticky;
	top: 130px;
}

.ba-widget {
	background: #fff;
	border-radius: 10px;
	padding: 1.4rem 1.4rem 1.5rem;
	border: 1px solid #e8e8e8;
}

.ba-widget__title {
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #999;
	margin: 0 0 1rem;
}

/* Search */
.ba-search-form {
	display: flex;
	gap: 0;
	border: 1.5px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.ba-search-form:focus-within { border-color: var(--color-accent,#c8102e); }

.ba-search-form__input {
	flex: 1;
	border: none;
	outline: none;
	padding: 0.6rem 0.85rem;
	font-size: 0.85rem;
	color: #111;
	background: transparent;
	min-width: 0;
}

.ba-search-form__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	flex-shrink: 0;
	background: var(--color-accent,#c8102e);
	border: none;
	cursor: pointer;
	color: #fff;
	transition: background 0.2s;
}

.ba-search-form__btn:hover { background: var(--color-accent-dark,#a50d26); }

.ba-search-form__btn svg { width: 16px; height: 16px; }

/* Categories list */
.ba-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.ba-cat-list__item { border-bottom: 1px solid #f0f0f0; }
.ba-cat-list__item:last-child { border-bottom: none; }

.ba-cat-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	transition: color 0.2s;
}

.ba-cat-list__link:hover,
.ba-cat-list__item.is-active .ba-cat-list__link { color: var(--color-accent,#c8102e); }

.ba-cat-list__count {
	font-size: 0.7rem;
	color: #aaa;
	font-weight: 600;
}

.ba-cat-list__item.is-active .ba-cat-list__count { color: var(--color-accent,#c8102e); }

/* Recent posts */
.ba-recent-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ba-recent-list__link {
	display: flex;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	align-items: flex-start;
}

.ba-recent-list__img {
	width: 58px;
	height: 58px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.ba-recent-list__img-placeholder {
	width: 58px;
	height: 58px;
	background: #efefef;
	border-radius: 6px;
	flex-shrink: 0;
}

.ba-recent-list__text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.ba-recent-list__title {
	font-size: 0.8rem;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.ba-recent-list__link:hover .ba-recent-list__title { color: var(--color-accent,#c8102e); }

.ba-recent-list__date {
	font-size: 0.68rem;
	color: #aaa;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media screen and ( max-width: 1024px ) {
	.ba-body__inner {
		grid-template-columns: 1fr 240px;
		gap: 1.75rem;
	}
}

@media screen and ( max-width: 800px ) {
	.ba-body__inner {
		grid-template-columns: 1fr;
	}

	.ba-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media screen and ( max-width: 600px ) {
	.ba-hero { padding: 3rem 1.25rem 2rem; }

	.ba-body { padding: 1.5rem 1rem 3rem; }

	.ba-grid { grid-template-columns: 1fr; }

	.ba-sidebar { grid-template-columns: 1fr; }
}

/* ── Shared atoms ────────────────────────────────────────────────── */
.msc-blog__badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	background: var(--color-accent,#c8102e);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 3px;
	line-height: 1;
	white-space: nowrap;
	flex-shrink: 0;
}

.msc-blog-card__date {
	font-size: 0.72rem;
	color: #888;
	letter-spacing: 0.03em;
}

.msc-blog-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-accent,#c8102e);
	margin-top: auto;
	transition: gap 0.2s;
}

.msc-blog-card__read-more svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	transition: transform 0.2s;
}

/* ================================================================
   BLOG WIDGET
   ================================================================ */

.msc-blog { width: 100%; }

/* ── Header ──────────────────────────────────────────────────────── */
.msc-blog__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.msc-blog__heading {
	font-size: clamp( 1.5rem, 3.5vw, 2.25rem );
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #111;
	margin: 0 0 0.4rem;
	line-height: 1.1;
	position: relative;
	display: inline-block;
}

.msc-blog__heading::after {
	content: '';
	display: block;
	width: 3rem;
	height: 4px;
	background: var(--color-accent,#c8102e);
	margin-top: 0.5rem;
	border-radius: 2px;
}

.msc-blog__subheading {
	font-size: 0.9rem;
	color: #666;
	margin: 0;
	line-height: 1.6;
	max-width: 480px;
}

.msc-blog__view-all {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-accent,#c8102e);
	text-decoration: none;
	border: 2px solid var(--color-accent,#c8102e);
	padding: 0.5rem 1.1rem;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.2s, color 0.2s;
}

.msc-blog__view-all:hover { background: var(--color-accent,#c8102e); color: #fff; }

.msc-blog__view-all svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s;
}

.msc-blog__view-all:hover svg { transform: translateX( 3px ); }

/* ── Hero-grid layout ────────────────────────────────────────────── */
.msc-blog--hero-grid .msc-blog-featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 380px;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1.25rem;
	box-shadow: 0 4px 24px rgba(0,0,0,0.1);
	transition: box-shadow 0.25s, transform 0.25s;
}

.msc-blog--hero-grid .msc-blog-featured:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,0.18);
	transform: translateY(-3px);
}

.msc-blog-featured__image {
	background: #1a1f2e center/cover no-repeat;
	background-image: var(--sp-bg);
	position: relative;
	min-height: 260px;
}

.msc-blog-featured__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( 90deg, transparent 0%, rgba(0,0,0,0.15) 100% );
}

.msc-blog-featured__body {
	background: #111827;
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
}

.msc-blog-featured__meta {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.msc-blog-featured__meta .msc-blog-card__date { color: rgba(255,255,255,0.45); }

.msc-blog-featured__title {
	font-size: clamp( 1.15rem, 2.5vw, 1.6rem );
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	margin: 0;
}

.msc-blog-featured__excerpt {
	font-size: 0.875rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.7;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* small grid below featured */
.msc-blog__grid--small {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1rem;
}

/* ── Grid layout ─────────────────────────────────────────────────── */
.msc-blog__grid {
	display: grid;
	gap: 1.25rem;
}

.msc-blog__grid--cols-2 { grid-template-columns: repeat( 2, 1fr ); }
.msc-blog__grid--cols-3 { grid-template-columns: repeat( 3, 1fr ); }
.msc-blog__grid--cols-4 { grid-template-columns: repeat( 4, 1fr ); }

/* ── Blog card (grid) ────────────────────────────────────────────── */
.msc-blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #eee;
	transition: box-shadow 0.25s, transform 0.25s;
}

.msc-blog-card:hover {
	box-shadow: 0 10px 32px rgba(0,0,0,0.12);
	transform: translateY( -4px );
}

.msc-blog-card:hover .msc-blog-card__read-more { gap: 0.55rem; }
.msc-blog-card:hover .msc-blog-card__read-more svg { transform: translateX( 3px ); }

.msc-blog-card__image {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #eee;
	flex-shrink: 0;
}

.msc-blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.msc-blog-card:hover .msc-blog-card__image img { transform: scale( 1.05 ); }

.msc-blog-card__image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e8e8e8;
	color: #bbb;
}

.msc-blog-card__image-placeholder svg { width: 40px; height: 40px; }

.msc-blog__badge--img {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
}

.msc-blog-card__body {
	padding: 1.1rem 1.1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	flex: 1;
}

.msc-blog-card__title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #111;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.msc-blog-card__excerpt {
	font-size: 0.8rem;
	color: #666;
	line-height: 1.65;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── List layout ─────────────────────────────────────────────────── */
.msc-blog__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.msc-blog-list-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #eee;
	transition: box-shadow 0.25s, transform 0.25s;
	min-height: 120px;
}

.msc-blog-list-card:hover {
	box-shadow: 0 8px 28px rgba(0,0,0,0.1);
	transform: translateY( -2px );
}

.msc-blog-list-card:hover .msc-blog-card__read-more svg { transform: translateX( 3px ); }

.msc-blog-list-card__image {
	overflow: hidden;
	background: #eee;
	flex-shrink: 0;
}

.msc-blog-list-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.msc-blog-list-card:hover .msc-blog-list-card__image img { transform: scale( 1.06 ); }

.msc-blog-list-card__body {
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	justify-content: center;
}

.msc-blog-list-card__meta {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.msc-blog-list-card__title {
	font-size: 0.925rem;
	font-weight: 800;
	color: #111;
	line-height: 1.35;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media screen and ( max-width: 960px ) {
	.msc-blog--hero-grid .msc-blog-featured {
		grid-template-columns: 1fr;
		min-height: unset;
	}

	.msc-blog-featured__image { min-height: 220px; }

	.msc-blog__grid--small { grid-template-columns: repeat( 2, 1fr ); }

	.msc-blog__grid--cols-4 { grid-template-columns: repeat( 2, 1fr ); }
	.msc-blog__grid--cols-3 { grid-template-columns: repeat( 2, 1fr ); }
}

@media screen and ( max-width: 600px ) {
	.msc-blog__header { flex-direction: column; align-items: flex-start; }

	.msc-blog__grid--small,
	.msc-blog__grid--cols-4,
	.msc-blog__grid--cols-3,
	.msc-blog__grid--cols-2 {
		grid-template-columns: 1fr;
	}

	.msc-blog-list-card { grid-template-columns: 100px 1fr; }
}

/* ================================================================
   SINGLE POST PAGE
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────────── */
.sp-hero {
	position: relative;
	min-height: 480px;
	display: flex;
	align-items: flex-end;
	background: #111827;
}

.sp-hero--has-img {
	background-image: var( --sp-bg );
	background-size: cover;
	background-position: center top;
}

.sp-hero--no-img { min-height: 280px; }

.sp-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba( 0,0,0,0.15 ) 0%,
		rgba( 0,0,0,0.72 ) 60%,
		rgba( 0,0,0,0.88 ) 100%
	);
}

.sp-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 6rem 1.5rem 3.5rem;
}

.sp-hero__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.sp-hero__cat {
	display: inline-block;
	padding: 0.25rem 0.7rem;
	background: var(--color-accent,#c8102e);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 3px;
	text-decoration: none;
	transition: background 0.2s;
}

.sp-hero__cat:hover { background: var(--color-accent-dark,#a50d26); }

.sp-hero__date,
.sp-hero__read-time {
	font-size: 0.78rem;
	color: rgba( 255,255,255,0.6 );
	letter-spacing: 0.03em;
}

.sp-hero__read-time::before {
	content: '·';
	margin-right: 0.75rem;
	color: rgba( 255,255,255,0.3 );
}

.sp-hero__title {
	font-size: clamp( 1.75rem, 5vw, 3rem );
	font-weight: 900;
	color: #fff;
	line-height: 1.15;
	margin: 0 0 1rem;
	letter-spacing: -0.01em;
}

.sp-hero__excerpt {
	font-size: 1.05rem;
	color: rgba( 255,255,255,0.7 );
	line-height: 1.7;
	margin: 0;
	max-width: 640px;
}

/* ── Body layout ─────────────────────────────────────────────────── */
.sp-body {
	background: #f5f5f7;
	padding: 3rem 1.5rem 4rem;
}

.sp-body__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 3rem;
	align-items: start;
}

/* ── Article ─────────────────────────────────────────────────────── */
.sp-article {
	background: #fff;
	border-radius: 10px;
	padding: 2.5rem 2.5rem 2rem;
	box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.sp-article__content {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: #2d2d2d;
}

.sp-article__content p { margin: 0 0 1.5rem; }

.sp-article__content h2 {
	font-size: 1.45rem;
	font-weight: 800;
	color: #111;
	margin: 2.5rem 0 1rem;
	padding-top: 1rem;
	border-top: 2px solid #f0f0f0;
}

.sp-article__content h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #111;
	margin: 2rem 0 0.75rem;
}

.sp-article__content strong { color: #111; font-weight: 700; }
.sp-article__content em    { color: #444; }

.sp-article__content a {
	color: var(--color-accent,#c8102e);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sp-article__content blockquote {
	border-left: 4px solid var(--color-accent,#c8102e);
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	background: #fef5f5;
	border-radius: 0 6px 6px 0;
	font-style: italic;
	color: #444;
}

.sp-article__content ul,
.sp-article__content ol {
	padding-left: 1.5rem;
	margin: 0 0 1.5rem;
}

.sp-article__content li { margin-bottom: 0.5rem; }

.sp-article__content img {
	max-width: 100%;
	border-radius: 6px;
	margin: 1.5rem 0;
}

/* Tags */
.sp-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #f0f0f0;
}

.sp-article__tag {
	padding: 0.3rem 0.75rem;
	border: 1.5px solid #ddd;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #555;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: border-color 0.2s, color 0.2s;
}

.sp-article__tag:hover { border-color: var(--color-accent,#c8102e); color: var(--color-accent,#c8102e); }

/* Share */
.sp-article__share {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #f0f0f0;
}

.sp-article__share-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #999;
	margin-right: 0.25rem;
}

.sp-share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	transition: opacity 0.2s, transform 0.2s;
	flex-shrink: 0;
}

.sp-share-btn:hover { opacity: 0.85; transform: translateY( -2px ); }
.sp-share-btn svg { width: 16px; height: 16px; }
.sp-share-btn--fb { background: #1877f2; }
.sp-share-btn--tw { background: #000; }
.sp-share-btn--wa { background: #25d366; }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.sp-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: sticky;
	top: 100px;
}

/* Author card */
.sp-author-card {
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 2px 16px rgba(0,0,0,0.06);
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.sp-author-card__img {
	width: 64px !important;
	height: 64px !important;
	border-radius: 50% !important;
	object-fit: cover;
	flex-shrink: 0;
}

.sp-author-card__info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.sp-author-card__label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #999;
	font-weight: 600;
}

.sp-author-card__name {
	font-size: 0.95rem;
	font-weight: 800;
	color: #111;
}

.sp-author-card__bio {
	font-size: 0.78rem;
	color: #666;
	line-height: 1.55;
	margin: 0.25rem 0 0;
}

/* Related posts */
.sp-related {
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.sp-related__heading {
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #999;
	margin: 0 0 1.1rem;
}

.sp-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.sp-related__link {
	display: flex;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	align-items: flex-start;
}

.sp-related__img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.sp-related__img-placeholder {
	width: 64px;
	height: 64px;
	background: #e8e8e8;
	border-radius: 6px;
	flex-shrink: 0;
}

.sp-related__text {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.sp-related__title {
	font-size: 0.82rem;
	font-weight: 700;
	color: #111;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.sp-related__link:hover .sp-related__title { color: var(--color-accent,#c8102e); }

.sp-related__date {
	font-size: 0.7rem;
	color: #999;
}

/* ── Post navigation ─────────────────────────────────────────────── */
.sp-nav {
	background: #111827;
	padding: 2rem 1.5rem;
}

.sp-nav__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	gap: 2rem;
}

.sp-nav__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	text-decoration: none;
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	transition: border-color 0.2s, background 0.2s;
}

.sp-nav__item:hover {
	border-color: var(--color-accent,#c8102e);
	background: rgba(200,16,46,0.06);
}

.sp-nav__item--next { text-align: right; }

.sp-nav__dir {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent,#c8102e);
}

.sp-nav__dir svg { width: 14px; height: 14px; }

.sp-nav__title {
	font-size: 0.9rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Responsive (single post) ────────────────────────────────────── */
@media screen and ( max-width: 900px ) {
	.sp-body__inner {
		grid-template-columns: 1fr;
	}

	.sp-sidebar { position: static; }

	.sp-article { padding: 1.75rem 1.25rem; }
}

@media screen and ( max-width: 600px ) {
	.sp-hero { min-height: 360px; }

	.sp-hero__inner { padding: 5rem 1.25rem 2.5rem; }

	.sp-body { padding: 1.5rem 1rem 3rem; }

	.sp-nav__inner { flex-direction: column; gap: 0.75rem; }

	.sp-nav__item--next { text-align: left; }

	.sp-author-card { flex-direction: column; }
}
