/**
 * Small front-end enhancements that pair with native Elementor content.
 * Scoped to opt-in CSS classes set on containers in Elementor.
 *
 * @package AssociatedDentists
 */

/* Logged-in visitors see the WordPress toolbar, which pushes the sticky header down by its
   height (32px; 46px at 782px and below; at 600px and below it scrolls away). Sticky items and
   anchor offsets below add this. */
:root { --ad-adminbar: 0px; }
.admin-bar { --ad-adminbar: 32px; }
@media ( max-width: 782px ) {
	.admin-bar { --ad-adminbar: 46px; }
}
@media ( max-width: 600px ) {
	.admin-bar { --ad-adminbar: 0px; }
}

/* Sticky in-page jump navigation (sits below the sticky site header). */
.ad-jump-nav {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: calc( 126px + var( --ad-adminbar ) ); /* top row 44 + main header 82; the top row is hidden at 1119px and below */
	z-index: 40 !important;
	background-color: rgba( 251, 249, 246, 0.95 );
	-webkit-backdrop-filter: blur( 10px );
	backdrop-filter: blur( 10px );
}

@media ( max-width: 1119px ) {
	.ad-jump-nav {
		top: calc( 70px + var( --ad-adminbar ) );
	}
}

/* Hide the horizontal scrollbar on the links row (it scrolls on narrow screens). */
.ad-jump-row {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ad-jump-row::-webkit-scrollbar {
	display: none;
}

/* Jump links are text links, never filled buttons: transparent, one line, with a
   bottom-border indicator that assets/js/ad-jump-nav.js activates as you scroll. */
.elementor-kit-8 .ad-jump-nav .elementor-button {
	background-color: transparent;
	color: var( --e-global-color-text );
	border-bottom: 2px solid transparent;
	border-radius: 0;
	white-space: nowrap;
}

.elementor-kit-8 .ad-jump-nav .elementor-button:hover,
.elementor-kit-8 .ad-jump-nav .elementor-button:focus {
	background-color: transparent;
	color: var( --e-global-color-primary );
	border-bottom-color: var( --e-global-color-secondary );
}

.elementor-kit-8 .ad-jump-nav .elementor-button.is-active {
	color: var( --e-global-color-primary ) !important;
	border-bottom-color: var( --e-global-color-accent ) !important;
	font-weight: 700 !important;
}

/* The jump nav is a single horizontally-scrolling row: the link widgets keep
   their natural width and never shrink (otherwise the nowrap labels compress
   below their text and overlap on narrow screens). The inner row is the scroll
   container. Design: space-between on desktop; on narrow screens flex-start
   with 16px gap.
   justify-content needs !important on narrow: Elementor's per-element CSS sets
   space-between on this container and has higher specificity than our selector. */
.elementor-kit-8 .ad-jump-nav .e-con-inner {
	flex-wrap: nowrap;
	overflow-x: auto;
}

.elementor-kit-8 .ad-jump-nav .e-con-inner > * {
	flex: 0 0 auto;
}

/* Fade on right edge signals that more items are off-screen to the right.
   On desktop the items fit, so the fade is hidden when not scrollable. */
.ad-jump-nav {
	position: relative;
}

.ad-jump-nav::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 48px;
	background: linear-gradient(
		to right,
		rgba( 251, 249, 246, 0 ),
		rgba( 251, 249, 246, 0.95 )
	);
	pointer-events: none;
	z-index: 2;
}

@media ( max-width: 1119px ) {
	/* On mobile/tablet, override Elementor's space-between with flex-start so
	   items don't spread into an uneven row that still requires scrolling. */
	.elementor-kit-8 .ad-jump-nav .e-con-inner {
		justify-content: flex-start !important;
		gap: 16px;
	}
}

/* The links row scrolls sideways on narrow screens: hide its scrollbar (the right
   edge fade already signals more items). */
.elementor-kit-8 .ad-jump-nav .e-con-inner {
	scrollbar-width: none;
}

