/*
 * Theme Name: Adoption Law Firm
 * Template: genesis-block-theme 
 * Description: Child Theme the to Parent Theme Genesis Block Theme 
 * 
*/

:root {
	--dark-teal: #05445e;
	--light-blue: #e9fdff;
	--highlight: #f7f9a7;
	--cta-green: #006838;
	--link-lime: #a0c646;
	--dropdown-bg: #032536;
	--text-dark: #111111;
	--merger-gray: #808080;
	--content-max: 1200px;
	--content-wide: 1248px;
	--page-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--link-blue: #0000ee;
	--gap-col: 3.84%;

	--primary-color: var(--dark-teal);
	--secondary-color: var(--light-blue);
	--font-sans: "Open Sans", Arial, Helvetica, sans-serif;
	--font-display: "Montserrat", Arial, Helvetica, sans-serif;
}

*,*::before, *::after {
	font-size: 100%;
}

html {
	font-size: inherit;
}

body {
	font-family: var(--font-sans);
	font-size: 1.125rem; /* 18px — old body / awb-typography4 */
	font-weight: 400;
	line-height: 1.25; /* old --body_typography-line-height */
	letter-spacing: 0.015em;
	background-color: #fff;
	color: #000; /* old --awb-color8 / body color */
	overflow: unset;
}

/*
 * Headings — match old Avada Open Sans stack (override parent Public Sans)
 * H1 content: 64px; H2: 32px teal; H3: 28px #111
 */
h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
	font-family: var(--font-sans);
	font-weight: 700;
	letter-spacing: -0.015em;
	text-transform: none;
}

.article-content :is(h1, h2, h3, h4, h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading) {
	margin-top: 0;
	line-height: 1.2;
}

.article-content h1,
.article-content h1.wp-block-heading {
	font-size: 64px;
	color: #000;
	margin-bottom: 20px;
}

.article-content h2,
.article-content h2.wp-block-heading {
	font-size: 32px;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.article-content h3,
.article-content h3.wp-block-heading {
	font-size: 28px;
	color: var(--text-dark);
	margin-bottom: 20px;
}

.article-content h4,
.article-content h4.wp-block-heading {
	font-size: 24px; /* old awb-typography2 */
	font-weight: 600;
	line-height: 1.1;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

/* old --link_color: awb-color7 */
.article-content a {
	color: var(--link-lime);
}

.article-content a:hover,
.article-content a:focus {
	color: var(--primary-color);
}

/*
 * Start Header and Footer 
 *
 * */

/* Foster + Bloom merger banner — old site #b1f0e6 row under nav */
.merger-banner {
	background-color: #b1f0e6;
	color: var(--merger-gray);
	padding-top: 20px;
	padding-bottom: 0;
}

.merger-banner-inner {
	width: 75%;
	max-width: 75%;
	margin: 0 auto;
	padding: 20px var(--page-gutter);
	box-sizing: border-box;
}

.merger-banner-desktop {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 40px;
}

.merger-banner-mobile {
	display: none;
	color: var(--merger-gray);
}

.merger-banner-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25em;
	height: 1.25em;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.125rem;
	font-weight: 700;
	font-style: normal;
	line-height: 1;
	color: var(--merger-gray);
}

.merger-banner-text {
	margin: 0;
	width: 95%;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--merger-gray);
}

.merger-banner-text em {
	font-style: italic;
	font-weight: 400;
}

.merger-banner a,
.merger-banner a:hover,
.merger-banner a:focus {
	color: var(--link-blue);
	text-decoration: underline;
}

.merger-banner-mobile summary {
	list-style: none;
	display: flex;
	gap: 10px;
	align-items: center;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--merger-gray);
}

.merger-banner-mobile summary::-webkit-details-marker,
.merger-banner-mobile summary::marker {
	display: none;
}

.merger-banner-mobile summary .merger-banner-summary-text {
	flex: 1;
}

.merger-banner-mobile[open] summary {
	margin-bottom: 0.5rem;
}

.merger-banner-mobile p {
	margin: 0;
	padding-left: calc(1.1em + 10px);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--merger-gray);
}

/* Sticky teal header only (banner is outside header and scrolls away) */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--primary-color);
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

/* Logged-in admin bar sits above sticky header */
.admin-bar .site-header {
	top: 32px;
}

.top-navigation,
.site-footer {
	background-color: var(--primary-color);
	color: #fff;
}

.top-navigation a,
.site-footer a {
	color: inherit;
}

.top-navigation a:hover,
.site-footer a:hover {
	color: var(--highlight);
}

