.ch-directorio form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	align-items: end;
	margin-block: 1.25rem 2rem;
}
.ch-directorio form label {
	display: grid;
	gap: .25rem;
	min-width: 0;
}
.ch-directorio form :is(input:not([type=checkbox]), select, textarea) {
	width: 100%;
	min-width: 0;
}
.ch-directorio-resultados {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1rem;
}
.ch-directorio-resultados article {
	padding: 1rem;
	border: 1px solid #dedede;
	border-radius: .6rem;
	overflow-wrap: anywhere;
}
.ch-directory-banner {
	max-width: 74rem;
	margin: 1rem auto;
	padding: clamp(1rem, 4vw, 2rem);
	background: #112847;
	color: #fff;
	border-radius: .65rem;
}
.ch-directory-banner h2 { color: inherit; }
.ch-directory-banner div {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
.ch-directory-banner a {
	display: inline-block;
	padding: .6rem .85rem;
	border-radius: .35rem;
	background: #fff;
	color: #112847;
	font-weight: 700;
}
.ch-directory-banner {
	width: min(74rem, calc(100% - 2rem));
	margin: 1.5rem auto;
}
.ch-directory-banner h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.85rem);
	line-height: 1.2;
	margin-block: 0 .65rem;
}

/* The directory uses Astra's page template, with a shorter editorial header. */
body.page-id-155437 #masthead {
	margin-bottom: 0;
}

body.page-id-155437 #content {
	padding-top: 0;
}

body.page-id-155437 #primary.content-area {
	margin-top: clamp(.5rem, 1.3vw, 1.25rem);
	padding-top: 0;
}

body.page-id-155437 #post-155437.ast-article-single {
	padding-block-start: clamp(.65rem, 1.3vw, 1.25rem);
}

body.page-id-155437 #post-155437 .entry-header {
	margin-bottom: .8rem;
}

body.page-id-155437 #post-155437 .entry-title {
	font-size: clamp(1.55rem, 3.2vw, 2.4rem);
	line-height: 1.14;
}

body.page-id-155437 #post-155437 .cubah-banners-globales-antes-del-contenido {
	margin-block: 0 .9rem;
}

body.page-id-155437 #post-155437 .cubah-banners-globales-antes-del-contenido a[rel~="sponsored"] {
	margin-block: 0 !important;
	padding-block: .7rem !important;
}

body.page-id-155437 #post-155437 .entry-content > p:first-of-type {
	margin-block: 0 .75rem;
}

body.page-id-155437 .ch-directorio[role="region"] form,
body.page-id-155437 .ch-directorio form[role="search"] {
	margin-block: .65rem 1.25rem;
	gap: .75rem;
}

@media (max-width: 600px) {
	body.page-id-155437 #post-155437 .cubah-banners-globales-antes-del-contenido a[rel~="sponsored"] {
		flex-wrap: wrap;
		gap: .5rem !important;
		padding-inline: .75rem !important;
	}
}
