/* ==========================================================================
   Upperline Legal — design system
   Ported from the previous Oxygen Builder output (universal.css + per-template
   stylesheets). Breakpoints match Oxygen's: 1500 / 1199 / 767 / 479.
   ========================================================================== */

:root {
	--ul-navy: #140c7a;
	--ul-navy-deep: #0c1d4f;
	--ul-gold: #ffd86b;
	--ul-gold-light: #ffeeaa;
	--ul-lavender: #d2c9d5;
	--ul-ink: #141313;
	--ul-body: #404040;
	--ul-link: #0074db;
	--ul-page-bg: #f9f9f9;
	--ul-max: 1500px;
	--ul-wide: 1920px;
	--ul-font-body: 'Merriweather', Georgia, serif;
	--ul-font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base typography
   -------------------------------------------------------------------------- */

body.upperline {
	font-family: var(--ul-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ul-body);
	background-color: var(--ul-page-bg);
}

/* Base element rules are intentionally single-element selectors (specificity
   0,0,1) so that the .ul-* component classes below always win without needing
   !important. Do not scope these to .upperline. */
.upperline h1,
.upperline h2,
.upperline h3,
.upperline h4,
.upperline h5,
.upperline h6 {
	margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ul-font-head);
	font-weight: 700;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

a {
	color: var(--ul-link);
	text-decoration: none;
}

/* Low specificity on purpose, so .ul-staff__photo etc. can set a fixed height. */
img {
	max-width: 100%;
	height: auto;
}

.upperline .ul-site-content {
	overflow-x: clip;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 12px 20px;
	left: 8px;
	top: 8px;
	z-index: 100000;
	background: #fff;
	color: var(--ul-navy);
}

/* --------------------------------------------------------------------------
   Text roles (direct equivalents of the old Oxygen utility classes)
   -------------------------------------------------------------------------- */

.ul-title {
	font-family: var(--ul-font-head);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ul-gold);
	font-size: clamp(1.875rem, 1.4068rem + 1.7182vw, 3.125rem);
	margin-bottom: 0;
}

.ul-text {
	font-size: 16px;
	color: var(--ul-lavender);
}

.ul-text p:last-child,
.ul-card__excerpt p:last-child {
	margin-bottom: 0;
}

.ul-text-20 {
	font-family: var(--ul-font-body);
	color: #fff;
	font-size: clamp(0.9375rem, 0.8673rem + 0.2577vw, 1.125rem);
}

.ul-title-25 {
	font-family: var(--ul-font-head);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ul-navy);
	font-size: clamp(1.125rem, 1.0314rem + 0.3436vw, 1.375rem);
	margin-bottom: 0;
}

.ul-title-30 {
	font-family: var(--ul-font-body);
	font-weight: 700;
	line-height: 1.1;
	color: var(--ul-navy);
	font-size: clamp(1.125rem, 0.7893rem + 0.7732vw, 1.5625rem);
	margin-bottom: 0;
}

@media (max-width: 479px) {
	.ul-title-30 { line-height: 1.3; }
}

.ul-title-40 {
	font-family: var(--ul-font-head);
	font-weight: 800;
	line-height: 1.2;
	color: var(--ul-lavender);
	font-size: clamp(1.375rem, 1.0707rem + 1.1168vw, 2.1875rem);
	margin-bottom: 0;
}

