/**
 * Think Tank – estilos personalizados
 *
 * Todo lo que no se puede expresar con bloques de WordPress vive aquí.
 * Se carga desde functions.php después de style.css.
 *
 * Convención: cada bloque que necesita estilo custom recibe una clase
 * `icge-*` (vía atributo `className`), y aquí se define su CSS.
 */

/* ============================================================
 * Utilidades reutilizables (antes en style.css)
 * ============================================================ */

/* Píldora amarilla (eyebrow). */
.is-style-pill,
p.is-style-pill,
.wp-block-paragraph.is-style-pill,
.wp-block-group.is-style-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1;
}

/* Botón outline (blanco sobre navy). */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--base-alt);
	border: 1px solid var(--wp--preset--color--base-alt);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--base-alt);
	color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--base-alt);
}

/* Variante pequeña de botón (para "Leer más" dentro de tarjetas). */
.wp-block-button.is-style-small .wp-block-button__link {
	font-size: 0.8125rem;
	padding: 0.55rem 1.1rem;
	font-weight: 600;
}

/* Botón "Volver al inicio" — pill con borde amarillo sobre fondo claro. */
.wp-block-button.is-style-back-pill .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1.5px solid var(--wp--preset--color--accent);
	font-size: 0.8125rem;
	padding: 0.5rem 1.1rem;
	font-weight: 600;
}

.wp-block-button.is-style-back-pill .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
}

/* Tarjeta genérica con sombra y hover. */
.wp-block-group.is-style-card {
	background: var(--wp--preset--color--base-alt);
	border-radius: 16px;
	box-shadow: var(--wp--preset--shadow--card);
	padding: var(--wp--preset--spacing--50);
	transition: box-shadow 200ms ease, transform 200ms ease;
}

.wp-block-group.is-style-card:hover {
	box-shadow: var(--wp--preset--shadow--card-hover);
	transform: translateY(-2px);
}


/* ============================================================
 * Página del blog (home.html) – sección Actualidad
 * ============================================================ */

/* Cabecera de la página (botón volver + título + bajada). */
.icge-blog-header {
	margin-bottom: var(--wp--preset--spacing--50);
}

.icge-blog-header__lead {
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	margin: 0;
}

/* Tarjeta destacada grande (Featured big). */
.icge-featured-main {
	background: var(--wp--preset--color--base-alt);
	border: 1px solid #ECE7DD;
	border-radius: 16px;
	overflow: hidden;
	transition: box-shadow 200ms ease, transform 200ms ease;
	height: 100%;
}

.icge-featured-main:hover {
	box-shadow: 0 8px 24px rgba(7, 11, 20, 0.08);
}

.icge-featured-main .wp-block-post-featured-image {
	margin: 0;
}

.icge-featured-main .wp-block-post-featured-image img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.icge-featured-main__body {
	padding: var(--wp--preset--spacing--50);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.icge-featured-main__body .wp-block-post-title {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	margin: 0;
}

.icge-featured-main__body .wp-block-post-date {
	color: var(--wp--preset--color--muted);
	font-size: 0.75rem;
	text-transform: none;
	letter-spacing: 0;
}

.icge-featured-main__body .wp-block-post-excerpt {
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
	line-height: 1.55;
	margin: 0;
}

.icge-featured-main__body .wp-block-post-excerpt p {
	margin: 0;
}

/* Lista lateral de destacadas pequeñas (3 mini cards). */
.icge-featured-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.icge-mini-card {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 1rem;
	align-items: center;
	background: var(--wp--preset--color--base-alt);
	border: 1px solid #ECE7DD;
	border-radius: 14px;
	padding: 0.75rem;
	transition: box-shadow 200ms ease;
}

.icge-mini-card:hover {
	box-shadow: 0 4px 12px rgba(7, 11, 20, 0.06);
}

.icge-mini-card .wp-block-post-featured-image {
	margin: 0;
}

.icge-mini-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	min-height: 90px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.icge-mini-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.icge-mini-card__body .wp-block-post-date {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	text-transform: none;
	letter-spacing: 0;
}

.icge-mini-card__body .wp-block-post-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
	line-height: 1.3;
	margin: 0;
}

