/* =====================================================================
 * Blog — scoped polish for the default WordPress posts experience.
 *
 * Loaded only on post-related contexts (see
 * /add-ons/utils/blog-styles.php): the blog archive (posts page),
 * category / tag / date / author archives, and single post pages.
 *
 * Every selector is scoped under body.blog / body.archive /
 * body.single-post so nothing leaks into other page templates.
 * =================================================================== */

/* ---------------------------------------------------------------------
 * Blog masthead (partials/banner-home.php)
 * Editorial title treatment: accent rule + kicker + large title + lede.
 * ------------------------------------------------------------------- */
.blog-masthead {
	position: relative;
	padding: 2rem 0 1.75rem;
	margin-bottom: 1rem;
}

.blog-masthead::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 56px;
	height: 3px;
	background: linear-gradient(90deg, #F26322 0%, #d14d16 100%);
	border-radius: 2px;
}

.blog-masthead__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #F26322;
	margin-bottom: 0.75rem;
}

.blog-masthead__kicker .bi {
	font-size: 1rem;
}

.blog-masthead__title {
	font-size: clamp(1.625rem, 3vw, 2.25rem) !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #111;
	margin: 0 0 0.625rem !important;
	max-width: 800px;
}

.blog-masthead__lede {
	font-size: 1.125rem;
	line-height: 1.55;
	color: #4b5563;
	max-width: 620px;
	margin: 0;
}

@media (max-width: 767.98px) {
	.blog-masthead {
		padding: 1rem 0 1.25rem;
	}
	.blog-masthead__lede {
		font-size: 1rem;
	}
}

/* ---------------------------------------------------------------------
 * Category pill navigation (partials/categories.php)
 * ------------------------------------------------------------------- */
.blog-cat-nav {
	margin: 0 0 2.25rem;
	padding: 0.25rem 0;
	position: relative;
}

.blog-cat-nav__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.blog-cat-nav__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.9rem;
	background: #fff;
	color: #2d2d2d;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-cat-nav__chip:hover {
	border-color: #F26322;
	color: #F26322;
	box-shadow: 0 3px 10px rgba(242, 99, 34, 0.15);
	transform: translateY(-1px);
}

.blog-cat-nav__chip .bi {
	font-size: 0.95rem;
	opacity: 0.85;
}

.blog-cat-nav__chip.is-active {
	background: #F26322;
	border-color: #F26322;
	color: #fff;
	box-shadow: 0 4px 14px rgba(242, 99, 34, 0.3);
}

.blog-cat-nav__chip.is-active:hover {
	background: #d14d16;
	border-color: #d14d16;
	color: #fff;
}

.blog-cat-nav__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5em;
	padding: 0 0.5em;
	height: 1.5em;
	background: rgba(0, 0, 0, 0.06);
	color: #6b7280;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	margin-left: 0.2rem;
}

.blog-cat-nav__chip:hover .blog-cat-nav__count {
	background: rgba(242, 99, 34, 0.12);
	color: #F26322;
}

.blog-cat-nav__chip.is-active .blog-cat-nav__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

@media (max-width: 575.98px) {
	.blog-cat-nav {
		margin: 0 -1rem 1.5rem;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.blog-cat-nav::-webkit-scrollbar {
		display: none;
	}

	.blog-cat-nav__list {
		flex-wrap: nowrap;
		padding: 0 1rem;
	}

	.blog-cat-nav__chip {
		flex-shrink: 0;
	}
}

/* ---------------------------------------------------------------------
 * Featured post hero (partials/loop-post-featured.php)
 * Page-1-only hero card above the grid. 58/42 split on ≥lg, stacked on
 * smaller viewports.
 * ------------------------------------------------------------------- */
.post-featured {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 2.25rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-featured:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
	border-color: rgba(242, 99, 34, 0.3);
}

.post-featured__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.post-featured__grid {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 320px;
}

@media (min-width: 992px) {
	.post-featured__grid {
		grid-template-columns: 58% 42%;
		min-height: 440px;
	}
}

.post-featured__media {
	position: relative;
	overflow: hidden;
	background: #f3f4f6;
	aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
	.post-featured__media {
		aspect-ratio: auto;
		height: 100%;
	}
}

.post-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.post-featured:hover .post-featured__img {
	transform: scale(1.04);
}

.post-featured__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #d1d5db;
	padding: 3rem;
}

.post-featured__placeholder svg {
	width: 65%;
	max-width: 300px;
	opacity: 0.35;
}