.top-navigation ul li.current-menu-item > a {
	color: var(--highlight);
}

/* Old Avada header: ~5% side inset, min-height ~130px, logo max 200px */
.site-header .container {
	max-width: none;
	width: 100%;
	padding: 0 var(--page-gutter);
	box-sizing: border-box;
}

.site-header .custom-logo {
	display: block;
	width: 200px;
	max-width: 200px;
	height: auto;
}

.site-title {
	display: none;
}

.site-header .site-identity {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 130px;
	padding: 10px 0;
	box-sizing: border-box;
}

.site-header .site-title-wrap {
	flex-shrink: 0;
}

.site-header .top-navigation-right {
	float: none;
	flex: 1 1 auto;
	max-width: none;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.site-header .main-navigation {
	width: auto;
	font-family: var(--font-sans);
	font-size: 18px;
	font-weight: 600;
	overflow: visible;
}

.site-header .site-identity,
.site-header .top-navigation-right,
.site-header .top-navigation,
.site-header .container {
	overflow: visible;
}

.site-header .site-identity .main-navigation > div > ul,
.site-header .site-identity .main-navigation > ul {
	line-height: 1.25;
}

/* Top-level row only — old Avada used --awb-gap: 30px */
.site-header .main-navigation > div > ul.menu,
.site-header .main-navigation > ul.menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 30px;
}

.site-header .main-navigation > div > ul.menu > li,
.site-header .main-navigation > ul.menu > li {
	padding: 0;
	position: relative;
}

.site-header .main-navigation > div > ul.menu > li > a,
.site-header .main-navigation > ul.menu > li > a {
	margin: 0;
	line-height: 1.25;
	padding: 0.5rem 0;
	font-size: 18px;
	font-weight: 600;
}

/*
 * Dropdowns — match Wayback:
 * darker panel than header, flush under parent item, caret over the label
 */
.site-header .main-navigation ul.sub-menu {
	display: block;
	position: absolute;
	left: -999em;
	top: calc(100% + 6px);
	margin: 0;
	padding: 0.25rem 0;
	min-width: 100%;
	width: max-content;
	max-width: 20rem;
	text-align: left;
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 18px;
	background-color: var(--dropdown-bg);
	border: none;
	border-radius: 3px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	z-index: 1100;
}

.site-header .main-navigation > div > ul.menu > li:is(:hover, :focus-within, .focus) > ul.sub-menu,
.site-header .main-navigation > ul.menu > li:is(:hover, :focus-within, .focus) > ul.sub-menu {
	left: 0;
	right: auto;
}

/* Hover bridge so the gap under the link doesn’t kill :hover */
.site-header .main-navigation > div > ul.menu > li.menu-item-has-children > ul.sub-menu::after,
.site-header .main-navigation > ul.menu > li.menu-item-has-children > ul.sub-menu::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
}

/* Nested flyout (e.g. About → Meet the Team → bios) */
.site-header .main-navigation ul.sub-menu ul.sub-menu {
	top: 0;
	left: -999em;
	margin-left: 1px;
	min-width: 12rem;
}

.site-header .main-navigation ul.sub-menu > li:is(:hover, :focus-within, .focus) > ul.sub-menu {
	left: 100%;
}

.site-header .main-navigation ul.sub-menu > li {
	display: block;
	float: none;
	width: 100%;
	padding: 0;
	margin: 0;
	position: relative;
}

.site-header .main-navigation ul.sub-menu a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 1.1rem;
	margin: 0;
	line-height: 1.35;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	white-space: nowrap;
}

.site-header .main-navigation ul.sub-menu > li:last-child > a {
	border-bottom: none;
}

.site-header .main-navigation ul.sub-menu a:hover {
	color: var(--highlight);
}

.site-header .main-navigation ul.sub-menu .current-menu-item > a {
	color: var(--highlight);
}

/* Caret sits near the start of the parent label, not the panel center */
.site-header .main-navigation > div > ul > li > .sub-menu::before,
.site-header .main-navigation > ul > li > .sub-menu::before {
	left: 1.25rem;
	margin-left: 0;
	border-bottom-color: var(--dropdown-bg);
}

.site-header .main-navigation ul.sub-menu .sub-menu::before {
	display: none;
}

/* Phone — old site .green-nav-label (lime → highlight on hover) */
:is(.site-header .main-navigation, .drawer-navigation) :is(
	.green-nav-label > a,
	a[href^="tel:"]
) {
	color: var(--link-lime) !important;
	font-weight: 700;
}

:is(.site-header .main-navigation, .drawer-navigation) :is(
	.green-nav-label > a:hover,
	a[href^="tel:"]:hover
) {
	color: var(--highlight) !important;
}

