/* Families nav + footer — scoped so page content styles stay as they are */

:root {
	--yth-wine: #8C0049;
	--yth-navy: #1A356A;
	--yth-navy-deep: #122A57;
	--yth-gold: #FFD586;
	--yth-ink: #221923;
	--yth-white: #FFFFFF;
	--yth-blue-pale: #CCD7EB;
	--yth-border: #C9CCD6;
	--yth-font-sans: "Merriweather Sans", "Helvetica Neue", Arial, sans-serif;
	--yth-font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--yth-page-max: 1315px;
	--yth-radius: 6px;
}

body.yth-families-chrome {
	--yth-header-h: 72px;
}
html,body{
	overflow-x:hidden;
}
header.yth-families-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--yth-white);
	transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
	padding: 0;
	box-shadow: none;
}

header.yth-families-header.is-hidden {
	transform: translateY(-100%);
}

body.yth-families-chrome header.yth-families-header,
body.menu-opened header.yth-families-header,
header.yth-families-header.colored-header,
header.yth-families-header.shrink {
	background: var(--yth-white) !important;
	box-shadow: none;
}

.yth-header-inner {
	max-width: var(--yth-page-max);
	margin: 0 auto;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: nowrap;
}

.yth-brand {
	flex: none;
	line-height: 0;
}

header.yth-families-header .yth-brand img,
header.yth-families-header .navbar-brand img {
	display: block;
	width: 100%;
	max-width: 146px;
	height: auto !important;
}

.yth-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.yth-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	height:18px;
}

.yth-nav-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yth-nav-list a {
	font-family: var(--yth-font-sans);
	font-size: 15px;
	color: var(--yth-ink);
	text-decoration: none;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

.yth-nav-list a:hover,
.yth-nav-list .current-menu-item > a {
	color: var(--yth-navy);
}

.yth-header-cta {
	display: flex;
	align-items: center;
	gap: 13px;
	flex: none;
}

.yth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px 12px;
	border-radius: var(--yth-radius);
	font-family: var(--yth-font-sans);
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.yth-btn.yth-btn-outline {
	background: var(--yth-white);
	color: var(--yth-ink);
	border-color: var(--yth-border);
	padding: 10px 19px 12px;
}

.yth-btn-outline:hover {
	border-color: var(--yth-navy);
	color: var(--yth-navy);
}

.yth-btn-solid {
	background: var(--yth-navy);
	color: var(--yth-white);
}

.yth-btn-solid:hover {
	background: var(--yth-navy-deep);
	color: var(--yth-white);
}

.yth-btn-light {
	background: var(--yth-white);
	color: var(--yth-ink);
}

.yth-btn-light:hover {
	background: var(--yth-blue-pale);
	color: var(--yth-ink);
}

.yth-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--yth-ink);
	cursor: pointer;
	padding: 0;
}

.yth-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: #221923;
	display: grid;
	align-content: start;
	gap: 32px;
	padding: 40px;
}

.yth-mobile-nav[hidden] {
	display: none !important;
}

.yth-mobile-nav-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.yth-mobile-nav-top img {
	width: 128px;
	height: auto;
	display: block;
}

.yth-mobile-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}

.yth-mobile-links .yth-nav-list {
	display: grid;
	justify-content: start;
	gap: 24px;
}

.yth-mobile-links a {
	font-family: var(--yth-font-display);
	font-size: 21px;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
}

.yth-mobile-cta {
	display: grid;
	gap: 12px;
	padding-top: 16px;
}

.yth-mobile-cta .yth-btn {
	padding: 16px 24px;
}

/* Footer — match client Families chrome */
footer.yth-families-footer,
footer.site-footer.yth-families-footer {
	background: #221923 !important;
	color: #fff;
	padding: 0;
	font-family: var(--yth-font-sans);
}

.yth-footer-cta {
	max-width: var(--yth-page-max);
	margin: 0 auto;
	padding: 60.5px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 80px;
}

footer.yth-families-footer .yth-footer-cta h2 {
	margin: 0;
	padding: 0;
	font-family: var(--yth-font-display);
	font-size: 41px;
	font-weight: 700;
	line-height: 1.2;
/* 	letter-spacing: -0.015em; */
	color: #fff;
	text-align: left;
}

.yth-btn.yth-footer-cta-btn {
	padding: 16px 30px;
	gap: 10px;
	box-shadow: 0 12px 26px rgba(26, 53, 106, 0.34);
	flex: none;
	font-size:15px;
}
.yth-btn.yth-footer-cta-btn:hover {
	
	text-decoration:none !important;
}
.yth-footer-cta-rule {
	max-width: 1280px;
	margin: 0 auto;
	height: 1px;
	background: rgba(255, 255, 255, 0.16);
}

