/**
 * Block-theme layout fixes so Genesis CSS still applies.
 * Keep header + InnerBanner full-bleed at the top of the viewport.
 */

/*
 * Kill horizontal page scroll. 100vw + calc(50% - 50vw) breakouts are wider
 * than the visible viewport when a vertical scrollbar is present.
 */
html {
	overflow-x: clip;
	max-width: 100%;
}
body {
	overflow-x: clip;
	max-width: 100%;
}
.wp-site-blocks,
.rtr-site-container,
.site-container {
	overflow-x: clip;
}

/* Kill FSE root padding / block gap that insets the whole page */
.wp-site-blocks {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

/* Front page only: desktop white logo vs compact mobile logo-2 (viewport, not UA). */
.rtr-logo--home-mobile {
	display: none;
}
@media only screen and (max-width: 1023px) {
	.home .rtr-logo--home-desktop,
	.front-page .rtr-logo--home-desktop {
		display: none !important;
	}
	.home .rtr-logo--home-mobile,
	.front-page .rtr-logo--home-mobile {
		display: block !important;
	}
}

.wp-site-blocks.has-global-padding {
	padding: 0 !important;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks > .site-container,
.wp-site-blocks > .wp-block-group.site-container,
.wp-block-group.site-container,
.rtr-site-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

/* Full-bleed top chrome (header + InnerBanner) */
.rtr-top-chrome,
.wp-block-group.rtr-top-chrome,
.rtr-top-chrome.alignfull {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	left: auto;
	right: auto;
}

/* Parents are already full-width — avoid 100vw (causes horizontal scroll). */
body:not(.home):not(.front-page) .rtr-top-chrome {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body:not(.home):not(.front-page) .Mobile-Header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
}

/*
 * Do NOT set top:0 on site-header — absolute + top:auto keeps the static
 * position below the language bar (production behavior). top:0 jammed the
 * logo up under the orange strip.
 */
body:not(.home):not(.front-page) header.site-header {
	position: absolute !important;
	left: 0;
	width: 100% !important;
	max-width: none !important;
	background: transparent !important;
	z-index: 9;
}

/*
 * Sticky / fixed header — MOBILE ONLY (Genesis: inside @media max-width:1023px).
 * site-chrome.js also skips adding .sticky above that breakpoint.
 */
@media (max-width: 1023px) {
	.Mobile-Header.sticky,
	body:not(.home):not(.front-page) .Mobile-Header.sticky,
	.home .Mobile-Header.sticky,
	.front-page .Mobile-Header.sticky {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		z-index: 999;
	}

	.Mobile-Header.sticky header.site-header,
	.home .Mobile-Header.sticky header.site-header,
	.front-page .Mobile-Header.sticky header.site-header,
	body:not(.home):not(.front-page) .Mobile-Header.sticky header.site-header,
	body.single-post .Mobile-Header.sticky header.site-header {
		position: relative !important;
		left: auto;
		top: auto;
		width: 100% !important;
		max-width: none !important;
		min-height: 90px !important;
		max-height: 90px;
		background: url('/wp-content/uploads/2026/05/Background-1-2.webp') center / cover no-repeat !important;
		z-index: 9;
	}

	.Mobile-Header.sticky header.site-header .wrap,
	body.single-post .Mobile-Header.sticky header.site-header .wrap {
		padding-top: 0.6em !important;
		padding-bottom: 0.6em !important;
		max-height: none;
		min-height: 0;
		height: auto;
	}

	.Mobile-Header.sticky .title-area,
	body.single-post .Mobile-Header.sticky .title-area {
		min-height: 0 !important;
		padding-top: 0;
		top: 0;
	}

	.Mobile-Header.sticky .title-area img,
	body.single-post .Mobile-Header.sticky .title-area img {
		max-height: 50px;
		max-width: 89%;
		width: auto;
	}

	/*
	 * Sticky Call/Email: flush under the fixed logo bar (top:100%), full width.
	 * bottom:-15px overlapped the logo; 100vw + calc(-50vw + 50%) margins
	 * misaligned once the parent was position:fixed.
	 */
	.Mobile-Header.sticky .AfterheaderContainer.Mobile,
	.home .Mobile-Header.sticky .AfterheaderContainer.Mobile,
	.front-page .Mobile-Header.sticky .AfterheaderContainer.Mobile,
	.single-post .Mobile-Header.sticky .AfterheaderContainer.Mobile,
	.sticky .AfterheaderContainer.Mobile {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		top: 100% !important;
		bottom: auto !important;
		transform: none !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: none !important;
		z-index: 10;
		box-sizing: border-box;
	}

	.Mobile-Header.sticky .AfterheaderContainer.Mobile .widget,
	.Mobile-Header.sticky .AfterheaderContainer.Mobile .widget-wrap,
	.Mobile-Header.sticky .AfterheaderContainer.Mobile .textwidget {
		margin: 0 !important;
		padding: 0 !important;
		width: 100%;
		max-width: none;
	}

	.Mobile-Header.sticky .AfterheaderContainer.Mobile .textwidget {
		display: flex;
		width: 100%;
	}

	.Mobile-Header.sticky .AfterheaderContainer .call-div,
	.Mobile-Header.sticky .AfterheaderContainer .email-div {
		float: none;
		flex: 1 1 50%;
		width: 50%;
		max-width: 50%;
		box-sizing: border-box;
	}

	/*
	 * Open mobile nav must paint ABOVE Call/Email CTAs.
	 * Nav lives inside header; CTAs are a sibling .AfterheaderContainer.
	 * Sticky had header z-index:9 < CTA z-index:10 — menu slid under the bar.
	 */
	.Mobile-Header header.site-header,
	.home .Mobile-Header header.site-header,
	.front-page .Mobile-Header header.site-header,
	.Mobile-Header.sticky header.site-header {
		z-index: 1000 !important;
	}

	.Mobile-Header .AfterheaderContainer.Mobile,
	.home .Mobile-Header .AfterheaderContainer.Mobile,
	.front-page .Mobile-Header .AfterheaderContainer.Mobile,
	.Mobile-Header.sticky .AfterheaderContainer.Mobile,
	.sticky .AfterheaderContainer.Mobile {
		z-index: 10 !important;
	}

	nav#genesis-nav-primary,
	.Mobile-Header nav#genesis-nav-primary,
	.home nav#genesis-nav-primary,
	.front-page nav#genesis-nav-primary {
		/* Above hamburger so the open panel is never tucked under the icon */
		z-index: 1003 !important;
		/* Full-bleed so Call/Email cannot peek beside the open menu */
		left: 50% !important;
		right: auto !important;
		width: 100vw !important;
		max-width: 100vw !important;
		transform: translateX(-50%);
		box-sizing: border-box;
	}

	/* Below open nav; still above CTAs. Toggle sits in the header row
	   above the panel top, so close remains clickable. */
	button#mobile-genesis-nav-primary {
		z-index: 1002 !important;
	}
}

body:not(.home):not(.front-page) section.InnerBanner {
	display: block;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box;
}