.post-featured__body {
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem 1.5rem;
}

@media (min-width: 992px) {
	.post-featured__body {
		padding: 2.5rem 2.25rem;
	}
}

.post-featured__kicker {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.375rem;
	padding: 0.4rem 0.8rem;
	background: linear-gradient(135deg, #F26322 0%, #d14d16 100%);
	color: #fff;
	font-size: 0.675rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	border-radius: 999px;
	line-height: 1;
	margin-bottom: 1rem;
	box-shadow: 0 3px 12px rgba(242, 99, 34, 0.35);
}

.post-featured__kicker .bi {
	font-size: 0.75rem;
}

.post-featured__cat {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #6b7280;
	margin-bottom: 0.5rem;
}

.post-featured__cat a {
	color: inherit;
	text-decoration: none;
	position: relative;
	z-index: 2;
}

.post-featured__cat a:hover {
	color: #F26322;
}

.post-featured__title {
	font-size: clamp(1.15rem, 1.6vw, 1.4rem) !important;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.3;
	color: #111;
	margin: 0 0 0.875rem !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.15s ease;
}

.post-featured:hover .post-featured__title {
	color: #F26322;
}

.post-featured__excerpt {
	font-size: 1rem;
	line-height: 1.6;
	color: #4b5563;
	margin: 0 0 1.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-featured__footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1rem;
	border-top: 1px solid #f3f4f6;
}

.post-featured__meta {
	font-size: 0.8125rem;
	color: #6b7280;
}

.post-featured__meta time {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.post-featured__meta .bi {
	color: #F26322;
}

.post-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #F26322;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: gap 0.2s ease;
}

.post-featured__cta .bi {
	transition: transform 0.2s ease;
}

.post-featured:hover .post-featured__cta {
	gap: 0.75rem;
}

.post-featured:hover .post-featured__cta .bi {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------------
 * Archive grid container
 * ------------------------------------------------------------------- */
.posts-grid {
	margin-bottom: 3rem !important;
}

/* ---------------------------------------------------------------------
 * Post card (loop-post.php)
 * ------------------------------------------------------------------- */
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
	border-color: rgba(242, 99, 34, 0.4);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #f3f4f6;
	overflow: hidden;
	position: relative;
}

.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}

.post-card:hover .post-card__img {
	transform: scale(1.05);
}

.post-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #d1d5db;
	padding: 2rem;
}

.post-card__img--placeholder svg {
	width: 60%;
	max-width: 180px;
	opacity: 0.4;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 1.25rem 1.25rem 1.5rem;
}

.post-card__cat {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #F26322;
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.post-card__cat a {
	color: inherit;
	text-decoration: none;
	position: relative;
	z-index: 2;
}

.post-card__cat a:hover {
	color: #d14d16;
	text-decoration: underline;
}

.post-card__title {
	font-size: 0.95rem !important;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.003em;
	color: #111;
	margin: 0 0 0.5rem !important;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.post-card:hover .post-card__title a {
	color: #F26322;
}

.post-card__excerpt {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #4b5563;
	margin: 0 0 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__meta {
	margin-top: auto;
	padding-top: 0.875rem;
	border-top: 1px solid #f3f4f6;
	font-size: 0.8125rem;
	color: #6b7280;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.post-card__meta time {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.post-card__meta .bi {
	font-size: 0.95rem;
	color: #F26322;
}

/* ---------------------------------------------------------------------
 * Archive pagination (WP's the_posts_pagination with type=list)
 * ------------------------------------------------------------------- */
.blog-pagination,
.pagination.blog-pagination,
nav.pagination.blog-pagination {
	display: flex;
	justify-content: center;
	margin: 2.5rem 0 4rem !important;
}

.blog-pagination ul,
.blog-pagination .page-numbers {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	justify-content: center;
}

.blog-pagination ul li,
.blog-pagination .page-numbers li {
	margin: 0;
}

.blog-pagination a.page-numbers,
.blog-pagination span.page-numbers,
.blog-pagination ul li a,
.blog-pagination ul li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-width: 42px;
	height: 42px;
	padding: 0 0.875rem;
	background: #fff;
	color: #111;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.15s ease;
}

.blog-pagination a.page-numbers:hover,
.blog-pagination ul li a:hover {
	background: #F26322;
	color: #fff;
	border-color: #F26322;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(242, 99, 34, 0.25);
}

.blog-pagination .page-numbers.current,
.blog-pagination ul li .page-numbers.current {
	background: #F26322;
	color: #fff;
	border-color: #F26322;
}

.blog-pagination .page-numbers.dots,
.blog-pagination ul li .page-numbers.dots {
	background: transparent;
	border: 0;
	color: #9ca3af;
}

.blog-pagination .page-numbers.dots:hover,
.blog-pagination ul li .page-numbers.dots:hover {
	transform: none;
	box-shadow: none;
	background: transparent;
	color: #9ca3af;
}

/* ---------------------------------------------------------------------
 * Single post — hero treatment
 * ------------------------------------------------------------------- */
body.single-post .post-single__hero {
	--bs-aspect-ratio: 50%;
	min-height: 420px;
	position: relative;
	overflow: hidden;
	border-radius: 0;
}

body.single-post .post-single__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.92) 100%);
	z-index: 1;
}