/* Contact Us — old site .nav-button (same green CTA as page buttons) */
:is(.site-header .main-navigation, .drawer-navigation) :is(
	.nav-button > a,
	.menu > .menu-item > a[href*="/contact-us"]
) {
	display: inline-block;
	background-color: var(--cta-green);
	border: 2px solid #fff;
	border-radius: 10px;
	color: #fff !important;
	padding: 0.55rem 1.25rem;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-sizing: border-box;
}

:is(.site-header .main-navigation, .drawer-navigation) :is(
	.nav-button > a:hover,
	.menu > .menu-item > a[href*="/contact-us"]:hover
) {
	background-color: rgba(0, 0, 0, 0.7);
	border-color: #fff;
	color: #fff !important;
}

.site-footer {
	padding-bottom: 0;
}

.site-footer > .container {
	max-width: none;
	width: 100%;
	padding: 0 var(--page-gutter);
	box-sizing: border-box;
}

.site-footer .footer-widgets {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.5rem 2%;
	margin-bottom: 2rem;
}

.site-footer .footer-widgets .footer-column {
	float: none;
	width: 23.5%;
	margin-right: 0;
	padding-top: 2.5rem;
	box-sizing: border-box;
}

.site-footer .footer-logo-link {
	display: block;
	max-width: 200px;
	margin-bottom: 1rem;
}

.site-footer .footer-logo {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer .widget-title {
	font-size: 1.25rem;
	color: #fff;
	text-decoration: underline;
}

.site-footer .footer-contact .widget-title {
	margin-bottom: 0.75rem;
}

.site-footer .footer-contact-block + .footer-contact-block {
	margin-top: 1.75rem;
}

.site-footer .footer-contact p {
	margin: 0;
}

.site-footer .footer-contact .btn a {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	color: #fff;
	border: 2px solid #fff;
	box-sizing: border-box;
}

.site-footer .footer-contact .btn a:hover {
	color: #fff;
}

.site-footer .footer-copyright {
	display: flex;
	justify-content: space-around;
	background-color: var(--text-dark);
	color: #fff;
	padding: 1.25rem var(--page-gutter);
	gap: 1.25rem;
	box-sizing: border-box;
}

.site-footer .footer-copyright p,
.site-footer .footer-widgets section,
.site-footer .footer-widgets section p {
	margin: 0;
}

.site-footer .footer-legal-links a {
	color: #fff;
}

.site-footer .footer-legal-links a:hover {
	color: var(--highlight);
}

/* Content Classes */
.welcome-container {
	background-color: var(--secondary-color);
	padding: 3.75rem 3.75rem 2.5rem;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
	margin: 3.75rem auto;
	max-width: var(--content-max);
	width: 100%;
}

.typical-spacing {
	padding: 3.75rem 0;
}

.bg-dark {
	background-color: var(--primary-color);
}

.bg-light {
	background-color: var(--secondary-color);
}

.contact-us-container p {
	font-size: 1.625rem;
}

.contact-us-container .btn {
	font-size: 1.25rem;
}

.btn a,
.wp-element-button,
.wp-block-button__link {
	border: 2px solid #fff !important;
	border-radius: 10px !important;
	background-color: var(--cta-green) !important;
	color: #fff !important;
	padding: 10px 45px;
	font-weight: 600;
	box-sizing: border-box;
	text-decoration: none !important;
}

.btn a:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.article-content a.wp-element-button:hover,
.article-content a.wp-block-button__link:hover {
	background-color: rgba(0, 0, 0, 0.7) !important;
	border-color: #fff !important;
	color: #fff !important;
}

.home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
	color: var(--primary-color);
}

/*
 * Home layout:
 * - Section shells can be full-bleed (teal/FAQ backgrounds).
 * - Side gutter + max-width apply ONLY on each top-level
 *   .gb-container-content (nested containers were double-padding text).
 */
.home #main > .gb-block-container {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.home .gb-container-content {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.home #main > .gb-block-container > .gb-container-inside > .gb-container-content {
	max-width: var(--content-max);
	margin: 30px auto;
	padding-left: var(--page-gutter);
	padding-right: var(--page-gutter);
}

.home #main > .gb-block-container.typical-spacing > .gb-container-inside > .gb-container-content,
.home #main > .typical-spacing > .gb-container-inside > .gb-container-content {
	margin: 0 auto;
}

.wp-block-image {
	margin: 0;
}

