/**
 * Brera network and footer redesign.
 * Reuses the parent theme's .wrapper, .columns and .col-* flex grid.
 */
:root {
	--brera-heading-dark: #292929;
}

.brera-footer-network,
.brera-site-footer {
	font-family: Lato, Helvetica, Arial, sans-serif;
}

@media (min-width: 1024px) {
	.brera-footer-network > .wrapper,
	.brera-site-footer > .wrapper {
		max-width: 1360px;
	}
}

.brera-footer-network {
	padding: 64px 0;
	background: #f4f4f4;
	color: #212121;
}

.brera-footer-network__eyebrow {
	margin: 0 0 10px;
	color: #f1371e;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.brera-footer-network__title {
	margin: 0 0 38px;
	color: var(--brera-heading-dark);
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.15;
}

.brera-footer-network__grid {
	margin: -10px;
}

.brera-footer-network__grid.columns:not(:last-child) {
	margin-bottom: -10px;
}

.brera-location-card.col {
	position: relative;
	min-height: 144px;
	flex: 0 0 20%;
	width: 20%;
	max-width: 20%;
	padding: 10px;
	text-align: left;
}

.brera-location-card::before {
	display: block;
	position: absolute;
	inset: 10px;
	z-index: 0;
	border: 1px solid #dedede;
	border-radius: 9px;
	background: #fff;
	content: "";
}

.brera-location-card > * {
	position: relative;
	z-index: 1;
	margin-right: 16px;
	margin-left: 16px;
}

.brera-location-card__title {
	margin-top: 16px;
	margin-bottom: 4px;
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.brera-location-card__title a,
.brera-location-card__title a:hover {
	color: #212121;
}

.brera-location-card__title a:hover {
	opacity: .65;
}

.brera-location-card__title a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.brera-location-card__city-arrow {
	display: block;
	width: 11px;
	height: 11px;
	flex: 0 0 11px;
}

.brera-location-card__address {
	min-height: 34px;
	margin-top: 0;
	margin-bottom: 10px;
	color: #595959;
	font-size: 12px;
	line-height: 1.45;
}

.brera-location-card__contacts {
	padding-bottom: 14px;
}

.brera-location-card__contacts a {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 4px;
	color: #737373;
	font-size: 11px;
	line-height: 1.35;
}

.brera-location-card__contacts a:hover {
	color: #eb4426;
}

.brera-location-card__contact-icon {
	display: block;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	object-fit: contain;
}

.brera-site-footer {
	padding: 55px 0 28px;
	background: #212121;
	color: #a9a9a9;
}

.brera-site-footer__columns {
	align-items: flex-start;
	margin-bottom: 86px;
}

.brera-site-footer__brand,
.brera-site-footer__nav,
.brera-site-footer .col {
	text-align: left;
}

.brera-site-footer__logo {
	display: block;
	width: 160px;
	height: 72px;
	overflow: hidden;
}

.brera-site-footer__logo img {
	display: block;
	width: 160px;
	height: auto;
	filter: saturate(1.1);
}

.brera-site-footer__logo span {
	color: #eb4426;
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 42px;
	font-weight: 300;
	letter-spacing: .02em;
}

.brera-site-footer__slogan {
	margin: 6px 0 18px;
	color: #fff;
	font-family: Darkwoman, cursive;
	font-size: 25px;
	line-height: 1.2;
}

.brera-site-footer__descriptor {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	line-height: 1.6;
}

.brera-site-footer__nav h2 {
	margin: 4px 0 13px;
	color: #eb4426;
	font-family: Lato, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.brera-site-footer__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.brera-site-footer__nav li {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.35;
}

.brera-site-footer__nav a,
.brera-site-footer__nav span {
	color: rgba(255, 255, 255, .82);
}

.brera-site-footer__nav a:hover {
	color: #fff;
}

.brera-site-footer__socials {
	white-space: nowrap;
}

.brera-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 38px;
	border-top: 1px solid #595959;
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
	line-height: 1.4;
}

.brera-site-footer__bottom p {
	margin: 0;
}

.brera-site-footer__bottom nav {
	display: flex;
	gap: 18px;
}

.brera-site-footer__bottom a {
	color: rgba(255, 255, 255, .55);
}

.brera-site-footer__bottom a:hover {
	color: #fff;
}

@media (max-width: 1023px) {
	.brera-location-card.col {
		flex-basis: 33.333%;
		width: 33.333%;
		max-width: 33.333%;
	}

	.brera-site-footer__brand.col,
	.brera-site-footer__nav.col {
		max-width: 50%;
	}

	.brera-site-footer__columns {
		row-gap: 34px;
		margin-bottom: 56px;
	}
}

@media (max-width: 767px) {
	.brera-footer-network,
	.brera-site-footer {
		padding-top: 48px;
		padding-bottom: 90px;
	}

	.brera-footer-network > .wrapper {
		width: 100%;
		max-width: 100%;
	}

	.brera-location-card.col {
		flex-basis: 50%;
		width: 50%;
		max-width: 50%;
	}

	.brera-site-footer__columns {
		margin-bottom: 42px;
	}
}

@media (max-width: 639px) {
	.brera-footer-network__title {
		margin-bottom: 25px;
		font-size: 30px;
	}

	.brera-location-card.col,
	.brera-site-footer__brand.col,
	.brera-site-footer__nav.col {
		flex-basis: 100%;
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.brera-location-card {
		min-height: 136px;
	}

	.brera-site-footer__brand,
	.brera-site-footer__nav {
		padding-top: 0;
		padding-bottom: 0;
	}

	.brera-site-footer__nav {
		margin-top: 30px;
	}

	.brera-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.brera-site-footer__bottom nav {
		flex-wrap: wrap;
		gap: 8px 16px;
	}
}
