/* whatjendoes.com — single post template styles */

.wjd-post-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	align-items: start;
	margin-bottom: 64px;
}

.wjd-post-main {
	min-width: 0;
}

.wjd-breadcrumb {
	font-size: 13px;
	color: #999;
	margin-bottom: 16px;
}
.wjd-breadcrumb a {
	color: inherit;
	text-decoration: none;
}
.wjd-breadcrumb a:hover {
	text-decoration: underline;
}
.wjd-breadcrumb-sep {
	margin: 0 6px;
}

.wjd-post-main .wp-block-post-title {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 16px;
}

.wjd-post-meta {
	font-size: 14px;
	color: #999;
	margin-bottom: 28px;
}

.wjd-post-featured-image {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 32px;
	height: 440px;
}
.wjd-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wjd-post-body {
	font-size: 17px;
	line-height: 1.75;
	color: #333;
}
.wjd-post-body p {
	margin-bottom: 22px;
}

.wjd-inline-callout {
	display: flex;
	gap: 18px;
	align-items: center;
	background: #f7f7f7;
	border-radius: 10px;
	padding: 20px;
	margin: 32px 0;
}
.wjd-inline-callout-img {
	width: 72px;
	height: 72px;
	background: #e8e8e8;
	border-radius: 8px;
	flex-shrink: 0;
	object-fit: cover;
}
.wjd-inline-callout-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	font-size: 24px;
	color: #999;
}
.wjd-inline-callout-label {
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}
.wjd-inline-callout-name {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
}
.wjd-inline-callout-cta {
	font-size: 14px;
	color: #1a1a1a;
	text-decoration: underline;
}
.wjd-inline-callout-fields > * + * {
	margin-top: 6px;
}

.wjd-post-sidebar {
	display: flex;
	flex-direction: column;
	gap: 36px;
	position: sticky;
	top: 110px;
}

.wjd-sidebar-label {
	font-size: 13px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 14px;
}

.wjd-widget-box {
	background: #f7f7f7;
	border-radius: 12px;
	padding: 20px;
}

.wjd-affiliate-vert {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.wjd-affiliate-row {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
.wjd-affiliate-row-img {
	width: 52px;
	height: 52px;
	background: #e8e8e8;
	border-radius: 6px;
	flex-shrink: 0;
	object-fit: cover;
}
.wjd-affiliate-row-name {
	font-size: 14px;
}

.wjd-related-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.wjd-related-row {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}
.wjd-related-row-img {
	width: 60px;
	height: 60px;
	background: #f0f0f0;
	border-radius: 6px;
	flex-shrink: 0;
	overflow: hidden;
}
.wjd-related-row-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wjd-related-row-title {
	font-size: 14px;
	line-height: 1.4;
}

.wjd-sidebar-elsewhere-card {
	display: block;
	padding-left: 12px;
	border-left: 3px solid;
	margin-bottom: 16px;
	text-decoration: none;
	color: inherit;
}
.wjd-sidebar-elsewhere-card:last-child {
	margin-bottom: 0;
}
.wjd-sidebar-elsewhere-title {
	font-size: 14px;
	font-weight: 600;
}
.wjd-sidebar-elsewhere-sub {
	font-size: 13px;
	color: #666;
	margin-top: 4px;
}

.wjd-subscribe-box .wp-block-hostinger-reach-subscription {
	margin: 0;
}

@media (max-width: 900px) {
	.wjd-post-layout {
		grid-template-columns: 1fr;
	}
	.wjd-post-sidebar {
		position: static;
	}
}
