/* Sections directory cards follow the preview block, not the shared catalog card. */
.bx-sections .bx-sections-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 30px 0 56px;
}

.bx-sections .bx-sections-grid section {
	padding: 26px;
	border: 1px solid #e3dfd7;
	border-radius: 12px;
	background: #f6f4f0;
}

.bx-sections .bx-sections-grid ul {
	display: grid;
	gap: 14px;
}

.bx-sections .bx-sections-grid li + li {
	margin-top: 0;
}

.bx-sections .bx-sections-grid a {
	font-size: 18px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.bx-sections .bx-sections-grid a:hover {
	text-decoration: underline;
}

.bx-sections .bx-sections-grid h2 a {
	font-size: inherit;
}

.bx-sections .bx-sections-grid h2 a::after {
	content: " \2197";
}


.bx-sections .bx-sections-grid h2,
.bx-sections .bx-sections-grid h3 {
	margin: 0 0 18px;
	font-family: var(--font-sans);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.bx-pods > .bx-cards {
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-7);
}

.bx-pods > .bx-cards > article {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
	column-gap: var(--space-panel);
}

.bx-pods > .bx-cards > article > .bx-plan {
	grid-column: 1;
	grid-row: 1 / span 12;
	width: 100%;
	height: auto;
}

.bx-pods > .bx-cards > article > :not(.bx-plan) {
	grid-column: 2;
}

.bx-pods .bx-projects .bx-cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bx-article .bx-long {
	max-width: 68ch;
}

@media (max-width: 1100px) {
	.wp-block-belux-bathroom-nav .bx-heading,
	.wp-block-belux-ceramic-brands .bx-heading {
		display: flex;
	}

	.wp-block-belux-bathroom-nav .bx-journal,
	.wp-block-belux-hardware-nav .bx-journal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bx-partner > .bx-cards:not(.bx-pair) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Shared .bx-cards becomes two columns here. The siphon guide stays at three until 700px. */
	.wp-block-belux-siphon-guide .bx-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bx-news .bx-journal {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-section) var(--space-panel);
}

.bx-academy .bx-journal {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-8);
}

.bx-news .bx-cta,
.bx-academy .bx-cta {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.bx-buyer > .bx-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-7);
	margin-top: var(--space-18);
	padding: var(--space-8) var(--space-10);
	border-radius: var(--radius);
	background: var(--color-hero);
}

.bx-buyer > .bx-cta > div {
	min-width: 0;
}

.bx-buyer > .bx-cta h2 {
	margin: var(--space-3) 0;
	font-family: var(--font-sans);
	font-size: var(--type-lead);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.bx-buyer > .bx-cta p:not(.eyebrow) {
	margin: 0;
	color: var(--color-caption);
	font-size: var(--type-body);
	line-height: 1.8;
}

.bx-buyer > .bx-cta .button {
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.bx-sections .bx-sections-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	/* Same specificity as the three-column rules above, so this fold has to come later. */
	.wp-block-belux-siphon-guide .bx-cards {
		grid-template-columns: 1fr;
	}

	.wp-block-belux-siphon-guide .bx-cards {
		gap: var(--space-3);
	}

	.wp-block-belux-bathroom-nav .bx-heading,
	.wp-block-belux-hardware-nav .bx-journal,
	.bx-about .bx-hero,
	.bx-about .bx-split,
	.bx-about .bx-split:has(.bx-pills),
	.bx-about .bx-timeline ol,
	.bx-about .bx-patents,
	.bx-about .bx-values .bx-cards,
	.bx-coop .bx-cards,
	.bx-docs {
		grid-template-columns: 1fr;
	}

	.bx-about .bx-numbers-row {
		grid-template-columns: 1fr 1fr;
	}

	.bx-privacy-grid {
		grid-template-columns: 1fr;
	}

	.bx-privacy-grid nav {
		position: static;
	}

	.bx-pods > .bx-cards > article {
		grid-template-columns: 1fr;
	}

	.bx-pods > .bx-cards > article > .bx-plan,
	.bx-pods > .bx-cards > article > :not(.bx-plan) {
		grid-column: 1;
		grid-row: auto;
	}

	.bx-pods .bx-projects .bx-cards {
		grid-template-columns: 1fr;
	}

	.bx-sections .bx-sections-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bx-sections .bx-sections-grid section {
		padding: 20px;
	}

	.bx-models .bx-filters,
	.bx-models .bx-journal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bx-models .models-hero {
		grid-template-columns: 1fr;
	}

	.bx-coop .bx-hero,
	.bx-coop .bx-form {
		grid-template-columns: 1fr;
		gap: var(--space-panel);
	}

	.bx-coop .bx-form form,
	.bx-coop .bx-form > .bx-note {
		grid-column: 1;
		grid-row: auto;
	}

	.bx-coop .bx-form form > label:nth-of-type(2),
	.bx-coop .bx-form form > label:nth-of-type(3) {
		grid-column: 1 / -1;
	}

	.wp-block-belux-bathroom-nav .bx-heading {
		display: block;
	}

	.wp-block-belux-bathroom-nav .bx-journal > a {
		flex-direction: column;
		align-items: stretch;
		padding: var(--space-3);
		gap: var(--space-2);
	}

	.wp-block-belux-bathroom-nav .bx-journal > a img {
		width: 100%;
		height: var(--space-18);
	}

	.bx-about .bx-numbers-row div {
		padding: 0;
		border-right: 0;
	}

	.bx-about .bx-timeline li {
		padding: var(--space-heading) 0 0 var(--space-heading);
	}

	.bx-partner .bx-hero,
	.bx-partner .bx-process,
	.bx-partner .bx-split,
	.bx-partner > .bx-cards:not(.bx-pair) {
		grid-template-columns: 1fr;
	}

	.bx-partner .bx-process > ol {
		grid-column: 1;
		grid-row: auto;
	}

	.bx-partner .bx-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.bx-credit .bx-hero,
	.bx-credit .bx-numbers-row,
	.bx-credit .bx-terms > div,
	.bx-credit .bx-color-grid,
	.bx-buyer .bx-hero,
	.bx-buyer .bx-docs,
	.bx-buyer .bx-cards:not(.bx-pair),
	.bx-news .bx-journal,
	.bx-academy .bx-journal,
	.bx-news .bx-cta,
	.bx-academy .bx-cta,
	.bx-collections .bx-gallery {
		grid-template-columns: 1fr;
	}

	.bx-color .bx-color-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bx-buyer > .bx-cta {
		display: block;
		padding: var(--space-panel);
	}

	.bx-buyer > .bx-cta .button {
		margin-top: var(--space-panel);
	}
}

