footer.contained {
	max-width: 1650px;
}

@media (max-width: 1280px) {
	footer {
		padding: 0 20px;
	}
}

/* Outer footer block */
.footer-content {
	position: relative;
	margin-top: 50px;
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.4);
	overflow: hidden;
	isolation: isolate;
}

/* Sign-up section */
.footer-sign-up {
	position: relative;
	padding: 60px;
	background: var(--glorieta-green);
	z-index: 1;
}

.footer-sign-up::before {
		content: '';
		position: absolute;
		inset: 0;
		background: url(../assets/images/topo-white.svg) center / cover no-repeat;
		opacity: .05;
		filter: blur(.05px);
		z-index: 1;
		pointer-events: none;
}

.footer-sign-up::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -20px;
	width: 100%;
	height: 62px;
	background-color: var(--glorieta-green);
	mask-image: url(../assets/images/section-sep.svg);
	mask-repeat: repeat-x;
	mask-size: auto 30px;
	mask-position: bottom;
	-webkit-mask-image: url(../assets/images/section-sep.svg);
	-webkit-mask-repeat: repeat-x;
	-webkit-mask-size: auto 30px;
	-webkit-mask-position: bottom;
	pointer-events: none;
	z-index: 1; /* above green bg, below content if needed */
}

.footer-sign-up-inner {
	flex-flow: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.footer-sign-up h5 {
	font-family: "SofiaRoughBlackTwo", sans-serif;
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 2.25rem;
	margin: 1rem 0 2rem;
	color: var(--white);
}

.footer-sign-up p {
	font-size: 1.25rem;
	line-height: 1.5rem;
	max-width: 750px;
	margin-bottom: 0;
}

footer .footer-btn-wrapper {
	align-self: end;
}

/* Main footer shared background area */
.footer-main {
	position: relative;
	padding: 60px;
	background-image: linear-gradient(180deg, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 79%) 53%, rgb(0 0 0 / 66%) 100%), url(../assets/images/landscape-hill.jpg);
	background-size: cover;
	background-position: center 80%;
	background-repeat: no-repeat;
	z-index: 0;
}

.footer-main::after {
	content: "";
	position: absolute;
	height: 100%;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 0;
	background: linear-gradient(150deg, rgba(0, 0, 0, 0) 0%, rgb(43 105 107 / 36%) 75%, rgba(17, 180, 180, 0.8) 100%);
	opacity: .9;
}

/* Keep main content above overlays */
.footer-main > * {
	position: relative;
	z-index: 1;
}

.footer-main a {
	color: var(--white);
	transition: color .25s ease;
}

.footer-main a:hover {
	color: var(--buffalo-grass);
}

/* Footer columns */
.footer-row-cols {
	flex-flow: wrap;
	justify-content: space-between;
	gap: 2rem;
	padding: 15px 0;
}

footer img {
	padding-bottom: 1rem;
}

.footer-logo {
	width: 375px;
}

.footer-social {
	display: flex;
	gap: .8rem;
	font-size: 1.25rem;
	margin-top: 20px;
	margin-left: 130px;
}

.footer-row-cols p {
	font-size: 1rem;
	line-height: 1.75rem;
}

.footer-quick-links ul {
	font-size: 1.125rem;
	line-height: 2rem;
}

/* Disclaimer */
.footer-disclaimer p {
	font-size: .7rem;
	line-height: 1rem;
	margin-bottom: 0;
}

/* Bottom row */
.footer-bottom-row {
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-bottom-row p,
.footer-bottom-row ul {
	font-size: .75rem;
	line-height: 1.25rem;
	margin-bottom: 0;
}

.footer-links {
	margin-top: 16px;
	list-style: none;
	gap: 2rem;
}

.footer-links a,
.footer-siteby a {
	font-weight: bold;
}
.footer-links  a:hover,
.footer-siteby a:hover {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 0.2rem;
}

.footer-line {
	border-bottom: 1px solid var(--white);
	margin: 32px 0;
	width: 100%;
	opacity: 0.25;
}

@media only screen and (min-width: 768px) {
	.footer-quick-links .footer-links {
		display: block;
		justify-content: center;
	}
}

@media only screen and (max-width: 768px) {
	.footer-sign-up,
	.footer-main {
		padding: 30px;
	}

	.footer-main::after {
		background-size: 150%;
	}

	.footer-logo {
		width: 100%;
		max-width: 375px;
	}

	.footer-social {
		margin-left: 0;
	}
}

/* Footer Modal */
#newsletter-signup.f-html {
	background: var(--glorieta-green);
}

#newsletter-signup {
	width: min(92vw, 720px);
}

#newsletter-signup iframe {
	position: relative;
}

/* #newsletter-signup {
	padding: 1.25rem;
} */

#newsletter-signup label {
	display: block;
	font-weight: 600;
	margin-bottom: -15px;
	color: var(--white);
}

#newsletter-signup input[type="text"],
#newsletter-signup input[type="email"],
#newsletter-signup select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: .5px solid var(--white);
	border-radius: 6px;
}

#newsletter-signup input,
#newsletter-signup select {
	background: transparent;
}

#newsletter-signup select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23ffffff' height='20' width='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right;
	color: #fff;
}

#newsletter-signup .button {
	color: var(--white);
}
