/**
 * Homepage archive strip + featured bento (layout wrapper on `front-page.php`).
 */

.gather-home-archive-bento-banner {
	padding: var(--gather-page-section-py-start) var(--gather-page-gutter-x)
		var(--gather-page-section-py-end);
}

.gather-home-hero {
	max-width: 42rem;
}

.gather-home-hero__label {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gather-slate);
}

.gather-home-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 2.75rem);
}

.gather-home-hero__lede {
	margin: 0 0 1.75rem;
	font-size: 1.0625rem;
	color: var(--gather-charcoal);
	line-height: 1.6;
}

.gather-home-hero__cta {
	margin: 0;
}

.gather-home-hero__button {
	display: inline-block;
	padding: 0.65rem 1.35rem;
	border: 1px solid var(--gather-border-subtle);
	border-radius: 2px;
	background: var(--gather-charcoal);
	color: var(--gather-chalk) !important;
	font-family: var(--gather-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.gather-home-hero__button:hover {
	background: var(--gather-terra);
	color: var(--gather-chalk) !important;
}

.gather-home-hero__button:focus-visible {
	outline: 2px solid var(--gather-terra);
	outline-offset: 3px;
}

/* ─── Archive rail (filters + CTA) ─── */

.gather-home-archive__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 0;
}

.gather-home-archive__lede {
	max-width: 46rem;
	margin: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(1.25rem, 3vw, 2rem);
	font-family: var(--gather-font-body);
	font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
	line-height: 1.62;
	font-weight: 400;
	color: var(--gather-charcoal);
}

.gather-home-archive__title {
	margin: 0;
	font-family: var(--gather-font-headline);
	font-size: clamp(1.35rem, 3.2vw, 1.75rem);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--gather-charcoal);
}

.gather-home-archive__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	min-width: min(100%, 12rem);
}

.gather-home-archive__pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gather-home-archive__pill {
	display: inline-block;
	padding: 0.38rem 0.65rem;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent;
	color: var(--gather-charcoal) !important;
	font-family: var(--gather-font-body);
	font-size: 0.65625rem;
	font-weight: 600;
	text-decoration: none !important;
	letter-spacing: 0.1em;
	line-height: 1.15;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.gather-home-archive__pill:hover {
	color: var(--gather-terra) !important;
}

.gather-home-archive__pill:focus-visible {
	outline: 2px solid var(--gather-terra);
	outline-offset: 2px;
}

.gather-home-archive__pill--outline {
	border-color: rgb(58 53 53 / 0.55);
}

.gather-home-archive__pill--outline:hover {
	border-color: rgb(196 122 90 / 0.75);
}

@media (max-width: 680px) {
	.gather-home-archive__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.gather-home-archive__nav {
		justify-content: flex-start;
		width: 100%;
	}

	.gather-home-archive__pills {
		justify-content: flex-start;
	}
}
