/**
 * Poliart footer.
 * Markup: template-parts/footer-poliart.php
 */

.pa-footer {
	--pa-fg: #fff;
	--pa-bg: #444;
	--pa-muted: #a3a3a3;
	--pa-line: rgba(255, 255, 255, 0.55);

	background: var(--pa-bg);
	color: var(--pa-fg);
	font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
}

.pa-footer *,
.pa-footer *::before,
.pa-footer *::after {
	box-sizing: border-box;
}

.pa-footer p,
.pa-footer ul {
	margin: 0;
	padding: 0;
}

.pa-footer ul {
	list-style: none;
}

.pa-footer a {
	color: var(--pa-fg);
	text-decoration: none;
}

.pa-footer a:hover,
.pa-footer a:focus-visible {
	color: var(--pa-fg);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pa-footer__wrap {
	max-width: 1170px;
	margin: 0 auto;
	padding: 48px 15px 32px;
}

/* Main menu. Add the CSS class "pa-cta" to a menu item to push it to the right. */
.pa-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px 56px;
}

.pa-footer__menu a {
	font-size: 28px;
	line-height: 1.2;
}

.pa-footer__menu .pa-cta {
	margin-left: auto;
}

.pa-footer__menu .pa-cta a {
	font-size: 22px;
}

/* Contacts and motto */
.pa-footer__info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 100px;
}

.pa-footer__info p {
	font-size: 23px;
	line-height: 1.2;
}

.pa-footer__social {
	display: flex;
	gap: 24px;
	margin-top: 24px;
}

.pa-footer__social a {
	display: inline-flex;
	width: 26px;
	height: 26px;
}

.pa-footer__social svg {
	width: 100%;
	height: 100%;
}

/* Newsletter */
.pa-footer__news {
	max-width: 650px;
	margin-top: 112px;
}

.pa-footer__news h2 {
	margin: 0 0 24px;
	padding: 0;
	color: var(--pa-fg);
	font: inherit;
	font-size: 28px;
	line-height: 1.2;
	text-transform: none;
}

.pa-footer__form {
	display: flex;
	margin: 0;
	border: 1px solid var(--pa-line);
}

.pa-footer .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pa-footer__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--pa-fg);
	font: inherit;
	font-size: 22px;
}

.pa-footer__form input[type="email"]::placeholder {
	color: var(--pa-fg);
	opacity: 1;
}

.pa-footer__form input[type="email"]:focus {
	outline: 2px solid var(--pa-fg);
	outline-offset: -2px;
}

.pa-footer__form button {
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: var(--pa-fg);
	color: var(--pa-bg);
	cursor: pointer;
	font: inherit;
	font-size: 22px;
}

.pa-footer__form button:hover {
	background: #e6e6e6;
}

/* Logo, legal links, copyright */
.pa-footer__bottom {
	margin-top: 112px;
}

.pa-footer__logo {
	display: inline-block;
}

.pa-footer__logo img {
	display: block;
	width: auto;
	height: 72px;
}

.pa-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	margin-top: 28px;
}

.pa-footer__legal a {
	font-size: 22px;
}

.pa-footer__copy {
	margin-top: 28px;
	color: var(--pa-muted);
	font-size: 20px;
	font-weight: 400;
}

@media (max-width: 900px) {
	.pa-footer__wrap {
		/* Bottom space keeps the floating cookie and chat buttons off the copyright. */
		padding: 34px 15px 96px;
	}

	.pa-footer__menu {
		gap: 12px 32px;
	}

	.pa-footer__menu a {
		font-size: 22px;
	}

	.pa-footer__menu .pa-cta {
		margin-left: 0;
	}

	.pa-footer__info {
		grid-template-columns: 1fr;
		margin-top: 56px;
	}

	.pa-footer__info p {
		font-size: 21px;
	}

	.pa-footer__news,
	.pa-footer__bottom {
		margin-top: 68px;
	}

	.pa-footer__news h2 {
		font-size: 22px;
	}

	.pa-footer__form input[type="email"],
	.pa-footer__form button,
	.pa-footer__legal a {
		font-size: 18px;
	}

	.pa-footer__copy {
		font-size: 16px;
	}
}
