/* HD Calculators — matches Home Dietitians brand (Inter / #1d4ed8 / #FCD901 / 12px cards / pill buttons) */

.hdc-wrap {
	--hdc-blue: #1d4ed8;
	--hdc-blue-dark: #1e40af;
	--hdc-blue-100: #dbeafe;
	--hdc-gold: #fcd901;
	--hdc-gold-hover: #fde047;
	--hdc-ink: #111827;
	--hdc-gray: #4b5563;
	--hdc-muted: #6b7280;
	--hdc-border: #e5e7eb;
	--hdc-bg: #f9fafb;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 860px;
	margin: 0 auto;
	padding: 48px 24px 64px;
	color: var(--hdc-gray);
}
.hdc-wrap *, .hdc-wrap *::before, .hdc-wrap *::after { box-sizing: border-box; }

.hdc-title {
	font-family: inherit;
	font-size: 34px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--hdc-ink);
	margin: 0 0 14px;
}
.hdc-sub {
	font-size: 17px;
	line-height: 1.65;
	margin: 0 0 32px;
	max-width: 700px;
}

/* Tool card */
.hdc-tool {
	background: #ffffff;
	border: 1px solid var(--hdc-border);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .06);
	padding: 28px;
	margin-bottom: 48px;
}
.hdc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px 20px;
	margin-bottom: 20px;
}
.hdc-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hdc-ink);
	margin-bottom: 6px;
}
.hdc-field input,
.hdc-field select {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	color: var(--hdc-ink);
	background: #ffffff;
	border: 1px solid var(--hdc-border);
	border-radius: 10px;
	padding: 10px 14px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.hdc-field input:focus,
.hdc-field select:focus {
	border-color: var(--hdc-blue);
	box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

.hdc-conditions {
	border: 1px solid var(--hdc-border);
	border-radius: 10px;
	padding: 14px 18px 16px;
	margin: 0 0 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}
.hdc-conditions legend {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hdc-ink);
	padding: 0 6px;
}
.hdc-conditions label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--hdc-gray);
	cursor: pointer;
}
.hdc-conditions input { accent-color: var(--hdc-blue); width: 16px; height: 16px; }