/*
 * Mobile / tablet InnerBanner sizing.
 * - Kill desktop padding leakage
 * - Fixed hero height; headline sits in the middle band under the logo
 * - CTA is pinned to InnerBanner bottom separately (see additional-custom) —
 *   do NOT stretch header .wrap to hero height (that dropped CTA below the banner)
 */
@media only screen and (max-width: 1023px) {
	body:not(.home):not(.front-page) section.InnerBanner,
	section.InnerBanner {
		padding: 0 !important;
		display: flex !important;
		align-items: stretch;
		justify-content: center;
		overflow: hidden;
		background-size: cover !important;
		background-position: center !important;
		min-height: 400px !important;
		height: 400px !important;
		max-height: 400px !important;
	}

	section.InnerBanner > .wrap {
		width: 100%;
		max-width: 100% !important;
		padding: 6.5em 1em 3.75em; /* clear logo; keep headline above CTA strip */
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	section.InnerBanner .Text-Div,
	section.InnerBanner #custom_html-3,
	section.InnerBanner #custom_html-3 .Text-Div {
		margin: 0 auto !important;
		padding-top: 0 !important;
		max-width: 100%;
		width: 100%;
		text-align: center;
	}

	/* Match genesis-child tablet InnerBanner Heading-Div */
	section.InnerBanner .Text-Div .Heading-Div {
		font-size: 0.75em;
		display: inline-block;
		max-width: 100%;
	}

	section.InnerBanner {
		font-size: 3.5vw;
	}

	/* Slightly above genesis 0.7 so wrapped H1 lines don't collide */
	section.InnerBanner .Heading1,
	section.InnerBanner .Heading2,
	section.InnerBanner .Heading3 {
		line-height: 0.85 !important;
	}
}

@media (max-width: 500px) {
	body:not(.home):not(.front-page) section.InnerBanner,
	section.InnerBanner {
		min-height: 340px !important;
		height: 340px !important;
		max-height: 340px !important;
	}

	section.InnerBanner > .wrap {
		padding: 5.75em 0.75em 3.25em;
	}

	/* genesis-child small-phone Heading-Div */
	section.InnerBanner .Text-Div .Heading-Div {
		font-size: 0.62em;
	}
}

/*
 * Home mobile chrome = genesis production:
 * Language bar in normal flow → Banner starts below it → absolute transparent
 * header (logo/MENU + Call/Email) overlays the hallway photo.
 * Do NOT absolutely position the whole Mobile-Header (that pulled Banner to y=0
 * under the language bar and shifted the cover crop).
 * Do NOT force background-position/size — additional-custom owns PNG/bottom vs
 * webp/center. Banner padding-top: 480 mid / 400 ≤550.
 */
