/*
 * Elementor Shop Blog Detail — mirrors the xsmokehub Blog.tsx BlogPost layout
 * (DM Serif Display headings + Jost body, ink #222 / muted #888 / line #E5E5E5
 * / surface #F5F5F5, rounded-2xl).
 *
 * @package Elementor_Shop_Blog_Detail
 */

.esbl-container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ---- Breadcrumb ---- */
.esbl-breadcrumb {
	border-bottom: 1px solid #e5e5e5;
	background: #ffffff;
}
.esbl-breadcrumb .esbl-container {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
	padding-bottom: 12px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	color: #888888;
}
.esbl-breadcrumb a {
	color: #888888;
	text-decoration: none;
	transition: color 0.2s ease;
}
.esbl-breadcrumb a:hover {
	color: #222222;
}
.esbl-sep {
	color: #cccccc;
}
.esbl-current {
	color: #222222;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- Hero ---- */
.esbl-hero {
	position: relative;
	width: 100%;
	height: clamp(240px, 45vw, 520px);
	overflow: hidden;
	background: #222222;
}
.esbl-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.8;
}
.esbl-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}
.esbl-hero-pill {
	position: absolute;
	top: 24px;
	left: 24px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ---- Article + sidebar layout ---- */
.esbl-layout {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 56px;
}
@media (max-width: 1024px) {
	.esbl-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.esbl-aside {
		display: none;
	}
}

/* ---- Article header / body ---- */
.esbl-title {
	margin: 0 0 20px;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.15;
	color: #222222;
}
@media (min-width: 1024px) {
	.esbl-title {
		font-size: 48px;
	}
}
.esbl-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding-bottom: 32px;
	border-bottom: 1px solid #e5e5e5;
	font-family: 'Jost', sans-serif;
}
.esbl-by-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: #222222;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
}
.esbl-by-name {
	font-size: 12px;
	font-weight: 600;
	color: #222222;
}
.esbl-by-role {
	font-size: 10px;
	color: #888888;
}
.esbl-by-dot {
	color: #d4d4d4;
}
.esbl-by-meta {
	font-size: 12px;
	color: #888888;
}

.esbl-lead {
	margin: 0 0 32px;
	padding-left: 20px;
	border-left: 2px solid #222222;
	font-family: 'Jost', sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #333333;
}

/* Post content typography */
.esbl-body {
	font-family: 'Jost', sans-serif;
	font-size: 16px;
	line-height: 1.85;
	color: #444444;
}
.esbl-body > *:last-child {
	margin-bottom: 0;
}
.esbl-body p {
	margin: 0 0 20px;
}
.esbl-body h2,
.esbl-body h3 {
	margin: 40px 0 12px;
	font-family: 'DM Serif Display', Georgia, serif;
	font-weight: 400;
	color: #222222;
}
.esbl-body h2 {
	font-size: 26px;
}
.esbl-body h3 {
	font-size: 22px;
}
.esbl-body ul,
.esbl-body ol {
	margin: 0 0 20px;
	padding-left: 24px;
}
.esbl-body li {
	margin: 0 0 8px;
}
.esbl-body a {
	color: #222222;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.esbl-body img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}
.esbl-body strong {
	color: #222222;
	font-weight: 600;
}
.esbl-body blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	border-left: 3px solid #222222;
	background: #f5f5f5;
	border-radius: 0 12px 12px 0;
	font-style: italic;
	color: #555555;
}

.esbl-mid-image {
	margin: 40px 0 0;
	border-radius: 16px;
	overflow: hidden;
	background: #ededed;
	aspect-ratio: 16 / 7;
}
.esbl-mid-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---- Tags + share ---- */
.esbl-tags-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e5e5e5;
}
.esbl-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.esbl-tag {
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	color: #888888;
	border: 1px solid #e5e5e5;
	padding: 6px 12px;
	border-radius: 999px;
}
.esbl-share {
	display: flex;
	align-items: center;
	gap: 8px;
}
.esbl-share-label {
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	color: #888888;
	margin-right: 4px;
}
.esbl-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: transparent;
	color: #555555;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.esbl-share-btn:hover {
	border-color: #222222;
	color: #222222;
}
.esbl-share-btn.is-copied {
	border-color: #4caf50;
	color: #4caf50;
}

