/*
 * Site footer: night-sky band under the footer bunting, with a
 * multicolour stripe above the credit line.
 */

.wpp-footer {
	background: var(--wpp-night);
	color: var(--wpp-muted-on-dark);
	padding-top: clamp(48px, 6vw, 80px);
}

.wpp-footer__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 640px) {
	.wpp-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wpp-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.wpp-footer__grid {
		grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
	}

	.wpp-footer__brand {
		grid-column: auto;
	}
}

.wpp-footer__tagline {
	margin: 16px 0 8px;
	font-weight: 700;
	color: var(--wpp-yellow);
}

.wpp-footer__about {
	max-width: 38ch;
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
}

.wpp-footer__heading {
	margin: 0 0 14px;
	font-size: var(--wpp-step-0);
	letter-spacing: 0.01em;
	color: var(--wpp-white);
}

.wpp-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.wpp-footer a {
	color: var(--wpp-yellow);
	text-decoration: none;
}

.wpp-footer a:hover {
	color: var(--wpp-white);
	text-decoration: underline;
}

.wpp-footer .wpp-brand__word {
	font-size: 1.9rem;
}

.wpp-footer .wpp-brand__word,
.wpp-footer a.wpp-brand:hover {
	text-decoration: none;
}

/* Darker strip with the fiesta stripe on its top edge */
.wpp-footer__base {
	margin-top: clamp(40px, 5vw, 64px);
	background: #15112b;
	border-top: 4px solid transparent;
	border-image: var(--wpp-stripe) 1;
	font-size: var(--wpp-step--1);
}

.wpp-footer__base-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px 24px;
}

.wpp-footer__credit p,
.wpp-footer__photos {
	margin: 0;
}
