/* Info Grove site footer: five columns on desktop, stacked on phones. Navy background, light text and
   link colours come from .ig-on-dark in base.css. Colour-only hovers. */

.ig-site-footer a { text-decoration: none; }
.ig-site-footer {
	padding: 64px 0 28px;
	font-size: 14px;
	line-height: 1.6;
}

.ig-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}
@media (min-width: 640px) {
	.ig-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* One row on wide screens, however many columns the Footer Menu has: the about and newsletter columns are wider,
   and the newsletter column stays wider than the 256px reCAPTCHA badge. */
@media (min-width: 1200px) {
	.ig-footer__cols { display: flex; }
	.ig-footer__col { flex: 1 1 0; min-width: 0; }
	.ig-footer__about { flex-grow: 1.3; }
	.ig-footer__news { flex-grow: 1.5; min-width: 272px; }
}

.ig-footer__logo {
	display: inline-block;
	line-height: 0;
}
.ig-footer__logo img {
	display: block;
	width: auto;
	height: 36px;
}
.ig-footer__address {
	margin-top: 16px;
	font-style: normal;
}
.ig-footer__contact { margin: 10px 0 0; }

.ig-footer__heading {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}
.ig-footer__links,
.ig-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ig-footer__links li { margin: 0 0 9px; }
.ig-footer__news p { margin: 0; }

/* Social icons: 36px targets around the 20px glyphs. The -8px margins keep the glyphs 16px apart and the boxes
   exactly touching, never overlapping. */
.ig-footer__social {
	display: flex;
	gap: 16px;
	margin-top: 18px;
}
.ig-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: -8px;
}

/* HubSpot newsletter form: an iframe that HubSpot sizes itself. Its inner styles are in
   newsletter-form.css, which parts/site-footer.php injects into the iframe. */
#ig-newsletter { margin-top: 12px; }
#ig-newsletter iframe { display: block; width: 100%; border: 0; }

/* Legal row */
.ig-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
}
