/* ==========================================================================
   WAUSM v2 header + footer
   Scoped to .hv2h (header) and .hv2f (footer) so nothing else on the site
   is affected. Loaded by header-v2.php.
   ========================================================================== */

.hv2h, .hv2f, .hv2f-cta {
	--hv2-navy: #213469;
	--hv2-navy-deep: #112046;
	--hv2-green: #75BB43;
	--hv2-green-hover: #8CC963;
	--hv2-green-text: #3F7A1B;
	--hv2-ink: #16213D;
	--hv2-body: #3D4556;
	--hv2-muted: #5E6678;
	--hv2-line: #E3E6EC;
	--hv2-paper: #F5F2EC;
	/* Same widths as the theme's .container, so edges line up with every page. */
	--hv2-wrap: 100%;
	--hv2-gutter: 30px;
	font-family: 'Mukta Mahee', sans-serif;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 768px)  { .hv2h, .hv2f, .hv2f-cta { --hv2-wrap: 690px; --hv2-gutter: 15px; } }
@media (min-width: 992px)  { .hv2h, .hv2f, .hv2f-cta { --hv2-wrap: 930px; } }
@media (min-width: 1200px) { .hv2h, .hv2f, .hv2f-cta { --hv2-wrap: 1140px; } }
@media (max-width: 359.98px) { .hv2h, .hv2f, .hv2f-cta { --hv2-gutter: 16px; } }
.hv2h *, .hv2h *::before, .hv2h *::after,
.hv2f *, .hv2f *::before, .hv2f *::after,
.hv2f-cta *, .hv2f-cta *::before, .hv2f-cta *::after { box-sizing: border-box; }
:where(.hv2h, .hv2f) ul { list-style: none; margin: 0; padding: 0; }
:where(.hv2h, .hv2f, .hv2f-cta) p { margin: 0; }
:where(.hv2h, .hv2f, .hv2f-cta) a { text-decoration: none; }
:where(.hv2f) h2 { margin: 0; }
.hv2h button { font-family: inherit; }
.hv2h svg, .hv2f svg { display: block; flex: none; }
.hv2h summary, .hv2f summary { list-style: none; cursor: pointer; }
.hv2h summary::-webkit-details-marker { display: none; }
.hv2h summary::marker { content: ''; }
.hv2h-sr, .hv2f-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hv2h-wrap, .hv2f-wrap {
	width: 100%;
	max-width: calc(var(--hv2-wrap) + var(--hv2-gutter) * 2);
	margin: 0 auto;
	padding-left: var(--hv2-gutter);
	padding-right: var(--hv2-gutter);
}
#hv2-main:focus { outline: none; }
html.hv2h-locked { overflow: hidden; }

/* ---------- Header shell ---------- */
.hv2h {
	position: sticky;
	top: -40px;               /* utility bar scrolls away, main bar stays */
	z-index: 1000;
	background: #fff;
	color: var(--hv2-ink);
}
.hv2h--adminbar { top: -8px; }
/* Skip link: hidden until a keyboard user tabs to it. Clipped rather than moved
   off-screen, so a site alert above the header can't reveal it. */