/* Oxygen's universal.css overrode this at a fixed size below 750px. */
@media (max-width: 750px) {
	.ul-title-40 { font-size: 40px; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.ul-btn {
	display: inline-block;
	background-color: var(--ul-gold);
	color: #fff;
	font-family: var(--ul-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	padding: 10px 40px;
	border: none;
	border-radius: 3px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	transition: background-color 0.3s ease;
}

.ul-btn > span {
	position: relative;
	z-index: 1;
}

.ul-btn::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 -100%;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.2);
	transition: left 0.3s ease;
}

.ul-btn:hover::before,
.ul-btn:focus-visible::before {
	left: 0;
}

.ul-btn:hover,
.ul-btn:focus-visible {
	color: #fff;
}

.ul-btn--slide-blue::before {
	background-color: rgba(255, 255, 255, 0.2);
}

.ul-btn--lavender {
	background-color: var(--ul-lavender);
	color: var(--ul-navy);
}

.ul-btn--lavender > span,
.ul-btn--lavender:hover,
.ul-btn--lavender:focus-visible {
	color: var(--ul-navy);
}

/* --------------------------------------------------------------------------
   Scroll reveal (replaces Oxygen's AOS dependency)
   -------------------------------------------------------------------------- */

.ul-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.ul-reveal--right {
	transform: translateX(-30px);
}

.ul-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.ul-reveal,
	.ul-reveal--right {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.no-js .ul-reveal {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.ul-header {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	background-color: var(--ul-navy);
	position: relative;
	z-index: 500;
}

.ul-header__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
}

.ul-header__left {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 100%;
	gap: 40px;
}

.ul-logo {
	display: block;
	line-height: 0;
}

.ul-logo img {
	width: 250px;
	height: 100px;
	object-fit: contain;
}

.ul-header__right {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	width: 40%;
}

.ul-header__email {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
}

.ul-header__email .ul-icon {
	width: 29px;
	height: 29px;
	fill: currentColor;
	flex: none;
}

.ul-header__email span {
	font-family: var(--ul-font-head);
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

/* Primary navigation */

.ul-nav__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ul-nav__list > li {
	white-space: nowrap;
	position: relative;
}

.ul-nav__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 35px;
	font-family: var(--ul-font-head);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	border: 0 solid transparent;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.ul-nav__list li.current-menu-item > a,
.ul-nav__list li.current_page_item > a,
.ul-nav__list a:hover,
.ul-nav__list a:focus-visible {
	background-color: var(--ul-gold);
	color: #fff;
}

.ul-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: var(--ul-navy);
	z-index: 999;
	white-space: nowrap;
}

.ul-nav__list li:hover > .sub-menu,
.ul-nav__list li:focus-within > .sub-menu {
	display: block;
}

.ul-nav__list .sub-menu a {
	padding: 16px 24px;
	width: 100%;
	justify-content: flex-start;
}

.ul-nav__toggle,
.ul-nav__close {
	display: none;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	cursor: pointer;
	color: #fff;
	padding: 15px;
}

.ul-nav__toggle .ul-icon {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.ul-nav__close .ul-icon {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

@media (max-width: 1199px) {
	.ul-header__left {
		width: 100%;
		justify-content: space-between;
	}

	.ul-header__right {
		display: none;
	}

	.ul-nav__toggle {
		display: inline-flex;
	}

	.ul-nav.is-open .ul-nav__toggle {
		display: none;
	}

	.ul-nav__panel {
		position: fixed;
		inset: 0;
		z-index: 2147483642;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: auto;
		padding: 20px 0;
		background-color: var(--ul-navy);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.4s ease, visibility 0.4s ease;
	}

	.ul-nav.is-open .ul-nav__panel {
		visibility: visible;
		opacity: 1;
	}

	.ul-nav__close {
		display: inline-flex;
		position: absolute;
		top: 20px;
		left: 20px;
	}

	.ul-nav__list {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 100%;
	}

	.ul-nav__list > li {
		width: 100%;
		min-height: 32px;
		text-align: center;
		white-space: normal;
	}

	.ul-nav__list a {
		width: 100%;
		justify-content: center;
		text-align: center;
		font-size: 20px;
		font-weight: 700;
		padding: 20px 0 0;
	}

	.ul-nav__list .sub-menu {
		display: block;
		position: static;
		background-color: rgba(0, 0, 0, 0.2);
		width: 100%;
	}

	.ul-nav__list .sub-menu a {
		justify-content: center;
		font-size: 16px;
	}

	body.ul-nav-open {
		overflow: hidden;
	}
}

@media (max-width: 750px) {
	.ul-nav__panel .ul-nav__list > li {
		min-width: 250px;
		max-width: 250px;
	}
}

@media (max-width: 479px) {
	.ul-header__inner {
		padding: 0 10px;
	}

	.ul-logo img {
		width: 200px;
	}
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */

.ul-hero-section {
	width: 100%;
	max-width: var(--ul-wide);
	margin: 0 auto;
}

.ul-hero--wide {
	background-image: url('/wp-content/uploads/2025/11/Upperline-Legal-Hero.webp');
	background-size: cover;
	background-position: 0% 40%;
	background-repeat: no-repeat;
	height: 800px;
	padding: 10% 7% 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	z-index: 10;
}

.ul-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: 45%;
}

.ul-hero-section--narrow {
	display: none;
}

.ul-hero--stacked {
	display: flex;
	flex-direction: column-reverse;
	background-size: cover;
	background-position: 0% 40%;
	position: relative;
	z-index: 10;
}

.ul-hero__image {
	width: 100%;
	height: 500px;
	object-fit: cover;
	object-position: 90% 40%;
	display: block;
}

@media (max-width: 1500px) {
	.ul-hero--wide { background-position: 100% 100%; }
}

@media (max-width: 1199px) {
	.ul-hero--wide { background-position: 80% 0%; }
}

@media (max-width: 767px) {
	.ul-hero--wide {
		justify-content: flex-end;
		padding-bottom: 70px;
		background-position: 80% 100%;
	}

	.ul-hero--wide .ul-hero__content { width: 100%; }
}

@media (max-width: 479px) {
	.ul-hero-section:not(.ul-hero-section--narrow) { display: none; }
	.ul-hero-section--narrow { display: block; }

	.ul-hero--stacked .ul-hero__content {
		width: 100%;
		background-color: var(--ul-navy);
		padding: 40px 20px;
		align-items: center;
		text-align: center;
	}

	.ul-hero--stacked .ul-text { font-size: 13px; }
	.ul-hero--stacked .ul-btn { align-self: center; }
}

/* --------------------------------------------------------------------------
   Home — latest post cards (overlap the hero)
   -------------------------------------------------------------------------- */

.ul-cards {
	width: 100%;
}

.ul-cards__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
}

.ul-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(20%, 1fr));
	column-gap: 60px;
	row-gap: 20px;
	align-items: stretch;
	width: 90%;
	margin-top: -200px;
	position: relative;
	z-index: 20;
}

.ul-rule {
	width: 90%;
	height: 5px;
}

.ul-card {
	position: relative;
	margin: 20px;
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	text-align: right;
	gap: 40px;
	width: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ul-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.ul-card__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
	text-align: center;
	text-decoration: none;
}

.ul-card__img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.ul-card .ul-title-25 {
	text-align: left;
}

@media (max-width: 1500px) {
	.ul-cards__grid {
		grid-template-columns: repeat(3, minmax(25%, 1fr));
		column-gap: 20px;
	}

	.ul-card .ul-title-25 {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 1199px) {
	.ul-cards__grid {
		grid-template-columns: repeat(2, minmax(50%, 1fr));
		column-gap: 20px;
	}
}

@media (max-width: 767px) {
	.ul-cards__grid {
		margin-top: 0;
		padding-top: 75px;
		width: 100%;
	}

	.ul-card__img { height: 250px; }
}

@media (max-width: 479px) {
	.ul-cards__inner {
		padding-top: 75px;
		text-align: center;
	}

	.ul-cards__grid {
		grid-template-columns: repeat(1, minmax(100%, 1fr));
		justify-items: center;
		padding-top: 0;
	}

	.ul-card { gap: 20px; }
	.ul-rule { width: 100%; }
}

/* --------------------------------------------------------------------------
   Home — call to action bands
   -------------------------------------------------------------------------- */

.ul-cta {
	width: 85%;
	margin: 0 auto;
}

.ul-cta__inner {
	margin: 0 auto;
	padding: 50px 0;
}

.ul-cta--navy .ul-cta__pull {
	margin-bottom: -140px;
	position: relative;
	z-index: 99;
}

.ul-cta--gold .ul-cta__pull {
	margin-top: 150px;
	margin-bottom: -150px;
}

.ul-cta__box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 60px;
}

.ul-cta--navy .ul-cta__box {
	background-color: var(--ul-navy);
}

.ul-cta--navy .ul-cta__box .ul-title-30 {
	color: #fff;
	text-align: center;
}

.ul-cta--gold .ul-cta__box {
	background-color: var(--ul-gold);
	color: var(--ul-navy);
}

.ul-cta--gold .ul-cta__box .ul-title-30 {
	text-align: center;
}

.ul-cta__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 100%;
}