/* Buttons — site pill style */
.hdc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 9999px;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
	padding: 12px 32px;
}
.hdc-btn-primary {
	background-image: linear-gradient(to right, var(--hdc-blue-dark), #2563eb);
	color: #ffffff;
	width: 100%;
}
.hdc-btn-primary:hover { color: #ffffff; filter: brightness(1.08); box-shadow: 0 6px 16px rgba(29, 78, 216, .28); }
.hdc-btn-gold {
	background: var(--hdc-gold);
	color: var(--hdc-ink);
	font-weight: 700;
}
.hdc-btn-gold:hover { background: var(--hdc-gold-hover); color: var(--hdc-ink); box-shadow: 0 6px 16px rgba(252, 217, 1, .45); }
.hdc-btn-outline {
	background: #ffffff;
	color: var(--hdc-blue);
	border: 1.5px solid var(--hdc-blue);
}
.hdc-btn-outline:hover { background: var(--hdc-blue); color: #ffffff; }

.hdc-error { color: #b91c1c; font-size: 14px; margin: 12px 0 0; }
.hdc-error[hidden], .hdc-result[hidden] { display: none; }

/* Result */
.hdc-result {
	margin-top: 28px;
	border-top: 1px solid var(--hdc-border);
	padding-top: 28px;
}
.hdc-result-top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 22px;
}
.hdc-bmi-badge {
	flex-shrink: 0;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--hdc-blue-100);
	color: var(--hdc-blue-dark);
}
.hdc-bmi-badge.hdc-cat-healthy { background: #dcfce7; color: #15803d; }
.hdc-bmi-badge.hdc-cat-over    { background: #fef3c7; color: #b45309; }
.hdc-bmi-badge.hdc-cat-obese   { background: #fee2e2; color: #b91c1c; }
.hdc-bmi-badge.hdc-cat-under   { background: var(--hdc-blue-100); color: var(--hdc-blue-dark); }
.hdc-bmi-value { font-size: 34px; font-weight: 700; line-height: 1.1; }
.hdc-bmi-label { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.hdc-bmi-cat {
	font-size: 20px;
	font-weight: 700;
	color: var(--hdc-ink);
	margin: 0 0 6px;
}
.hdc-bmi-note { font-size: 14.5px; line-height: 1.6; margin: 0; }

.hdc-metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 22px;
}
.hdc-metrics-4 { grid-template-columns: repeat(4, 1fr); }
.hdc-kcal-value { font-size: 27px; }
.hdc-pace[hidden] { display: none; }
.hdc-metric {
	background: var(--hdc-bg);
	border: 1px solid var(--hdc-border);
	border-radius: 10px;
	padding: 14px 16px;
}
.hdc-metric-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--hdc-muted); margin-bottom: 4px; }
.hdc-metric-value { font-size: 16px; font-weight: 700; color: var(--hdc-ink); line-height: 1.35; }

.hdc-pathway {
	background: #eff6ff;
	border: 1px solid var(--hdc-blue-100);
	border-radius: 12px;
	padding: 20px 22px;
}
.hdc-pathway-text { font-size: 15px; line-height: 1.65; color: var(--hdc-ink); margin: 0 0 16px; }
.hdc-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hdc-bloodtest { font-size: 14px; margin: 0; }
.hdc-bloodtest a { color: var(--hdc-blue); font-weight: 600; }
.hdc-disclaimer-inline { font-size: 12.5px; color: var(--hdc-muted); margin: 18px 0 0; }

/* Article */
.hdc-article h2 {
	font-family: inherit;
	font-size: 24px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--hdc-ink);
	margin: 40px 0 14px;
}
.hdc-article p { font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.hdc-article a { color: var(--hdc-blue); font-weight: 600; }
.hdc-article a:hover { color: var(--hdc-blue-dark); }

.hdc-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.hdc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	border: 1px solid var(--hdc-border);
	border-radius: 10px;
	overflow: hidden;
}
.hdc-table th, .hdc-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--hdc-border); }
.hdc-table th { background: var(--hdc-bg); color: var(--hdc-ink); font-weight: 600; }
.hdc-table tr:last-child td { border-bottom: 0; }

.hdc-faq details {
	border: 1px solid var(--hdc-border);
	border-radius: 10px;
	padding: 0 18px;
	margin-bottom: 10px;
	background: #ffffff;
}
.hdc-faq summary {
	font-size: 15.5px;
	font-weight: 600;
	color: var(--hdc-ink);
	padding: 15px 0;
	cursor: pointer;
	list-style-position: outside;
}
.hdc-faq details[open] summary { border-bottom: 1px solid var(--hdc-border); }
.hdc-faq details p { padding: 14px 0; margin: 0; }

.hdc-cta-band {
	background: var(--hdc-blue);
	border-radius: 12px;
	padding: 34px 30px;
	text-align: center;
	margin: 44px 0 28px;
}
.hdc-cta-band h2 { color: #ffffff; margin: 0 0 10px; font-size: 24px; }
.hdc-cta-band p { color: #dbeafe; max-width: 560px; margin: 0 auto 20px; }

.hdc-disclaimer { font-size: 13px; color: var(--hdc-muted); line-height: 1.7; }

/* Responsive */
@media (max-width: 820px) {
	.hdc-grid { grid-template-columns: repeat(2, 1fr); }
	.hdc-metrics, .hdc-metrics-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.hdc-metrics, .hdc-metrics-4 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.hdc-wrap { padding: 32px 20px 48px; }
	.hdc-title { font-size: 26px; }
	.hdc-tool { padding: 20px 18px; }
	.hdc-grid { grid-template-columns: 1fr; }
	.hdc-result-top { flex-direction: column; text-align: center; }
	.hdc-ctas .hdc-btn { width: 100%; }
	.hdc-conditions { flex-direction: column; gap: 10px; }
}

/* Landing page figures */
.hdc-wrap-wide { max-width: 960px; }
.hdc-hero-split {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 36px;
	align-items: center;
	margin-bottom: 36px;
}
.hdc-hero-split .hdc-sub { margin-bottom: 24px; }
.hdc-figure { margin: 6px 0 26px; }
.hdc-figure img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
	display: block;
}
.hdc-portrait { margin: 0; }
.hdc-portrait img { max-height: 520px; object-fit: cover; object-position: top; }
.hdc-figure-mid { max-width: 430px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) {
	.hdc-hero-split { grid-template-columns: 1fr; gap: 20px; }
	.hdc-portrait img { max-height: 420px; }
}

/* Media page */
.hdc-logo-strip {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 44px;
	flex-wrap: wrap;
	margin: 28px 0 8px;
	padding: 18px 24px;
	background: var(--hdc-bg);
	border: 1px solid var(--hdc-border);
	border-radius: 12px;
}
.hdc-logo-strip img {
	height: 48px;
	width: auto;
	object-fit: contain;
	filter: grayscale(35%);
	opacity: .9;
	transition: filter .2s ease, opacity .2s ease;
}
.hdc-logo-strip img:hover { filter: none; opacity: 1; }
.hdc-media-section { margin-bottom: 14px; }
.hdc-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 4px 0 20px;
}
.hdc-gallery-2 { grid-template-columns: repeat(2, 1fr); }
.hdc-gallery figure { margin: 0; }
.hdc-gallery img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
	display: block;
	transition: transform .25s ease, box-shadow .25s ease;
}
.hdc-gallery img:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17, 24, 39, .14); }
@media (max-width: 700px) {
	.hdc-gallery, .hdc-gallery-2 { grid-template-columns: 1fr; }
	.hdc-gallery img { aspect-ratio: 16 / 10; }
	.hdc-logo-strip { gap: 24px; }
	.hdc-logo-strip img { height: 36px; }
}