.home .gb-container-content .wp-block-column:has(p) {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Full-bleed teal — horizontal inset from top-level content well only */
.home #main > .gb-block-container:nth-of-type(3),
.home #main > .typical-spacing {
	background-color: var(--primary-color);
	color: #fff;
	padding: 40px 0;
}

.home #main > .awards-container {
	padding: 40px 0 20px;
}

/* Same content well for top-level blocks without nested gb-content */
.home #main > :is(.areas-expertise-heading, .wp-block-heading, .wp-block-group, .welcome-container) {
	width: 100%;
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.home #main > :is(.areas-expertise-heading, .wp-block-heading, .wp-block-group) {
	padding-left: var(--page-gutter);
	padding-right: var(--page-gutter);
}

.home .awards-container h2 {
	text-align: center;
	color: #fff;
}

.home .awards-container .wp-block-column {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	padding: 10px;
}

.home .awards-container .wp-block-buttons {
	margin-top: 50px;
}

#page {
	padding: 0;
	margin: 0;
}

#page.container {
	max-width: unset;
	padding-left: 0;
	padding-right: 0;
}

.home #content.site-content {
	display: block;
	padding: 0;
	margin: 0;
}

/*
 * Page title bar — compact strip (closer to prior Local / readable match)
 * Posts use .title-container-post — image PTB like old Avada (300px, white + lime)
 */
.title-container {
	width: 100%;
	text-align: center;
	padding: 3.75rem var(--page-gutter);
	box-sizing: border-box;
	background-color: #ccc;
}

.title-container h1 {
	margin: 0;
	width: 100%;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 2.25rem; /* 36px */
	line-height: 1.15;
	color: var(--text-dark);
}

/* Blog post PTB — old: min-height 300px, cover image, rgba(0,0,0,0.2) multiply */
.title-container-post {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	padding: 60px var(--page-gutter);
	background-color: var(--primary-color);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.title-container-post::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: rgba(0, 0, 0, 0.2);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.title-container-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--content-wide);
	margin: 0 auto;
}

.title-container-post .title-eyebrow {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 2.25rem;
	line-height: 1.15;
	color: #ffffff;
}

.title-container-post .title-subtitle {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 48px;
	line-height: 1.15;
	color: var(--highlight);
}

.article-content {
	margin: 30px auto;
	max-width: var(--content-max);
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: var(--page-gutter) !important;
	padding-right: var(--page-gutter) !important;
	box-sizing: border-box;
}

/*
 * Blog listing (.page-id-39) — match old teal band + white cards
 * (no featured images: title, rule, excerpt, READ MORE; hide date)
 * Width matches single posts + other pages (--content-max).
 */
.page-id-39 .wp-block-query {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
	max-width: 100vw;
	margin-top: 2.5rem;
	padding: 50px var(--page-gutter) 60px;
	box-sizing: border-box;
	background-color: var(--primary-color);
}

.page-id-39 .wp-block-query::before {
	content: "Blog Posts";
	display: block;
	max-width: var(--content-max);
	margin: 0 auto 1.75rem;
	color: #ffffff;
	font-family: var(--font-sans);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.page-id-39 .wp-block-post-template {
	display: grid;
	gap: 1.5rem;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.page-id-39 .wp-block-post {
	position: relative;
	display: flex;
	background-color: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.page-id-39 .wp-block-post > .wp-block-group {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 1.25rem !important;
}

.page-id-39 .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}

.page-id-39 .wp-block-post-title {
	margin: 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--primary-color);
	font-family: var(--font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.page-id-39 .wp-block-post-title a {
	color: var(--primary-color);
	text-decoration: none;
}

/* Stretch title link over card so the CSS READ MORE is clickable */
.page-id-39 .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.page-id-39 .wp-block-post-excerpt {
	flex: 1 1 auto;
	margin: 0.85rem 0 1.25rem;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--text-dark);
}

.page-id-39 .wp-block-post-excerpt p,
.page-id-39 .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
}

.page-id-39 .wp-block-post-date,
.page-id-39 .wp-block-post-date * {
	display: none !important;
}

/* READ MORE — CSS stand-in + real block share the same look */
.page-id-39 .wp-block-group__inner-container::after,
.page-id-39 .wp-block-read-more {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 0.65rem 1.25rem;
	background-color: var(--cta-green);
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
	border-radius: 0;
	text-decoration: none !important;
}

.page-id-39 .wp-block-group__inner-container::after {
	content: "READ MORE";
}

.page-id-39 .wp-block-read-more {
	color: #ffffff !important;
}

.page-id-39 .wp-block-group__inner-container:has(.wp-block-read-more)::after {
	content: none;
	display: none;
}

.article-post-footer {
	max-width: var(--content-max);
	width: 100%;
	margin: 0 auto 60px;
	padding: 40px var(--page-gutter) 0;
	box-sizing: border-box;
	border-top: 1px solid #e0e0e0;
}

.article-post-footer h2 {
	margin: 0 0 1rem;
	color: var(--primary-color);
}

.article-post-footer-content a {
	color: var(--link-blue);
}

#primary {
	width: 100%;
	max-width: unset;
}