body.single-post .post-single__hero-body {
	position: relative;
	z-index: 2;
}

body.single-post #breadcrumbs {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
	margin-bottom: 1.25rem;
	letter-spacing: 0.02em;
}

body.single-post #breadcrumbs a {
	color: #FFB088;
	text-decoration: none;
	transition: color 0.15s ease;
}

body.single-post #breadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

body.single-post #breadcrumbs .separator {
	opacity: 0.5;
	margin: 0 0.35rem;
}

body.single-post .post-single__category {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #FFB088;
	margin-bottom: 1rem;
}

body.single-post .post-single__category a {
	color: inherit;
	text-decoration: none;
}

body.single-post .post-single__category a:hover {
	color: #fff;
	text-decoration: underline;
}

body.single-post .post-single__title {
	color: #fff;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
	margin: 0 0 0.5rem;
	max-width: 960px;
	font-size: clamp(1.875rem, 5vw, 3.5rem);
}

/* ---------------------------------------------------------------------
 * Single post — content (prose) column
 * ------------------------------------------------------------------- */
body.single-post .entry-single {
	max-width: 800px;
}

body.single-post .entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	padding-bottom: 1.125rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid #e5e7eb;
	font-size: 0.875rem;
	color: #6b7280;
}

body.single-post .entry-meta time,
body.single-post .entry-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

body.single-post .entry-meta .bi {
	font-size: 1rem;
	color: #F26322;
}

body.single-post .entry-meta__divider {
	opacity: 0.5;
}

body.single-post .entry-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #1f2937;
}

body.single-post .entry-content > *:first-child {
	margin-top: 0;
}

body.single-post .entry-content > *:last-child {
	margin-bottom: 0;
}

body.single-post .entry-content p {
	margin: 0 0 1.25rem;
}

body.single-post .entry-content p.has-drop-cap:not(:focus)::first-letter {
	font-size: 4rem;
	line-height: 0.85;
	font-weight: 800;
	color: #F26322;
	float: left;
	margin: 0.15em 0.1em -0.05em 0;
}

body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6 {
	color: #111;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 2.5rem 0 1rem;
	line-height: 1.25;
}

body.single-post .entry-content h2 {
	font-size: 1.875rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #f3f4f6;
}

body.single-post .entry-content h3 {
	font-size: 1.4rem;
	margin: 2rem 0 0.75rem;
}

body.single-post .entry-content h4 {
	font-size: 1.15rem;
	margin: 1.75rem 0 0.5rem;
}

body.single-post .entry-content a {
	color: #F26322;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

body.single-post .entry-content a:hover {
	color: #d14d16;
	text-decoration-thickness: 2px;
}

body.single-post .entry-content strong {
	font-weight: 700;
	color: #111;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol {
	margin: 0 0 1.25rem;
	padding-left: 1.5rem;
}

body.single-post .entry-content li {
	margin-bottom: 0.5rem;
}

body.single-post .entry-content li::marker {
	color: #F26322;
	font-weight: 700;
}

body.single-post .entry-content blockquote {
	position: relative;
	margin: 2rem 0;
	padding: 1.25rem 1.5rem 1.25rem 2.25rem;
	background: #fff7f3;
	border-left: 4px solid #F26322;
	border-radius: 0 0.5rem 0.5rem 0;
	font-size: 1.125rem;
	font-style: italic;
	color: #1f2937;
	quotes: "\201C" "\201D" "\2018" "\2019";
}

body.single-post .entry-content blockquote::before {
	content: open-quote;
	position: absolute;
	top: -0.25rem;
	left: 0.6rem;
	font-size: 3rem;
	color: #F26322;
	opacity: 0.4;
	font-family: Georgia, serif;
	line-height: 1;
}

body.single-post .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

body.single-post .entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-style: normal;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
}

