/* Single post layout – aligned with Elementor /single-post/ (1300px header grid) */

.sm-single-post {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none !important;
}

.sm-single-post.site-main {
	max-width: none !important;
	padding: 0;
}

/* Shared shell – same width as HFE header (1300px) */
.sm-single-shell {
	width: 100%;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* Full-bleed sections */
.sm-single-hero,
.sm-single-body {
	width: 100%;
	max-width: none;
}

.sm-single-hero {
	min-height: 64vh;
	display: flex;
	align-items: flex-end;
	background-color: #fff;
	background-position: bottom center;
	background-size: cover;
	padding: 0 0 48px;
	box-sizing: border-box;
}

.sm-single-hero__row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
}

.sm-single-hero__title-col {
	flex: 0 1 auto;
	max-width: 52%;
	min-width: 0;
}

.sm-single-hero__excerpt-col {
	flex: 0 1 38%;
	max-width: 38%;
	min-width: 0;
}

.sm-single-hero__title.elementor-heading-title {
	margin: 0;
	font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	font-weight: 600;
	line-height: 1.2;
	color: #26292a;
}

.sm-single-hero__excerpt {
	font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #595c5d;
	text-align: justify;
}

.sm-single-hero__excerpt p {
	margin: 0;
}

.sm-single-body {
	background: #fff;
	padding: 100px 0;
	box-sizing: border-box;
}

.sm-single-body__inner {
	width: 100%;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.sm-single-content {
	font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	color: #595c5d;
	text-align: justify;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.sm-single-content > *:first-child {
	margin-top: 0;
}

.sm-single-content h2,
.sm-single-content h3,
.sm-single-content h4 {
	color: #26292a;
	margin: 2rem 0 0.75rem;
	line-height: 1.3;
	font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}

.sm-single-content p {
	margin: 0 0 1rem;
}

.sm-single-content img,
.sm-single-content figure,
.sm-single-content iframe,
.sm-single-content video {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.sm-single-content .alignwide,
.sm-single-content .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.sm-single-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
	width: 100%;
}

.sm-single-footer__label {
	font-weight: 600;
	color: #26292a;
	margin-right: 0.75rem;
}

.sm-single-tags,
.sm-single-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}

.sm-single-tags__list a,
.tag-links a {
	display: inline-block;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #26292a;
	color: #fff !important;
	font-size: 0.85rem;
	text-decoration: none;
}

.sm-share-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sm-share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #26292a;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.85rem;
	transition: background 0.2s ease;
}

.sm-share-link:hover {
	background: #444;
	color: #fff !important;
}

/* Blog archive grid fixes on /blog/ */

.page-id-236 .elementor-widget-gum_posts_grid .grid-posts {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.page-id-236 .elementor-widget-gum_posts_grid .grid-post {
	width: 50%;
	padding: 0 15px 30px;
	box-sizing: border-box;
}

.page-id-236 .elementor-widget-gum_posts_grid .grid-post article {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.page-id-236 .elementor-widget-gum_posts_grid .post-content {
	padding: 1.25rem 1.5rem 1.5rem;
}

.page-id-236 .elementor-widget-gum_posts_grid .post-title {
	margin: 0.5rem 0;
	font-size: 1.15rem;
	line-height: 1.35;
}

.page-id-236 .elementor-widget-gum_posts_grid .post-title a {
	color: #26292a;
	text-decoration: none;
}

.page-id-236 .elementor-widget-gum_posts_grid .content-excerpt {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #666;
	margin: 0.75rem 0 1rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page-id-236 .elementor-widget-gum_posts_grid .featured-image img,
.page-id-236 .elementor-widget-gum_posts_grid .post-image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.page-id-236 .elementor-widget-gum_posts_grid .posts-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	font-size: 0.85rem;
	color: #888;
}

.page-id-236 .elementor-widget-gum_posts_grid .posts-meta a {
	color: inherit;
	text-decoration: none;
}

.page-id-236 .elementor-widget-gum_posts_grid .readmore-button {
	background: #26292a;
	color: #fff;
	border-radius: 999px;
	padding: 0.6rem 1.25rem;
	font-size: 0.9rem;
}

@media (max-width: 1024px) {
	.sm-single-shell {
		padding-left: 32px;
		padding-right: 32px;
	}

	.sm-single-hero__title-col {
		max-width: 58%;
	}

	.sm-single-hero__excerpt-col {
		max-width: 40%;
	}

	.sm-single-body {
		padding: 50px 0;
	}
}

@media (max-width: 767px) {
	.sm-single-shell {
		padding-left: 20px;
		padding-right: 20px;
	}

	.sm-single-hero {
		padding-bottom: 48px;
	}

	.sm-single-hero__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding-top: 150px;
	}

	.sm-single-hero__title-col,
	.sm-single-hero__excerpt-col {
		flex-basis: 100%;
		max-width: 100%;
	}

	.sm-single-body {
		padding: 50px 0;
	}

	.sm-single-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-id-236 .elementor-widget-gum_posts_grid .grid-post {
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.page-id-236 .elementor-widget-gum_posts_grid .grid-post {
		width: 33.333%;
	}
}