/* Cuadrícula principal del blog (2 columnas). */
.icge-grid,
ul.icge-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.icge-grid>li {
	margin: 0;
	list-style: none;
	display: flex;
}

.icge-grid>li>.icge-grid-card {
	flex: 1;
}

/* Lista de destacados pequeños — anula el list-style del <ul> que genera post-template. */
ul.icge-featured-list,
ul.icge-latest-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.icge-featured-list>li,
.icge-latest-list>li {
	margin: 0;
	list-style: none;
}

/* Enlace "Leer más" dinámico (wp:read-more dentro de Query Loop). */
a.icge-read-more,
.wp-block-read-more.icge-read-more {
	display: inline-block;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base-alt) !important;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 200ms ease, color 200ms ease;
	align-self: flex-start;
	width: auto;
	margin-top: auto;
}

a.icge-read-more:hover,
.wp-block-read-more.icge-read-more:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast) !important;
}

.icge-grid-card {
	background: var(--wp--preset--color--base-alt);
	border: 1px solid #ECE7DD;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 200ms ease, transform 200ms ease;
}

.icge-grid-card:hover {
	box-shadow: 0 6px 18px rgba(7, 11, 20, 0.07);
	transform: translateY(-2px);
}

.icge-grid-card .wp-block-post-featured-image {
	margin: 0;
}

.icge-grid-card .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.icge-grid-card__body {
	padding: var(--wp--preset--spacing--40);
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	flex-grow: 1;
}

.icge-grid-card__body .wp-block-post-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.icge-grid-card__body .wp-block-post-excerpt {
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	line-height: 1.5;
	margin: 0;
}

.icge-grid-card__body .wp-block-post-excerpt p {
	margin: 0;
}

.icge-grid-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

.icge-grid-card__footer .wp-block-post-date {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	text-transform: none;
	letter-spacing: 0;
}

/* Paginación de la cuadrícula principal. */
.icge-pagination {
	margin-top: var(--wp--preset--spacing--50);
}

.icge-pagination .wp-block-query-pagination-numbers {
	display: inline-flex;
	gap: 0.5rem;
}

.icge-pagination .page-numbers {
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
}

.icge-pagination .page-numbers.current {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base-alt);
}

/* ============================================================
 * Sidebar widgets
 * ============================================================ */
.icge-sidebar-widget {
	background: var(--wp--preset--color--base-alt);
	border: 1px solid #ECE7DD;
	border-radius: 14px;
	padding: 1.5rem;
}

.icge-sidebar-widget h3,
.icge-sidebar-widget h4 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--wp--preset--color--contrast);
}

/* Lista de categorías. */
.icge-categories-list ul,
ul.icge-categories-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.icge-categories-list li {
	list-style: none;
}

.icge-categories-list a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
}

.icge-categories-list a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

.icge-categories-list .cat-item-count,
.icge-categories-list .count {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	margin-left: 0.25rem;
	font-size: 0.8125rem;
}

/* Últimas noticias (lista compacta). */
.icge-latest-list {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.icge-latest-item {
	padding-bottom: 0.875rem;
	border-bottom: 1px solid #ECE7DD;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.icge-latest-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.icge-latest-item .wp-block-post-date {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	text-transform: none;
	letter-spacing: 0;
}

.icge-latest-item .wp-block-post-title {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: var(--wp--preset--color--contrast);
}

.icge-latest-item .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.icge-latest-item .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}

/* ============================================================
 * Tarjeta CTA "Protege el legado familiar"
 * ============================================================ */
.icge-cta-card {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base-alt);
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
	isolation: isolate;
}