.ul-cta__actions .ul-btn {
	margin-top: 50px;
	margin-bottom: -80px;
}

@media (max-width: 1199px) {
	.ul-cta--navy .ul-cta__pull { margin-bottom: -180px; }
}

@media (max-width: 767px) {
	.ul-cta__box { padding: 30px; }
}

@media (max-width: 479px) {
	.ul-cta { width: 95%; }
	.ul-cta--gold { width: 100%; }
	.ul-cta--gold .ul-cta__inner { padding-left: 10px; padding-right: 10px; }
	.ul-cta--navy .ul-cta__pull { margin-bottom: -200px; }
	.ul-cta__box { padding-bottom: 50px; }
	.ul-cta--gold .ul-cta__box { padding-bottom: 20px; }
	.ul-cta--gold .ul-cta__actions { margin-top: 30px; }
	.ul-cta__actions .ul-btn { margin-top: 25px; }
	.ul-cta--gold .ul-cta__actions .ul-btn { margin-top: 0; margin-bottom: -50px; }
}

/* --------------------------------------------------------------------------
   Home — get in touch
   -------------------------------------------------------------------------- */

.ul-contact {
	width: 100%;
	background-color: var(--ul-navy-deep);
}

.ul-contact__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
	padding: 250px 20px 75px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