.elementor-kit-8 .ad-jump-nav .e-con-inner::-webkit-scrollbar {
	display: none;
}

/* Brand button variants. Elementor's per-widget button colour CSS is unreliable on
   this install (globals on grouped controls don't always emit), so the brand button
   variants live here, built from the same brand global variables and applied by
   class in Elementor: default = primary, .ad-btn-outline, .ad-btn-text. */
.elementor-kit-8 .elementor-button {
	background-color: var( --e-global-color-accent );
	color: var( --e-global-color-da21db90 );
}

.elementor-kit-8 .elementor-button:hover,
.elementor-kit-8 .elementor-button:focus {
	background-color: var( --e-global-color-536b3dfe );
	color: var( --e-global-color-da21db90 );
}

.elementor-kit-8 .ad-btn-outline .elementor-button {
	background-color: var( --e-global-color-da21db90 );
	color: var( --e-global-color-primary );
	border-color: var( --e-global-color-78c7cdf8 );
}

.elementor-kit-8 .ad-btn-outline .elementor-button:hover,
.elementor-kit-8 .ad-btn-outline .elementor-button:focus {
	background-color: var( --e-global-color-da21db90 );
	color: var( --e-global-color-accent );
	border-color: var( --e-global-color-secondary );
}

.elementor-kit-8 .ad-btn-text .elementor-button {
	background-color: transparent;
	color: var( --e-global-color-primary );
	border-bottom-color: var( --e-global-color-secondary );
}

.elementor-kit-8 .ad-btn-text .elementor-button:hover,
.elementor-kit-8 .ad-btn-text .elementor-button:focus {
	background-color: transparent;
	color: var( --e-global-color-primary );
	border-bottom-color: var( --e-global-color-accent );
}

/* Light outline button on dark/navy backgrounds: transparent bg, white text, white border at 45%.
   Applied via class ad-btn-lo on the button widget container. Design: btn-lo. */
.elementor-kit-8 .ad-btn-lo .elementor-button {
	background-color: transparent;
	color: #fff;
	border: 1px solid rgba( 255, 255, 255, 0.45 );
}

.elementor-kit-8 .ad-btn-lo .elementor-button:hover,
.elementor-kit-8 .ad-btn-lo .elementor-button:focus {
	background-color: rgba( 255, 255, 255, 0.1 );
	color: #fff;
	border-color: #fff;
}

/* Text link on dark/navy backgrounds: white text, white-tinted border-bottom.
   Applied via class ad-btn-text-lt on the button widget container. */
.elementor-kit-8 .ad-btn-text-lt .elementor-button {
	background-color: transparent;
	color: #fff;
	border-bottom-color: rgba( 255, 255, 255, 0.38 );
}

.elementor-kit-8 .ad-btn-text-lt .elementor-button:hover,
.elementor-kit-8 .ad-btn-text-lt .elementor-button:focus {
	background-color: transparent;
	color: var( --e-global-color-secondary );
	border-bottom-color: var( --e-global-color-secondary );
}

/* Text links with an arrow ("Get Directions ->"): the arrow slides 4px right on hover and
   keyboard focus, the same 4px as the service-page cost cards. Applies to the text-link
   classes ad-btn-text / ad-btn-text-lt, and to ad-arrow-link (motion only, for arrow links
   coloured in Elementor). No movement when the visitor asks for reduced motion. */
.elementor-kit-8 :is( .ad-btn-text, .ad-btn-text-lt, .ad-arrow-link ) .elementor-button-icon {
	transition: transform 0.2s ease;
}

.elementor-kit-8 :is( .ad-btn-text, .ad-btn-text-lt, .ad-arrow-link ) .elementor-button:is( :hover, :focus-visible ) .elementor-button-icon {
	transform: translateX( 4px );
}

@media ( prefers-reduced-motion: reduce ) {
	.elementor-kit-8 :is( .ad-btn-text, .ad-btn-text-lt, .ad-arrow-link ) .elementor-button-icon,
	.elementor-kit-8 :is( .ad-btn-text, .ad-btn-text-lt, .ad-arrow-link ) .elementor-button:is( :hover, :focus-visible ) .elementor-button-icon {
		transition: none;
		transform: none;
	}
}

