/* Footer B (A/B test): link columns + Featured work above .footer-v8__main.
   Markup: partials/ab-footer-b.php. Figma: 9rmBkG751MLEsWAAlOj5ni, nodes 4:173 (1280) and 4:384 (402).
   Breakpoints match the footer's own in theme.css (1279, 1023, 768).
   Everything here is either a B-only class or scoped to [data-footer-variant="b"], so footer A is unchanged. */

.footer-v8__nav,
.footer-v8__featured,
.footer-v8__rule {
	width: 90vw;
	margin-left: auto;
	margin-right: auto;
}

/* Link columns */
.footer-v8__nav {
	display: grid;
	grid-template-columns: 1fr 1fr 400px;
	column-gap: 40px;
	align-items: start;
}
.footer-v8__nav-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
.footer-v8 .footer-v8__nav-title {
	font-family: "PP Mori", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #b3d6d3;
	margin: 0;
	padding: 0;
}
.footer-v8__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.footer-v8__nav-list li {
	margin: 0;
	padding: 0;
}
.footer-v8__nav-list a {
	font-family: "PP Mori", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -.01em;
	color: #b3d6d3;
	text-decoration: none;
	transition: color .3s;
}
.footer-v8__nav-list a:hover {
	color: #dbe976;
}

/* Featured work */
.footer-v8__featured {
	margin-top: 64px;
}
.footer-v8__featured-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}
.footer-v8__featured-all {
	display: inline-flex;
	align-items: center;
	font-family: "PP Mori", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: #b3d6d3;
	text-decoration: none;
	transition: color .3s;
}
.footer-v8__featured-all:hover {
	color: #dbe976;
}
.footer-v8__tiles {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}
.footer-v8__tiles li {
	margin: 0;
	padding: 0;
	min-width: 0;
}
.footer-v8__tile {
	display: flex;
	flex-direction: column;
	color: #b3d6d3;
	text-decoration: none;
	transition: color .3s;
}
.footer-v8__tile:hover {
	color: #dbe976;
}
.footer-v8__tile-image {
	display: block;
	aspect-ratio: 1;
	margin-bottom: 16px;
	border-radius: 12px;
	overflow: hidden;
}
.footer-v8__tile-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}
.footer-v8__tile-name,
.footer-v8__tile-line {
	display: block;
	font-family: "PP Mori", sans-serif;
	font-weight: 400;
}
.footer-v8__tile-name {
	font-size: 20px;
	line-height: 28px;
}
.footer-v8__tile-line {
	font-size: 18px;
	line-height: 25.2px;
}

/* Hairline, then today's main row */
.footer-v8__rule {
	height: 1px;
	margin-top: 64px;
	margin-bottom: 48px;
	background: #517a77;
}
.footer-v8[data-footer-variant="b"] .footer-v8__bottom {
	margin-top: 64px;
}

@media (max-width: 1279px) {
	.footer-v8__nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	/* Columns size to their longest link so none wraps on a tablet */
	.footer-v8__nav {
		grid-template-columns: repeat(3, auto);
		justify-content: space-between;
		column-gap: 24px;
	}
	.footer-v8__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.footer-v8__nav {
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
		row-gap: 40px;
		text-align: center;
	}
	.footer-v8__nav-col {
		align-items: center;
	}
	.footer-v8__featured {
		margin-top: 48px;
	}
	.footer-v8__tiles {
		gap: 32px 16px;
	}
	.footer-v8__tile-image {
		margin-bottom: 12px;
	}
	.footer-v8__tile-name {
		font-size: 18px;
		line-height: 25.2px;
	}
	.footer-v8__tile-line {
		font-size: 13px;
		line-height: 18.2px;
	}
	.footer-v8__rule {
		margin-top: 48px;
		margin-bottom: 40px;
	}
	.footer-v8[data-footer-variant="b"] .footer-v8__bottom {
		margin-top: 40px;
	}
}