/* video container */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video-container video,
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*
 * Home hero — matches old Avada #home-hero-desktop
 * (hundred-percent-height video background + centered titles)
 */
.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	color: #fff;
}

.home-hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.home-hero-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 2rem 1.25rem;
	max-width: var(--content-wide);
	width: 100%;
}

.home-hero-title {
	margin: 0;
	color: #ffffff;
	text-shadow: 0 0 20px #000000;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.15;
}

/* Beat .home h1 { color: teal } */
.home .home-hero-title {
	color: #ffffff;
}

.home-hero-tagline {
	margin: 0;
	color: var(--highlight);
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 700;
	font-size: 42px;
	line-height: 1.2;
}

.areas-expertise-heading,
h2.areas-expertise-heading {
	text-align: center;
	padding-top: 40px;
	padding-bottom: 0;
}

.areas-expertise-heading h2 {
	margin: 0;
}

/*
 * Overlay cards (CC Child Pages)
 * Home + AOE (.page-id-12) = 2-col; Helpful Resources (.page-id-14) = 3-col
 */
:is(.home, .page-id-12, .page-id-14) .ccchildpages.ccflex {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	gap: 0 var(--gap-col);
	max-width: var(--content-max);
	width: 100%;
	margin: 40px auto 0 !important;
	/* Plugin sets padding: 0 !important — must beat it */
	padding: 0 var(--page-gutter) !important;
	box-sizing: border-box;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	box-sizing: border-box;
	width: calc((100% - var(--gap-col)) / 2);
	margin: 0 0 40px;
	padding: 20px;
	min-height: 280px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	float: none;
	text-align: center;
	border-radius: 0;
	background-color: var(--primary-color);
}

/* Beat plugin .ccflex.twocol/.threecol widths */
:is(.home, .page-id-12) .ccchildpages.ccflex:is(.threecol, .twocol) .ccchildpage {
	width: calc((100% - var(--gap-col)) / 2);
}

