/* Shared editorial surfaces: archives, updates and individual articles. */
html body .fse-site-hero--editorial,
html body .fse-site-hero--updates {
	grid-template-columns: minmax(0,1.65fr) minmax(260px,.75fr) !important;
}

html body .fse-site-hero--editorial .fse-articles-hero__main,
html body .fse-site-hero--updates .fse-updates-hero__main {
	display: block !important;
	min-height: 0 !important;
	align-self: center !important;
	padding: 0 !important;
}

html body .fse-site-hero--editorial .fse-articles-hero__main > p:last-child,
html body .fse-site-hero--updates .fse-updates-hero__main > p:last-child {
	max-width: 720px;
	margin: 24px 0 0 !important;
	font-size: clamp(17px,1.45vw,21px) !important;
	line-height: 1.5 !important;
}

html body .fse-site-hero--editorial .fse-articles-hero__panel,
html body .fse-site-hero--updates .fse-updates-hero__panel {
	display: flex !important;
	width: 100%;
	min-height: 210px !important;
	box-sizing: border-box;
	align-self: stretch;
	justify-content: center !important;
	padding: clamp(26px,3.5vw,48px) !important;
	border: 0 !important;
	border-radius: var(--fse-ui-radius-card) !important;
	background: var(--fse-ui-ink) !important;
	color: #fff !important;
}

html body .fse-site-hero--editorial .fse-articles-hero__panel,
html body .fse-site-hero--updates .fse-updates-hero__panel p {
	font-size: clamp(38px,4.5vw,68px) !important;
	line-height: .9 !important;
}

body.fse-editorial-post .fse-single {
	width: 100% !important;
	max-width: none !important;
	padding-top: 0 !important;
}

body.fse-editorial-post .fse-editorial-single-hero {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.fse-editorial-post .fse-editorial-single-hero .fse-kicker {
	margin: 0 0 18px !important;
}

body.fse-editorial-post .fse-editorial-single-hero .fse-post-meta {
	margin: 24px 0 0 !important;
	padding: 0 !important;
}

@media (max-width:680px) {
	html body .fse-site-hero--editorial,
	html body .fse-site-hero--updates {
		grid-template-columns: 1fr !important;
	}

	html body .fse-site-hero--editorial .fse-articles-hero__panel,
	html body .fse-site-hero--updates .fse-updates-hero__panel {
		min-height: 170px !important;
	}
}

/* Institutional pages reuse the same outer hero without losing their content. */
html body .fse-bio-v2__hero.fse-site-hero--bio {
	grid-template-columns: minmax(0,1.65fr) minmax(300px,.75fr) !important;
	min-height: var(--fse-site-hero-min-height) !important;
}

html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__title {
	display: flex !important;
	min-height: 0 !important;
	align-items: center !important;
	padding: 0 !important;
	border: 0 !important;
}

html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__title h1 {
	max-width: 1120px !important;
}

html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__portrait {
	width: 100%;
	height: 100%;
	min-height: 210px !important;
	max-height: 260px;
	align-self: center;
	border: 0 !important;
	border-radius: var(--fse-ui-radius-card) !important;
}

html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__portrait :is(figure,img) {
	height: 100% !important;
	min-height: 210px !important;
	max-height: 260px;
	border: 0 !important;
}

.fse-page-slug-contactar .fse-contact-page {
	width: 100%;
}

.fse-page-slug-contactar .fse-standard-page-hero .fse-site-hero__content > p {
	max-width: 720px;
	margin: 16px 0 0 !important;
	font-size: clamp(17px,1.35vw,20px);
	line-height: 1.5;
}

.fse-page-slug-contactar .fse-contact-form-row {
	display: grid;
	box-sizing: border-box;
	width: 100%;
	padding: clamp(42px,6vw,86px) var(--fse-site-hero-padding-x);
	border-bottom: 1px solid var(--fse-ui-ink);
	background: var(--fse-ui-soft);
	place-items: center;
}

.fse-page-slug-contactar .fse-contact-form-row > .fse-form {
	width: min(100%,900px) !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: clamp(30px,4vw,54px) !important;
	border: 1px solid var(--fse-ui-ink) !important;
	border-radius: var(--fse-ui-radius-card) !important;
	background: var(--fse-ui-paper) !important;
}

html body .fse-standard-page-hero {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

:is(.fse-page-slug-privacidad,.fse-page-slug-cookies,.fse-page-slug-aviso-legal,.fse-page-slug-contratacion)
.wp-block-post-content > .fse-page > .fse-standard-page-hero {
	height: auto !important;
	min-height: var(--fse-site-hero-min-height) !important;
	align-items: center !important;
}

:is(.fse-page-slug-privacidad,.fse-page-slug-cookies,.fse-page-slug-aviso-legal,.fse-page-slug-contratacion)
.wp-block-post-content > .fse-page::before {
	top: 414px;
}

html body .fse-standard-page-hero h1 {
	max-width: 1120px !important;
	margin: 0 !important;
	font-family: Blinker,Inter,sans-serif !important;
	font-size: var(--fse-site-hero-title-size) !important;
	font-weight: 700 !important;
	line-height: .91 !important;
	letter-spacing: -.066em !important;
}

html body .fse-site-hero--state {
	grid-template-columns: minmax(0,1.65fr) minmax(260px,.75fr) !important;
}

html body .fse-site-hero--state .fse-state-page__main {
	min-height: 0 !important;
	padding: 0 !important;
}

html body .fse-site-hero--state .fse-state-page__aside {
	display: grid !important;
	min-height: 210px !important;
	box-sizing: border-box;
	padding: 28px !important;
	place-items: center !important;
	border: 0 !important;
	border-radius: var(--fse-ui-radius-card) !important;
	background: var(--fse-ui-ink) !important;
	color: #fff !important;
}

html body .fse-site-hero--state .fse-state-page__actions {
	grid-column: 1 / -1;
}

@media (max-width:680px) {
	html body .fse-bio-v2__hero.fse-site-hero--bio,
	html body .fse-site-hero--state {
		grid-template-columns: 1fr !important;
	}

	html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__portrait,
	html body .fse-bio-v2__hero.fse-site-hero--bio .fse-bio-v2__portrait :is(figure,img) {
		min-height: 240px !important;
		max-height: 320px;
	}
}