@media only screen and (max-width: 1023px) {
	.home .Mobile-Header:not(.sticky),
	.front-page .Mobile-Header:not(.sticky) {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		z-index: 99;
	}

	.home .Mobile-Header:not(.sticky) header.site-header,
	.front-page .Mobile-Header:not(.sticky) header.site-header {
		position: absolute !important;
		left: 0 !important;
		top: auto !important;
		width: 100% !important;
		background: transparent !important;
		background-image: none !important;
		z-index: 999;
		min-height: 90px !important;
		padding: 0 !important;
		font-size: 3.3vw;
	}

	.home .Mobile-Header:not(.sticky) header.site-header .wrap,
	.front-page .Mobile-Header:not(.sticky) header.site-header .wrap {
		padding: 0 !important;
		position: relative;
	}

	/*
	 * Compact logo-2 is shorter than the old stacked white mark — padding-top:5px
	 * left it hugging the language bar while MENU stays at top:35px. Match MENU.
	 */
	.home .Mobile-Header:not(.sticky) header.site-header .title-area,
	.front-page .Mobile-Header:not(.sticky) header.site-header .title-area {
		float: left;
		text-align: left;
		padding-top: 35px;
		min-height: 0;
		max-width: 17em;
		position: relative;
		z-index: 999;
	}

	.home .Mobile-Header:not(.sticky) header.site-header .title-area img,
	.front-page .Mobile-Header:not(.sticky) header.site-header .title-area img,
	.home .Mobile-Header:not(.sticky) header.site-header .title-area .rtr-logo--home-mobile,
	.front-page .Mobile-Header:not(.sticky) header.site-header .title-area .rtr-logo--home-mobile {
		width: auto;
		max-width: 195px;
		height: 45px;
		display: block;
	}

	.home .Mobile-Header:not(.sticky) button#mobile-genesis-nav-primary,
	.front-page .Mobile-Header:not(.sticky) button#mobile-genesis-nav-primary {
		position: absolute;
		top: 35px;
		right: 0;
		transform: none;
	}

	/*
	 * CTAs inside header.wrap on front (chrome.php). Relative + bottom:-20px
	 * matches additional-custom / production.
	 */
	.home .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		bottom: -20px !important;
		transform: none !important;
		margin-left: calc(-50vw + 50%) !important;
		margin-right: calc(-50vw + 50%) !important;
		width: 100vw !important;
		max-width: 100vw !important;
		z-index: 10;
		box-sizing: border-box;
		font-size: 3.6vw;
		clear: both;
	}

	.home .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .widget,
	.home .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .widget-wrap,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .widget,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .widget-wrap {
		margin: 0 !important;
		padding: 0 !important;
		width: 100%;
		max-width: none;
	}

	.home .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .textwidget,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .textwidget {
		display: flex;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.home .Mobile-Header:not(.sticky) .AfterheaderContainer .call-div,
	.home .Mobile-Header:not(.sticky) .AfterheaderContainer .email-div,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer .call-div,
	.front-page .Mobile-Header:not(.sticky) .AfterheaderContainer .email-div {
		float: none;
		flex: 1 1 50%;
		width: 50%;
		max-width: 50%;
		box-sizing: border-box;
	}

	.home section.Banner,
	.front-page section.Banner {
		position: relative;
		box-sizing: border-box;
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		padding-top: 480px !important;
		padding-bottom: 2.25em !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		display: block;
	}

	.home section.Banner > .wrap,
	.front-page section.Banner > .wrap {
		width: 100%;
		max-width: 94%;
		margin-left: auto;
		margin-right: auto;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

@media (min-width: 350px) and (max-width: 1023px) {
	.home section.Banner,
	.front-page section.Banner {
		padding-top: 480px !important;
	}
}

@media (max-width: 550px) {
	.home section.Banner,
	.front-page section.Banner {
		padding-top: 400px !important;
		padding-bottom: 1.75em !important;
	}
}

/* Inner pages: clear the CTA strip that sits on the banner bottom edge */
body:not(.home):not(.front-page) .rtr-top-chrome + .site-inner,
body:not(.home):not(.front-page) .wp-block-group.site-inner {
	padding-top: 40px;
}
@media only screen and (max-width: 1023px) {
	body:not(.home):not(.front-page) .rtr-top-chrome + .site-inner,
	body:not(.home):not(.front-page) .wp-block-group.site-inner {
		padding-top: 36px;
	}
}

/*
 * Blog shells (single / category / Peek blog).
 * Desktop: full-bleed (Bootstrap #main-wrap outside the 94% .site-inner constraint).
 * Mobile/tablet: restore Genesis side gutters — style-rtr 94%/3%, ≤580px 90%/5%.
 */
@media (min-width: 1024px) {
	.single-post .site-inner,
	.single-post .wp-block-group.site-inner,
	.category .site-inner,
	.category .wp-block-group.site-inner,
	.archive .site-inner,
	.archive .wp-block-group.site-inner,
	.page-template-PeekBlogTemplate .site-inner,
	.page-template-page-blog .site-inner,
	.page-template-templates-page-blog-html .site-inner {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		float: none;
	}
}

@media (max-width: 1023px) {
	.single-post .site-inner,
	.single-post .wp-block-group.site-inner,
	.category .site-inner,
	.category .wp-block-group.site-inner,
	.archive .site-inner,
	.archive .wp-block-group.site-inner,
	.page-template-PeekBlogTemplate .site-inner,
	.page-template-page-blog .site-inner,
	.page-template-templates-page-blog-html .site-inner {
		max-width: 94% !important;
		width: auto !important;
		margin-left: 3% !important;
		margin-right: 3% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		float: none;
		box-sizing: border-box;
	}
}

@media (max-width: 580px) {
	.single-post .site-inner,
	.single-post .wp-block-group.site-inner,
	.category .site-inner,
	.category .wp-block-group.site-inner,
	.archive .site-inner,
	.archive .wp-block-group.site-inner,
	.page-template-PeekBlogTemplate .site-inner,
	.page-template-page-blog .site-inner,
	.page-template-templates-page-blog-html .site-inner {
		max-width: 90% !important;
		margin-left: 5% !important;
		margin-right: 5% !important;
	}
}

/*
 * Blog archives already get .content { padding-top:50px } from blog_inc
 * (Genesis parity). Extra site-inner top pad + shortcode <p> spacers pushed
 * Firm News / Legal Insights too far below the CTA on mobile.
 */
body.category .rtr-top-chrome + .site-inner,
body.category .wp-block-group.site-inner,
body.archive .rtr-top-chrome + .site-inner,
body.archive .wp-block-group.site-inner,
.page-template-PeekBlogTemplate .rtr-top-chrome + .site-inner,
.page-template-PeekBlogTemplate .wp-block-group.site-inner,
.page-template-page-blog .rtr-top-chrome + .site-inner,
.page-template-page-blog .wp-block-group.site-inner,
.page-template-templates-page-blog-html .rtr-top-chrome + .site-inner,
.page-template-templates-page-blog-html .wp-block-group.site-inner {
	padding-top: 0 !important;
}

.single-post main.content,
.category main.content,
.page-template-PeekBlogTemplate main.content,
.page-template-page-blog main.content {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

/* Collapse BOM/whitespace-only paragraphs WordPress injects around shortcodes */
body.category main.content > p:first-child,
body.archive main.content > p:first-child,
.page-template-page-blog main.content > p:first-child,
.page-template-PeekBlogTemplate main.content > p:first-child,
.page-template-templates-page-blog-html main.content > p:first-child {
	display: none;
}

/*
 * Single blog posts: short header-hero (no InnerBanner).
 * Extracted from production computed styles on header.site-header.
 */
.single-post .rtr-top-chrome + .site-inner,
.single-post .wp-block-group.site-inner {
	padding-top: 0 !important;
}

/* Beat body:not(.home):not(.front-page) header.site-header { background: transparent } */
body.single-post:not(.home):not(.front-page) header.site-header,
body.single-post header.site-header {
	display: block;
	position: absolute !important;
	left: 0;
	top: auto;
	width: 100% !important;
	max-width: none !important;
	z-index: 9;
	background: url('/wp-content/uploads/2026/05/Background-1-2.webp') center / cover no-repeat !important;
}

.single-post #main-wrap {
	padding-top: 200px !important;
}

@media only screen and (max-width: 1023px) {
	.single-post #main-wrap {
		padding-top: 100px !important;
	}

	/*
	 * Single-post Call/Email CTAs: header is absolute so AfterheaderContainer
	 * sat under it (z-index 10 vs 1000) and was invisible. Pull header into
	 * flow inside .Mobile-Header, hang CTAs at top:100% like sticky/archive.
	 */
	.single-post .Mobile-Header:not(.sticky) {
		overflow: visible;
	}

	.single-post .Mobile-Header:not(.sticky) header.site-header,
	body.single-post .Mobile-Header:not(.sticky) header.site-header {
		position: relative !important;
		left: auto;
		top: auto;
		width: 100% !important;
		max-width: none !important;
		min-height: 90px !important;
		max-height: 90px;
		z-index: 9;
	}

	.single-post .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile,
	body.single-post .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		top: 100% !important;
		bottom: auto !important;
		transform: none !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: none !important;
		z-index: 10;
		box-sizing: border-box;
	}

	.single-post .Mobile-Header:not(.sticky) .AfterheaderContainer.Mobile .textwidget {
		display: flex;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.single-post .Mobile-Header:not(.sticky) .AfterheaderContainer .call-div,
	.single-post .Mobile-Header:not(.sticky) .AfterheaderContainer .email-div {
		float: none;
		flex: 1 1 50%;
		width: 50%;
		max-width: 50%;
		box-sizing: border-box;
	}
}

/* Home hero also full bleed */
.home .site-inner,
.home .wp-block-group.site-inner,
.front-page .site-inner {
	padding: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.home .content-sidebar-wrap,
.home .wp-block-group.content-sidebar-wrap,
.home main.content,
.home .wp-block-post-content,
.home section.Banner {
	max-width: none !important;
	width: 100% !important;
	float: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* Desktop home: logo overlays Banner. Mobile uses stacked chrome above. */
@media (min-width: 1024px) {
	.home header.site-header,
	.front-page header.site-header {
		position: absolute;
		width: 100%;
		z-index: 9;
	}

	/*
	 * Front-page logo was a hair low vs Genesis (wrap 20px + title 10px under the
	 * lang strip). Tighten desktop home padding so the mark sits higher.
	 */
	.home header.site-header > .wrap,
	.front-page header.site-header > .wrap {
		padding-top: 10px;
		padding-bottom: 20px;
	}

	.home header.site-header .title-area,
	.front-page header.site-header .title-area {
		padding-top: 0;
		padding-bottom: 10px;
	}

	/*
	 * Phone icon → number gap. Base margin is 0.1em; additional-custom rotates
	 * the icon -19deg which collapses the visual gap to ~0. Restore separation.
	 */
	.widget-area.header-widget-area section#custom_html-4 a img,
	section#custom_html-4 a img {
		margin-right: 0.4em !important;
		margin-left: 0.05em;
		vertical-align: middle;
	}

	/* RTR keeps #mobile-genesis-nav-primary on desktop (header-widget margin-right:8em). */
}

/*
 * Language bar: full viewport width (must sit outside header > .wrap).
 * Production: ~32px tall strip, flags centered in inner .wrap.
 */
.header-top-language-switcher {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0.35em 0;
	box-sizing: border-box;
	position: relative;
	z-index: 100;
	left: auto;
	right: auto;
	/* Match production: inherit body > div (~18px), not a forced 14px. */
	font-size: 18px;
	line-height: 1.2;
}

.header-top-language-switcher a {
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
	color: #fff;
}

.header-top-language-switcher img {
	width: 16px;
	height: 11px;
	vertical-align: middle;
}

.header-top-language-switcher ul,
.header-top-language-switcher .pll-lang-list {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
}

.header-top-language-switcher li {
	display: list-item;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: 1.25;
}

/* Beat .site-inner, .wrap { max-width: 94% } so flags stay in a normal centered row */
.header-top-language-switcher .wrap {
	display: flex !important;
	flex-direction: row-reverse;
	justify-content: center;
	align-items: center;
	gap: 10px;
	max-width: 1280px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}

/* Footer widgets */
#genesis-footer-widgets {
	clear: both;
}
#genesis-footer-widgets .footer-widgets-1 {
	width: 100%;
	margin: 0;
	float: none;
}
#genesis-footer-widgets.footer-widgets {
	background: #f2f2f2;
	padding: 5.5em 0;
}