.yth-footer-inner {
	max-width: var(--yth-page-max);
	margin: 0 auto;
	padding: 95px 20px 0;
}

.yth-footer-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 199px 180px 130px;
	gap: 32px;
	align-items: start;
}

.yth-footer-brand {
	display: grid;
	gap: 24px;
	justify-items: start;
	max-width: 22rem;
}

.yth-footer-brand img {
	width: 200px;
	height: auto;
	display: block;
	max-width: 200px;
	margin: 0;
}

footer.yth-families-footer .yth-footer-brand p {
	margin: 0;
	width: 283px;
	font-family: var(--yth-font-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	color: #fff;
	text-align: left;
}

.yth-social {
	display: flex;
	align-items: center;
	gap: 26px;
	padding-top: 12px;
}

.yth-social a {
	display: inline-flex;
	align-items: center;
	color: var(--yth-gold) !important;
	line-height: 0;
	text-decoration: none;
	    width: 30px;
    height: 28px;
}

.yth-social a:hover {
	color: #fff !important;
}

.yth-social svg {
	display: block;
	flex: none;
	overflow: visible;
	width:100%;
	height:100%;
}

.yth-made-in {
	display: flex;
	align-items: center;
	gap: 8px;
/* 	padding-top: 8px; */
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--yth-gold);
}

.yth-footer-col {
	display: grid;
	gap: 16px;
	align-content: start;
}

footer.yth-families-footer .yth-footer-col h3 {
	font-family: var(--yth-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--yth-gold);
	margin: 0;
	padding: 0;
	line-height: 1.4;
}

.yth-footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.yth-footer-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: none;
	line-height: 1.4;
}

footer.yth-families-footer .yth-footer-list a {
	font-family: var(--yth-font-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #fff !important;
	text-decoration: none;
	text-align: left;
}

footer.yth-families-footer .yth-footer-list a:hover {
	color: #fff !important;
	opacity: 0.8;
	text-decoration: none;
}

.yth-footer-col-end {
	justify-items: end;
	text-align: right;
}

.yth-footer-col-end .yth-footer-list,
.yth-footer-col-end .yth-footer-list a {
	justify-items: end;
	text-align: right;
}

.yth-footer-contact {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 16px;
}

footer.yth-families-footer .yth-footer-contact a {
	font-family: var(--yth-font-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--yth-gold) !important;
	text-decoration: none;
	text-align: left;
}

footer.yth-families-footer .yth-footer-contact a:hover {
	color: #fff !important;
	text-decoration: none;
}

.yth-footer-bar {
	margin-top: 80px;
	padding: 17px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	font-family: var(--yth-font-sans);
	font-size: 12.7px;
	font-weight: 400;
	color: #fff;
}

.yth-footer-legal {
	display: flex;
	align-items: center;
	gap: 32px;
}

footer.yth-families-footer .yth-footer-legal a {
	font-size: 13px;
	font-weight: 400;
	color: #fff !important;
	text-decoration: none;
	text-align: left;
}

footer.yth-families-footer .yth-footer-legal a:hover {
	opacity: 0.7;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.yth-burger {
		display: inline-flex;
	}
	.yth-nav,
	.yth-header-cta .yth-btn {
		display: none;
	}
	.yth-nav-list{
		height:unset;
	}
}

@media (max-width: 860px) {
	.yth-footer-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		padding: 40px 28px;
	}
	footer.yth-families-footer .yth-footer-cta h2 {
		font-size: 30px;
	}
	.yth-footer-inner {
		padding: 56px 28px 0;
	}
	.yth-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.yth-footer-contact {
		position: static;
		grid-column: 1 / -1;
		justify-content: flex-start;
		padding-top: 16px;
	}
	.yth-footer-col-end {
		justify-items: start;
		text-align: left;
	}
	.yth-footer-col-end .yth-footer-list,
	.yth-footer-col-end .yth-footer-list a {
		justify-items: start;
		text-align: left;
	}
}

@media (max-width: 700px) {
	header.yth-families-header .yth-brand img {
		width: 168px;
		max-width: 168px;
	}
}

@media (max-width: 560px) {
	.yth-footer-cta,
	.yth-footer-inner {
		padding-left: 16px;
		padding-right: 16px;
	}
	footer.yth-families-footer .yth-footer-cta h2 {
		font-size: 26px;
	}
	.yth-footer-cta-btn {
		width: 100%;
		justify-content: center;
	}
	.yth-footer-grid {
		grid-template-columns: 1fr;
	}
	.yth-footer-bar {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 40px;
	}
	.yth-header-inner {
		padding: 12px 16px;
	}
}

/* Mobile overlay sits outside <header>; keep it hidden on templates that already hide the nav */
.page-template-template_get_started .yth-mobile-nav,
.page-template-template-fullscreen-embed .yth-mobile-nav {
	display: none !important;
}
