/* Single-post author box. Enqueued only on single posts (functions.php). */

/* In-content "Visit X" CTA buttons (affiliate/outbound links inside post
   bodies). Inline-styled per-button since they're typed directly into post
   content, not a reusable block — this class exists only to give the hover
   state something to target, since inline styles can't have a :hover of
   their own. !important beats the inline background color on hover. */
.dp-post-cta-btn:hover {
	background-color: #c72525 !important;
}

/* Remove GeneratePress/GenerateBlocks' shared card border+shadow (all four
   sides, not just the right/bottom the shared rule itself sets) from the
   article wrapper, comments area, and their containing wrapper on single
   posts — that shared rule also targets unrelated selectors (.sidebar
   .widget, .gb-loop-item, .container-widget) sitewide, so it's overridden
   here rather than edited at the source, to avoid touching those. */
.site-content,
.inside-article,
.comments-area,
.entry-content .container-widget,
.entry-content .gb-loop-item {
	border: none !important;
	box-shadow: none !important;
}

.dp-post-breadcrumb {
	font-size: 14px;
	color: #64748B;
	margin-bottom: 12px;
}
.dp-post-breadcrumb a {
	color: #64748B;
	text-decoration: none;
}
.dp-post-breadcrumb a:hover {
	text-decoration: underline;
}
.dp-post-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 4px 0 0;
}
.dp-post-updated {
	font-size: 14px;
	color: #64748B;
	margin: 0;
}
.dp-post-byline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #64748B;
}
.dp-post-byline-label {
	color: #64748B;
}
.dp-post-byline-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.dp-post-byline-link img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: block;
}
.dp-post-byline-name {
	font-weight: 600;
	color: #0B1734;
}
.dp-post-byline-link:hover .dp-post-byline-name {
	color: #D72E2E;
}
.dp-post-byline-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748B;
}
.dp-post-byline-x svg {
	width: 15px;
	height: 15px;
	display: block;
}
.dp-post-byline-x:hover {
	color: #D72E2E;
}

.dp-author-box {
	--dp-accent: #D72E2E;
	--dp-navy: #0B1734;
	--dp-muted: #64748B;
	--dp-border: #E7E9EE;
	--dp-surface: #F7F8FA;
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: 1280px;
	margin: 40px auto 0;
	padding: 26px;
	border: 1px solid var(--dp-border);
	border-radius: 14px;
	background: var(--dp-surface);
}
.dp-author-box-avatar {
	flex-shrink: 0;
}
.dp-author-box-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: block;
	object-fit: cover;
}
.dp-author-box-body {
	min-width: 0;
	flex: 1;
}
.dp-author-box-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dp-muted);
	margin: 0 0 6px;
}
.dp-author-box-name {
	margin: 0 0 10px;
	font-size: 20px;
}
.dp-author-box-name a {
	color: var(--dp-navy);
	text-decoration: none;
}
.dp-author-box-bio {
	font-size: 15px;
	line-height: 1.6;
	color: #374151;
	margin: 0 0 16px;
}
.dp-author-box-readmore {
	color: var(--dp-accent);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.dp-author-box-socials {
	display: flex;
	gap: 8px;
}
.dp-author-box-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--dp-accent);
	text-decoration: none;
}
.dp-author-box-socials svg { width: 16px; height: 16px; }

@media (max-width: 1023px) {
	.dp-author-box { flex-direction: column; }
}

/* ---------- Related Articles carousel ----------
   Full-bleed, same technique as the old hero: escapes GP's boxed
   .site-content/.inside-article container instead of sitting confined
   inside it, then re-centers the actual content at a sane max-width. */
.dp-related-articles {
	width: 100vw;
	margin: 40px calc(50% - 50vw) 0;
	padding: 40px 0 60px;
	background-color: #EEF0F3;
}
.dp-related-articles-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}
.dp-related-articles-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.dp-related-articles-title {
	font-size: 26px;
	font-weight: 800;
	color: var(--dp-navy, #0B1734);
	margin: 0;
}
.dp-related-nav {
	display: flex;
	gap: 8px;
}
.dp-related-prev, .dp-related-next {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--dp-border, #E7E9EE);
	background: #fff;
	color: var(--dp-navy, #0B1734);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.dp-related-prev svg, .dp-related-next svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.dp-related-prev:hover, .dp-related-next:hover { background: var(--dp-surface, #F7F8FA); }
.dp-related-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 6px;
	scrollbar-width: thin;
}
.dp-related-card {
	flex: 0 0 280px;
	scroll-snap-align: start;
	border: 1px solid var(--dp-border, #E7E9EE);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	display: block;
	background: #fff;
}
.dp-related-card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.dp-related-card-body { padding: 16px; }
.dp-related-card-date {
	font-size: 12.5px;
	color: var(--dp-muted, #64748B);
}
.dp-related-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--dp-navy, #0B1734);
	margin: 8px 0 10px;
}
.dp-related-card-link {
	font-size: 14px;
	font-weight: 700;
	color: var(--dp-accent, #D72E2E);
}

@media (max-width: 640px) {
	.dp-related-card { flex: 0 0 240px; }
}

/* ---------- Rank Math FAQ block ---------- */
#rank-math-faq .rank-math-list-item {
	padding: 20px 0;
	border-bottom: 1px solid #E7E9EE;
}
#rank-math-faq .rank-math-list-item:first-child {
	padding-top: 12px;
}
#rank-math-faq .rank-math-list-item:last-child {
	border-bottom: none;
}
#rank-math-faq .rank-math-question {
	position: relative;
	margin: 0 0 10px;
	padding-left: 16px;
	font-size: 18px;
	font-weight: 700;
	color: #0B1734;
}
#rank-math-faq .rank-math-question::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 3px;
	border-radius: 2px;
	background: #D72E2E;
}
#rank-math-faq .rank-math-answer {
	padding-left: 16px;
	color: #374151;
	font-size: 15.5px;
	line-height: 1.65;
}
#rank-math-faq .rank-math-answer p {
	margin: 0;
}