/* Track Genesis body > div sizing on mid viewports */
@media (max-width: 1365px) and (min-width: 1024px) {
	.header-top-language-switcher {
		font-size: 1.3vw;
	}
}

/*
 * Primary sidebar sits inside .content-sidebar-wrap.is-layout-flow, so WP's
 *   :root :where(.is-layout-flow) > * { margin-block-end: 0 }
 * kills style-rtr.css `.sidebar { margin-bottom: 40px }`. Restore it.
 */
:root :where(.is-layout-flow) > .sidebar,
:root :where(.is-layout-flow) > .sidebar-primary,
:root :where(.content-sidebar-wrap.is-layout-flow) > .sidebar.sidebar-primary,
.sidebar.sidebar-primary.widget-area {
	margin-bottom: 40px;
	margin-block-end: 40px;
}

/*
 * -------------------------------------------------------------------------
 * Genesis typography spacing parity
 * -------------------------------------------------------------------------
 * WP global styles emit:
 *   :root :where(.is-layout-flow) > * { margin-block-start:0; margin-block-end:0 }
 * That beats style-rtr.css `p` / `h1–h6` (margin: 0 0 28px) and collapses
 * editorial spacing. Restore the original Genesis rhythm inside post content.
 */
:root :where(.entry-content.is-layout-flow) > p,
:root :where(.entry-content.is-layout-flow) > .wp-block-paragraph,
:root :where(.wp-block-post-content.is-layout-flow) > p,
:root :where(.wp-block-post-content.is-layout-flow) > .wp-block-paragraph,
:root :where(.entry-content.is-layout-flow) > h1,
:root :where(.entry-content.is-layout-flow) > h2,
:root :where(.entry-content.is-layout-flow) > h3,
:root :where(.entry-content.is-layout-flow) > h4,
:root :where(.entry-content.is-layout-flow) > h5,
:root :where(.entry-content.is-layout-flow) > h6,
:root :where(.entry-content.is-layout-flow) > .wp-block-heading,
:root :where(.wp-block-post-content.is-layout-flow) > h1,
:root :where(.wp-block-post-content.is-layout-flow) > h2,
:root :where(.wp-block-post-content.is-layout-flow) > h3,
:root :where(.wp-block-post-content.is-layout-flow) > h4,
:root :where(.wp-block-post-content.is-layout-flow) > h5,
:root :where(.wp-block-post-content.is-layout-flow) > h6,
:root :where(.wp-block-post-content.is-layout-flow) > .wp-block-heading {
	margin: 0 0 28px;
	margin-block-start: 0;
	margin-block-end: 28px;
}

/* Keep last child spacing too (Genesis did not collapse trailing p/h margins). */
:root :where(.entry-content.is-layout-flow) > :last-child,
:root :where(.wp-block-post-content.is-layout-flow) > :last-child {
	margin-block-end: 28px;
}

:root :where(.entry-content.is-layout-flow) > ul,
:root :where(.entry-content.is-layout-flow) > ol,
:root :where(.entry-content.is-layout-flow) > .wp-block-list,
:root :where(.wp-block-post-content.is-layout-flow) > ul,
:root :where(.wp-block-post-content.is-layout-flow) > ol,
:root :where(.wp-block-post-content.is-layout-flow) > .wp-block-list {
	margin-bottom: 28px;
	margin-left: 20px;
	margin-block-start: 0;
	margin-block-end: 28px;
}

/* Location strip is a centered bar — no indented list gutter */
:root :where(.entry-content.is-layout-flow) > ul.Loction-Links,
:root :where(.entry-content.is-layout-flow) > .wp-block-list.Loction-Links,
:root :where(.wp-block-post-content.is-layout-flow) > ul.Loction-Links,
:root :where(.wp-block-post-content.is-layout-flow) > .wp-block-list.Loction-Links,
ul.wp-block-list.Loction-Links,
ul.Loction-Links {
	margin-left: 0 !important;
	margin-inline-start: 0 !important;
	padding-left: 0.6em;
}

/* Block wrappers that should not invent extra vertical gap */
.entry-content > .wp-block-group,
.wp-block-post-content > .wp-block-group,
.entry-content > .wp-block-columns,
.wp-block-post-content > .wp-block-columns {
	margin-block-start: 0;
	margin-block-end: 28px;
}

/*
 * Legal Insights sidebar (#genesis-custom-post-2).
 * .content p a (#dd7900 !important) must not recolor titles or Read More.
 */
section#genesis-custom-post-2 h4.widget-title,
section#genesis-custom-post-2 h4.widgettitle {
	color: #000 !important;
}

section#genesis-custom-post-2 header.entry-header p.entry-titlep,
section#genesis-custom-post-2 header.entry-header p.entry-titlep a {
	color: #000 !important;
	text-decoration: none !important;
}

/*
 * Read More — body line-height (1.8) cascades into the link and makes padding look huge.
 * Do NOT clear floats — button must sit beside the thumb under title/meta
 * (Genesis has no clear; clear:both shoved it under the image).
 */
section#genesis-custom-post-2 article .entry-content a,
section#genesis-custom-post-2 article .entry-content a.more-link {
	display: inline-block;
	float: left;
	clear: none;
	line-height: 1.2 !important;
	font-size: 0.9em;
	padding: 0.7em 1.4em !important; /* match style-rtr; was inflated by body lh 1.8 */
	margin: 0; /* Genesis: spacing comes from entry-content p { margin: 0.3em 0 0 } */
	box-sizing: border-box;
	text-decoration: none;
	color: #000 !important;
	transition: .5s all ease-in-out;
}

/* Hover: white text on black (beat color:#000 !important above). */
section#genesis-custom-post-2 article .entry-content a.more-link:hover,
section#genesis-custom-post-2 article .entry-content a:hover {
	color: #fff !important;
	background: #000 !important;
}

/*
 * Genesis .entry-content heading sizes → FSE .wp-block-post-content
 * (Reviews + other block pages). Beat WP global heading presets.
 */