/* Event recap page */
.hdc-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hdc-blue);
	margin: 0 0 10px;
}
.hdc-marker-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 8px 0 20px;
}
.hdc-marker {
	background: var(--hdc-bg);
	border: 1px solid var(--hdc-border);
	border-left: 3px solid var(--hdc-blue);
	border-radius: 10px;
	padding: 12px 16px;
}
.hdc-marker-name { display: block; font-size: 15px; font-weight: 700; color: var(--hdc-ink); margin-bottom: 3px; }
.hdc-marker-desc { display: block; font-size: 13.5px; line-height: 1.55; color: var(--hdc-gray); }
@media (max-width: 640px) { .hdc-marker-grid { grid-template-columns: 1fr; } }

/* Workshops page */
.hdc-workshop-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 20px;
}
.hdc-workshop-card {
	background: #ffffff;
	border: 1px solid var(--hdc-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .06);
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s ease, transform .25s ease;
}
.hdc-workshop-card:hover { box-shadow: 0 10px 28px rgba(29, 78, 216, .12); transform: translateY(-2px); }
.hdc-workshop-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hdc-blue-100); }
.hdc-workshop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdc-workshop-price {
	position: absolute; top: 12px; right: 12px;
	background: var(--hdc-gold); color: var(--hdc-ink);
	font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 9999px;
}
.hdc-workshop-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.hdc-workshop-meta { font-size: 12.5px; font-weight: 600; color: var(--hdc-blue); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em; }
.hdc-workshop-body h3 { font-family: inherit; font-size: 18px; font-weight: 700; color: var(--hdc-ink); margin: 0 0 8px; line-height: 1.3; }
.hdc-workshop-body p { font-size: 14px; line-height: 1.6; color: var(--hdc-gray); margin: 0 0 16px; }
.hdc-workshop-body .hdc-btn { margin-top: auto; align-self: flex-start; padding: 9px 24px; font-size: 14px; }

.hdc-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 6px 0 20px; }
.hdc-review { background: var(--hdc-bg); border: 1px solid var(--hdc-border); border-radius: 12px; padding: 20px; margin: 0; }
.hdc-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.hdc-review blockquote { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--hdc-ink); font-style: italic; }
@media (max-width: 820px) {
	.hdc-workshop-grid, .hdc-review-grid { grid-template-columns: 1fr; }
}