.page-id-14 .ccchildpages.ccflex.threecol .ccchildpage {
	width: calc((100% - (var(--gap-col) * 2)) / 3);
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage :is(.cc-child-pages-thumb, img.cc-child-pages-thumb, img) {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center center;
	margin: 0;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage :is(.ccpage_title, .ccpages_more) {
	position: relative;
	z-index: 2;
	margin: 0;
	color: #ffffff;
	width: 100%;
	text-align: center;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage .ccpage_title,
:is(.home, .page-id-12, .page-id-14) h3.ccpage_title {
	font-size: 36px;
	line-height: 1.15;
	color: #ffffff;
	text-align: center;
}

.page-id-14 .ccchildpages .ccchildpage .ccpage_title,
.page-id-14 h3.ccpage_title {
	font-size: 28px;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage .ccpages_more {
	margin-top: 0;
	font-size: inherit;
	text-align: center;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage .ccpages_more a {
	color: #ffffff;
	text-decoration: none;
	border-bottom: 2px solid #ffffff;
	display: inline-block;
}

:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage .ccpages_more a:hover,
:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage .ccpages_more a:focus {
	color: #ffffff;
	border-bottom-color: transparent;
}

/*
 * FAQ accordion — home + FAQ pages (old Avada toggle)
 * .page-id-63 = Adoption Parents FAQs; .page-id-65 = Birth Parents FAQs
 */
.home #main > .gb-block-container:has(.wp-block-accordion),
.home #main > .home-faq-section {
	background-color: var(--secondary-color);
	padding: 60px 0 40px;
	box-sizing: border-box;
}

:is(.page-id-63, .page-id-65) .article-content {
	background-color: var(--secondary-color);
	width: 100%;
	max-width: none;
	margin: 0;
	padding-top: 60px;
	padding-bottom: 40px;
	padding-left: var(--page-gutter) !important;
	padding-right: var(--page-gutter) !important;
	box-sizing: border-box;
}

.home #main > .gb-block-container:has(.wp-block-accordion) > .gb-container-inside > .gb-container-content,
.home #main > .home-faq-section > .gb-container-inside > .gb-container-content,
:is(.page-id-63, .page-id-65) .article-content > * {
	max-width: var(--content-max);
	margin-left: auto;
	margin-right: auto;
}

.home .gb-block-container:has(.wp-block-accordion) > .gb-container-inside > .gb-container-content > .wp-block-heading,
.home .home-faq-section .wp-block-heading,
:is(.page-id-63, .page-id-65) .article-content > .wp-block-heading:first-child {
	text-align: center;
	margin: 0 0 20px;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 auto 20px;
	max-width: var(--content-max);
	width: 100%;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-item {
	background-color: var(--primary-color);
	border: 2px solid var(--primary-color);
	border-radius: 0;
	margin: 0 0 10px;
	color: #ffffff;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-item:last-child {
	margin-bottom: 0;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-item :is(
	.wp-block-accordion-heading,
	.wp-block-accordion-heading__toggle,
	.wp-block-accordion-heading__toggle-title,
	.wp-block-accordion-heading__toggle-icon,
	.wp-block-accordion-panel
) {
	color: #ffffff;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-item:is(:hover, .is-open) {
	background-color: #ffffff;
	color: #000000;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-item:is(:hover, .is-open) :is(
	.wp-block-accordion-heading,
	.wp-block-accordion-heading__toggle,
	.wp-block-accordion-heading__toggle-title,
	.wp-block-accordion-heading__toggle-icon,
	.wp-block-accordion-panel
) {
	color: #000000;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-heading {
	margin: 0;
	font-size: inherit;
	color: inherit;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-heading__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.5rem 2rem;
	background: transparent;
	border: 0;
	color: inherit;
	text-align: left;
	cursor: pointer;
	font: inherit;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-heading__toggle-title {
	flex: 1;
	color: inherit;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-heading__toggle-icon {
	flex-shrink: 0;
	order: 2;
	color: inherit;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-panel {
	padding: 0 2rem 1.75rem;
	color: inherit;
	line-height: 1.5;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-panel p {
	margin: 0 0 1rem;
}

:is(.home, .page-id-63, .page-id-65) .wp-block-accordion-panel p:last-child {
	margin-bottom: 0;
}

.home .gb-block-container:has(.wp-block-accordion) .wp-block-buttons,
.home .home-faq-section .wp-block-buttons {
	justify-content: center;
}

/* Homepage contact */
.home .home-contact-section {
	background-color: #fff;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 60px var(--page-gutter) 40px;
}

.home .home-contact-section .wp-block-heading {
	margin: 0 0 0.75rem;
	color: var(--primary-color);
	font-weight: 600;
	text-align: center;
}

.home .home-contact-section > .wp-block-group__inner-container > .wp-block-paragraph.has-text-align-center {
	margin: 0 0 2rem;
	font-size: 1.125rem;
}

.home .home-contact-grid {
	gap: var(--gap-col);
	align-items: start;
	justify-content: center;
	margin-bottom: 0;
}

.home :is(.home-contact-info, .home-contact-grid > .wp-block-column) {
	text-align: center;
}

.home :is(
	.home-contact-brand,
	.home-contact-grid > .wp-block-column > .wp-block-image
) {
	max-width: 300px;
	margin: 0 auto 1.25rem;
}

.home :is(
	.home-contact-brand img,
	.home-contact-grid > .wp-block-column > .wp-block-image img
) {
	display: block;
	width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.home :is(
	.home-contact-info > .wp-block-paragraph,
	.home-contact-grid > .wp-block-column > .wp-block-paragraph
) {
	max-width: 300px;
	margin: 0 auto 0.35rem;
	text-align: center;
	line-height: 1.5;
}

.home :is(
	.home-contact-info > .wp-block-paragraph:last-of-type,
	.home-contact-grid > .wp-block-column > .wp-block-paragraph:last-of-type
) {
	margin-bottom: 1.25rem;
	margin-top: 0.65rem;
}

.home :is(.home-contact-info a, .home-contact-grid > .wp-block-column a) {
	color: inherit;
	text-decoration: underline;
}

.home :is(.home-contact-map iframe, .home-contact-section iframe) {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 250px;
	border: 0;
}

/****
 *
 * Media queries
 *
****/
@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media screen and (max-width: 1024px) {
	.merger-banner-desktop {
		display: none;
	}

	.merger-banner-mobile {
		display: block;
	}

	/* Full-bleed mint row — avoid margin collapse / white strips */
	.merger-banner {
		padding: 0;
		margin: 0;
		overflow: visible;
	}

	.merger-banner-inner {
		width: 100%;
		max-width: 100%;
		padding: 1rem var(--page-gutter);
		margin: 0;
		box-sizing: border-box;
	}

	.merger-banner-mobile summary {
		align-items: flex-start;
		gap: 0.65rem;
		line-height: 1.4;
		padding: 0;
	}

	.merger-banner-mobile summary .merger-banner-icon {
		margin-top: 0.15em;
	}

	.merger-banner-mobile[open] summary {
		margin-bottom: 0.65rem;
	}

	.merger-banner-mobile p {
		padding-left: calc(1.25em + 0.65rem);
		padding-bottom: 0.15rem;
	}

	.home-hero-tagline {
		font-size: clamp(1.5rem, 6vw, 42px);
	}
}

@media screen and (max-width: 1000px) {
	/*
	 * Mobile header — match old Avada classic mobile:
	 * teal bar, logo left, light hamburger right, menu panel teal
	 * (old site: no-mobile-sticky-header)
	 */
	.site-header {
		position: relative;
		top: auto;
		display: block;
		width: 100%;
		box-shadow: none;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.admin-bar .site-header {
		top: auto;
	}

	.site-header .container {
		margin: 0;
		padding: 0 var(--page-gutter);
		position: relative;
	}

	.site-header .site-identity {
		min-height: 0;
		padding: 0.75rem 3.5rem 0.75rem 0;
		align-items: center;
	}

	.site-header .custom-logo {
		width: 150px;
		max-width: 150px;
	}

	.site-header .site-title-wrap {
		text-align: left;
	}

	.top-navigation {
		display: block;
		position: relative;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	/*
	 * Keep hamburger/close pinned to the logo row.
	 * (top: 50% was centering it in the full open drawer height)
	 */
	.mobile-navigation,
	.mobile-navigation.toggle-active,
	.toggle-active {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: auto;
		min-width: 0;
		height: 4.75rem;
		padding: 0;
		position: absolute;
		top: 0;
		right: var(--page-gutter);
		transform: none;
		z-index: 1002;
		background: transparent !important;
		text-align: center;
	}

	.mobile-navigation button,
	.mobile-navigation .menu-toggle,
	.mobile-navigation .button-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: auto;
		min-width: 44px;
		min-height: 44px;
		margin: 0;
		padding: 0.55rem 0.7rem;
		background-color: #f9f9fb !important;
		border: 0;
		border-radius: 3px;
		box-shadow: none;
		color: var(--primary-color) !important;
		line-height: 1;
	}

	.mobile-navigation .button-toggle:hover,
	.mobile-navigation .button-toggle:focus,
	.mobile-navigation .button-toggle:active {
		background-color: #fff !important;
		color: var(--primary-color) !important;
		box-shadow: none;
	}

	.mobile-navigation .button-toggle i {
		font-size: 1.35rem;
		line-height: 1;
		color: inherit;
	}

	/* Icon-only control (hide “Menu” / “Close” label text) */
	.mobile-navigation .button-toggle span {
		font-size: 0;
		line-height: 0;
		color: transparent;
	}

	.mobile-navigation .button-toggle span i {
		font-size: 1.35rem;
		line-height: 1;
		color: var(--primary-color);
	}

	/* Teal slide-down panel (old mobile-bg = #05445e) */
	.drawer-wrap {
		width: 100%;
		position: relative;
		z-index: 1;
	}

	.drawer,
	.drawer.drawer-menu-explore,
	.drawer-menu-explore {
		width: 100%;
		max-width: none;
		margin: 0;
		background-color: var(--primary-color) !important;
		padding: 0.25rem 5% 1.25rem !important;
		box-shadow: none;
		border: 0;
	}

	/* Parent .show-drawer is inline-block (white gap); force block when open */
	.drawer.show-drawer {
		display: block !important;
	}

	.drawer .drawer-navigation {
		width: 100%;
		max-width: var(--content-max);
		margin: 0 auto;
		font-family: var(--font-sans);
		font-size: 18px;
		font-weight: 400;
	}

	.drawer .drawer-navigation ul li {
		border-bottom: 1px solid rgba(249, 249, 251, 0.3);
	}

	.drawer .drawer-navigation ul li:last-child {
		border-bottom: none;
	}

	.drawer .drawer-navigation a {
		color: #fff;
		font-weight: 400;
		padding: 0.9rem 0.25rem;
	}

	.drawer .drawer-navigation a:hover,
	.drawer .drawer-navigation .current-menu-item > a,
	.drawer .drawer-navigation .current_page_item > a {
		color: var(--highlight);
	}

	.drawer .drawer-navigation .sub-menu,
	.drawer .drawer-navigation .children {
		background-color: var(--dropdown-bg);
		border: none;
		box-shadow: none;
		padding-left: 0.75rem;
	}

	.drawer .drawer-navigation .sub-menu a,
	.drawer .drawer-navigation .children a {
		font-size: 1rem;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	}

	.drawer .menu-item-has-children .toggle-sub {
		background-color: rgba(0, 0, 0, 0.2);
		color: #fff;
		border-radius: 0;
	}

	.drawer .menu-item-has-children .toggle-sub:hover {
		background-color: var(--cta-green);
		color: #fff;
	}

	/* Phone + Contact Us already use shared nav rules; ensure spacing in drawer */
	.drawer-navigation .nav-button {
		margin-top: 0.75rem;
	}

	.drawer-navigation .nav-button > a,
	.drawer-navigation .menu > .menu-item > a[href*="/contact-us"] {
		display: inline-block;
		margin: 0.5rem 0 0.75rem;
	}

	#page,
	#page.container {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	.home #content.site-content {
		padding-top: 0;
		margin-top: 0;
	}

	.site-footer .footer-widgets .footer-column {
		width: 100%;
		padding-top: 0;
	}

	.site-footer .footer-copyright {
		display: block;
		text-align: center;
		padding-left: var(--page-gutter);
		padding-right: var(--page-gutter);
	}

	.site-footer .footer-copyright p {
		margin-bottom: 0.625rem;
	}

	.gb-block-container {
		padding-left: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	/*
	 * Stack columns site-wide at the mobile-header breakpoint
	 * (practice areas, about, etc. — not only Home)
	 */
	.home .wp-block-columns,
	.article-content .wp-block-columns {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}

	.home .wp-block-columns > .wp-block-column,
	.article-content .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
		flex-grow: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.home .wp-block-columns .wp-block-image,
	.home .wp-block-columns .wp-block-image img,
	.article-content .wp-block-columns .wp-block-image,
	.article-content .wp-block-columns .wp-block-image img {
		width: 100% !important;
		max-width: 100%;
		height: auto;
	}

	/* Awards badges: don’t inherit full-width stack — keep compact pills */
	.home .awards-container .wp-block-columns {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: center;
		align-items: stretch;
		gap: 1rem;
	}

	.home .awards-container .wp-block-columns > .wp-block-column {
		flex-basis: 180px !important;
		flex-grow: 0 !important;
		width: 180px !important;
		max-width: 180px !important;
		margin: 0;
		padding: 0.75rem;
		box-sizing: border-box;
	}

	.home .awards-container .wp-block-columns .wp-block-image,
	.home .awards-container .wp-block-columns .wp-block-image img {
		width: 100% !important;
		max-width: 140px !important;
		height: auto !important;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	:is(.home, .page-id-12, .page-id-14) .ccchildpages.ccflex {
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100% !important;
		padding: 0 var(--page-gutter) !important;
	}

	:is(.home, .page-id-12, .page-id-14) .ccchildpages .ccchildpage,
	:is(.home, .page-id-12, .page-id-14) .ccchildpages.ccflex:is(.threecol, .twocol) .ccchildpage {
		width: 100%;
		max-width: none;
		margin-bottom: 40px;
	}

	:is(.home, .page-id-12, .page-id-14) :is(
		.ccchildpages .ccchildpage .ccpage_title,
		h3.ccpage_title
	) {
		font-size: 36px;
	}

	.welcome-container {
		padding: 1.25rem var(--page-gutter);
	}

	.welcome-container h1 {
		text-align: center;
		color: var(--primary-color);
		font-weight: 600;
		margin-bottom: 40px;
	}

	.home .home-contact-section {
		padding: 40px var(--page-gutter);
	}

	.home .home-contact-grid {
		flex-direction: column;
	}

	.home .home-contact-grid > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.title-container {
		padding: 2.5rem var(--page-gutter);
	}

	.title-container-post {
		min-height: 220px;
		padding: 40px var(--page-gutter);
	}

	.title-container-post .title-subtitle {
		font-size: clamp(1.75rem, 6vw, 48px);
	}

	.article-content h1,
	.article-content h1.wp-block-heading {
		font-size: clamp(2rem, 8vw, 64px);
	}

	.article-content h2,
	.article-content h2.wp-block-heading {
		font-size: clamp(1.5rem, 5vw, 32px);
	}

	.article-content h3,
	.article-content h3.wp-block-heading {
		font-size: clamp(1.35rem, 4vw, 28px);
	}

	.page-id-39 .wp-block-post-template.columns-3 {
		grid-template-columns: 1fr !important;
	}
}