/* ---- Author card ---- */
.esbl-author {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: 40px;
	padding: 28px;
	background: #f5f5f5;
	border-radius: 16px;
}
.esbl-author-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: #222222;
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 18px;
	font-weight: 700;
	flex-shrink: 0;
}
.esbl-author-name {
	margin: 0 0 4px;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #222222;
}
.esbl-author-bio {
	margin: 0 0 12px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	line-height: 1.6;
	color: #888888;
}
.esbl-author-link {
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #222222;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---- Sidebar ---- */
.esbl-aside-inner {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.esbl-card-label {
	margin: 0 0 16px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888888;
}
.esbl-toc {
	padding: 24px;
	background: #f5f5f5;
	border-radius: 16px;
}
.esbl-toc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.esbl-toc-list li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: #555555;
}
.esbl-toc-dash {
	color: #bbbbbb;
}

/* Same-category mini list */
.esbl-same-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.esbl-same-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	text-decoration: none;
}
.esbl-same-thumb {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	background: #ededed;
	flex-shrink: 0;
}
.esbl-same-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.esbl-same-title {
	display: block;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	color: #222222;
}
.esbl-same-item:hover .esbl-same-title {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.esbl-same-meta {
	display: block;
	margin-top: 4px;
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	color: #888888;
}

/* Newsletter card */
.esbl-news {
	padding: 24px;
	background: #222222;
	border-radius: 16px;
	color: #ffffff;
}
.esbl-news-eyebrow {
	margin: 0 0 8px;
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}
.esbl-news-title {
	margin: 0 0 12px;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 18px;
	line-height: 1.35;
	color: #ffffff;
}
.esbl-news-input {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 12px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
}
.esbl-news-input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}
.esbl-news-input:focus {
	outline: none;
	border-color: rgba(255, 255, 255, 0.5);
}
.esbl-news-btn {
	width: 100%;
	padding: 10px;
	border: 0;
	border-radius: 12px;
	background: #ffffff;
	color: #222222;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.esbl-news-btn:hover {
	background: #f5f5f5;
}
.esbl-news-msg {
	min-height: 16px;
	margin: 10px 0 0;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	color: #7ee0a0;
}
.esbl-news-msg.is-error {
	color: #ff9b9b;
}

/* ---- Related band ---- */
.esbl-related {
	margin-top: 24px;
	padding: 64px 0;
	background: #f5f5f5;
	border-top: 1px solid #e5e5e5;
}
.esbl-related-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 40px;
}
.esbl-eyebrow {
	margin: 0 0 8px;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #888888;
}
.esbl-related-title {
	margin: 0;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	color: #222222;
}
.esbl-related-link {
	flex-shrink: 0;
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #222222;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.esbl-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
@media (max-width: 900px) {
	.esbl-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 600px) {
	.esbl-related-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.esbl-article-card {
	display: block;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow 0.3s ease;
}
.esbl-article-card:hover {
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.esbl-article-media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #ededed;
}
.esbl-article-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.esbl-article-card:hover .esbl-article-media img {
	transform: scale(1.05);
}
.esbl-article-body {
	padding: 24px;
}
.esbl-article-cat {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	font-family: 'Jost', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #888888;
}
.esbl-article-title {
	margin: 0 0 8px;
	font-family: 'Jost', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #222222;
}
.esbl-article-card:hover .esbl-article-title {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.esbl-article-excerpt {
	margin: 0 0 20px;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	line-height: 1.6;
	color: #888888;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.esbl-article-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	color: #888888;
}
.esbl-article-dot {
	color: #d4d4d4;
}

.esbl-missing {
	padding: 96px 0;
	text-align: center;
	font-family: 'Jost', sans-serif;
	font-size: 16px;
	color: #888888;
}

/* Real author avatars (img fills the round avatar) */
.esbl-by-avatar,
.esbl-author-avatar {
	overflow: hidden;
}
.esbl-by-avatar img,
.esbl-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 999px;
}

/* WooCommerce-native share block sits in the tags row */
.esbl-share-native {
	display: flex;
	align-items: center;
	gap: 8px;
}
.esbl-share-native > * {
	margin: 0 !important;
}

/* ---- Newsletter — neutralise theme/Minimog interference ---- */
body .esbl-wrap .esbl-news {
	background: #222222 !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	padding: 24px !important;
	margin: 0 !important;
}
body .esbl-wrap .esbl-news * {
	box-sizing: border-box;
}
body .esbl-wrap .esbl-news-input {
	display: block;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 10px 12px !important;
	margin: 0 0 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
	box-shadow: none !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	text-align: left !important;
}
body .esbl-wrap .esbl-news-input::placeholder {
	color: rgba(255, 255, 255, 0.4) !important;
	opacity: 1;
}
body .esbl-wrap .esbl-news-btn {
	display: block;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 10px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #ffffff !important;
	color: #222222 !important;
	box-shadow: none !important;
	font-family: 'Jost', sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
}
body .esbl-wrap .esbl-news-btn:hover {
	background: #f5f5f5 !important;
	color: #222222 !important;
}