/* Jaceme profile page */
.hdc-profile-hero {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 12px;
}
.hdc-profile-photo { margin: 0; }
.hdc-profile-photo img {
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	object-position: top;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(17, 24, 39, .14);
	display: block;
}
.hdc-profile-intro .hdc-sub { margin-bottom: 20px; }
.hdc-profile-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hdc-badge-pill {
	background: var(--hdc-blue-100);
	color: var(--hdc-blue-dark);
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 9999px;
}
.hdc-cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 20px; }
.hdc-cred-card {
	background: #ffffff;
	border: 1px solid var(--hdc-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .06);
}
.hdc-cred-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--hdc-bg); border-bottom: 1px solid var(--hdc-border); }
.hdc-cred-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; display: block; }
.hdc-cred-text { padding: 14px 16px 16px; }
.hdc-cred-name { display: block; font-size: 15.5px; font-weight: 700; color: var(--hdc-ink); margin-bottom: 5px; }
.hdc-cred-desc { display: block; font-size: 13.5px; line-height: 1.55; color: var(--hdc-gray); }
@media (max-width: 820px) {
	.hdc-profile-hero { grid-template-columns: 1fr; gap: 24px; }
	.hdc-profile-photo img { max-height: 460px; }
	.hdc-cred-grid { grid-template-columns: 1fr; }
}

/* About page feature splits */
.hdc-feature-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	align-items: center;
	margin: 40px 0;
}
.hdc-feature-reverse .hdc-feature-img { order: 2; }
.hdc-feature-img { margin: 0; }
.hdc-feature-img img {
	width: 100%;
	height: 100%;
	max-height: 360px;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(17, 24, 39, .12);
	display: block;
}
.hdc-feature-text h2 { margin: 0 0 12px; }
.hdc-feature-text p { margin: 0 0 12px; }
@media (max-width: 820px) {
	.hdc-feature-split { grid-template-columns: 1fr; gap: 18px; }
	.hdc-feature-reverse .hdc-feature-img { order: 0; }
}