/* Whole-container links (stretched link): the card's title is the real link,
   and its ::after covers the whole card so the entire box is clickable. */
.ad-cardlink {
	position: relative;
}

.ad-cardlink .elementor-heading-title,
.ad-cardlink .elementor-heading-title a {
	color: var( --e-global-color-primary );
	text-decoration: none;
}

.ad-cardlink .elementor-heading-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Elementor positions every widget wrapper and inner container (position: relative), which kept the
   stretched link above inside the title only. Let the title's wrappers fall back to the card, and keep
   any other link or button inside the card (phone link, pill) on top so it still works. */
.ad-cardlink .elementor-widget-heading:has(.elementor-heading-title a),
.ad-cardlink .e-con:not(.ad-cardlink):has(.elementor-heading-title a) {
	position: static;
}

.ad-cardlink a:not(.elementor-heading-title a) {
	position: relative;
	z-index: 2;
}

/* Anchor targets clear the sticky header + sticky jump nav when linked to. */
.elementor-kit-8 .e-con[id] {
	scroll-margin-top: calc( 194px + var( --ad-adminbar ) );
}

@media ( max-width: 1119px ) {
	.elementor-kit-8 .e-con[id] {
		scroll-margin-top: calc( 140px + var( --ad-adminbar ) );
	}
}

/* Static FAQ list (open, matching the design). Font size, family and weight come from the
   question's Global Font in Elementor (rule 17: FAQ titles = Display 4); only the colour is kept here. */
.elementor-kit-8 #faq .ad-faq-q .elementor-heading-title {
	color: var( --e-global-color-primary );
}

/* Process step connector line (design .cnode::before), circles sit on top. */
.ad-proc-node {
	position: relative;
}

.ad-proc-node::before {
	/* Elementor's own .e-con::before rule (higher specificity) resets content to
	   `normal`, which suppressed the pseudo-element entirely — hence !important
	   here. Elementor also forces container pseudo-element box dimensions, so the
	   geometry properties are forced too. */
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY( -50% );
	width: 100% !important;
	/* Match the design exactly: 1px rule in --rule (#e4ddd2). */
	height: 1px !important;
	background-color: #e4ddd2 !important;
	z-index: 0;
}

/* Process illustration tiles keep the design's 4:5 portrait proportion. */
.ad-proc-tile {
	aspect-ratio: 4 / 5;
}

.ad-proc-circle {
	position: relative;
	z-index: 1;
}