body.single-post .entry-content blockquote cite::before {
	content: "\2014\00a0";
}

body.single-post .entry-content img,
body.single-post .entry-content figure img,
body.single-post .entry-content .wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
	display: block;
}

body.single-post .entry-content figure,
body.single-post .entry-content .wp-block-image {
	margin: 2rem 0;
}

body.single-post .entry-content figure.alignleft,
body.single-post .entry-content .wp-block-image.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
	max-width: 50%;
}

body.single-post .entry-content figure.alignright,
body.single-post .entry-content .wp-block-image.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
	max-width: 50%;
}

body.single-post .entry-content figcaption,
body.single-post .entry-content .wp-block-image figcaption {
	text-align: center;
	font-size: 0.875rem;
	color: #6b7280;
	margin-top: 0.625rem;
	padding: 0 0.75rem;
	line-height: 1.5;
}

body.single-post .entry-content pre {
	background: #111;
	color: #f3f4f6;
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1.75rem 0;
}

body.single-post .entry-content :not(pre) > code {
	background: #f3f4f6;
	padding: 0.15em 0.4em;
	border-radius: 0.25rem;
	font-size: 0.9em;
	font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
	color: #d14d16;
}

body.single-post .entry-content hr {
	margin: 2.5rem 0;
	border: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, #e5e7eb, transparent);
}

body.single-post .entry-content table {
	width: 100%;
	margin: 1.75rem 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

body.single-post .entry-content table th,
body.single-post .entry-content table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

body.single-post .entry-content table th {
	background: #f9fafb;
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #4b5563;
}

body.single-post .entry-content table tr:nth-child(even) td {
	background: #fafbfc;
}

/* Core & Gutenberg block polish */
body.single-post .entry-content .wp-block-quote,
body.single-post .entry-content .wp-block-pullquote {
	border-left: 4px solid #F26322;
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	background: #fff7f3;
	border-radius: 0 0.5rem 0.5rem 0;
	font-style: italic;
}

body.single-post .entry-content .wp-block-pullquote {
	border-left: 0;
	border-top: 3px solid #F26322;
	border-bottom: 3px solid #F26322;
	border-radius: 0;
	text-align: center;
	background: transparent;
	padding: 1.5rem 1rem;
	font-size: 1.35rem;
}

body.single-post .entry-content .wp-block-separator {
	border: 0;
	height: 1px;
	background: #e5e7eb;
	margin: 2.5rem auto;
	max-width: 100px;
}

body.single-post .entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #F26322;
	color: #fff !important;
	border-radius: 0.5rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.single-post .entry-content .wp-block-button__link:hover {
	background: #d14d16;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(242, 99, 34, 0.3);
}

body.single-post .entry-content .wp-block-columns {
	gap: 1.5rem;
}

/* ---------------------------------------------------------------------
 * Related-articles section (partials/posts.php on single)
 * ------------------------------------------------------------------- */
body.single-post .section-posts-heading,
body.single-post h4.h2 {
	font-weight: 800;
	letter-spacing: -0.015em;
}

/* The related carousel list — make each slide a sensibly-sized card */
.glide__slides[data-snap-slider="posts"] {
	padding: 0.25rem 0 1.5rem;
	scroll-padding: 0 1rem;
}

.glide__slides[data-snap-slider="posts"] > .glide__slide {
	flex: 0 0 auto;
	width: 88%;
	max-width: 380px;
	margin-right: 1rem;
}

@media (min-width: 768px) {
	.glide__slides[data-snap-slider="posts"] > .glide__slide {
		width: 360px;
	}
}

/* ---------------------------------------------------------------------
 * Mobile refinements
 * ------------------------------------------------------------------- */
@media (max-width: 767.98px) {
	body.single-post .post-single__hero {
		min-height: 320px;
		--bs-aspect-ratio: 65%;
	}

	body.single-post .post-single__title {
		font-size: clamp(1.5rem, 7vw, 2.25rem);
	}

	body.single-post .entry-single {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.single-post .entry-content {
		font-size: 1rem;
	}

	body.single-post .entry-content h2 {
		font-size: 1.5rem;
		margin: 2rem 0 0.75rem;
	}

	body.single-post .entry-content h3 {
		font-size: 1.2rem;
	}

	.post-card__body {
		padding: 1rem 1rem 1.25rem;
	}

	.post-card__title {
		font-size: 0.9rem !important;
	}

	.post-card__excerpt {
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}
