/* MSH Blog Detail — matches blog-detail.html */

.msh-blog-post-head,
.msh-blog-content,
.msh-blog-share,
.msh-blog-author,
.msh-blog-pnav,
.msh-blog-related,
.msh-blog-post-img {
	--msh-blog-red: #c10230;
	--msh-blog-red-dark: #9a0226;
	--msh-blog-red-tint: #fbe9ed;
	--msh-blog-ink: #333132;
	--msh-blog-ink-soft: #5c5a5b;
	--msh-blog-line: rgba(51, 49, 50, 0.13);
	--msh-blog-grey: #f6f6f6;
	--msh-blog-white: #fff;
	--msh-blog-font: "Poppins-Regular", "Poppins", system-ui, sans-serif;

	font-family: var(--msh-blog-font);
	color: var(--msh-blog-ink);
	box-sizing: border-box;
}

.msh-blog-post-head a,
.msh-blog-content a,
.msh-blog-share a,
.msh-blog-author a,
.msh-blog-pnav a,
.msh-blog-related a {
	color: inherit;
	text-decoration: none;
}

.msh-blog-post-head h1,
.msh-blog-post-head p,
.msh-blog-related h2,
.msh-blog-related h3,
.msh-blog-related p {
	margin: 0;
}

/* Header */
.msh-blog-post-head {
	background: var(--msh-blog-grey);
	padding: 64px 0 72px;
	text-align: center !important;
}

.msh-blog-post-head__box {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center !important;
}

.msh-blog-chip {
	display: inline-block;
	background: var(--msh-blog-red-tint);
	color: var(--msh-blog-red) !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 40px;
}

.msh-blog-chip:hover {
	background: var(--msh-blog-red);
	color: var(--msh-blog-white) !important;
}

.msh-blog-post-head__title {
	font-family: "Poppins-ExtraBold", "Poppins", system-ui, sans-serif;
	font-size: 44px;
	line-height: 1.2;
	font-weight: 800;
	margin: 16px 0 !important;
	color: var(--msh-blog-ink);
	text-align: center !important;
}

.msh-blog-post-meta {
	font-size: 14px;
	color: var(--msh-blog-ink-soft);
}

.msh-blog-post-meta b {
	color: var(--msh-blog-ink);
	font-weight: 600;
}

/* Featured image */
.msh-blog-post-img {
	max-width: 1000px;
	margin: 56px auto 0;
	padding: 0 20px;
}

.msh-blog-post-img__media,
.msh-blog-post-img__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 28px;
}

.msh-blog-post-img__placeholder {
	background: #fff4d9 radial-gradient(circle at 76% 34%, #f7a81b 0 12%, transparent 12.5%);
}

/* Content */
.msh-blog-content {
	max-width: 760px;
	margin: 48px auto 0;
	padding: 0 20px;
	font-size: 18px;
	line-height: 1.75;
}

.msh-blog-content > * + * {
	margin-top: 22px !important;
}

.msh-blog-content h2 {
	font-family: "Poppins-Bold", "Poppins", system-ui, sans-serif;
	font-size: 30px;
	line-height: 1.3;
	font-weight: 700;
	margin-top: 48px !important;
}

.msh-blog-content a {
	color: var(--msh-blog-red);
	text-decoration: underline;
}

.msh-blog-content ul,
.msh-blog-content ol {
	padding-left: 24px;
	margin: 0;
}

.msh-blog-content li + li {
	margin-top: 8px;
}

.msh-blog-content li::marker {
	color: var(--msh-blog-red);
	font-weight: 700;
}

.msh-blog-content blockquote {
	margin: 36px 0;
	padding: 28px 32px;
	background: var(--msh-blog-grey);
	border-radius: 20px;
	font-size: 21px;
	line-height: 1.6;
	font-weight: 500;
	border: 0;
}

.msh-blog-content blockquote cite {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--msh-blog-ink-soft);
}

.msh-blog-content figure {
	margin: 36px 0;
}

.msh-blog-content figcaption {
	font-size: 14px;
	color: var(--msh-blog-ink-soft);
	text-align: center;
	margin-top: 10px;
}