/* Hojas decorativas (izquierda y derecha espejada). */
.icge-cta-card::before,
.icge-cta-card::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 220px;
	height: 320px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 320' fill='%23A4AAB9'><ellipse cx='100' cy='40' rx='45' ry='16' transform='rotate(-30 100 40)' opacity='0.45'/><ellipse cx='65' cy='95' rx='48' ry='17' transform='rotate(-12 65 95)' opacity='0.55'/><ellipse cx='115' cy='150' rx='45' ry='16' transform='rotate(12 115 150)' opacity='0.5'/><ellipse cx='70' cy='210' rx='48' ry='17' transform='rotate(-22 70 210)' opacity='0.55'/><ellipse cx='120' cy='265' rx='42' ry='15' transform='rotate(18 120 265)' opacity='0.45'/></svg>");
	pointer-events: none;
	z-index: -1;
}

.icge-cta-card::before {
	left: -50px;
}

.icge-cta-card::after {
	right: -50px;
	transform: translateY(-50%) scaleX(-1);
}

.icge-cta-card__inner {
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

.icge-cta-card__title {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--wp--preset--color--base-alt);
}

.icge-cta-card__title span {
	color: var(--wp--preset--color--accent);
	display: block;
}

.icge-cta-card__lead {
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
	max-width: 480px;
}

/* ============================================================
 * Responsive: tablet / móvil
 * ============================================================ */
@media (max-width: 880px) {
	.icge-mini-card {
		grid-template-columns: 100px 1fr;
	}

	.icge-grid {
		grid-template-columns: 1fr;
	}

	.icge-cta-card::before,
	.icge-cta-card::after {
		width: 140px;
		height: 220px;
		opacity: 0.6;
	}
}

@media (max-width: 560px) {
	.icge-mini-card {
		grid-template-columns: 1fr;
	}

	.icge-mini-card .wp-block-post-featured-image img {
		min-height: 140px;
	}
}

/* ============================================================
 * Tipografía global – antialiasing
 * ============================================================ */
