/*
 * Global site footer + cookie banner. The footer replaces the Elementor
 * section that used to be pasted into pages by hand (#474747 band, white
 * Roboto / Roboto Condensed text), laid out in three columns on desktop.
 */

#colophon.ba-footer {
	display: block;
	max-width: none;
	margin: 80px 0 0;
	padding: 48px 0 0;
	background: #474747;
	color: #fff;
	font-family: "Roboto Condensed", "Roboto", "Segoe UI", sans-serif;
	font-weight: 300;
	line-height: 1.5;
}

.ba-footer a { color: #fff; text-decoration: none; transition: color .18s; }
.ba-footer a:hover { color: #d6d6d6; text-decoration: none; }
.ba-footer p { margin: 0; color: inherit; }

.ba-footer__inner,
.ba-footer__bottom {
	max-width: var(--responsive--alignwide-width, 1240px);
	margin-inline: auto;
	padding-inline: var(--global--spacing-horizontal, 25px);
}

.ba-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px 48px;
	align-items: start;
}

/* Brand */
.ba-footer__name {
	display: inline-block;
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ba-footer__tagline { margin-top: 6px; font-size: 15px; font-weight: 200; color: #cfcfcf; }

/* Menu */
.ba-footer__nav ul.ba-footer__menu { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.ba-footer__nav .ba-footer__menu li { margin: 0; padding: 0; line-height: 1.3; }
.ba-footer__nav .ba-footer__menu a { display: inline-block; padding: 0; font-size: 15px; font-weight: 300; line-height: 1.3; }
.ba-footer__menu .current-menu-item > a { color: #d6d6d6; }

/* Legal links */
.ba-footer__legal { display: grid; gap: 8px; justify-items: start; font-size: 14px; }
.ba-footer__legal a { color: #cfcfcf; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, .35); }
.ba-footer__legal a:hover { color: #fff; text-decoration-color: #fff; }

/* Bottom line */
.ba-footer__bottom {
	margin-top: 36px;
	padding-block: 16px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	text-align: center;
}
.ba-footer__copyright { font-size: 11px; font-weight: 400; color: #bdbdbd; }

@media (max-width: 781px) {
	#colophon.ba-footer { margin-top: 56px; padding-top: 36px; text-align: center; }
	.ba-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.ba-footer__nav { display: none; } /* the main menu is duplicated on desktop only */
	.ba-footer__legal { justify-items: center; }
}

/* Cookie banner */

.ba-cookie {
	position: fixed;
	inset-inline: 16px;
	bottom: 16px;
	z-index: 9999;
	max-width: 560px;
	margin-inline: auto;
	padding: 18px 20px;
	background: #fff;
	color: #111;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	font-family: "Roboto", "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.ba-cookie[hidden] { display: none; }
.ba-cookie p { margin: 0 0 14px; }
.ba-cookie a { color: #111; text-decoration: underline; text-underline-offset: .18em; }
.ba-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ba-cookie__btn {
	appearance: none;
	margin: 0;
	padding: 9px 18px;
	border: 1px solid #111;
	border-radius: 3px;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: background .18s, color .18s;
}
.ba-cookie__btn:hover { background: #333; }
.ba-cookie__btn--quiet { background: transparent; color: #111; }
.ba-cookie__btn--quiet:hover { background: #f2f2f2; }

@media (min-width: 782px) {
	.ba-cookie { inset-inline: auto 24px; bottom: 24px; }
}