.wp-block-post-content > h1,
.wp-block-post-content h1.wp-block-heading,
body.Reviews-Page .wp-block-post-content h1,
body.Reviews-Page .entry-content > h1 {
	font-size: 2.5em !important;
}

.wp-block-post-content > h2,
.wp-block-post-content > h3,
.wp-block-post-content > h4,
.wp-block-post-content h2.wp-block-heading,
.wp-block-post-content h3.wp-block-heading,
.wp-block-post-content h4.wp-block-heading,
body.Reviews-Page .wp-block-post-content h2,
body.Reviews-Page .wp-block-post-content h3,
body.Reviews-Page .wp-block-post-content h4 {
	font-size: 2em !important;
}

@media only screen and (max-width: 1023px) {
	.wp-block-post-content > h1,
	.wp-block-post-content h1.wp-block-heading,
	body.Reviews-Page .wp-block-post-content h1,
	body.Reviews-Page .entry-content > h1 {
		font-size: 1.8em !important;
	}

	.wp-block-post-content > h2,
	.wp-block-post-content > h3,
	.wp-block-post-content > h4,
	.wp-block-post-content h2.wp-block-heading,
	.wp-block-post-content h3.wp-block-heading,
	.wp-block-post-content h4.wp-block-heading,
	body.Reviews-Page .wp-block-post-content h2,
	body.Reviews-Page .wp-block-post-content h3,
	body.Reviews-Page .wp-block-post-content h4 {
		font-size: 1.5em !important;
	}
}

@media only screen and (max-width: 580px) {
	.wp-block-post-content > h1,
	.wp-block-post-content h1.wp-block-heading,
	body.Reviews-Page .wp-block-post-content h1,
	body.Reviews-Page .entry-content > h1 {
		font-size: 7vw !important;
	}

	.wp-block-post-content > h2,
	.wp-block-post-content > h3,
	.wp-block-post-content > h4,
	.wp-block-post-content h2.wp-block-heading,
	.wp-block-post-content h3.wp-block-heading,
	.wp-block-post-content h4.wp-block-heading,
	body.Reviews-Page .wp-block-post-content h2,
	body.Reviews-Page .wp-block-post-content h3,
	body.Reviews-Page .wp-block-post-content h4 {
		font-size: 6vw !important;
	}
}

/* Reviews page: FSE uses .wp-block-post-content (Genesis used .entry-content) */
body.Reviews-Page .wp-block-post-content img.ttshowcase_image,
body.Reviews-Page .entry-content img.ttshowcase_image {
	width: 120px;
	height: 120px;
	object-fit: cover;
}
body.Reviews-Page .wp-block-post-content .ttshowcase_rl_info_wrap.tt_info-left,
body.Reviews-Page .entry-content .ttshowcase_rl_info_wrap.tt_info-left {
	width: 160px;
}
body.Reviews-Page .wp-block-post-content .rowoftwo,
body.Reviews-Page .entry-content .rowoftwo {
	display: block;
	width: 100%;
	margin-bottom: 25px;
	float: left;
}
body.Reviews-Page .wp-block-post-content .childoftwo,
body.Reviews-Page .entry-content .childoftwo {
	width: 46%;
	float: left;
	margin: 1%;
}
body.Reviews-Page .wp-block-post-content .childoftwo iframe,
body.Reviews-Page .entry-content .childoftwo iframe,
.childoftwo iframe {
	display: block;
	width: 100%;
	height: 232px;
	border: 3px solid;
	border-image: linear-gradient(to top, #582515 0%, #dd7900 19%, #faffeb 130%, #ffffff 100%) 1;
}
@media (max-width: 767px) {
	body.Reviews-Page .wp-block-post-content .childoftwo,
	body.Reviews-Page .entry-content .childoftwo {
		width: 98%;
		float: none;
		margin: 1% auto 20px;
	}
}

/* Contact office groups — keep Genesis .Contact-Info list/map layout */
.entry-content .wp-block-group.Contact-Info,
.wp-block-post-content .wp-block-group.Contact-Info,
.Contact-Info.wp-block-group {
	margin-bottom: 30px;
	margin-block-end: 30px;
}
.Contact-Info ul.wp-block-list,
.Contact-Info .wp-block-list {
	margin: 0 0 28px !important;
	margin-inline-start: 0 !important;
	padding-left: 0 !important;
	list-style: none;
}
.entry-content .Contact-Info li a,
.wp-block-post-content .Contact-Info li a {
	color: #000;
}

/* Heading blocks keep Genesis face/weight from style-rtr.css h1–h6 rules;
 * only reinforce family when WP theme.json swaps in a different stack. */
.entry-content .wp-block-heading,
.wp-block-post-content .wp-block-heading {
	font-family: 'LibreBaskerville', Georgia, serif;
	font-weight: 700;
	line-height: 1.2;
}

/*
 * Attorney listing cards (.Attorney_Div) — lock Genesis title/role styles.
 * Same values as style-rtr.css; higher specificity so WP global / theme.json
 * cannot reshape them when cards sit inside .entry-content.
 */
.Team-Page-Row .Attorney_Div .Title,
.entry-content .Attorney_Div .Title,
.wp-block-post-content .Attorney_Div .Title,
.Attorney_Div .Title {
	font-family: 'LibreBaskerville', Georgia, serif !important;
	/* Genesis does not bold listing titles — weight 400 like body */
	font-weight: 400 !important;
	color: #000 !important;
	font-size: 1.3em !important;
	line-height: 1.1 !important;
	margin: 0 0 10px !important;
	margin-block-start: 0 !important;
	margin-block-end: 10px !important;
	padding: 0;
}

/*
 * Individual attorney bio — Genesis .entry-content h1 + .Inner-Text-Div .Title.
 * Shortcode must wrap in .entry-content so 2.5em h1 applies (was bare 36px).
 */
/* Attorney bios only — do NOT use bare .entry-content > h1 (Reviews shares that class). */
.single-our-people .entry-content > h1,
body.single-our-people .entry-content h1,
body.single-our-people .wp-block-post-content > h1 {
	font-family: 'LibreBaskerville', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: 2.5em !important;
	line-height: 1.2 !important;
	margin: 0 0 28px !important;
	margin-block-start: 0 !important;
	margin-block-end: 28px !important;
	color: #000 !important;
}

.entry-content .Inner-Text-Div .Title,
.Inner-Image-Right .Inner-Text-Div .Title,
.Inner-Image-Left .Inner-Text-Div .Title {
	font-family: 'LibreBaskerville', Georgia, serif !important;
	font-size: 1.4em !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	margin: 0 0 0.3em !important;
	margin-block-end: 0.3em !important;
}

.entry-content .Inner-Text-Div .Sub-Title,
.Inner-Image-Right .Inner-Text-Div .Sub-Title,
.Inner-Image-Left .Inner-Text-Div .Sub-Title {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1.1em !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
}

/* Card chrome — float + portrait fill only (do not enlarge contact icons). */
.entry-content .Inner-Image-Right .Image,
.entry-content .Inner-Image-Left .Image {
	line-height: 0;
}

.entry-content .Inner-Image-Right .Image img,
.entry-content .Inner-Image-Left .Image img,
.Inner-Image-Right .Image img,
.Inner-Image-Left .Image img {
	width: 100% !important;
	height: auto !important;
	display: block;
	margin: 0 !important;
}

/* Contact icons under attorney photo — Genesis .Inner-Text-Div ul li a img */
.entry-content .Inner-Text-Div ul li a img,
.Inner-Image-Right .Inner-Text-Div ul li a img,
.Inner-Image-Left .Inner-Text-Div ul li a img {
	width: auto !important;
	height: 1.2em !important;
	display: inline !important;
	margin: 0 0.4em -0.2em 0 !important;
	vertical-align: baseline;
}

.Team-Page-Row .Attorney_Div .Text-Div,
.entry-content .Attorney_Div .Text-Div,
.Attorney_Div .Text-Div {
	padding: 1em;
	text-align: center;
}

.Team-Page-Row .Attorney_Div p,
.Team-Page-Row .Attorney_Div p.P12,
.entry-content .Attorney_Div p,
.entry-content .Attorney_Div p.P12,
.Attorney_Div p,
.Attorney_Div p.P12 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	line-height: 1.4 !important;
	margin: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	color: #000 !important;
}