/* Category archive intro box */
.hdc-cat-intro {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #eff6ff;
	border: 1px solid #dbeafe;
	border-radius: 12px;
	padding: 24px 26px;
	margin: 0 0 32px;
	max-width: 1100px;
}
.hdc-cat-intro-text {
	font-size: 15.5px;
	line-height: 1.7;
	color: #1f2937;
	margin: 0 0 16px;
}
.hdc-cat-intro .hdc-btn-gold { font-size: 15px; }
/* span full width when injected inside an Elementor/grid archive loop */
.elementor-grid .hdc-cat-intro, .hdc-cat-intro { grid-column: 1 / -1; }
/* intro box is outside .hdc-wrap so CSS vars are unavailable — use literal brand colors */
.hdc-cat-intro .hdc-btn-gold { background: #fcd901; color: #111827; }
.hdc-cat-intro .hdc-btn-gold:hover { background: #fde047; color: #111827; box-shadow: 0 6px 16px rgba(252,217,1,.45); }

/* Author E-E-A-T box */
.hdc-authorbox {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	display: flex;
	gap: 22px;
	align-items: flex-start;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-left: 4px solid #1d4ed8;
	border-radius: 12px;
	padding: 24px 26px;
	margin: 40px 0 8px;
}
.hdc-author-media { flex-shrink: 0; }
.hdc-author-photo, .hdc-author-media img {
	width: 92px; height: 92px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top;
	display: block;
	box-shadow: 0 2px 8px rgba(17,24,39,.12);
}
.hdc-author-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; }
.hdc-author-name { font-family: inherit; font-size: 19px; font-weight: 700; color: #111827; margin: 3px 0 8px; }
.hdc-author-name span { font-weight: 500; font-size: 15px; color: #1d4ed8; }
.hdc-author-bio { font-size: 14px; line-height: 1.65; color: #4b5563; margin: 0 0 14px; }
.hdc-author-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hdc-authorbox .hdc-btn-gold { background: #fcd901; color: #111827; font-size: 14px; padding: 9px 22px; }
.hdc-authorbox .hdc-btn-gold:hover { background: #fde047; color: #111827; }
.hdc-author-profilelink { font-size: 14px; font-weight: 600; color: #1d4ed8; text-decoration: none; }
.hdc-author-profilelink:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.hdc-authorbox { flex-direction: column; gap: 14px; text-align: left; }
	.hdc-author-photo, .hdc-author-media img { width: 72px; height: 72px; }
}

/* ---- Post content normalization (brand consistency across old + new posts) ----
   Full spec for Gutenberg content rendered via the Elementor single template's
   theme-post-content widget; additive-only styles for legacy Elementor-built posts
   ([data-elementor-type="wp-post"]) so their widget styling is preserved. */
.single-post .elementor-widget-theme-post-content .elementor-widget-container {
	font-size: 17px;
	line-height: 1.7;
	color: #374151;
}
.single-post .elementor-widget-theme-post-content h2 {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	margin: 1.7em 0 .6em;
}
.single-post .elementor-widget-theme-post-content h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
	margin: 1.5em 0 .5em;
}
.single-post .elementor-widget-theme-post-content h4 {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
	margin: 1.4em 0 .5em;
}
.single-post .elementor-widget-theme-post-content p { margin: 0 0 1.15em; }
.single-post .elementor-widget-theme-post-content ul,
.single-post .elementor-widget-theme-post-content ol { margin: 0 0 1.15em; padding-left: 1.4em; }
.single-post .elementor-widget-theme-post-content li { margin-bottom: .45em; }
.single-post .elementor-widget-theme-post-content blockquote {
	border-left: 4px solid #1d4ed8;
	background: #f9fafb;
	border-radius: 0 12px 12px 0;
	margin: 1.4em 0;
	padding: 16px 22px;
	font-style: normal;
	color: #4b5563;
}
/* shared additive rules: new + legacy post bodies */
.single-post .elementor-widget-theme-post-content a:not(.hdc-btn),
[data-elementor-type="wp-post"] .elementor-widget-text-editor a:not(.hdc-btn) {
	color: #1d4ed8;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.single-post .elementor-widget-theme-post-content a:not(.hdc-btn):hover,
[data-elementor-type="wp-post"] .elementor-widget-text-editor a:not(.hdc-btn):hover { color: #1e40af; }
.single-post .elementor-widget-theme-post-content img,
[data-elementor-type="wp-post"] .elementor-widget-image img,
[data-elementor-type="wp-post"] .elementor-widget-text-editor img {
	border-radius: 12px;
	max-width: 100%;
	height: auto;
}
.single-post .elementor-widget-theme-post-content table,
[data-elementor-type="wp-post"] .elementor-widget-text-editor table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
	font-size: 15px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
}
.single-post .elementor-widget-theme-post-content th,
[data-elementor-type="wp-post"] .elementor-widget-text-editor th {
	background: #1d4ed8;
	color: #fff;
	font-weight: 600;
	text-align: left;
	padding: 10px 14px;
}
.single-post .elementor-widget-theme-post-content td,
[data-elementor-type="wp-post"] .elementor-widget-text-editor td {
	border-top: 1px solid #e5e7eb;
	padding: 10px 14px;
	vertical-align: top;
}
.single-post .elementor-widget-theme-post-content tr:nth-child(even) td,
[data-elementor-type="wp-post"] .elementor-widget-text-editor tr:nth-child(even) td { background: #f9fafb; }

/* ---- Prev/Next post navigation, brand style ---- */
.single-post .elementor-post-navigation {
	display: flex;
	gap: 16px;
	border: 0;
	padding: 8px 0 24px;
}
.single-post .elementor-post-navigation__link { flex: 1 1 0; min-width: 0; white-space: normal; }
.single-post .elementor-post-navigation__link a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.single-post .elementor-post-navigation__link a:hover {
	border-color: #1d4ed8;
	box-shadow: 0 4px 14px rgba(29, 78, 216, .10);
}
.single-post .elementor-post-navigation__next a { justify-content: flex-end; text-align: right; }
.single-post .post-navigation__prev--label,
.single-post .post-navigation__next--label {
	display: block;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 4px;
}
.single-post .post-navigation__prev--title,
.single-post .post-navigation__next--title {
	display: block;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #111827;
	transition: color .15s ease;
}
.single-post .elementor-post-navigation__link a:hover .post-navigation__prev--title,
.single-post .elementor-post-navigation__link a:hover .post-navigation__next--title { color: #1d4ed8; }
.single-post .post-navigation__arrow-wrapper {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9999px;
	background: #dbeafe;
	color: #1d4ed8;
}
.single-post .post-navigation__arrow-wrapper svg { width: 12px; height: 12px; fill: #1d4ed8; }
.single-post .elementor-post-navigation__separator-wrapper { display: none; }
@media (max-width: 640px) {
	.single-post .elementor-post-navigation { flex-direction: column; }
	.single-post .elementor-post-navigation__link { width: 100%; flex: 0 0 auto; }
	.single-post .elementor-post-navigation__link a { height: auto; }
	.single-post .elementor-post-navigation__next a { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
}

/* ---- Breadcrumbs ---- */
.hdc-breadcrumbs {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin: 0 0 20px;
}
.hdc-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 13px;
}
.hdc-crumb { display: inline-flex; align-items: center; color: #6b7280; }
.hdc-crumb:not(:last-child)::after {
	content: "›";
	margin-left: 8px;
	color: #cbd5e1;
}
.hdc-breadcrumbs a { color: #1d4ed8; text-decoration: none; }
.hdc-breadcrumbs a:hover { text-decoration: underline; }
.hdc-crumb-current { color: #111827; font-weight: 600; }
.single-post .hdc-breadcrumbs { margin-bottom: 24px; }

/* ---- Archive toolbar: search + category filter ---- */
.hdc-archive-toolbar {
	grid-column: 1 / -1;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin: 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.hdc-archive-search { display: flex; gap: 8px; max-width: 460px; width: 100%; }
.hdc-archive-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	font-family: inherit;
	font-size: 15px;
	padding: 11px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
	background: #fff;
	color: #111827;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.hdc-archive-search input[type="search"]:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.hdc-archive-search button {
	flex-shrink: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 11px 22px;
	border: 0;
	border-radius: 9999px;
	background: #1d4ed8;
	color: #fff;
	cursor: pointer;
	transition: background .15s ease;
}
.hdc-archive-search button:hover { background: #1e40af; }
.hdc-archive-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.hdc-filter-pill {
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 7px 15px;
	border-radius: 9999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #4b5563;
	text-decoration: none;
	transition: all .15s ease;
}
.hdc-filter-pill:hover { border-color: #1d4ed8; color: #1d4ed8; }
.hdc-filter-pill.is-active { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
@media (max-width: 600px) {
	.hdc-archive-search { max-width: none; }
}

/* ---- Hide the oversized "Category:" archive title on archives ----
   Kept in the DOM as an accessible + SEO H1 (visually hidden), since the
   breadcrumb and filter pills already show the category name. */
body.archive .elementor-page-title,
body.archive .elementor-widget-archive-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---- Condition hub: guide cards + FAQ ---- */
.hdc-guidecards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 8px; }
.hdc-guidecard {
	display: flex; flex-direction: column; gap: 6px;
	background: #fff; border: 1px solid var(--hdc-border); border-radius: 12px;
	padding: 18px 20px; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hdc-guidecard:hover { border-color: var(--hdc-blue); box-shadow: 0 4px 16px rgba(29,78,216,.10); transform: translateY(-2px); }
.hdc-guidecard-title { font-weight: 700; font-size: 16px; color: var(--hdc-ink); line-height: 1.35; }
.hdc-guidecard-desc { font-size: 13.5px; color: var(--hdc-gray); line-height: 1.55; }
.hdc-guidecard-arrow { font-size: 13px; font-weight: 600; color: var(--hdc-blue); margin-top: 4px; }
.hdc-faq { display: flex; flex-direction: column; gap: 4px; }
.hdc-faq-item { padding: 16px 0; border-bottom: 1px solid var(--hdc-border); }
.hdc-faq-item:last-child { border-bottom: 0; }
.hdc-faq-q { font-size: 16px; font-weight: 700; color: var(--hdc-ink); margin: 0 0 6px; }
.hdc-faq-a { font-size: 14.5px; line-height: 1.65; color: var(--hdc-gray); margin: 0; }
@media (max-width: 600px) { .hdc-guidecards { grid-template-columns: 1fr; } }

/* ---- Spoke → hub in-body link callout ---- */
.hdc-hublink, p.hdc-hublink {
	background: var(--hdc-blue-100, #dbeafe);
	border-left: 3px solid #1d4ed8;
	border-radius: 0 10px 10px 0;
	padding: 12px 18px !important;
	font-size: 15px;
	color: #1e3a8a;
	margin: 24px 0;
}
.hdc-hublink a { color: #1d4ed8; font-weight: 700; }
