/*
 * footer.css - newsletter and site footer.
 * Enqueued on every page after common.css.
 */

/* --------------------------------------------------------------------------
   Newsletter (home + About Us)
   -------------------------------------------------------------------------- */
.fh-newsletter {
	padding: 42px 0;
	background: var(--fh-bg);
}

.fh-woocommerce-newsletter {
	padding: 78px 0;
}

.fh-newsletter .fh-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	width: min(var(--fh-width), 95vw);
}

.fh-newsletter h2 {
	max-width: 760px;
	margin: 0;
	color: #000;
	font-size: 36px;
	font-weight: 400;
	line-height: 1.2;
}

.fh-newsletter-form {
	display: flex;
	flex: 0 0 min(620px, 48%);
	width: min(620px, 48%);
	gap: 12px;
}

.fh-newsletter-form input {
	flex: 1;
	min-width: 0;
	min-height: 54px;
	border: 1px solid var(--fh-line);
	border-radius: 3px;
	background: var(--fh-white);
	padding: 0 16px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	outline: none;
}

.fh-newsletter-form button {
	min-height: 54px;
	font-family: Arial, sans-serif;
	font-size: 16px;
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */
.fh-site-footer {
	padding: 52px 0 16px;
	background: var(--fh-bg);
	color: #131313;
}

.fh-newsletter + .fh-site-footer {
	padding-top: 0;
}

.fh-footer-top,
.fh-footer-bottom {
	width: min(var(--fh-width), 95vw);
}

.fh-footer-top {
	display: grid;
	grid-template-columns: 1.3fr repeat(6, 1fr);
	gap: 24px;
	margin-bottom: 58px;
}

.fh-footer-top > div {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
	margin-top: -18px;
}

.fh-footer-top h2 {
	margin: 0;
	font-size: 36px;
	font-weight: 400;
}

.fh-footer-top img {
	width: auto;
	height: 120px;
}

.fh-footer-top .fh-button {
	white-space: nowrap;
}

.fh-footer-top h3 {
	margin: 10px 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.fh-footer-top nav a {
	display: block;
	padding: 5px 0;
	color: #131313;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.24;
}

.fh-footer-top nav a:hover {
	color: var(--fh-blue);
}

.fh-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid rgba(0, 0, 0, 0.09);
	padding-top: 16px;
	font-family: Arial, sans-serif;
	font-size: 16px;
}

.fh-footer-bottom p {
	margin: 0;
}

/* --------------------------------------------------------------------------

   Responsive - footer only

   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
	.fh-footer-top {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.fh-newsletter {
		padding: 42px 24px;
	}

	.fh-woocommerce-newsletter {
		padding: 56px 24px;
	}

	.fh-newsletter .fh-wrap {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		margin-inline: 0;
		gap: 22px;
	}

	.fh-newsletter h2 {
		font-size: 28px;
	}

	.fh-newsletter-form {
		flex-direction: row;
		width: 100%;
		flex-basis: auto;
	}

	.fh-site-footer {
		padding: 42px 20px 18px;
	}

	.fh-newsletter + .fh-site-footer {
		padding-top: 0;
	}

	.fh-footer-top {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 18px;
		margin-bottom: 34px;
	}

	.fh-footer-top > div {
		grid-column: 1 / -1;
		align-items: center;
		gap: 18px;
		margin-top: 0;
		margin-bottom: 8px;
		text-align: center;
	}

	.fh-footer-top img {
		height: 78px;
	}

	.fh-footer-top .fh-button {
		width: min(276px, 100%);
		min-height: 56px;
		padding: 16px 20px;
		font-size: 19px;
	}

	.fh-footer-top h2 {
		font-size: 28px;
	}

	.fh-footer-top h3 {
		margin: 0 0 9px;
		font-size: 15px;
	}

	.fh-footer-top nav a {
		padding: 4px 0;
		font-size: 13px;
		line-height: 1.3;
	}

	.fh-footer-bottom {
		flex-direction: column;
		text-align: center;
		font-size: 13px;
	}
}

@media (max-width: 430px) {
	.fh-footer-top {
		grid-template-columns: 1fr;
	}

	.fh-site-footer {
		padding-inline: 28px;
	}

	.fh-footer-top,
	.fh-footer-bottom {
		width: 100%;
	}

	.fh-footer-top {
		gap: 22px;
	}

	.fh-footer-top > div {
		margin-bottom: 12px;
	}

	.fh-footer-top img {
		height: 70px;
	}

	.fh-footer-top nav {
		padding-top: 18px;
		border-top: 1px solid rgba(0, 48, 87, 0.12);
	}
}