:where(body) {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.btn-correo-aliado {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 99;
}

/* ============================================================
 * CPT Expertos — pills de habilidades (render via JS).
 * ============================================================ */

.habilidades-pills {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.habilidades-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.9rem;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1;
}

.btn-recursos a {
	box-sizing: border-box;
	width: 100%;
}

.entry-content {
	margin-top: 0;
}

/* ============================================================
 * Single post — cabecera centrada (categoría + título + meta)
 * y drop cap en la primera letra del cuerpo.
 * ============================================================ */

/* Fila de meta: "Por: X | El: Y | Z minutos de lectura". */
.think-tank-post-meta {
	line-height: 1.5;
}

.think-tank-post-meta .meta-sep {
	display: inline-block;
	margin: 0 0.85em;
	color: var(--wp--preset--color--neutral);
	font-weight: 400;
}

/* Drop cap automático en el primer párrafo del cuerpo del post. */
.think-tank-post-body>p:first-of-type::first-letter,
.wp-block-post-content.think-tank-post-body>p:first-of-type::first-letter {
	float: left;
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 4.5em;
	line-height: 0.85;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	padding: 0.08em 0.12em 0 0;
	margin-top: 0.05em;
}

/* En pantallas pequeñas reduce la inicial para que no rompa el flujo. */
@media (max-width: 600px) {
	.think-tank-post-body>p:first-of-type::first-letter {
		font-size: 3.5em;
	}

	.think-tank-post-meta .meta-sep {
		margin: 0 0.5em;
	}
}

/* ============================================================
 * Cuerpo del blog — estilos de contenido enriquecido.
 * Se aplica a .wp-block-post-content (frontend) y .entry-content
 * (editor + algunos contextos legacy). Limitar a estos contenedores
 * evita afectar tarjetas, hero y otros bloques de la home.
 * ============================================================ */

/* --- Ritmo vertical y jerarquía de encabezados dentro del post --- */
.wp-block-post-content>h2,
.entry-content>h2 {
	margin-top: 2.25em;
	margin-bottom: 0.6em;
}

.wp-block-post-content>h3,
.entry-content>h3 {
	margin-top: 1.9em;
	margin-bottom: 0.5em;
}

.wp-block-post-content>h4,
.entry-content>h4 {
	margin-top: 1.6em;
	margin-bottom: 0.4em;
}

.wp-block-post-content>h5,
.entry-content>h5 {
	margin-top: 1.4em;
	margin-bottom: 0.35em;
}

.wp-block-post-content>h6,
.entry-content>h6 {
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

/* --- Párrafos: respiración entre bloques --- */
.wp-block-post-content>p,
.entry-content>p {
	margin-top: 0;
	margin-bottom: 1.25em;
}

/* --- Listas: indent, markers en acento, espaciado entre ítems --- */
.wp-block-post-content ul,
.wp-block-post-content ol,
.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
	margin: 1.25em 0;
}

.wp-block-post-content li,
.entry-content li {
	margin-bottom: 0.5em;
	line-height: 1.75;
	padding-left: 0.25em;
}

.wp-block-post-content li::marker,
.entry-content li::marker {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

/* Listas anidadas: menos margen vertical */
.wp-block-post-content :is(ul, ol) :is(ul, ol),
.entry-content :is(ul, ol) :is(ul, ol) {
	margin: 0.4em 0;
}

/* Sublistas con marcador distinto */
.wp-block-post-content ul ul,
.entry-content ul ul {
	list-style-type: circle;
}

.wp-block-post-content ul ul ul,
.entry-content ul ul ul {
	list-style-type: square;
}

/* --- Blockquote: filete amarillo + fondo sutil + cita --- */
.wp-block-post-content .wp-block-quote,
.entry-content blockquote.wp-block-quote {
	margin: 1.75em 0;
	background: linear-gradient(90deg,
			rgba(235, 192, 66, 0.08) 0%,
			rgba(235, 192, 66, 0) 90%);
	border-radius: 0 8px 8px 0;
}

.wp-block-post-content .wp-block-quote p,
.entry-content blockquote.wp-block-quote p {
	margin-bottom: 0.4em;
}

.wp-block-post-content .wp-block-quote cite,
.wp-block-post-content .wp-block-quote .wp-block-quote__citation,
.entry-content blockquote.wp-block-quote cite,
.entry-content blockquote.wp-block-quote .wp-block-quote__citation {
	display: block;
	margin-top: 0.6em;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.02em;
}

.wp-block-post-content .wp-block-quote cite::before,
.entry-content blockquote.wp-block-quote cite::before {
	content: "— ";
	color: var(--wp--preset--color--accent);
}

/* --- Pullquote: refuerzos visuales --- */
.wp-block-post-content .wp-block-pullquote,
.entry-content .wp-block-pullquote {
	padding: 2rem 1rem;
	text-align: center;
	color: var(--wp--preset--color--primary);
}

.wp-block-post-content .wp-block-pullquote cite,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 0.75em;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* --- Tablas: bordes limpios y zebra suave --- */
.wp-block-post-content .wp-block-table,
.entry-content .wp-block-table {
	overflow-x: auto;
}

.wp-block-post-content .wp-block-table table,
.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--wp--preset--color--base-alt);
	border: 1px solid var(--wp--preset--color--neutral);
	border-radius: 8px;
	overflow: hidden;
}

.wp-block-post-content .wp-block-table th,
.wp-block-post-content .wp-block-table td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--wp--preset--color--neutral);
	text-align: left;
	vertical-align: top;
}

.wp-block-post-content .wp-block-table th,
.entry-content .wp-block-table th {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 2px solid var(--wp--preset--color--contrast);
}

.wp-block-post-content .wp-block-table tbody tr:nth-child(even) td,
.entry-content .wp-block-table tbody tr:nth-child(even) td {
	background: rgba(235, 192, 66, 0.04);
}

.wp-block-post-content .wp-block-table tr:last-child td,
.entry-content .wp-block-table tr:last-child td {
	border-bottom: 0;
}

