/* Footer: the theme footer (widgets + copyright bar) restyled. Content stays in Appearance > Widgets. */

/* The theme "reveals" a fixed footer under the page, which leaves a white band when its height changes. */
#footer {
	position: relative !important;
	z-index: 2;
}

#main {
	margin-bottom: 0 !important;
}

#footer .footer-widgets {
	position: relative;
	padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 3vw, 40px);
	background: var(--color-dark);
	color: rgba(255, 255, 255, .78);
}

#footer .footer-widgets::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--color-orange);
}

#footer .footer-widgets .widget {
	margin-bottom: 20px;
}

#footer .footer-widgets .widgettitle,
#footer .footer-widgets h3 {
	margin: 0 0 20px;
	color: #fff;
	font-family: var(--xz-display);
	font-size: 14px;
	font-weight: var(--font-semibold);
	letter-spacing: .12em;
	text-transform: uppercase;
}

#footer .footer-widgets p,
#footer .footer-widgets li {
	color: inherit;
	line-height: 1.7;
}

#footer .footer-widgets ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer .footer-widgets li {
	margin: 0 0 8px;
}

#footer .footer-widgets a {
	color: rgba(255, 255, 255, .88);
	text-decoration: none;
	transition: color var(--xz-fast);
}

#footer .footer-widgets a:hover,
#footer .footer-widgets a:focus-visible {
	color: var(--xz-orange) !important;
	transform: none;
}

#footer .footer-copyright {
	border-top: 1px solid rgba(255, 255, 255, .12);
	background: var(--color-black);
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
}

#footer .footer-copyright .container {
	padding-block: 8px !important;
}

#footer .footer-copyright a {
	color: rgba(255, 255, 255, .8);
}

/* Newsletter band, placed above the footer */
.xz-s--newsletter {
	background: var(--xz-sand);
	padding: clamp(40px, 5vw, 72px) 0;
}

.xz-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px clamp(32px, 5vw, 80px);
	align-items: center;
}

.xz-newsletter .xz-title {
	margin-bottom: 8px;
}

.xz-newsletter .xz-lead {
	margin: 0;
}

.xz-newsletter .wpcf7 form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.xz-newsletter .wpcf7 form > p {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.xz-newsletter .wpcf7-form-control-wrap {
	flex: 1 1 240px;
}

.xz-newsletter input[type="email"] {
	width: 100%;
	height: 52px;
	padding: 0 18px;
	border: 1px solid rgba(29, 29, 27, .2);
	border-radius: 999px;
	background: #fff;
	color: var(--xz-charcoal);
	font-size: 16px;
}

.xz-newsletter input[type="submit"] {
	height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--color-orange);
	color: var(--color-white);
	font-weight: var(--font-semibold);
	cursor: pointer;
	transition: background var(--xz-fast), color var(--xz-fast);
}

.xz-newsletter input[type="submit"]:hover,
.xz-newsletter input[type="submit"]:focus-visible {
	background: var(--color-orange-dark);
	color: var(--color-white);
}

@media (max-width: 800px) {
	.xz-newsletter {
		grid-template-columns: 1fr;
	}
}

/* Lists: no arrow glyphs, calm separators */
#footer .footer-widgets ul.dt-sc-fancy-list li {
	margin: 0;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	line-height: 1.5;
}

#footer .footer-widgets ul.dt-sc-fancy-list li::before,
#footer .footer-widgets ul.dt-sc-fancy-list li::after,
#footer .footer-widgets ul.dt-sc-fancy-list li a::before {
	content: none !important;
}

#footer .footer-widgets ul.dt-sc-fancy-list li a {
	display: inline-block;
	padding: 0;
	font-weight: var(--font-medium) !important;
}

#footer .footer-widgets ul.dt-sc-fancy-list li a:hover {
	transform: none !important;
}
