/* Blog post (single post template) — approved 2026-09-25 (scoped stylesheet, like job-details.css).
   Values from design-files-approved/location_blog/Blog Post - Associated Dentists.html (.prose, .panel).
   The article text is the post's own WordPress-editor content (Post Content widget, class ad-blog-prose),
   which Elementor can only style as one block. Colours and fonts come from the Elementor kit globals.
   Two-class selectors so the rules outrank the kit's element rules (.elementor-kit-8 h2 / p / a). */

/* ---- article text (design .prose: p 0 0 18px, h3 34px 0 12px, h + p 18px) ---- */
.ad-blog-prose .elementor-widget-container > :first-child,
.ad-blog-prose > :first-child { margin-top: 0; }
.ad-blog-prose p { margin: 0 0 18px; }
.ad-blog-prose h2,
.ad-blog-prose h3,
.ad-blog-prose h4 {
	margin: 34px 0 12px;
	font-family: var(--e-global-typography-ad0d4h4-font-family, "Roboto Serif Variable"), Georgia, serif;
	font-size: 1.17em;               /* design: h3 at the browser default (19.89px on 17px text) */
	font-weight: 600;
	line-height: 1.75;
	letter-spacing: -.015em;
	color: var(--e-global-color-primary, #174a5d);
	text-wrap: balance;
}
.ad-blog-prose h2 + p,
.ad-blog-prose h3 + p,
.ad-blog-prose h4 + p { margin-top: 18px; }
.ad-blog-prose ul,
.ad-blog-prose ol { margin: 1em 0; padding-left: 40px; }
.ad-blog-prose ul { list-style: disc; }
.ad-blog-prose ol { list-style: decimal; }
.ad-blog-prose li { margin: 0; text-wrap: pretty; }
.ad-blog-prose strong,
.ad-blog-prose b { font-weight: 700; }

/* links in the text: navy with a sand underline (design .tlink colours); not in the design, flagged */
.ad-blog-prose a {
	color: var(--e-global-color-primary, #174a5d);
	text-decoration: underline;
	text-decoration-color: var(--e-global-color-secondary, #d7a569);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.ad-blog-prose a:hover { text-decoration-color: var(--e-global-color-accent, #b8782e); }

/* images in older posts (WordPress alignment classes) */
.ad-blog-prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 0 0 18px; }
.ad-blog-prose .alignright { float: right; margin: 6px 0 18px 26px; max-width: 45%; }
.ad-blog-prose .alignleft { float: left; margin: 6px 26px 18px 0; max-width: 45%; }
.ad-blog-prose .aligncenter { display: block; margin: 0 auto 18px; }
.ad-blog-prose .elementor-widget-container::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) {
	.ad-blog-prose .alignright,
	.ad-blog-prose .alignleft { float: none; margin: 0 0 18px; max-width: 100%; }
}

/* ---- Summary box: hidden when the post has no Excerpt (Elementor then skips the text widget, and
   Display Conditions cannot test the excerpt); the bold "Summary:" label in Navy (no bold colour control) ---- */
.e-con.ad-post-summary:not(:has(.elementor-widget)) { display: none; }
.ad-post-summary b,
.ad-post-summary strong { color: var(--e-global-color-primary, #174a5d); font-weight: 700; }

/* ---- featured image: design aspect-ratio 16/8 (the Image widget has no ratio control) ---- */
.ad-post-hero img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