/*
 * Homepage attorney flip cards (.Attorney-Div) — style-rtr.css:
 *   font-size: 1.1em; line-height: 1.3; (inherit Arial — NOT listing LibreBaskerville 1.3em)
 * A prior override used listing-card (.Attorney_Div) values and made flip titles too large.
 */
.Team-Section .Attorney-Div .Title,
.entry-content .Attorney-Div .Title,
.wp-block-post-content .Attorney-Div .Title,
.Attorney-Div .Title {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 700;
	font-size: 1.1em !important;
	line-height: 1.3 !important;
}

/* Service flip titles — lock front/back to the same Genesis size */
.Service-Section .Service-Div .Title,
.Practice-Page .Service-Div .Title,
.entry-content .Service-Div .Title,
.wp-block-post-content .Service-Div .Title,
.Service-Div .Title,
.Service-Div .flip-box-front .Title,
.Service-Div .flip-box-back .Title {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 700;
	font-size: 1.3em !important;
	line-height: 1.2 !important;
}

.Case-Result .Result-Div .Title,
.entry-content .Result-Div .Title,
.Result-Div .Title,
.Result-Div .flip-box-front .Title,
.Result-Div .flip-box-back .Title {
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 700;
	font-size: 1.4em !important;
	line-height: 1.3 !important;
}

/* Single blog: body copy Arial; cite control; related grid overlays */
body.single-post .post-content,
body.single-post .post-content p,
body.single-post .post-content li {
	font-family: Arial, Helvetica, sans-serif !important;
}

body.single-post .category-and-cite a.cite-trigger {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	text-decoration: none;
}

/* Cite This Article modal (markup in wp_footer; JS in cite.js) */
body.single-post .revision-history {
	display: none;
}
.cite-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}
.cite-modal[style*="display: block"],
.cite-modal.is-open {
	display: block;
}
.cite-modal-content {
	background: #fff;
	margin: 10% auto;
	padding: 20px;
	border-radius: 8px;
	width: 90%;
	max-width: 480px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	position: relative;
	animation: rtrCiteFadeIn 0.3s ease;
}
.cite-close {
	position: absolute;
	right: 15px;
	top: 10px;
	font-size: 22px;
	cursor: pointer;
	color: #777;
	background: none;
	border: 0;
	line-height: 1;
	padding: 0;
}
.cite-close:hover {
	color: #000;
}
.cite-citation-text {
	font-size: 15px;
	background: #f8f9fa;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
	margin-bottom: 15px;
}
.cite-copy-btn {
	background: #0073aa !important;
	color: #fff !important;
	padding: 4px 16px !important;
	border: none !important;
	border-radius: 4px !important;
	cursor: pointer;
	height: auto !important;
}
.cite-copy-success {
	display: none;
	color: green;
	margin-left: 10px;
}
@keyframes rtrCiteFadeIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

body.single-post .related-posts .content_rel_posts,
body.single-post .related-posts #content_rel_posts {
	position: relative;
}

/* Beat .content/.post-content p a (#dd7900 !important) — match genesis overlay titles */
body.single-post .related-posts p.TitleClass a,
body.single-post .content_rel_posts p.TitleClass a,
body.single-post #content_rel_posts p.TitleClass a {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: #fff !important;
	background-color: #23292e9e !important;
	text-decoration: none !important;
	padding: 4px !important;
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	display: block !important;
}

body.single-post .related-posts p.TitleClass,
body.single-post .content_rel_posts p.TitleClass,
body.single-post #content_rel_posts p.TitleClass {
	position: relative !important;
	margin: 0 !important;
	line-height: 0 !important;
	font-size: inherit !important;
}

/* Category / peek blog archive — match genesis-child spacing */
body.category .rtr-blog-archive,
body.archive .rtr-blog-archive,
.page .rtr-blog-archive,
.rtr-blog-archive {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Category H1 — same as genesis bare <h1>, NOT .archive-title (20px) */
body.category .rtr-category-title,
.rtr-blog-archive .rtr-category-title,
.rtr-category-title {
	font-family: 'LibreBaskerville', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: 36px !important;
	font-size: 3.6rem !important;
	line-height: 1.2 !important;
	color: #000 !important;
	text-align: center;
	margin: 0 0 28px !important;
	margin-block-start: 0 !important;
	margin-block-end: 28px !important;
	padding: 0;
}

/* Cat-Row — parity with style-rtr.css (1080px, no side padding) */
body.category .Cat-Row,
body.archive .Cat-Row,
.rtr-blog-archive .Cat-Row,
.page .Cat-Row {
	display: flex;
	gap: 0.6em;
	flex-wrap: wrap;
	width: 1080px;
	margin: 20px auto 50px;
	max-width: 100%;
	justify-content: center;
	align-items: stretch;
	padding: 0;
	box-sizing: border-box;
}

/*
 * Kill legacy nth-child hide hacks from style-rtr / additional-custom.
 * Filters are curated in PHP (rtr_block_blog_filter_category_slugs).
 */
body.category .Cat-Row .col-md-3,
body.archive .Cat-Row .col-md-3,
.rtr-blog-archive .Cat-Row .col-md-3,
.page .Cat-Row .col-md-3,
.Cat-Row .col-md-3:nth-child(-n+3),
.Cat-Row .col-md-3:nth-last-child(2),
.page-template-PeekBlogTemplate .Cat-Row .col-md-3:nth-last-child(2),
.archive .Cat-Row .col-md-3:nth-last-child(2) {
	display: block !important;
}

body.category .Cat-Row .col-md-3,
body.archive .Cat-Row .col-md-3,
.rtr-blog-archive .Cat-Row .col-md-3,
.page .Cat-Row .col-md-3 {
	float: none;
	flex: 0 0 calc(25% - 0.45em);
	width: calc(25% - 0.45em);
	max-width: calc(25% - 0.45em);
	padding: 0;
	margin: 0;
	text-align: center;
	border: 5px solid #ab8302;
	box-sizing: border-box;
	min-height: 3.2em;
}

/* Colors come from additional-custom.css (brown→gold gradient), not flat yellow */
body.category .Cat-Row .col-md-3 a,
body.archive .Cat-Row .col-md-3 a,
.rtr-blog-archive .Cat-Row .col-md-3 a,
.page .Cat-Row .col-md-3 a {
	padding: 0.8em 0.6em 0.8em 50px;
	font-size: 1em;
	line-height: 1.3;
	font-weight: 700;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 3.2em;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
}

/* Icon rail — fixed width so tile text lines up across the row */
.Cat-Row .category-icon a span {
	width: 48px;
	min-width: 48px;
	box-sizing: border-box;
}

/* Match Cat-Row width (Bootstrap .container is 1170; do not use site 1280) */
body.category #main-wrap,
body.archive #main-wrap,
.rtr-blog-archive #main-wrap {
	width: 1080px;
	max-width: 100%;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

body.category #content1,
.rtr-blog-archive #content1 {
	padding: 0;
	float: none;
	width: 100%;
}

