/* FETEAN CSM — cabecera pública común de sección + búsqueda/filtros. */
.core-section-search-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

.core-section-search-title {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-start;
	min-height: 78px;
	padding: 0 3.5vw;
	border-radius: 10px;
	overflow: hidden;
	color: #fff;
}

.core-section-search-title.is-red {
	background: #e83d37;
}

.core-section-search-title.is-dark {
	background: #191919;
}

.core-section-search-title h1,
.core-section-search-title h2 {
	margin: 0;
	color: #fff;
	font-family: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none !important;
	white-space: nowrap;
}

.core-section-search-panel {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 10px;
	background: rgba(255,255,255,.95);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

@media (max-width: 900px) {
	.core-section-search-row {
		flex-direction: column;
	}

	.core-section-search-title {
		align-self: flex-start;
		min-height: 58px;
		padding-right: 3.5vw;
		padding-left: 3.5vw;
	}

	.core-section-search-title h1,
	.core-section-search-title h2 {
		font-size: 26px;
	}

	.core-section-search-panel {
		width: 100%;
	}
}


/* =========================================================
 * 4.2.50 — Métrica común de buscador / filtrado
 * ========================================================= */
.core-news-toolbar.core-section-search-panel,
.core-catalog-toolbar.core-section-search-panel,
.core-agenda-toolbar.core-section-search-panel {
	height: 78px;
	min-height: 78px;
	padding: 18px 20px;
}

/* Catálogo tenía un inset adicional en el primer bloque respecto a
 * Noticias y Agenda. El margen exterior lo aporta ya el panel común. */
.core-catalog-toolbar.core-section-search-panel > .core-catalog-filter-column:first-child {
	padding-left: 0;
}

.core-catalog-toolbar.core-section-search-panel > .core-catalog-filter-column:last-child {
	padding-right: 0;
}

@media (max-width: 900px) {
	.core-news-toolbar.core-section-search-panel,
	.core-catalog-toolbar.core-section-search-panel,
	.core-agenda-toolbar.core-section-search-panel {
		height: auto;
		min-height: 0;
	}
}

/* =========================================================
 * 4.2.70 — Móvil: identidad de sección a ancho completo
 * ========================================================= */
@media (max-width: 900px) {
	.core-section-search-title {
		align-self: stretch;
		width: 100%;
	}
}

/* 4.2.355 — CTA transversal de alta a newsletter. */
.core-section-subscribe-cta {
	position:relative;
	flex:0 0 auto;
	height:78px;
	min-height:78px;
	padding:0 30px;
	border:0;
	border-radius:10px;
	background:#191919;
	color:#fff;
	font-family:"Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size:clamp(17px,1.08vw,20px);
	font-weight:650;
	line-height:1.08;
	text-align:center;
	white-space:nowrap;
	cursor:pointer;
	transition:background-color .18s ease, box-shadow .18s ease;
}
.core-section-subscribe-cta > span {
	position:relative;
	display:inline-block;
}
.core-section-subscribe-cta--two-lines {
	font-size:clamp(17px, 1vw, 18px);
	white-space:normal;
}
.core-section-subscribe-cta > span::after {
	content:"";
	position:absolute;
	left:0;
	bottom:-4px;
	width:0;
	height:2px;
	background:currentColor;
	transition:width .24s ease;
}
.core-section-subscribe-cta:hover { background:#e83d37; }
.core-section-subscribe-cta:hover > span::after { width:100%; }
.core-section-subscribe-cta:focus-visible {
	outline:0;
	background:#e83d37;
	box-shadow:0 0 0 4px rgba(232,61,55,.2);
}
.core-section-subscribe-cta:focus-visible > span::after { width:100%; }

@media (max-width:900px) {
	.core-section-subscribe-cta {
		width:100%;
		height:60px;
		min-height:60px;
		padding:14px 22px;
		white-space:normal;
	}
}