.hv2h-skip {
	position: absolute; left: 16px; top: 8px; z-index: 2000;
	padding: 10px 16px; background: var(--hv2-navy-deep); color: #fff !important; font-weight: 600;
}
.hv2h-skip:not(:focus) {
	width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Utility bar */
.hv2h-utility {
	background: var(--hv2-navy-deep);
	color: rgba(255,255,255,.82);
	font-size: 14px;
	line-height: 1;
}
.hv2h-utility__inner {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.hv2h-utility ul { display: flex; align-items: center; gap: 24px; }
.hv2h-utility a, .hv2h-search__toggle {
	display: inline-flex; align-items: center; gap: 8px;
	color: rgba(255,255,255,.82);
	font-weight: 500;
	letter-spacing: .01em;
	transition: color .15s ease;
}
.hv2h-utility a:hover, .hv2h-utility a:focus-visible,
.hv2h-search__toggle:hover, .hv2h-search__details[open] .hv2h-search__toggle { color: #fff; }
.hv2h-utility__links li + li { position: relative; }
.hv2h-utility__links li + li::before {
	content: ''; position: absolute; left: -12px; top: 50%; width: 1px; height: 14px;
	margin-top: -7px; background: rgba(255,255,255,.22);
}

/* Search */
.hv2h-search { position: relative; }
.hv2h-search__form {
	position: absolute; right: 0; top: calc(100% + 13px); z-index: 30;
	width: 360px; display: flex; background: #fff;
	border: 1px solid var(--hv2-line);
	box-shadow: 0 18px 40px rgba(17,32,70,.16);
	padding: 10px;
}
.hv2h-search__input, .hv2h-drawer__search input {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px;
	border: 1px solid var(--hv2-line); border-right: 0; border-radius: 0;
	font: 400 16px/1 'Mukta Mahee', sans-serif; color: var(--hv2-ink); background: #fff;
}
.hv2h-search__input:focus, .hv2h-drawer__search input:focus { outline: 2px solid var(--hv2-navy); outline-offset: -2px; }
.hv2h-search__submit, .hv2h-drawer__search button {
	width: 48px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 0; background: var(--hv2-navy); color: #fff; cursor: pointer;
}
.hv2h-search__submit:hover, .hv2h-drawer__search button:hover { background: var(--hv2-navy-deep); }

/* Main bar */
.hv2h-bar {
	position: relative;
	background: #fff;
	border-bottom: 1px solid var(--hv2-line);
	transition: box-shadow .2s ease;
}
.hv2h.is-scrolled .hv2h-bar { box-shadow: 0 8px 24px rgba(17,32,70,.08); }
.hv2h-bar__inner {
	height: 84px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.hv2h-logo { display: block; flex: none; line-height: 0; }
.hv2h-logo img { display: block; height: 42px; width: auto; max-width: none; }

/* Primary nav */
.hv2h-nav { margin-left: auto; height: 100%; }
.hv2h-nav__list { display: flex; align-items: stretch; height: 100%; }
.hv2h-nav__item { position: static; display: flex; align-items: center; }
.hv2h-nav__link {
	position: relative;
	display: flex; align-items: center; height: 100%;
	padding: 0 6px 0 12px;
	color: var(--hv2-ink);
	font-size: 16px; font-weight: 600; letter-spacing: .005em;
	white-space: nowrap;
	transition: color .15s ease;
}
.hv2h-nav__item:not(.has-panel) .hv2h-nav__link { padding-right: 12px; }
.hv2h-nav__link::after {
	content: ''; position: absolute; left: 12px; right: 6px; bottom: -1px; height: 3px;
	background: var(--hv2-green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.hv2h-nav__item:not(.has-panel) .hv2h-nav__link::after { right: 12px; }
.hv2h-nav__item:hover .hv2h-nav__link,
.hv2h-nav__item:focus-within .hv2h-nav__link,
.hv2h-nav__item.is-open .hv2h-nav__link { color: var(--hv2-navy); }
.hv2h-nav__item:hover .hv2h-nav__link::after,
.hv2h-nav__item.is-open .hv2h-nav__link::after { transform: scaleX(1); }
.hv2h-nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 32px; margin-right: 6px; padding: 0;
	border: 0; background: transparent; color: var(--hv2-muted); cursor: pointer;
}
.hv2h-nav__toggle svg { transition: transform .2s ease; }
.hv2h-nav__item:hover .hv2h-nav__toggle svg,
.hv2h-nav__item.is-open .hv2h-nav__toggle svg { transform: rotate(180deg); }
.hv2h-nav__toggle:focus-visible, .hv2h-apply__toggle:focus-visible { outline: 2px solid var(--hv2-navy); outline-offset: 2px; }

/* Mega panel */
.hv2h-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff;
	border-top: 1px solid var(--hv2-line);
	box-shadow: 0 28px 48px rgba(17,32,70,.14);
	visibility: hidden; opacity: 0; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	z-index: 20;
}
.hv2h-nav__item:hover > .hv2h-panel,
.hv2h-nav__item:focus-within > .hv2h-panel,
.hv2h-nav__item.is-open > .hv2h-panel {
	visibility: visible; opacity: 1; transform: none;
	transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.hv2h-panel__inner {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 56px;
	padding-top: 40px;
	padding-bottom: 44px;
}
.hv2h-panel__intro { padding-right: 32px; border-right: 1px solid var(--hv2-line); }
.hv2h-panel__title {
	font-family: 'Lora', serif; font-size: 30px; line-height: 1.15; font-weight: 400;
	color: var(--hv2-navy); margin-bottom: 12px;
}
.hv2h-panel__desc { font-size: 17px; line-height: 1.5; color: var(--hv2-muted); margin-bottom: 22px; }
.hv2h-panel__more, .hv2h-acc__overview {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--hv2-navy) !important; font-weight: 700; font-size: 16px;
	border-bottom: 2px solid var(--hv2-green); padding-bottom: 2px;
}
.hv2h-panel__more:hover svg { transform: translateX(3px); }
.hv2h-panel__more svg { transition: transform .15s ease; }
.hv2h-menu { columns: 3; column-gap: 40px; }
.hv2h-menu > li { break-inside: avoid; }
.hv2h-menu a {
	display: block; padding: 7px 0;
	color: var(--hv2-ink); font-size: 16px; font-weight: 500; line-height: 1.35;
	transition: color .15s ease;
}
.hv2h-menu a:hover, .hv2h-menu a:focus-visible { color: var(--hv2-navy); text-decoration: underline; text-underline-offset: 3px; }
/* Neutralize the theme's global .sub-menu flyout styles inside v2 menus. */
.hv2h .sub-menu {
	display: block; position: static; left: auto; bottom: auto; width: auto; height: auto;
	margin-top: 0 !important; background: none;
}
.hv2h .sub-menu li { display: block; height: auto; }
.hv2h-menu .sub-menu { margin: 0 0 8px; padding: 0 0 0 14px; border-left: 1px solid var(--hv2-line); }
.hv2h-menu .sub-menu a { font-size: 15px; font-weight: 400; color: var(--hv2-muted); padding: 4px 0; }
.hv2h-menu .current-menu-item > a { color: var(--hv2-navy); font-weight: 700; }

/* Apply button + menu */
.hv2h-apply { position: relative; display: flex; align-items: stretch; flex: none; }
.hv2h-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 46px; padding: 0 24px;
	background: var(--hv2-green); border: 2px solid var(--hv2-green);
	color: var(--hv2-navy-deep) !important;
	font-size: 16px; font-weight: 700; letter-spacing: .02em; line-height: 1;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hv2h-btn:hover, .hv2h-btn:focus-visible { background: var(--hv2-green-hover); border-color: var(--hv2-green-hover); }
.hv2h-btn--ghost { background: transparent; border-color: var(--hv2-navy); color: var(--hv2-navy) !important; }
.hv2h-btn--ghost:hover, .hv2h-btn--ghost:focus-visible { background: var(--hv2-navy); border-color: var(--hv2-navy); color: #fff !important; }
.hv2h-apply__toggle {
	width: 38px; height: 46px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--hv2-green); color: var(--hv2-navy-deep);
	border: 0; border-left: 1px solid rgba(17,32,70,.22); cursor: pointer;
	transition: background-color .15s ease;
}
.hv2h-apply__toggle:hover { background: var(--hv2-green-hover); }
.hv2h-apply .hv2h-btn { padding-right: 20px; }
.hv2h-apply__menu {
	position: absolute; right: 0; top: calc(100% + 19px); z-index: 25;
	width: 340px; padding: 10px 0;
	background: #fff; border: 1px solid var(--hv2-line);
	box-shadow: 0 24px 48px rgba(17,32,70,.16);
	visibility: hidden; opacity: 0; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.hv2h-apply__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.hv2h-apply:hover .hv2h-apply__menu,
.hv2h-apply:focus-within .hv2h-apply__menu,
.hv2h-apply.is-open .hv2h-apply__menu {
	visibility: visible; opacity: 1; transform: none;
	transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.hv2h-apply__menu a {
	display: block; padding: 9px 22px;
	color: var(--hv2-ink); font-size: 15px; line-height: 1.35;
}
.hv2h-apply__menu .is-group a { font-weight: 700; color: var(--hv2-navy); }
.hv2h-apply__menu .is-sub a { padding-left: 38px; color: var(--hv2-body); }
.hv2h-apply__menu .is-group + .is-group { border-top: 1px solid var(--hv2-line); }
.hv2h-apply__menu li:last-child { border-top: 1px solid var(--hv2-line); margin-top: 6px; padding-top: 6px; }
.hv2h-apply__menu a:hover, .hv2h-apply__menu a:focus-visible { background: var(--hv2-paper); color: var(--hv2-navy); }

/* Mobile menu (hidden on desktop) */
.hv2h-mobile { display: none; }

/* ---------- Header: tablet + mobile ---------- */
@media (max-width: 1199.98px) {
	.hv2h { top: 0; }
	.hv2h--adminbar { top: 32px; }
	.hv2h-utility, .hv2h-nav, .hv2h-apply__toggle, .hv2h-apply__menu { display: none; }
	.hv2h-bar__inner { height: 72px; gap: 12px; }
	.hv2h-logo { margin-right: auto; }
	.hv2h-logo img { height: 36px; }
	.hv2h-apply .hv2h-btn { height: 44px; padding: 0 18px; }

	.hv2h-mobile { display: block; flex: none; }
	.hv2h-mobile__toggle {
		display: inline-flex; align-items: center; gap: 8px;
		height: 44px; padding: 0 12px;
		border: 2px solid var(--hv2-navy); color: var(--hv2-navy);
		font-weight: 700; font-size: 15px; user-select: none;
	}
	.hv2h-mobile__toggle path { transition: transform .2s ease, opacity .2s ease; transform-box: view-box; transform-origin: 12px 12px; }
	.hv2h-mobile[open] .hv2h-burger-top { transform: rotate(45deg) translateY(5px); }
	.hv2h-mobile[open] .hv2h-burger-mid { opacity: 0; }
	.hv2h-mobile[open] .hv2h-burger-bot { transform: rotate(-45deg) translateY(-5px); }
	.hv2h-drawer {
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch;
		background: #fff; border-top: 1px solid var(--hv2-line);
		box-shadow: 0 28px 48px rgba(17,32,70,.16);
		padding: 20px var(--hv2-gutter) 32px;
	}
	.hv2h--adminbar .hv2h-drawer { max-height: calc(100vh - 104px); }
	.hv2h-drawer__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
	.hv2h-drawer__ctas .hv2h-btn { width: 100%; }
	.hv2h-drawer__nav > li { border-bottom: 1px solid var(--hv2-line); }
	.hv2h-acc__head {
		display: flex; align-items: center; justify-content: space-between;
		min-height: 56px; padding: 6px 0;
		color: var(--hv2-ink) !important; font-size: 18px; font-weight: 600;
	}
	.hv2h-acc__head svg { width: 14px; height: 14px; color: var(--hv2-muted); transition: transform .2s ease; }
	.hv2h-acc[open] .hv2h-acc__head svg { transform: rotate(180deg); }
	.hv2h-acc__body { padding: 0 0 16px; }
	.hv2h-acc__overview { margin: 2px 0 10px; }
	.hv2h-mmenu a { display: block; padding: 9px 0; color: var(--hv2-body); font-size: 16px; line-height: 1.35; }
	.hv2h-mmenu .sub-menu { padding-left: 14px; border-left: 1px solid var(--hv2-line); margin: 0 0 6px; }
	.hv2h-mmenu .sub-menu a { font-size: 15px; color: var(--hv2-muted); padding: 6px 0; }
	.hv2h-drawer__links { padding: 18px 0 8px; }
	.hv2h-drawer__links a { display: block; padding: 8px 0; color: var(--hv2-navy); font-weight: 600; font-size: 16px; }
	.hv2h-drawer__search { display: flex; margin-top: 12px; }
}
@media (max-width: 782px) {
	.hv2h--adminbar { top: 46px; }
	.hv2h--adminbar .hv2h-drawer { max-height: calc(100vh - 118px); }
}
@media (max-width: 600px) {
	.hv2h--adminbar { top: 0; }
}
@media (max-width: 767.98px) {
	.hv2h-bar__inner { height: 64px; gap: 10px; }
	.hv2h-logo img { height: 30px; }
	.hv2h-drawer { max-height: calc(100vh - 64px); }
	.hv2h-apply .hv2h-btn { height: 42px; padding: 0 14px; font-size: 15px; }
	.hv2h-mobile__toggle { height: 42px; padding: 0 10px; }
}
@media (max-width: 419.98px) {
	.hv2h-logo img { height: 25px; }
	.hv2h-mobile__label { display: none; }
	.hv2h-mobile__toggle { padding: 0 8px; }
	.hv2h-drawer__ctas { grid-template-columns: 1fr; }
}

/* ---------- Footer CTA band (interior pages) ---------- */
.hv2f-cta { background: var(--hv2-paper); border-top: 1px solid var(--hv2-line); }
.hv2f-cta__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding-top: 56px; padding-bottom: 56px;
}
.hv2f-cta__title { font-family: 'Lora', serif; font-size: 40px; line-height: 1.1; color: var(--hv2-navy); }
.hv2f-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hv2f-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 24px; border: 2px solid var(--hv2-navy);
	font-size: 16px; font-weight: 700; letter-spacing: .02em; line-height: 1; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hv2f-btn--primary { background: var(--hv2-green); border-color: var(--hv2-green); color: var(--hv2-navy-deep) !important; }
.hv2f-btn--primary:hover, .hv2f-btn--primary:focus-visible { background: var(--hv2-green-hover); border-color: var(--hv2-green-hover); }
.hv2f-btn--light { background: transparent; color: var(--hv2-navy) !important; }
.hv2f-btn--light:hover, .hv2f-btn--light:focus-visible { background: var(--hv2-navy); color: #fff !important; }

/* ---------- Footer ---------- */
.hv2f { background: var(--hv2-navy-deep); color: rgba(255,255,255,.78); }
.hv2f-top {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 48px;
	padding-top: 72px; padding-bottom: 56px;
}
.hv2f-logo { display: inline-block; line-height: 0; }
.hv2f-logo img { width: 240px; height: auto; max-width: 100%; }
.hv2f-tagline { font-family: 'Lora', serif; font-style: italic; font-size: 20px; color: #fff; margin: 22px 0; }
.hv2f-contact li + li { margin-top: 10px; }
.hv2f-contact a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); font-size: 16px; font-weight: 500; }
.hv2f-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hv2f-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hv2f-social a {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 17px;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hv2f-social a:hover, .hv2f-social a:focus-visible { background: var(--hv2-green); border-color: var(--hv2-green); color: var(--hv2-navy-deep); }
.hv2f-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.hv2f-heading { font-family: 'Lora', serif; font-size: 19px; font-weight: 400; line-height: 1.25; margin: 0 0 14px; color: #fff; }
.hv2f-heading a { color: #fff; }
.hv2f-heading a:hover { color: var(--hv2-green); }
.hv2f-heading--spaced { margin-top: 32px; }
.hv2f-col li { margin: 0; }
.hv2f-col li a { display: inline-block; padding: 5px 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.4; }
.hv2f-col li a:hover, .hv2f-col li a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hv2f-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
	position: relative;
	padding-top: 22px; padding-bottom: 26px;
	font-size: 14px; color: rgba(255,255,255,.62);
}
.hv2f-bottom::before {
	content: ''; position: absolute; top: 0; left: var(--hv2-gutter); right: var(--hv2-gutter);
	height: 1px; background: rgba(255,255,255,.12);
}
.hv2f-bottom__links { display: flex; flex-wrap: wrap; gap: 24px; }
.hv2f-bottom a { color: rgba(255,255,255,.75); }
.hv2f-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199.98px) {
	.hv2f-top { grid-template-columns: 1fr; gap: 48px; }
	.hv2f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
	.hv2f-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
	.hv2f-top { padding-top: 56px; padding-bottom: 40px; }
	.hv2f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
	.hv2f-cta__inner { padding-top: 44px; padding-bottom: 44px; }
	.hv2f-cta__title { font-size: 32px; }
	.hv2f-cta__actions { width: 100%; }
	.hv2f-btn { flex: 1 1 auto; }
	.hv2f-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.hv2h *, .hv2f * { transition: none !important; }
}