.ul-contact__row {
	width: 85%;
	padding: 0 20px 75px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.ul-contact__img {
	width: 35%;
}

.ul-contact__text {
	width: 60%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.ul-contact__text .ul-title-40,
.ul-contact__text .ul-text {
	color: #fff;
}

@media (max-width: 767px) {
	.ul-contact__row {
		flex-direction: column;
		gap: 20px;
	}

	.ul-contact__img,
	.ul-contact__text { width: 100%; }

	.ul-contact__text .ul-title-40 { text-align: left; }
}

@media (max-width: 479px) {
	.ul-contact__inner { gap: 0; }
	.ul-contact__row { width: 100%; }
}

/* --------------------------------------------------------------------------
   Blog index
   -------------------------------------------------------------------------- */

.ul-page-hero {
	width: 100%;
}

.ul-page-hero--blog {
	background-image: url('/wp-content/uploads/2024/06/Blog-with-Gradient-Desk-scaled.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 0% 50%;
}

.ul-page-hero__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
}

.ul-page-hero__box {
	height: 500px;
	padding: 10% 7% 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background-position: 0% 15%;
}

.ul-page-hero__content {
	width: 45%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.ul-page-hero--plain {
	background-color: var(--ul-navy);
}

.ul-page-hero--plain .ul-page-hero__inner {
	padding: 75px 20px;
}

@media (max-width: 1199px) {
	.ul-page-hero--blog {
		background-image: url('/wp-content/uploads/2024/06/Blog-with-Gradient-Mobile-scaled.webp');
	}

	.ul-page-hero__box {
		justify-content: flex-end;
		padding-bottom: 50px;
	}

	.ul-page-hero__content { width: 100%; }
}

@media (max-width: 767px) {
	.ul-page-hero--blog { background-position: 50% 80%; }
}

@media (max-width: 479px) {
	.ul-page-hero--blog { background-position: 50% 100%; }
}

.ul-postgrid {
	display: block;
	width: 90%;
	margin: 0 auto;
}

.ul-postgrid__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
	padding: 75px 20px;
}

.ul-postgrid__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(25%, 1fr));
	column-gap: 70px;
	row-gap: 20px;
	align-items: stretch;
}

.ul-card--post {
	align-items: flex-end;
	text-align: left;
	gap: 40px;
}

.ul-card--post .ul-card__link {
	align-items: flex-start;
}

.ul-card--post .ul-title-25 {
	line-height: 1.3;
	text-align: left;
}

.ul-card__excerpt {
	text-align: left;
	color: var(--ul-navy);
	font-size: 14px;
}

.ul-pagination {
	margin-top: 50px;
	text-align: center;
	font-family: var(--ul-font-head);
	font-weight: 700;
}

