/* Category archive header */
.ggn-category .ggn-category__header {
	background: var(--wp--preset--gradient--hero);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
}

.ggn-category .ggn-category__title {
	margin: 0;
}

.ggn-category .ggn-category__description {
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.ggn-category .ggn-category__description > :first-child {
	margin-top: 0;
}

.ggn-category .ggn-category__description > :last-child {
	margin-bottom: 0;
}

.ggn-category .ggn-category__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--card);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ggn-category .ggn-chip {
	color: var(--wp--preset--color--text);
	min-height: var(--wp--custom--control--size);
	padding-left: var(--wp--preset--spacing--card);
	padding-right: var(--wp--preset--spacing--card);
	text-decoration: none;
}

.ggn-category .ggn-chip:hover,
.ggn-category .ggn-chip:focus-visible {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

.ggn-category .ggn-chip.is-active {
	color: var(--wp--preset--color--accent);
}

@media (max-width: 781px) {
	.ggn-category .ggn-category__header {
		padding: var(--wp--preset--spacing--card-lg);
	}

	.ggn-category .ggn-category__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: var(--wp--preset--spacing--card);
		scrollbar-width: thin;
	}

	.ggn-category .ggn-category__chip {
		flex: 0 0 auto;
	}

	.ggn-category .ggn-chip {
		white-space: nowrap;
	}
}
