/* ==========================================================================
   Ovation — site footer
   Newsletter bar (one step darker) sitting on the navy link area.
   ========================================================================== */

.o-footer {
	background-color: var(--o-navy);
	color: var(--o-white);
}

/* --------------------------------------------------------------------------
   Newsletter bar
   -------------------------------------------------------------------------- */
.o-footer__newsletter {
	background-color: var(--o-navy-deep);
}

.o-footer__newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--o-space-lg);
	padding-block: 2.25rem; /* 36px, per the comp */
}

.o-footer__newsletter-copy {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
	flex-wrap: wrap;
}

.o-footer__newsletter-label {
	letter-spacing: 0.0555em; /* 1px at 18px */
	color: var(--o-white);
}

.o-footer__newsletter-note {
	margin: 0;
	font-family: var(--o-font-body);
	font-style: italic;
	font-size: var(--o-fs-body);
	color: var(--o-white);
}

.o-footer__newsletter-cta {
	flex: 0 0 auto;
}

/* The inline signup (gravity-forms.css) takes the button's place, and grows. */
.o-footer__newsletter-form {
	flex: 0 1 30rem;
	min-width: 0;
}

.o-footer__socials {
	flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Link columns
   -------------------------------------------------------------------------- */
.o-footer__main-inner {
	padding-top: var(--o-space-3xl);    /* 80px */
	padding-bottom: var(--o-space-xl);  /* 48px */
}

.o-footer__columns {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--o-space-xl);
	margin-bottom: var(--o-space-2xl);  /* 56px */
}

.o-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--o-space-md);
	flex: 0 1 auto;
}

.o-footer__logo svg,
.o-footer__logo img {
	height: 66px;
}

.o-footer__tagline {
	color: var(--o-white);
	font-size: var(--o-fs-body);
	line-height: 1.5;
}

.o-footer__tagline p {
	margin: 0;
}

.o-footer__col {
	display: flex;
	flex-direction: column;
	gap: var(--o-space-sm); /* 14px, per the comp */
	flex: 0 1 auto;
	min-width: 0;
}

.o-footer__col-heading {
	margin: 0;
	color: var(--o-orange);
	letter-spacing: 0.0833em; /* 1.5px at 18px */
}

.o-footer__list {
	display: flex;
	flex-direction: column;
	gap: var(--o-space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.o-footer__link {
	color: var(--o-white);
	font-family: var(--o-font-body);
	font-size: var(--o-fs-body);
	line-height: 1.375;
	text-decoration: none;
}

.o-footer__link:hover,
.o-footer__link:focus-visible {
	color: var(--o-orange);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Legal line
   -------------------------------------------------------------------------- */
.o-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--o-space-md);
	flex-wrap: wrap;
}

.o-footer__copyright {
	margin: 0;
	color: var(--o-mist);
	font-size: var(--o-fs-small);
}

.o-menu--legal {
	gap: var(--o-space-md);
	flex-wrap: wrap;
}

.o-menu--legal .o-menu__link {
	color: var(--o-mist);
	font-size: var(--o-fs-small);
	text-decoration: none;
}

.o-menu--legal .o-menu__link:hover,
.o-menu--legal .o-menu__link:focus-visible {
	color: var(--o-white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.o-footer__columns {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--o-space-xl);
	}

	.o-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.o-footer__newsletter-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--o-space-md);
	}

	.o-footer__newsletter-copy {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.o-footer__newsletter-form {
		flex-basis: auto;
		width: 100%;
		max-width: 30rem;
	}
}

@media (max-width: 560px) {
	.o-footer__columns {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--o-space-lg);
	}

	.o-footer__main-inner {
		padding-top: var(--o-space-xl);
	}

	.o-footer__logo svg,
	.o-footer__logo img {
		height: 52px;
	}

	.o-footer__newsletter-cta {
		width: 100%;
	}
}