@media ( max-width: 1119px ) {
	/* Design hides the connector on tablet/mobile. !important because Elementor's
	   own .e-con::before rule (equal specificity, later in the cascade) otherwise
	   keeps the pseudo-element displayed. */
	.ad-proc-node::before {
		display: none !important;
	}

	/* Design keeps the illustration tiles and the numbered steps as a 3-column
	   grid on tablet/mobile (repeat(3,1fr)) — never a full-width single column.
	   The tiles grid is the only e-grid in #process without the steps class. */
	.elementor-kit-8 #process .e-grid:not( .ad-proc-steps ),
	.elementor-kit-8 .ad-proc-steps {
		grid-template-columns: repeat( 3, 1fr ) !important;
		gap: 26px 16px;
	}

	/* Once the connector column collapses, keep the step marker a fixed 32px
	   circle instead of letting it stretch to the full column width. */
	.ad-proc-circle {
		width: 32px !important;
		min-width: 32px;
		flex: 0 0 32px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Before/after slider: keep it compact, close to the mockup's height. */
.ad-ba-slider {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.ad-ba-slider .bafg-twentytwenty-container,
.ad-ba-slider .bafg-twentytwenty-container img {
	height: 300px !important;
}

.ad-ba-slider .bafg-twentytwenty-container img {
	object-fit: cover;
	width: 100%;
}

/* Quad icon: 2×2 coloured grid derived from the logo mark, used as a quiet
   divider between sections. Two instances lack Elementor responsive column
   settings and collapse to a single column on mobile — force 2×2 always.
   Applied via class ad-quad in Elementor's Advanced tab. */
.ad-quad {
	grid-template-columns: 5px 5px !important;
	grid-template-rows: 5px 5px !important;
	gap: 2px !important;
	width: 12px !important;
	max-width: 12px !important;
	height: 12px !important;
}

/* Strength dots row (materials section): each dot is a small coloured square.
   Elementor's e-con-full makes every child try to fill 100% of the parent, so
   on mobile each dot balloons to full column width. Fix: treat the row as a
   fixed-size flex strip and pin each dot to 9×9 px.
   Applied via class ad-str-dots in Elementor's Advanced tab. */
.ad-str-dots {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 4px !important;
	width: auto !important;
	max-width: none !important;
}

.ad-str-dots > .e-con {
	flex: 0 0 9px !important;
	width: 9px !important;
	max-width: 9px !important;
	min-width: 9px !important;
	height: 9px !important;
	min-height: 9px !important;
}

/* Video overlay styled like the design's videocard (ocher circular play button,
   soft dark tint over the poster image). */
.ad-videocard .elementor-custom-embed-image-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba( 16, 40, 50, 0.22 );
	z-index: 1;
}

.ad-videocard .elementor-custom-embed-play {
	z-index: 2;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background-color: var( --e-global-color-accent );
	display: grid;
	place-items: center;
	box-shadow: 0 10px 30px -10px rgba( 16, 40, 50, 0.6 );
	transition: background-color 0.2s, transform 0.25s;
}

.ad-videocard:hover .elementor-custom-embed-play {
	background-color: var( --e-global-color-536b3dfe );
	transform: translate( -50%, -50% ) scale( 1.07 );
}

.ad-videocard .elementor-custom-embed-play i,
.ad-videocard .elementor-custom-embed-play svg {
	width: auto;
	height: auto;
	margin-left: 3px;
	color: #fff;
	fill: #fff;
	background: none;
	opacity: 1;
	text-shadow: none;
}

/* Scroll-to-top button (created by ad-scroll-top.js). Fixed bottom-right,
   uses the brand ocher + the design's icon stroke style. Sits above the
   mobile sticky footer bar (≈64px) on small screens. */
.ad-scroll-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background-color: var( --e-global-color-accent );
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px -4px rgba( 16, 40, 50, 0.35 );
	opacity: 0;
	transform: scale( 0.8 );
	transition: opacity 0.2s, transform 0.2s, background-color 0.18s;
	pointer-events: none;
}

.ad-scroll-top.is-visible {
	opacity: 1;
	transform: scale( 1 );
	pointer-events: auto;
}

.ad-scroll-top:hover,
.ad-scroll-top:focus-visible {
	background-color: var( --e-global-color-536b3dfe );
}

.ad-scroll-top svg {
	width: 16px;
	height: 16px;
	display: block;
	flex: none;
}

/* The bottom quick-action bar shows up to 1119px (~60px tall); keep the button above it. */
@media ( max-width: 1119px ) {
	.ad-scroll-top {
		bottom: 80px;
		right: 16px;
	}
}

/* Our Dentists — Taxonomy Filter styled as the design's rounded pills.
   Approved CSS exception (Karthick, 2026-09-23): the Taxonomy Filter widget exposes no
   controls for text colour, border, radius or padding, so the pill styling lives here.
   Values taken from Our Dentists.dc.html. Counts are not shown (widget cannot output them). */
.elementor-kit-8 .ad-filter-pills .e-filter {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.elementor-kit-8 .ad-filter-pills .e-filter-item {
	background-color: var( --e-global-color-da21db90 );
	color: var( --e-global-color-primary );
	border: 1px solid var( --e-global-color-78c7cdf8 );
	border-radius: 999px;
	padding: 14px 24px;
	font-family: var( --e-global-typography-accent-font-family ), sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.elementor-kit-8 .ad-filter-pills .e-filter-item:hover,
.elementor-kit-8 .ad-filter-pills .e-filter-item:focus-visible {
	border-color: var( --e-global-color-secondary );
	color: var( --e-global-color-accent );
}
.elementor-kit-8 .ad-filter-pills .e-filter-item[aria-pressed="true"] {
	background-color: var( --e-global-color-accent );
	color: var( --e-global-color-da21db90 );
	border-color: transparent;
}

/* Button widget line box (approved 2026-09-24). Elementor renders the button as an
   inline-block inside the widget, which then sits in a body-line-height line box and
   drops small text-link buttons 8px lower than the design (where .tlink is a flex item).
   A zero line-height on the widget wrapper removes that extra box; the button keeps
   its own line-height from the kit. */
.elementor-kit-8 .elementor-widget-button {
	line-height: 0;
}

/* Office cards: the "Dentists here:" label is navy in the design (approved 2026-09-24).
   Class ad-office-dentists on the Text Editor; the Text Editor has no bold-colour control. */
.elementor-kit-8 .ad-office-dentists b,
.elementor-kit-8 .ad-office-dentists strong {
	color: var( --e-global-color-primary );
}

/* Bold lead-in labels in Ink (Strong Text), e.g. Careers "Why work here" list
   ("<b>Two modern offices:</b> …"). Class ad-bold-ink on the Text Editor (approved 2026-09-24). */
.elementor-kit-8 .ad-bold-ink b,
.elementor-kit-8 .ad-bold-ink strong {
	color: var( --e-global-color-d68b0057 );
}

/* Rank Math breadcrumb, page header template (approved 2026-09-24). Design: items 8px apart,
   "Home" in the muted breadcrumb colour at normal weight, current page navy. */
.elementor-kit-8 .rank-math-breadcrumb p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px; /* 4px between wrapped lines (Job Details design) */
	margin: 0;
}
.elementor-kit-8 .rank-math-breadcrumb a {
	color: inherit;
	font-weight: inherit;
}
.elementor-kit-8 .rank-math-breadcrumb a:hover,
.elementor-kit-8 .rank-math-breadcrumb a:focus-visible {
	color: var( --e-global-color-accent );
}
.elementor-kit-8 .rank-math-breadcrumb .last {
	color: var( --e-global-color-primary );
}

/* Long-form text pages (legal, policy, Service Index, Site Map): Text Editor widget with class
   ad-prose. Same rhythm and colours as the blog article text (.ad-blog-prose); section headings
   one step down from the kit's display H2/H3 so long documents stay readable. */
.elementor-kit-8 .ad-prose p { margin: 0 0 18px; }
.elementor-kit-8 .ad-prose > .elementor-widget-container > :first-child,
.elementor-kit-8 .ad-prose > :first-child { margin-top: 0; }
.elementor-kit-8 .ad-prose h2,
.elementor-kit-8 .ad-prose h3,
.elementor-kit-8 .ad-prose h4 {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-ad0d4h4-font-family ), Georgia, serif;
	letter-spacing: -0.015em;
	text-wrap: balance;
	scroll-margin-top: 140px;
}
.elementor-kit-8 .ad-prose h2 {
	margin: 44px 0 14px;
	font-size: var( --e-global-typography-ad0d3h3-font-size );
	font-weight: 600;
	line-height: 1.2;
}
.elementor-kit-8 .ad-prose h3 { margin: 34px 0 12px; font-size: 1.25em; font-weight: 600; line-height: 1.35; }
.elementor-kit-8 .ad-prose h4 { margin: 26px 0 8px; font-size: 1.06em; font-weight: 600; line-height: 1.4; }
.elementor-kit-8 .ad-prose ul,
.elementor-kit-8 .ad-prose ol { margin: 0 0 18px; padding-left: 1.4em; }
.elementor-kit-8 .ad-prose ul { list-style: disc; }
.elementor-kit-8 .ad-prose ol { list-style: decimal; }
.elementor-kit-8 .ad-prose li { margin: 0 0 6px; }
.elementor-kit-8 .ad-prose li::marker { color: var( --e-global-color-secondary ); }
.elementor-kit-8 .ad-prose strong { font-weight: 700; color: var( --e-global-color-d68b0057 ); }
.elementor-kit-8 .ad-prose a {
	color: var( --e-global-color-primary );
	text-decoration: underline;
	text-decoration-color: var( --e-global-color-secondary );
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.elementor-kit-8 .ad-prose a:hover,
.elementor-kit-8 .ad-prose a:focus-visible { color: var( --e-global-color-accent ); text-decoration-color: var( --e-global-color-accent ); }
.elementor-kit-8 .ad-prose .ad-template-block {
	padding: 20px 24px;
	background: var( --e-global-color-144d3d33 );
	border: 1px solid var( --e-global-color-78c7cdf8 );
	border-radius: 10px;
	font-size: 0.94em;
}

/* WP Sitemap Page plugin output on the Site Map page. */
.elementor-kit-8 .ad-prose .wsp-container h2 { margin-top: 36px; }
.elementor-kit-8 .ad-prose .wsp-container ul ul { margin: 6px 0 6px; }

/* Video popup size (approved by Karthick 2026-11-06).
   Elementor removed the Video widget's lightbox width control, so popups
   filled 85% of the screen (1224x689 at 1440). From 768px up the popup is
   now at most 860px wide for 16:9 videos and 600px for square videos, with
   the page visible around it. Phones keep Elementor's full-width popup.
   The video's frame is sized to the video (2026-11-11) so a click on the
   dark area beside the video closes the popup. */
@media (min-width: 768px) {
	body .elementor-lightbox .elementor-video-container {
		width: auto;
	}
	body .elementor-lightbox .elementor-video-container .elementor-video-landscape {
		width: min( 860px, 85vw );
		max-height: 85vh;
	}
	body .elementor-lightbox .elementor-video-container .elementor-video-square iframe,
	body .elementor-lightbox .elementor-video-container .elementor-video-square video {
		width: min( 600px, 80vh, 90vw );
		height: min( 600px, 80vh, 90vw );
	}
}

/* ==========================================================================
   Pages written in the normal editor (body class "ad-plain-page", added by inc/plain-pages.php).
   Elementor pages are not affected. Same look as the long-form text pages (.ad-prose) and the
   blog article text: reading width 860 inside the 1184 page width, section spacing 80 / 64 / 40,
   sides 48 / 32 / 20, title = Display 2 (plain-header H1).
   ========================================================================== */
html body.ad-plain-page .site-main {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px; /* 1184 of content + the 48px sides; beats Hello's own .site-main width */
	margin: 0 auto;
	padding: 80px 48px;
}
body.ad-plain-page .page-header,
body.ad-plain-page .page-content { max-width: 860px; }
body.ad-plain-page .page-header .entry-title {
	margin: 0 0 32px;
	padding: 0; /* Hello adds 10px sides on phones; keep the title on the text's left edge */
	width: auto;
	max-width: none;
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-secondary-font-family ), Georgia, serif;
	font-size: var( --e-global-typography-secondary-font-size );
	font-weight: var( --e-global-typography-secondary-font-weight );
	line-height: var( --e-global-typography-secondary-line-height );
	letter-spacing: -0.015em;
	text-wrap: balance;
}
body.ad-plain-page .page-content > :first-child { margin-top: 0; }
body.ad-plain-page .page-content > :last-child { margin-bottom: 0; }
body.ad-plain-page .page-content p { margin: 0 0 18px; }
body.ad-plain-page .page-content h2,
body.ad-plain-page .page-content h3,
body.ad-plain-page .page-content h4 {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-ad0d4h4-font-family ), Georgia, serif;
	letter-spacing: -0.015em;
	text-wrap: balance;
	scroll-margin-top: 140px;
}
body.ad-plain-page .page-content h2 {
	margin: 44px 0 14px;
	font-size: var( --e-global-typography-ad0d3h3-font-size );
	font-weight: 600;
	line-height: 1.2;
}
body.ad-plain-page .page-content h3 { margin: 34px 0 12px; font-size: 1.25em; font-weight: 600; line-height: 1.35; }
body.ad-plain-page .page-content h4 { margin: 26px 0 8px; font-size: 1.06em; font-weight: 600; line-height: 1.4; }
body.ad-plain-page .page-content ul,
body.ad-plain-page .page-content ol { margin: 0 0 18px; padding-left: 1.4em; }
body.ad-plain-page .page-content ul { list-style: disc; }
body.ad-plain-page .page-content ol { list-style: decimal; }
body.ad-plain-page .page-content li { margin: 0 0 6px; }
body.ad-plain-page .page-content li::marker { color: var( --e-global-color-secondary ); }
body.ad-plain-page .page-content strong { font-weight: 700; color: var( --e-global-color-d68b0057 ); }
body.ad-plain-page .page-content a:not( .wp-element-button ) {
	color: var( --e-global-color-primary );
	text-decoration: underline;
	text-decoration-color: var( --e-global-color-secondary );
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
body.ad-plain-page .page-content a:not( .wp-element-button ):hover { text-decoration-color: var( --e-global-color-accent ); }
body.ad-plain-page .page-content img { max-width: 100%; height: auto; border-radius: 14px; }
body.ad-plain-page .page-content figure { margin: 0 0 24px; }
body.ad-plain-page .page-content figcaption {
	margin-top: 8px;
	color: var( --e-global-color-c0a87a6c );
	font-size: 13px;
	line-height: 1.5;
}
body.ad-plain-page .page-content hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var( --e-global-color-78c7cdf8 );
}
body.ad-plain-page .page-content blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var( --e-global-color-secondary );
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-ad0quote-font-family ), Georgia, serif;
	font-size: var( --e-global-typography-ad0quote-font-size );
	line-height: 1.5;
}
body.ad-plain-page .page-content blockquote p { margin: 0 0 8px; }
body.ad-plain-page .page-content blockquote cite {
	display: block;
	color: var( --e-global-color-c0a87a6c );
	font-family: var( --e-global-typography-text-font-family ), sans-serif;
	font-size: 14px;
	font-style: normal;
}
body.ad-plain-page .page-content .wp-block-table { margin: 0 0 24px; overflow-x: auto; }
body.ad-plain-page .page-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
body.ad-plain-page .page-content .wp-block-table table { margin: 0; }
body.ad-plain-page .page-content th,
body.ad-plain-page .page-content td {
	padding: 12px 14px;
	border: 1px solid var( --e-global-color-78c7cdf8 );
	background: transparent;
	text-align: left;
	vertical-align: top;
}
body.ad-plain-page .page-content th {
	background: var( --e-global-color-144d3d33 );
	color: var( --e-global-color-primary );
	font-weight: 600;
}
body.ad-plain-page .page-content .wp-block-buttons { margin: 28px 0; gap: 12px; }
body.ad-plain-page .page-content .wp-element-button,
body.ad-plain-page .page-content .wp-block-button__link {
	padding: 17px 29px;
	border: 0;
	border-radius: 999px;
	background: var( --e-global-color-accent );
	color: var( --e-global-color-da21db90 );
	font-family: var( --e-global-typography-accent-font-family ), sans-serif;
	font-size: var( --e-global-typography-accent-font-size );
	font-weight: var( --e-global-typography-accent-font-weight );
	line-height: 1;
	text-decoration: none;
}
body.ad-plain-page .page-content .wp-element-button:hover,
body.ad-plain-page .page-content .wp-block-button__link:hover {
	background: var( --e-global-color-536b3dfe );
	color: var( --e-global-color-da21db90 );
}
@media ( max-width: 1119px ) {
	html body.ad-plain-page .site-main { padding: 64px 32px; }
}
@media ( max-width: 719px ) {
	html body.ad-plain-page .site-main { padding: 40px 20px; }
	body.ad-plain-page .page-header .entry-title { margin-bottom: 24px; }
}