.wp-block-post-content .wp-block-table figcaption,
.entry-content .wp-block-table figcaption {
	margin-top: 0.6em;
	font-size: 0.8125rem;
	font-style: italic;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

/* --- Código inline (no dentro de <pre>) --- */
.wp-block-post-content :not(pre)>code,
.entry-content :not(pre)>code {
	background: var(--wp--preset--color--base-alt);
	border: 1px solid var(--wp--preset--color--neutral);
	border-radius: 4px;
	padding: 0.12em 0.4em;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.875em;
	color: var(--wp--preset--color--primary);
	white-space: nowrap;
}

/* --- Pies de imagen (figcaption) y leyendas generales --- */
.wp-block-post-content .wp-block-image figcaption,
.wp-block-post-content .wp-element-caption,
.entry-content .wp-block-image figcaption,
.entry-content .wp-element-caption {
	margin-top: 0.6em;
	font-size: 0.8125rem;
	font-style: italic;
	color: var(--wp--preset--color--muted);
	text-align: center;
	line-height: 1.45;
}

/* --- Separador dentro del cuerpo: más sutil y centrado --- */
.wp-block-post-content>hr.wp-block-separator:not(.is-style-wide):not(.has-background),
.entry-content>hr.wp-block-separator:not(.is-style-wide):not(.has-background) {
	margin: 2.5em auto;
	width: 60%;
	max-width: 160px;
	height: 2px;
	border: 0;
	background: var(--wp--preset--color--neutral);
}

/* --- Links dentro del cuerpo: subrayado sutil --- */
.wp-block-post-content a:not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
	text-decoration: underline;
	text-decoration-color: rgba(26, 43, 86, 0.3);
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: text-decoration-color 0.15s ease;
}

.wp-block-post-content a:not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover {
	text-decoration-color: var(--wp--preset--color--accent);
}

/* --- Kbd, mark, abbr --- */
.wp-block-post-content kbd,
.entry-content kbd {
	background: var(--wp--preset--color--base-alt);
	border: 1px solid var(--wp--preset--color--neutral);
	border-bottom-width: 2px;
	border-radius: 4px;
	padding: 0.1em 0.4em;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.85em;
	color: var(--wp--preset--color--contrast);
}

.wp-block-post-content mark,
.entry-content mark {
	background: rgba(235, 192, 66, 0.35);
	color: inherit;
	padding: 0.05em 0.2em;
	border-radius: 2px;
}

.wp-block-post-content abbr[title],
.entry-content abbr[title] {
	text-decoration: underline dotted;
	text-underline-offset: 2px;
	cursor: help;
}

.cta-flores {
	position: relative;
	overflow: hidden;
}

.cta-flores::before {
	content: url(https://darkviolet-lark-961329.hostingersite.com/wp-content/uploads/2026/05/Mask-group-1.png);
	position: absolute;
	position: absolute;
	bottom: -17px;
	left: 0;
	z-index: 0;
	opacity: 0.5;
}

.cta-flores::after {
	position: absolute;
	top: -5px;
	right: 0;
	z-index: 0;
	opacity: 0.5;
	content: url("https://darkviolet-lark-961329.hostingersite.com/wp-content/uploads/2026/05/Mask-group.png");
}

.subir-fila {
	margin-top: -20px;
	position: relative;
	z-index: 9;
}

.investigacion-hero {
	position: absolute;
	right: 0;
	top: 55px;
	max-width: 117px;
}

.menu-principal a.wp-block-navigation-item__content {
	font-size: 14px;
}

.wpcf7-form {
	display: flex;
	flex-flow: wrap;
	justify-content: space-between;
}

.wpcf7-form .mid {
	width: 49%;
}

.wpcf7-form .full {
	width: 100%;
}

.wpcf7-form p {
	margin: 0;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
	border: 0;
	border-bottom: 1px solid #232122;
	padding: 10px;
	color: #232122;
	margin-bottom: 5px;
	background-color: transparent;
	width: 100%;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

.wpcf7-form input[type="submit"] {
	border: none;
	padding: 10px 30px;
	border-radius: 30px;
	color: #fff;
	font-weight: bold;
	width: auto;
	background-color: #1A2B56;
}

.wpcf7-not-valid-tip {
	font-size: 10px !important;
}

footer.wp-block-template-part {
    margin-top: 0 !important;
}