/**
 * footer.css
 * The full-width footer: about column, widget columns, footer menu, social
 * links and the copyright bar.
 */

.jpm-footer {
	background: var(--jpm-color-primary-dark);
	color: rgba(255, 255, 255, 0.88);
	margin-top: var(--jpm-gap-lg);
}

.jpm-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.jpm-footer a:hover,
.jpm-footer a:focus {
	color: #fff;
}

.jpm-footer__inner {
	max-width: var(--jpm-max-content);
	margin: 0 auto;
	padding: var(--jpm-gap-lg) var(--jpm-gap);
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: var(--jpm-gap-lg);
}

.jpm-footer__about-text {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1rem;
}

.jpm-footer .widget__title {
	color: #fff;
	border-bottom: 2px solid rgba(255, 255, 255, 0.16);
	padding-bottom: 0.5rem;
	margin-bottom: 0.8rem;
	font-size: 1rem;
}

.jpm-footer .widget ul {
	gap: 0.5rem;
}

.jpm-footer .widget a {
	text-decoration: none;
}

/* Footer social */
.jpm-footer .jpm-social-menu {
	list-style: none;
	display: flex;
	gap: 0.4rem;
	padding: 0;
	margin: 0;
}

.jpm-footer .jpm-social-menu a {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.jpm-footer .jpm-social-menu a:hover,
.jpm-footer .jpm-social-menu a:focus {
	background: var(--jpm-color-accent);
}

/* Copyright bar */
.jpm-footer__bottom {
	background: rgba(0, 0, 0, 0.2);
}

.jpm-footer__bottom-inner {
	max-width: var(--jpm-max-content);
	margin: 0 auto;
	padding: 1rem var(--jpm-gap);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.jpm-footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 0;
	padding: 0;
}

.jpm-footer-menu a {
	text-decoration: none;
	font-size: 0.9rem;
}

.jpm-footer__copyright {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}