body.category #content1 .row > .row,
.rtr-blog-archive #content1 .row > .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	clear: both;
	margin-left: -10px;
	margin-right: -10px;
}

body.category #content1 article.col-md-6,
.rtr-blog-archive #content1 article.col-md-6 {
	float: none;
	display: flex;
	flex-direction: column;
	width: 50%;
	padding: 0 10px;
	margin: 0 0 20px;
	box-sizing: border-box;
	/* Open Quick Answer must grow the card and push the next row (not clip). */
	overflow: visible;
}

body.category #content1 article.col-md-6 > .post-header,
.rtr-blog-archive #content1 article.col-md-6 > .post-header {
	flex: 1 1 auto;
	height: auto !important;
	overflow: visible;
}

/* Post card type / spacing (genesis blog_inc) */
body.category .post-header.top2,
.rtr-blog-archive .post-header.top2 {
	margin-top: 20px !important;
}

body.category .post-header.bottom2,
.rtr-blog-archive .post-header.bottom2 {
	margin-bottom: 20px !important;
}

/*
 * Insights / category card titles (h2.title.font-lato).
 * Desktop: Genesis blog_inc h2 — Roboto Slab, bold, 28px, lh 1.2, #000.
 * Mobile: Lato 24px normal (≤991 below). Beat LibreBaskerville !important.
 */
body.category .post-header h2.title.font-lato,
body.category .post-header .title.font-lato,
body.category .rtr-blog-archive .post-header h2.title,
.rtr-blog-archive .post-header h2.title.font-lato,
.rtr-blog-archive .post-header .title.font-lato,
.page .rtr-blog-archive .post-header h2.title.font-lato {
	/* Spacing from .media-info margin-bottom (all breakpoints). */
	margin: 0 !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	padding: 0;
	color: #000 !important;
	font-weight: 700 !important;
}

body.category .post-header .title.font-lato a,
body.category .post-header h2.title.font-lato a,
.rtr-blog-archive .post-header .title.font-lato a,
.rtr-blog-archive .post-header h2.title.font-lato a {
	color: #000 !important;
	text-decoration: none;
	font-weight: 700 !important;
}

@media (min-width: 992px) {
	body.category .post-header h2.title.font-lato,
	body.category .post-header .title.font-lato,
	body.category .rtr-blog-archive .post-header h2.title,
	.rtr-blog-archive .post-header h2.title.font-lato,
	.rtr-blog-archive .post-header .title.font-lato,
	.page .rtr-blog-archive .post-header h2.title.font-lato {
		font-family: "Roboto Slab", "Museo", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
		font-weight: 700 !important;
		font-size: 28px !important;
		line-height: 1.2em !important;
		text-rendering: optimizelegibility;
	}

	body.category .post-header .title.font-lato a,
	body.category .post-header h2.title.font-lato a,
	.rtr-blog-archive .post-header .title.font-lato a,
	.rtr-blog-archive .post-header h2.title.font-lato a {
		font-family: inherit !important;
		font-weight: 700 !important;
	}
}

/* Genesis archive card author row */
body.category .post-header .media-info,
.rtr-blog-archive .post-header .media-info,
.rtr-blog-archive .blog-info-main.media-info {
	font-size: 16px;
	margin-bottom: 15px;
}

/* Keep Reviewed By + author + date on one line (match genesis). */
.rtr-blog-archive .blog-info-main.media-info br,
.rtr-blog-archive .post-header .media-info br,
body.category .post-header .media-info br {
	display: none !important;
}

.rtr-blog-archive .blog-info-main.media-info time.pull-right,
.rtr-blog-archive .post-header .media-info time.pull-right,
body.category .post-header .media-info time.pull-right,
body.single-post .media-info time.pull-right {
	float: right !important;
	margin-left: 20px;
}

/*
 * additional-custom ≤768: .media .pull-right { float:none; display:block }
 * stacks the date under the author inside .author.media — doubles media-info
 * height and the visual gap to the title. Restore float on blog cards/single.
 */
@media (max-width: 768px) {
	.rtr-blog-archive .author.media .media-info time.pull-right,
	.rtr-blog-archive .media-info time.pull-right,
	body.category .author.media .media-info time.pull-right,
	body.category .media-info time.pull-right,
	body.single-post .author.media .media-info time.pull-right,
	body.single-post .media-info time.pull-right {
		float: right !important;
		display: inline !important;
		width: auto !important;
		margin-left: 12px !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.rtr-blog-archive .blog-info-main.media-info,
	.rtr-blog-archive .post-header .media-info,
	body.category .post-header .media-info {
		margin-bottom: 10px;
		line-height: 1.4;
	}
}

/*
 * Archive Quick Answer toggle (.answer-icon-gen).
 * .post-header line-height:1.8 inflates the icon span and uncenters the SVG.
 */
.rtr-blog-archive .answer-icon-gen,
body.category .answer-icon-gen,
.page .rtr-blog-archive .answer-icon-gen,
.answer-icon-gen {
	display: inline-flex;
	align-items: center;
	left: auto;
	right: -5px;
	padding: 4px 15px;
	gap: 5px;
	cursor: pointer;
	transition: .5s all ease-in-out;
	border: 2px solid #df7e3a;
	margin-bottom: 10px;
}

.rtr-blog-archive .answer-icon-gen,
body.category .answer-icon-gen,
.page .rtr-blog-archive .answer-icon-gen {
	height: 28px;
	box-sizing: border-box;
}

.rtr-blog-archive .answer-icon-gen .main-blog-answer-icon,
body.category .answer-icon-gen .main-blog-answer-icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px !important;
	line-height: 1 !important;
	flex-shrink: 0;
}

.rtr-blog-archive .answer-icon-gen svg,
body.category .answer-icon-gen svg {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	display: block;
}

.rtr-blog-archive .answer-icon-gen .qa-label,
body.category .answer-icon-gen .qa-label {
	font-size: 16px !important;
	line-height: 1 !important;
	color: #000 !important;
}