.msh-blog-content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

/* Share */
.msh-blog-share {
	max-width: 760px;
	margin: 48px auto 0;
	padding: 24px 20px 0;
	border-top: 1px solid var(--msh-blog-line);
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
}

.msh-blog-share a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--msh-blog-red);
	color: var(--msh-blog-white) !important;
	display: grid;
	place-items: center;
	font-size: 13px;
	text-decoration: none !important;
}

.msh-blog-share a:hover {
	background: var(--msh-blog-red-dark);
}

/* Author */
.msh-blog-author {
	max-width: 760px;
	margin: 32px auto 0;
	padding: 0 20px;
}

.msh-blog-author__inner {
	background: var(--msh-blog-grey);
	border-radius: 20px;
	padding: 28px;
	display: flex;
	gap: 20px;
	align-items: center;
}

.msh-blog-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #f7a81b;
	flex: none;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 24px;
	color: var(--msh-blog-ink);
	object-fit: cover;
}

.msh-blog-avatar--img {
	display: block;
	padding: 0;
	background: transparent;
}

.msh-blog-author b {
	font-size: 18px;
	display: block;
}

.msh-blog-author p {
	font-size: 15px;
	color: var(--msh-blog-ink-soft);
	margin: 4px 0 0;
}

/* Prev / next */
.msh-blog-pnav {
	max-width: 760px;
	margin: 32px auto 0;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	font-size: 15px;
}

.msh-blog-pnav small {
	display: block;
	color: var(--msh-blog-red);
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 4px;
}

.msh-blog-pnav b {
	font-weight: 600;
}

.msh-blog-pnav a:hover b {
	color: var(--msh-blog-red);
}

.msh-blog-pnav div:last-child {
	text-align: right;
}

/* Related — matches blog-detail.html .related */
.msh-blog-related {
	background: var(--msh-blog-grey);
	padding: 80px 0;
	margin-top: 80px;
	width: 100%;
}

.msh-blog-related .msh-blog-box {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.msh-blog-related__title {
	font-family: "Poppins-Bold", "Poppins", system-ui, sans-serif;
	font-size: 36px;
	font-weight: 700;
	text-align: center !important;
	margin: 0 0 40px !important;
	color: var(--msh-blog-ink);
}

.msh-blog-related .msh-blog-red {
	color: var(--msh-blog-red);
}

.msh-blog-related .msh-blog-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.msh-blog-related .msh-blog-card {
	background: var(--msh-blog-white);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(51, 49, 50, 0.10);
	display: flex;
	flex-direction: column;
	margin: 0;
	height: 100%;
}

.elementor-widget-msh-blog-related-articles,
.elementor-widget-msh-blog-related-articles .elementor-widget-container {
	width: 100%;
}

/* Elementor overrides */
.elementor-widget-msh-blog-detail-header,
.elementor-widget-msh-blog-detail-header .elementor-widget-container,
.elementor-widget-msh-blog-detail-header .msh-blog-post-head {
	text-align: center !important;
}

@media (max-width: 1024px) {
	.msh-blog-related .msh-blog-posts {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.msh-blog-post-head {
		padding: 40px 0 48px;
	}

	.msh-blog-post-head__title {
		font-size: 30px;
	}

	.msh-blog-post-img {
		margin-top: 32px;
	}

	.msh-blog-post-img__media,
	.msh-blog-post-img__placeholder {
		border-radius: 20px;
	}

	.msh-blog-content {
		font-size: 17px;
	}

	.msh-blog-content h2 {
		font-size: 24px;
	}

	.msh-blog-author__inner {
		flex-direction: column;
		text-align: center;
	}

	.msh-blog-pnav {
		flex-direction: column;
	}

	.msh-blog-pnav div:last-child {
		text-align: left;
	}

	.msh-blog-related {
		padding: 56px 0;
		margin-top: 56px;
	}

	.msh-blog-related__title {
		font-size: 28px;
	}

	.msh-blog-related .msh-blog-posts {
		grid-template-columns: 1fr;
	}
}
