.cda-explore-page {
	background: #fcfbf8;
}

.cda-explore-page .cda-explore-hero {
	background: #fcfbf8;
	color: #161817;
	padding-block: clamp(3rem, 5vw, 5rem);
}

.cda-explore-page .cda-explore-hero .cda-shell {
	position: relative;
}

.cda-explore-page .cda-explore-hero .cda-eyebrow {
	color: #8d3528;
}

.cda-explore-page .cda-explore-hero h1 {
	font-size: clamp(3.25rem, 7vw, 6.75rem);
	letter-spacing: -.045em;
	line-height: 1.05;
	margin-block: .75rem 1.25rem;
	max-width: 10ch;
}

.cda-explore-page .cda-explore-hero p:not(.cda-eyebrow) {
	color: #4e514d;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	max-width: 37rem;
}

.cda-explore-tools {
	background: #f4f1ea;
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.cda-explore-tools__intro {
	display: grid;
	gap: .5rem 2rem;
	grid-template-columns: minmax(13rem, 4fr) minmax(18rem, 8fr);
	margin-bottom: 2.5rem;
}

.cda-explore-tools__intro .cda-eyebrow {
	color: #8d3528;
	grid-column: 1;
	margin: 0;
}

.cda-explore-tools__intro h2 {
	font-size: clamp(2.25rem, 4vw, 4rem);
	grid-column: 1;
	margin: 0;
}

.cda-explore-tools__intro > p:last-child {
	align-self: end;
	color: #555a55;
	grid-column: 2;
	margin: 0 0 .4rem;
	max-width: 34rem;
}

.cda-explore-filters {
	border-block: 1px solid #bfc0b9;
}

.cda-explore-filters summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: .8rem;
	font-weight: 750;
	justify-content: space-between;
	letter-spacing: .08em;
	min-height: 3.5rem;
	text-transform: uppercase;
}

.cda-explore-filters summary span {
	color: #6c706b;
	font-size: .7rem;
}

.cda-explore-form {
	padding-block: 1.75rem 2rem;
}

.cda-explore-form fieldset {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.cda-explore-form__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cda-explore-form label {
	display: block;
	min-width: 0;
}

.cda-explore-form label > span {
	display: block;
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .1em;
	margin-bottom: .4rem;
	text-transform: uppercase;
}

.cda-explore-form select {
	appearance: auto;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #777b76;
	border-radius: 0;
	color: #161817;
	font: inherit;
	font-size: .9rem;
	min-height: 2.75rem;
	padding: .45rem .15rem;
	width: 100%;
}

.cda-explore-form__actions {
	align-items: center;
	display: flex;
	gap: 1.25rem;
	margin-top: 2rem;
}

.cda-explore-form__actions button {
	background: #161817;
	border: 1px solid #161817;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: .75rem;
	font-weight: 750;
	letter-spacing: .075em;
	min-height: 2.75rem;
	padding: .7rem 1.15rem;
	text-transform: uppercase;
}

.cda-explore-form__actions button:hover {
	background: #8d3528;
	border-color: #8d3528;
}

.cda-explore-form__actions a,
.cda-active-filters a,
.cda-explore-empty a,
.cda-explore-pagination a {
	font-size: .78rem;
	font-weight: 700;
	text-underline-offset: .25em;
}

.cda-active-filters {
	align-items: start;
	display: grid;
	gap: 1.25rem 2rem;
	grid-template-columns: minmax(10rem, 2fr) minmax(0, 8fr) auto;
	margin-top: 2rem;
}

.cda-active-filters > p {
	font-size: .72rem;
	font-weight: 750;
	letter-spacing: .1em;
	margin: .65rem 0 0;
	text-transform: uppercase;
}

.cda-active-filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cda-active-filters li {
	border-left: 2px solid #8d3528;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	min-width: 12rem;
	padding: .45rem 0 .45rem .8rem;
}

.cda-active-filters li span {
	font-family: "Source Serif 4", Georgia, serif;
}

.cda-active-filters li strong {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cda-active-filters__clear {
	margin-top: .55rem;
	white-space: nowrap;
}

.cda-explore-results {
	padding-block: clamp(4rem, 7vw, 7rem);
}

.cda-explore-results__heading {
	display: grid;
	gap: .5rem;
	grid-template-columns: minmax(0, 1fr);
}

.cda-explore-results__heading .cda-eyebrow {
	color: #8d3528;
	margin: 0;
}

.cda-explore-results__heading h2 {
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	margin: 0;
}

.cda-explore-results__summary {
	border-bottom: 1px solid #bfc0b9;
	color: #555a55;
	font-size: .88rem;
	margin: 1.25rem 0 2.5rem;
	padding-bottom: 1rem;
}

.cda-explore-results .cda-query-grid {
	display: grid;
	gap: 3rem 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cda-explore-results .cda-dessert-card {
	min-width: 0;
}

.cda-explore-results .cda-dessert-card .wp-block-post-featured-image {
	background: #ece9e1;
	border-radius: 0;
}

.cda-explore-results .cda-dessert-card .wp-block-post-excerpt p {
	margin: 0;
}

.cda-explore-pagination {
	align-items: center;
	border-top: 1px solid #bfc0b9;
	display: flex;
	gap: 1.25rem;
	justify-content: space-between;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
}

.cda-explore-pagination__status {
	color: #555a55;
	font-size: .8rem;
	letter-spacing: .05em;
}

.cda-explore-empty {
	border-block: 1px solid #bfc0b9;
	margin-top: 1.5rem;
	max-width: 46rem;
	padding-block: 2rem;
}

.cda-explore-empty h3 {
	font-size: clamp(1.65rem, 3vw, 2.4rem);
	margin: 0 0 .75rem;
}

.cda-explore-empty p {
	color: #555a55;
	margin: 0 0 1.25rem;
}

@media (min-width: 48rem) {
	@supports selector(details::details-content) {
		.cda-explore-filters > summary {
			display: none;
		}

		.cda-explore-filters::details-content {
			content-visibility: visible;
		}
	}
}

@media (max-width: 63.99rem) {
	.cda-explore-form__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cda-explore-results .cda-query-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.99rem) {
	.cda-explore-page .cda-explore-hero {
		padding-block: 2.75rem;
	}

	.cda-explore-tools {
		padding-block: 2.5rem;
	}

	.cda-explore-tools__intro {
		display: block;
		margin-bottom: 1.5rem;
	}

	.cda-explore-tools__intro h2 {
		margin-block: .35rem .75rem;
	}

	.cda-explore-filters:not([open]) > .cda-explore-form {
		display: none;
	}

	.cda-explore-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cda-explore-form__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cda-explore-form__actions button {
		width: 100%;
	}

	.cda-active-filters {
		grid-template-columns: minmax(0, 1fr);
	}

	.cda-active-filters > p {
		margin-top: 0;
	}

	.cda-active-filters ul {
		display: grid;
		gap: .75rem;
	}

	.cda-active-filters li {
		min-width: 0;
	}

	.cda-active-filters__clear {
		margin-top: 0;
	}

	.cda-explore-results {
		padding-block: 3.5rem;
	}

	.cda-explore-results .cda-query-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