/* Open/engaged: brand brown→gold gradient + white label/icon. */
.rtr-blog-archive .answer-icon-gen.engaged,
body.category .answer-icon-gen.engaged,
.page .rtr-blog-archive .answer-icon-gen.engaged,
.page-template-PeekBlogTemplate .answer-icon-gen.engaged,
.answer-icon-gen.engaged {
	background: linear-gradient(
		to top,
		#582515 0%,
		#dd7900 68%,
		#faffeb 105%,
		#ffffff 100%
	) !important;
	border: none !important;
}

.rtr-blog-archive .answer-icon-gen.engaged .qa-label,
body.category .answer-icon-gen.engaged .qa-label,
.page-template-PeekBlogTemplate .answer-icon-gen.engaged .qa-label,
.answer-icon-gen.engaged .qa-label,
.engaged.answer-icon-gen .qa-label {
	color: #fff !important;
}

.rtr-blog-archive .answer-icon-gen.engaged svg path,
body.category .answer-icon-gen.engaged svg path,
.page-template-PeekBlogTemplate .answer-icon-gen.engaged svg path,
.answer-icon-gen.engaged svg path,
.answer-icon-gen.engaged svg,
.engaged.answer-icon-gen svg path {
	fill: #fff !important;
}

body.category .post-header p,
.rtr-blog-archive .post-header p {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 18px;
	line-height: 1.8;
	margin: 0 0 20px !important;
	color: #000;
}

body.category .post-header .Post-Button,
.rtr-blog-archive .post-header .Post-Button {
	margin-top: 10px;
}

body.category .post-header div.post-image,
.rtr-blog-archive .post-header div.post-image {
	height: 200px !important;
	width: 100% !important;
	overflow: hidden;
	margin: 0 0 15px;
}

body.category .post-header div.post-image img,
.rtr-blog-archive .post-header div.post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.category ul.post-categories,
.rtr-blog-archive ul.post-categories {
	margin: 0 0 10px !important;
	padding: 0 !important;
}

/* Insights / blog archive categories — black */
body.category ul.post-categories li a,
.rtr-blog-archive ul.post-categories li a,
.page .rtr-blog-archive ul.post-categories li a {
	color: #000 !important;
}

/* Single post categories: production orange (#dd7900), not gold (#ffc302) */
body.single ul.post-categories li a,
body.single-post ul.post-categories li a {
	color: #dd7900 !important;
}

/* Quick Answer: honor additional-custom 17px / padding-top 20px; beat .post-content p { 18px } */
.quick-answer-blog-main,
.quick-answer {
	padding-top: 20px;
	font-size: 17px !important;
}
.quick-answer .quick-answer-body,
.quick-answer .quick-answer-body p,
body.single-post .quick-answer,
body.single-post .quick-answer p {
	font-size: 17px !important;
	line-height: 1.5;
	margin: 0 !important;
}
.quick-answer-blog-main {
	font-size: 14px !important; /* archive cards stay smaller when expanded */
}

@media (max-width: 1020px) {
	body.category .Cat-Row .col-md-3,
	body.archive .Cat-Row .col-md-3,
	.rtr-blog-archive .Cat-Row .col-md-3,
	.page .Cat-Row .col-md-3 {
		flex: 0 0 calc(50% - 0.3em);
		width: calc(50% - 0.3em);
		max-width: calc(50% - 0.3em);
	}
}

@media (max-width: 991px) {
	/* Side gutters come from .site-inner (Genesis 3%/5%); keep #main-wrap flush inside. */
	body.category #main-wrap,
	body.archive #main-wrap,
	.rtr-blog-archive #main-wrap {
		padding-left: 0;
		padding-right: 0;
	}

	body.category #content1 article.col-md-6,
	.rtr-blog-archive #content1 article.col-md-6 {
		width: 100%;
		float: none;
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Cancel desktop -10px row pull so Bootstrap 15px gutters sit clean on mobile. */
	body.category #content1 .row > .row,
	.rtr-blog-archive #content1 .row > .row {
		margin-left: 0;
		margin-right: 0;
	}

	body.category .rtr-category-title,
	.rtr-blog-archive .rtr-category-title,
	.rtr-category-title {
		font-size: 1.8em !important;
	}

	body.category .post-header h2.title.font-lato,
	body.category .post-header .title.font-lato,
	.rtr-blog-archive .post-header h2.title.font-lato,
	.rtr-blog-archive .post-header .title.font-lato,
	.page .rtr-blog-archive .post-header h2.title.font-lato {
		font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
		font-size: 24px !important;
		font-weight: 700 !important;
	}
}

@media (max-width: 580px) {
	body.category .Cat-Row .col-md-3,
	body.archive .Cat-Row .col-md-3,
	.rtr-blog-archive .Cat-Row .col-md-3,
	.page .Cat-Row .col-md-3 {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}

	body.category .rtr-category-title,
	.rtr-blog-archive .rtr-category-title,
	.rtr-category-title {
		font-size: 1.5em !important;
	}

	body.category .post-header div.post-image,
	.rtr-blog-archive .post-header div.post-image {
		height: 150px !important;
	}
}

/*
 * Home / section body copy: mobile style-rtr sets section { font-size: 3vw }
 * (~12px). Keep 18px body size. Paragraphs are restored in render.php via
 * wpautop (Genesis the_content parity) — do NOT use white-space:pre-line on
 * desktop; leading indent/newlines were pushing .Text-Div copy ~35px below
 * the video and breaking the original top alignment.
 */
.entry-content section.Video-Section .Text-Div,
.entry-content section.Text-Section .Text-Div,
.wp-block-post-content section.Video-Section .Text-Div,
.wp-block-post-content section.Text-Section .Text-Div {
	font-size: 18px;
	line-height: 1.8;
}

.entry-content section.Video-Section .Text-Div a,
.entry-content section.Text-Section .Text-Div a,
.wp-block-post-content section.Video-Section .Text-Div a,
.wp-block-post-content section.Text-Section .Text-Div a {
	font-size: inherit;
}

/* Desktop Video-Section: lock Genesis float columns (text left / video right). */
@media (min-width: 1024px) {
	section.Video-Section .Row {
		display: block;
	}

	section.Video-Section .Row::after {
		content: "";
		display: table;
		clear: both;
	}

	section.Video-Section .Text-Div {
		float: left;
		width: 49%;
		white-space: normal;
	}

	section.Video-Section .Video-Div {
		float: right;
		width: 49%;
	}

	section.Video-Section .Video-Div .Video img,
	section.Video-Section .Video-Div .sfs-fast-map img {
		display: block;
		width: 100%;
		height: auto;
		position: relative;
	}

	section.Video-Section .Video-Text {
		font-size: 18px;
		line-height: 1.8;
	}

	section.Video-Section .Video-Text p:last-child,
	section.Video-Section .Text-Div p:last-child {
		margin-bottom: 0;
	}
}

/*
 * Case-Result: desktop grid is .Row.Desktop (hidden ≤1023px). Mobile uses a
 * single featured card in .Slider-Div.Mobile (Genesis parity). Positioned
 * wrapper keeps flip overlays correct.
 */
.Case-Result .Slider-Div.Mobile .Result-Div {
	position: relative;
	margin-bottom: 0;
}