.ul-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	color: var(--ul-navy);
}

.ul-pagination .page-numbers.current {
	background-color: var(--ul-gold);
	border-radius: 3px;
}

.ul-no-posts {
	text-align: center;
	color: var(--ul-navy);
}

@media (max-width: 1199px) {
	.ul-postgrid { width: 100%; }

	.ul-postgrid__grid {
		grid-template-columns: repeat(3, minmax(200px, 1fr));
		column-gap: 20px;
	}

	.ul-card--post .ul-card__img { height: 250px; }
}

@media (max-width: 767px) {
	.ul-postgrid__grid { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
	.ul-card--post .ul-card__link { gap: 10px; }
}

@media (max-width: 479px) {
	.ul-postgrid__grid { grid-template-columns: repeat(1, minmax(200px, 1fr)); }
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */

.ul-post-hero {
	width: 100%;
	background-color: var(--ul-gold);
	height: 900px;
}

.ul-post-hero__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
	padding: 150px 0 0;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	gap: 50px;
}

.ul-post-hero__row {
	width: 90%;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 50px;
	text-align: left;
}

.ul-post-hero__title {
	color: var(--ul-navy);
}

.ul-post-hero__img {
	width: 50%;
	height: 500px;
	object-fit: cover;
}

.ul-post-body {
	display: block;
	width: 100%;
	background-color: var(--ul-navy);
}

.ul-post-body__inner {
	max-width: var(--ul-max);
	margin: 0 auto;
	padding: 75px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ul-post-body__card {
	width: 100%;
	margin-top: -200px;
	padding: 50px 70px;
	background-color: #fff;
}

.ul-post-body__text {
	color: var(--ul-navy);
}

.ul-post-body__text a { text-decoration: underline; }

@media (max-width: 1199px) {
	.ul-post-hero__inner {
		padding-top: 100px;
		flex-direction: column;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: center;
		justify-content: flex-start;
	}

	.ul-post-hero__row { flex-direction: column; justify-content: flex-start; }
	.ul-post-hero__img { width: 100%; }

	.ul-post-body__card {
		width: 90%;
		padding: 20px 40px;
	}
}

@media (max-width: 767px) {
	.ul-post-hero__inner { padding-left: 40px; padding-right: 40px; }
	.ul-post-hero__row { width: 100%; }
}

@media (max-width: 479px) {
	.ul-post-hero__inner { padding-left: 20px; padding-right: 20px; }
	/* Padding stays at the 1199px value (20px 40px), as the old build did. */
	.ul-post-body__card { width: 100%; }
}

/* --------------------------------------------------------------------------
   Work With Us
   -------------------------------------------------------------------------- */

.ul-wwu {
	display: block;
	width: 100%;
	background-image: url('/wp-content/uploads/2024/07/Work-With-Me-Blue-Gradient-2-scaled.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 0% 0%;
}

.ul-wwu__inner {
	max-width: var(--ul-max);
	margin: 0 auto;
	padding: 150px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ul-wwu__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
	width: 50%;
	padding: 30px;
	background-color: rgba(20, 12, 122, 0.59);
	text-align: left;
}

.ul-wwu__title { color: #fff; }

.ul-wwu__box .ul-wwu__text {
	padding: 20px 40px;
	margin: 0;
}

.ul-wwu__form {
	width: 100%;
	color: #fff;
}

.ul-wwu__form .wpforms-field-label,
.ul-wwu__form .wpforms-field-description,
.ul-wwu__form .wpforms-field-sublabel {
	color: #fff;
}

@media (max-width: 1199px) {
	.ul-wwu__box { width: 70%; padding: 15px; }
}

@media (max-width: 767px) {
	.ul-wwu__box { width: 100%; gap: 50px; }
	.ul-wwu__box .ul-wwu__text { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 479px) {
	.ul-wwu__box { gap: 20px; padding: 15px 5px 5px; }
}

/* --------------------------------------------------------------------------
   Our Team
   -------------------------------------------------------------------------- */

.ul-team {
	display: block;
	position: relative;
	width: 100%;
	background-color: var(--ul-navy-deep);
	overflow: hidden;
}

.ul-team__video {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	line-height: 0;
}

.ul-team__video video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.ul-team__inner {
	position: relative;
	z-index: 1;
	max-width: var(--ul-max);
	margin: 0 auto;
	padding: 75px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ul-team__content {
	width: 60%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	text-align: left;
}

.ul-staff-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
}

.ul-staff {
	display: block;
	padding: 10px;
	background-color: var(--ul-ink);
}

.ul-staff__name {
	color: var(--ul-gold);
	float: none;
	margin-bottom: 0;
}

.ul-staff__body { display: block; }

.ul-staff__photo {
	width: 300px;
	height: 300px;
	object-fit: cover;
	float: left;
	margin: 20px 20px 10px 20px;
}

.ul-staff__bio {
	padding: 20px 40px;
}

.ul-staff__bio p:last-child { margin-bottom: 0; }

.ul-staff__social {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 50px;
	margin-top: 50px;
	clear: both;
	padding-bottom: 10px;
}

.ul-staff__social a { color: var(--ul-gold); display: inline-flex; }
.ul-staff__social .ul-icon { fill: currentColor; }
.ul-staff__social .ul-icon-mail .ul-icon { width: 46px; height: 46px; }
.ul-staff__social .ul-icon-li .ul-icon { width: 55px; height: 55px; }

.ul-staff-empty {
	color: #fff;
	text-align: center;
}

@media (max-width: 1500px) {
	.ul-staff__photo {
		object-fit: contain;
		width: 500px;
		height: 500px;
	}
}

@media (max-width: 1199px) {
	.ul-staff__photo {
		object-fit: contain;
		/* --ul-photo-w is the image's intrinsic width, set inline by the block. */
		width: min(100%, var(--ul-photo-w, 300px));
		height: auto;
	}
}

@media (max-width: 767px) {
	.ul-team__content { width: 100%; }
}

@media (max-width: 479px) {
	.ul-staff__social { gap: 20px; }
}

/* What We Do — accordion on desktop, stacked cards on small screens */

.ul-services {
	display: block;
	width: 100%;
	background-color: var(--ul-gold);
}

.ul-services__inner {
	max-width: var(--ul-max);
	margin: 0 auto;
	padding: 75px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 100px;
}

.ul-services__heading { color: #000; }

.ul-services__container {
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ul-services__header {
	display: flex;
	justify-content: space-around;
	align-items: stretch;
}

.ul-service-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	width: 25%;
	height: 300px;
	padding: 20px;
	color: #000;
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.ul-service-card:hover,
.ul-service-card.is-active {
	background-color: var(--ul-gold-light);
}

.ul-service-card img {
	width: 90px;
	object-fit: contain;
}

.ul-service-card p {
	font-family: var(--ul-font-body);
	font-size: clamp(1.125rem, 0.7893rem + 0.7732vw, 1.5625rem);
	font-weight: 700;
	color: #000;
	text-align: center;
	margin: 0;
}

.ul-service-card__icon {
	font-size: 20px;
	margin-top: 10px;
}

.ul-service-content {
	display: none;
	padding: 20px;
	color: #000;
}

.ul-service-content.is-active { display: block; }
.ul-service-content p { margin: 0; text-align: center; }

@media (max-width: 767px) {
	.ul-services__inner { gap: 50px; }

	.ul-services__container {
		display: grid;
		grid-template-columns: 1fr;
		row-gap: 20px;
		border-radius: 0;
		overflow: visible;
		box-shadow: none;
	}

	/* Flatten the header so each card can sit directly above its own panel. */
	.ul-services__header { display: contents; }

	.ul-service-card {
		width: 100%;
		height: auto;
		gap: 20px;
		border-radius: 20px;
		min-height: 0;
	}

	/* Panels stay collapsed until tapped, as the old mobile section did. */
	.ul-service-content {
		border-radius: 0 0 20px 20px;
		padding: 0 20px 20px;
	}

	.ul-service-card.is-active { border-radius: 20px 20px 0 0; }

	.ul-service-card[data-toggle="1"] { order: 1; }
	#ul-service-1 { order: 2; }
	.ul-service-card[data-toggle="2"] { order: 3; }
	#ul-service-2 { order: 4; }
	.ul-service-card[data-toggle="3"] { order: 5; }
	#ul-service-3 { order: 6; }
	.ul-service-card[data-toggle="4"] { order: 7; }
	#ul-service-4 { order: 8; }
}

/* --------------------------------------------------------------------------
   Generic page content
   -------------------------------------------------------------------------- */

.ul-page {
	display: block;
	width: 100%;
}

/* Full bleed, as Oxygen's .ct-inner-content was: the Privacy Policy and SMS
   Terms pages carry their own GenerateBlocks grid and set their own measure.
   Constraining here would squeeze that grid's centre column. */
.ul-page__content {
	width: 100%;
}

/* These pages were authored against the browser default paragraph rhythm
   (1em top and bottom). GeneratePress ships margin-top:0 / margin-bottom:1.5em,
   which stretched them vertically against the old build. */
.ul-page__content p {
	margin-top: 1em;
	margin-bottom: 1em;
}

.ul-page__content ul,
.ul-page__content ol {
	margin-top: 1em;
	margin-bottom: 1em;
}

.ul-page-links { clear: both; padding: 20px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.ul-footer {
	width: 100%;
	background-color: var(--ul-navy);
}

.ul-footer__inner {
	max-width: var(--ul-wide);
	margin: 0 auto;
	padding: 75px 7% 74px;
}

.ul-footer__top {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: flex-start;
	text-align: center;
	gap: 100px;
}

.ul-footer__logo {
	width: 200px;
	height: auto;
}

.ul-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ul-footer__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ul-footer__list a {
	display: block;
	padding: 5px 0 20px;
	font-family: var(--ul-font-head);
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
}

.ul-footer__list a:hover,
.ul-footer__list a:focus-visible { padding-left: 5px; }

.ul-footer__address {
	display: inline-block;
	font-family: var(--ul-font-head);
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	text-align: left;
	text-decoration: none;
}

.ul-footer__social {
	display: flex;
	flex-direction: row;
	gap: 50px;
	margin-top: 50px;
	text-align: left;
}

.ul-footer__social a { color: var(--ul-gold); display: inline-flex; }
.ul-footer__social .ul-icon { width: 55px; height: 55px; fill: currentColor; }

@media (max-width: 767px) {
	.ul-footer__inner { display: flex; flex-direction: column; }

	.ul-footer__top {
		flex-direction: column;
		gap: 0;
		text-align: left;
		width: 100%;
	}

	.ul-footer__logo { align-self: center; }
	.ul-footer__menu { margin-top: 50px; }
}

@media (max-width: 479px) {
	.ul-footer__top { align-items: flex-start; text-align: center; }
	.ul-footer__social { gap: 20px; }
}

/* --------------------------------------------------------------------------
   Editor-only touches

   The home page sections deliberately overlap on the front end (the card grid
   rides up over the hero, CTA buttons hang off the panel edge). In the canvas
   that makes neighbouring blocks hard to click, so the offsets are flattened
   here only. Everything inside .editor-styles-wrapper is editor-only.
   -------------------------------------------------------------------------- */

.editor-styles-wrapper .ul-cards__grid { margin-top: 0; }
.editor-styles-wrapper .ul-cta__pull { margin-top: 0; margin-bottom: 0; }
.editor-styles-wrapper .ul-cta__actions .ul-btn { margin-bottom: 0; }
.editor-styles-wrapper .ul-contact__inner { padding-top: 75px; }
.editor-styles-wrapper .ul-team__video { display: none; }

/* Blocks sit in their own wrapper in the canvas; keep sections from being
   clipped by the editor's own overflow handling. */
.editor-styles-wrapper .ul-hero-section,
.editor-styles-wrapper .ul-cards,
.editor-styles-wrapper .ul-cta,
.editor-styles-wrapper .ul-contact,
.editor-styles-wrapper .ul-team,
.editor-styles-wrapper .ul-services {
	max-width: 100%;
}

/* The small-screen hero variant is a second copy of the same copy; hide it in
   the canvas so authors only ever edit one. */
.editor-styles-wrapper .ul-hero-section--narrow { display: none; }

.ul-staff-list-editor .ul-staff-list { gap: 20px; }
