/* ==========================================================================
   NUMIC — sistema visual (maquetas 2026)
   1. Tokens  2. Base  3. Cabecera  4. Pie  5. Piezas  6. Secciones
   7. Noticias  8. Páginas  9. Formularios  10. Móvil
   ========================================================================== */

/* Fuente alojada en el propio sitio (Jost, variable) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/jost-latin.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/jost-latin-italic.woff2) format("woff2"); }

/* 1. Tokens --------------------------------------------------------------- */
:root {
	--nm-navy: #233746;
	--nm-green: #459361;
	--nm-orange: #fd6c35;
	--nm-cream: #f5f8f1;
	--nm-sage: #cfdcba;
	--nm-peach: #fbdacb;
	--nm-mint: #d3e5d5;
	--nm-white: #fff;
	--nm-line: #dfe5d6;
	--nm-text: #233746;
	--nm-muted: #55656f;

	--nm-font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--nm-max: 1360px;
	--nm-gutter: clamp(20px, 4.4vw, 64px);
	--nm-sec: clamp(48px, 6vw, 88px);

	/* Blocksy */
	--theme-font-family: var(--nm-font);
	--theme-text-color: var(--nm-text);
	--theme-headings-color: var(--nm-navy);
	--theme-link-initial-color: var(--nm-green);
	--theme-link-hover-color: var(--nm-orange);
	--theme-palette-color-1: var(--nm-green);
	--theme-palette-color-2: var(--nm-orange);
}

/* 2. Base ----------------------------------------------------------------- */
body.nm-site {
	margin: 0;
	background: var(--nm-white);
	color: var(--nm-text);
	font-family: var(--nm-font);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
:where(.nm-site) :is(h1, h2, h3, h4),
.nm-site .elementor-heading-title {
	font-family: var(--nm-font);
	color: var(--nm-navy);
	font-weight: 600;
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.005em;
}
.nm-site h1, .nm-site h1.elementor-heading-title { font-size: clamp(2.1rem, 4.1vw, 3.65rem); font-weight: 700; }
:where(.nm-site) h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
:where(.nm-site) h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
:where(.nm-site) p { margin: 0 0 1.1em; }
:where(.nm-site) p:last-child { margin-bottom: 0; }
:where(.nm-site) a { color: inherit; text-decoration: none; }
:where(.nm-site) img { max-width: 100%; height: auto; display: block; }
.nm-site :focus-visible { outline: 3px solid var(--nm-orange); outline-offset: 3px; }
.nm-main { display: block; overflow-x: clip; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; background: var(--nm-white); padding: 10px 16px; left: 8px; top: 8px; }

.nm-wrap { width: 100%; max-width: var(--nm-max); margin-inline: auto; padding-inline: var(--nm-gutter); box-sizing: border-box; }
.nm-wrap--narrow { max-width: 900px; }

/* 3. Cabecera ------------------------------------------------------------- */
.nm-header { background: var(--nm-navy); color: var(--nm-sage); position: relative; z-index: 50; }
.nm-header__in { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); min-height: 124px; padding-block: 22px; }
.nm-logo { flex: 0 0 auto; display: block; }
.nm-logo img { width: clamp(170px, 17vw, 250px); height: auto; }
.nm-nav { flex: 1 1 auto; }
.nm-menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; align-items: flex-start; gap: clamp(12px, 1.5vw, 26px); }
.nm-menu > li { position: relative; flex: 0 1 auto; max-width: 10.5em; }
.nm-menu a { display: block; color: var(--nm-sage); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.02em; line-height: 1.3; text-transform: uppercase; padding: 6px 0; transition: color .15s; }
.nm-menu a:hover, .nm-menu .current-menu-item > a, .nm-menu .current_page_item > a, .nm-menu .current-menu-ancestor > a { color: var(--nm-orange); }
.nm-menu .current-menu-item > a, .nm-menu .current_page_item > a { font-weight: 700; }
.nm-menu .sub-menu { list-style: none; margin: 0; padding: 10px 16px; position: absolute; left: -16px; top: 100%; min-width: 220px; background: var(--nm-navy); display: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.nm-menu li:hover > .sub-menu, .nm-menu li:focus-within > .sub-menu { display: block; }
.nm-header__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nm-iconbtn { background: none; border: 0; padding: 8px; color: var(--nm-sage); cursor: pointer; line-height: 0; border-radius: 6px; }
.nm-iconbtn:hover { color: var(--nm-orange); }
.nm-menu-toggle { display: none; }
.nm-lang { font-size: .8rem; }
.nm-lang select { background: transparent; color: var(--nm-sage); border: 1px solid rgba(207, 220, 186, .45); border-radius: 999px; padding: 4px 10px; font-family: inherit; font-size: .78rem; max-width: 130px; }
.nm-lang a { color: var(--nm-sage); }
.nm-search { background: #1b2c38; padding-block: 16px; }
.nm-search form { display: flex; gap: 12px; }
.nm-search input[type="search"] { flex: 1; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; background: var(--nm-cream); color: var(--nm-navy); min-width: 0; }

/* 4. Pie ------------------------------------------------------------------ */
.nm-footer { background: var(--nm-navy); color: var(--nm-sage); --nm-icon-cut: var(--nm-navy); }
.nm-footer__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.nm-footer__motto { margin: 0; font-size: 1.12rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .01em; }
.nm-logo--footer img { width: clamp(200px, 23vw, 320px); }
.nm-footer__meta { justify-self: end; }
.nm-footer__links { display: flex; align-items: center; gap: 28px; margin-bottom: 12px; }
.nm-footer__contact { text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; }
.nm-footer a:hover { color: var(--nm-orange); }
.nm-footer__copy { margin: 0; font-size: .9rem; }
.nm-social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; align-items: center; }
.nm-social a { display: block; line-height: 0; color: var(--nm-sage); }
.nm-social--dark a { color: var(--nm-navy); --nm-icon-cut: #fff; }
.nm-social--dark svg { width: 34px; height: 34px; }
.nm-social a:hover { color: var(--nm-orange); }

/* 5. Piezas --------------------------------------------------------------- */
/* Botón píldora: propio (.nm-btn) y de Elementor (.nm-btn-w) */
.nm-btn, .nm-site .nm-btn-w .elementor-button {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--nm-font); font-size: .8rem; font-weight: 700; letter-spacing: .03em; line-height: 1.2; text-transform: uppercase;
	padding: 9px 20px; border-radius: 10px; border: 1.5px solid currentColor;
	background: transparent; color: var(--nm-navy); fill: currentColor;
	transition: background .18s, color .18s, border-color .18s; cursor: pointer; box-shadow: none;
}
.nm-site .nm-btn-w .elementor-button::after {
	content: ""; width: 34px; height: 12px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M0 6h32M27 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.400'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M0 6h32M27 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.400'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nm-site .nm-btn-w .elementor-button-content-wrapper { display: inline; }
.nm-btn--orange, .nm-site .nm-btn--orange .elementor-button { color: var(--nm-orange); }
.nm-btn--green, .nm-site .nm-btn--green .elementor-button { color: var(--nm-green); }
.nm-btn--light, .nm-site .nm-btn--light .elementor-button { color: var(--nm-sage); }
.nm-btn--solid, .nm-site .nm-btn--solid .elementor-button { background: var(--nm-green); border-color: var(--nm-green); color: var(--nm-cream); }
.nm-btn--sage, .nm-site .nm-btn--sage .elementor-button { background: var(--nm-sage); border-color: var(--nm-sage); color: var(--nm-navy); }
.nm-btn:hover, .nm-site .nm-btn-w .elementor-button:hover { background: var(--nm-navy); border-color: var(--nm-navy); color: var(--nm-cream); }
.nm-btn--orange:hover, .nm-site .nm-btn--orange .elementor-button:hover { background: var(--nm-orange); border-color: var(--nm-orange); color: #fff; }
.nm-btn--green:hover, .nm-site .nm-btn--green .elementor-button:hover { background: var(--nm-green); border-color: var(--nm-green); color: #fff; }
.nm-btn--block { display: flex; justify-content: space-between; border-radius: 12px; padding-block: 8px; }
.nm-btn--back svg { order: -1; transform: scaleX(-1); }

/* Título de sección con línea */
:is(h1, h2, h3).nm-title, .nm-site .nm-title .elementor-heading-title {
	display: flex; align-items: center; gap: 22px;
	font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; line-height: 1.2;
	margin: 0 0 clamp(28px, 3.6vw, 52px);
}
.nm-site .nm-title.elementor-widget { margin: 0; width: 100%; }
:is(h1, h2, h3).nm-title::after, .nm-site .nm-title .elementor-heading-title::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .85; }
.nm-title.nm-title--orange, .nm-site .nm-title--orange .elementor-heading-title { color: var(--nm-orange); }
.nm-title.nm-title--green, .nm-site .nm-title--green .elementor-heading-title { color: var(--nm-green); }
.nm-title.nm-title--navy, .nm-site .nm-title--navy .elementor-heading-title { color: var(--nm-navy); }
.nm-site .nm-title--right .elementor-heading-title { flex-direction: row-reverse; }
.nm-site .nm-title--short .elementor-heading-title::after { flex: 0 0 clamp(40px, 8vw, 110px); }

/* Etiqueta */
.nm-tag { display: inline-block; flex: none; align-self: flex-start; min-width: 92px; text-align: center; box-sizing: border-box; font-size: .8rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; line-height: 1; padding: 9px 14px; border-radius: 7px; background: var(--nm-peach); color: var(--nm-orange); }
.nm-tone-green .nm-tag { background: var(--nm-mint); color: var(--nm-green); }
.nm-tag--light { background: var(--nm-sage); color: var(--nm-green); }
.nm-site .nm-tag-w .elementor-heading-title { display: inline-block; min-width: 92px; text-align: center; font-size: .8rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; line-height: 1; padding: 9px 14px; border-radius: 7px; background: var(--nm-sage); color: var(--nm-green); }

.nm-plus { flex: none; line-height: 0; color: var(--nm-orange); transition: transform .18s; }
.nm-tone-green .nm-plus { color: var(--nm-green); }
.nm-plus:hover { transform: rotate(90deg); }
.nm-kicker { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-orange); margin: 0 0 14px !important; }

/* 6. Secciones (contenedores de Elementor) ------------------------------- */
.nm-site .e-con.nm-sec { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: var(--nm-sec) 0; display: block; position: relative; }
.nm-site .e-con.nm-in { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; width: 100%; max-width: var(--nm-max); margin-inline: auto; padding: 0 var(--nm-gutter); box-sizing: border-box; }
.nm-site .e-con.nm-flat { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0; }
.nm-section { padding: var(--nm-sec) 0; }
.nm-bg-cream, .nm-section--cream { background: var(--nm-cream); }
.nm-bg-white, .nm-section--white { background: var(--nm-white); }
.nm-bg-green { background: var(--nm-green); }
.nm-site .e-con.nm-tight-top { padding-top: 0; }

/* Red de nodos decorativa */
.nm-net { position: relative; isolation: isolate; }
.nm-site .nm-net::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none; right: 0; bottom: 0; left: auto; top: auto; width: min(40vw, 540px); aspect-ratio: 1.15;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 400'%3E%3Cg fill='none' stroke='%23cfdcba' stroke-width='1.300'%3E%3Cpath d='M30 190 150 60 400 20 380 190 450 330 260 380 100 320zM150 60l80 150 150-20M230 210 100 320M230 210l30 170M30 190l200 20'/%3E%3Cpath d='M150 60 380 190' stroke-dasharray='5 6'/%3E%3C/g%3E%3Cg fill='%23cfdcba'%3E%3Ccircle cx='400' cy='20' r='13'/%3E%3Ccircle cx='230' cy='210' r='10'/%3E%3Ccircle cx='30' cy='190' r='9'/%3E%3Ccircle cx='450' cy='330' r='11'/%3E%3C/g%3E%3Ccircle cx='380' cy='190' r='18' fill='%23fd8a5e'/%3E%3Ccircle cx='100' cy='320' r='13' fill='%2374ad88'/%3E%3Ccircle cx='150' cy='60' r='13' fill='%23fff' stroke='%2374ad88' stroke-width='7'/%3E%3Ccircle cx='260' cy='380' r='13' fill='%23fff' stroke='%23fd8a5e' stroke-width='7'/%3E%3C/svg%3E") right bottom/contain no-repeat;
	opacity: .75;
}
.nm-site .nm-net--faint::after { opacity: .4; width: min(60vw, 780px); }

/* Portada de página (hero) */
.nm-site .e-con.nm-hero { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0; background: var(--nm-cream); display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 0; align-items: stretch; min-height: clamp(360px, 36vw, 520px); }
.nm-site .e-con.nm-hero__text { padding: clamp(40px, 5.6vw, 86px) clamp(24px, 4vw, 60px) clamp(40px, 5vw, 76px) max(var(--nm-gutter), calc((100vw - var(--nm-max)) / 2 + var(--nm-gutter))); display: flex; flex-direction: column; justify-content: center; gap: 22px; box-sizing: border-box; }
.nm-hero__text .elementor-widget-text-editor { max-width: 34em; font-size: 1rem; }
.nm-site .nm-hero__text h2.elementor-heading-title { color: var(--nm-green); font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; margin-top: 10px; }
.nm-hero__quote { font-style: italic; color: var(--nm-green); font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.nm-site .nm-hero__img { margin: 0; height: 100%; width: 100%; max-width: none; }
.nm-hero__img .elementor-widget-container, .nm-hero__img a { height: 100%; display: block; }
.nm-site .nm-hero__img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: left center; }

/* Encabezado genérico (páginas sin maqueta, listados, noticias) */
.nm-pagehead { background: var(--nm-cream); padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 4.6vw, 64px); position: relative; overflow: hidden; }
.nm-pagehead::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(38vw, 420px); background: linear-gradient(90deg, var(--nm-sage) 0 34%, var(--nm-green) 34% 72%, var(--nm-orange) 72%); clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.nm-pagehead .nm-wrap { position: relative; z-index: 1; }
.nm-pagehead h1 { max-width: 16em; }
.nm-pagehead__intro { max-width: 40em; margin-top: 18px; }
.nm-pagehead--post::after { width: min(16vw, 180px); }
.nm-pagehead--post h1 { font-size: clamp(1.7rem, 3.2vw, 2.7rem) !important; max-width: none; }
.nm-btnrow { margin-top: 26px !important; }

/* Banda de conferencia */
.nm-site .e-con.nm-conf { background: var(--nm-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cg fill='none' stroke='%2374b58a' stroke-width='1.200'%3E%3Cpath d='M300 40l70-30 60 50-20 80-90 10zM430 60l110-40 50 90-70 70-110-40zM320 150l90-10 40 90-60 60-90-50zM520 180l70 40-10 80H470l-20-70zM300 40l20 110M410 140l110 40M390 290l80 10'/%3E%3C/g%3E%3Cpath d='M540 20l50 90-70 70' fill='none' stroke='%23d98a52' stroke-width='1.200'/%3E%3C/svg%3E") right center/auto 118% no-repeat; padding: clamp(36px, 4.6vw, 62px) 0; }
.nm-conf, .nm-site .nm-conf .elementor-heading-title, .nm-conf a { color: var(--nm-cream); }
.nm-site .nm-conf__kicker .elementor-heading-title { color: var(--nm-navy); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; }
.nm-site .nm-conf__title .elementor-heading-title { color: var(--nm-sage); font-size: clamp(1.5rem, 2.9vw, 2.45rem); font-weight: 600; max-width: 17em; }
.nm-site .nm-conf__date .elementor-heading-title { display: inline-block; background: var(--nm-navy); color: var(--nm-cream); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 600; padding: 7px 18px; }
.nm-conf__place { color: var(--nm-sage); }
.nm-site .e-con.nm-conf .nm-in { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* Dos columnas texto + imagen */
.nm-site .e-con.nm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.nm-site .e-con.nm-split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.nm-site .e-con.nm-col { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.nm-col .elementor-widget-text-editor { font-weight: 600; max-width: 22em; }
.nm-site .nm-bleed-left { margin-left: calc(-1 * max(var(--nm-gutter), (100vw - var(--nm-max)) / 2 + var(--nm-gutter))); }
.nm-bleed-left img { width: 100%; }
.nm-colab .nm-col { align-items: stretch; }
.nm-colab .elementor-widget-text-editor { font-weight: 400; max-width: 36em; }
.nm-site .nm-colab .nm-plus-w { align-self: flex-end; }
.nm-site .nm-plus-w .elementor-button { background: none; padding: 0; color: var(--nm-orange); border: 1.5px solid currentColor; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.nm-site .nm-plus-w .elementor-button-text { font-size: 0; }
.nm-site .nm-plus-w .elementor-button::after { content: ""; width: 34px; height: 12px; transform: scale(.62); background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M0 6h32M27 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M0 6h32M27 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Título + bajada en una línea */
.nm-site .e-con.nm-headrow { display: flex; flex-direction: row; align-items: center; gap: 22px; margin-bottom: clamp(28px, 3.6vw, 52px); flex-wrap: nowrap; }
.nm-site .nm-headrow .nm-title { flex: 1 1 auto; width: auto; }
.nm-site .nm-headrow .nm-title .elementor-heading-title { margin: 0; }
.nm-headrow .elementor-widget-text-editor { flex: 0 1 auto; max-width: 34em; font-weight: 600; margin: 0; }
.nm-headrow--green .elementor-widget-text-editor { color: var(--nm-green); }

/* Tarjetas ¿Qué investigamos? */
.nm-site .e-con.nm-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.nm-site .e-con.nm-qcard { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: clamp(240px, 26vw, 370px); padding: 28px clamp(18px, 2.2vw, 34px) 30px; color: #fff; background-size: cover; background-position: center top; overflow: hidden; }
.nm-site .e-con.nm-qcard::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.nm-qcard > * { position: relative; z-index: 1; }
.nm-site .nm-qcard .elementor-heading-title { color: #fff; font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 600; max-width: 7.5em; }
.nm-qcard .elementor-widget-text-editor { max-width: 15em; font-size: .98rem; line-height: 1.3; padding-right: 48px; }
.nm-site .e-con.nm-qcard--a { clip-path: polygon(0 0, 100% 9%, 100% 100%, 0 100%); }
.nm-site .e-con.nm-qcard--a::before { background: linear-gradient(180deg, rgba(38, 104, 62, .55) 0%, rgba(38, 104, 62, .92) 62%); }
.nm-site .e-con.nm-qcard--b { clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
.nm-site .e-con.nm-qcard--b::before { background: linear-gradient(180deg, rgba(35, 55, 70, .5) 0%, rgba(35, 55, 70, .94) 62%); }
.nm-site .e-con.nm-qcard--c { clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%); }
.nm-site .e-con.nm-qcard--c::before { background: linear-gradient(180deg, rgba(214, 96, 52, .5) 0%, rgba(206, 88, 44, .93) 62%); }
.nm-site .nm-qcard .nm-plus-w { position: absolute; right: clamp(14px, 1.8vw, 28px); bottom: 24px; }
.nm-site .nm-qcard .nm-plus-w .elementor-button { color: #fff; }

/* Publicaciones */
.nm-site .e-con.nm-pubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.nm-site .e-con.nm-pub { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 6px clamp(18px, 3vw, 46px) 10px; border-left: 1px solid var(--nm-line); }
.nm-site .e-con.nm-pub:first-child { border-left: 0; padding-left: clamp(0px, 2vw, 30px); }
.nm-site .nm-pub h3.elementor-heading-title { font-size: 1.06rem; font-weight: 600; line-height: 1.22; margin-top: 12px; }
.nm-pub .elementor-widget-text-editor { font-size: .84rem; line-height: 1.35; padding-right: 54px; }
.nm-site .nm-pub .nm-plus-w { position: absolute; right: clamp(10px, 1.6vw, 24px); bottom: 6px; }
.nm-site .nm-pub .nm-plus-w .elementor-button { color: var(--nm-sage); border-color: var(--nm-sage); }
.nm-site .nm-pub .nm-plus-w .elementor-button:hover { color: var(--nm-green); border-color: var(--nm-green); }
.nm-site .nm-pub .nm-plus-w .elementor-button::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M9 6h16M17 -2v16' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 12'%3E%3Cpath d='M9 6h16M17 -2v16' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); transform: none; }
.nm-site .nm-center { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 56px); width: 100%; }

/* Alianzas */
.nm-site .e-con.nm-logos { display: flex; flex-flow: row wrap; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 60px) clamp(28px, 5vw, 80px); max-width: 880px; margin-inline: auto; }
.nm-site .nm-logos .elementor-widget-image { width: auto; flex: 0 0 auto; }
.nm-site .nm-logos img { height: clamp(48px, 6vw, 74px); width: auto; max-width: 190px; object-fit: contain; }

/* Columnas ilustradas (apuesta conceptual, líneas) */
.nm-site .e-con.nm-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); align-items: start; }
.nm-site .e-con.nm-feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62%; }
.nm-site .e-con.nm-feat { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-inline: clamp(0px, 2vw, 34px); }
.nm-site .nm-feat .elementor-widget-image img { height: clamp(96px, 10.5vw, 150px); width: auto; mix-blend-mode: multiply; margin-bottom: 16px; }
.nm-site .nm-feat h3.elementor-heading-title { font-size: clamp(1.45rem, 2.4vw, 2.1rem); font-weight: 600; max-width: 9em; }
.nm-feat .elementor-widget-text-editor { font-size: 1.06rem; font-weight: 300; line-height: 1.4; max-width: 17em; }
.nm-feat .nm-feat__sub { color: var(--nm-orange); }
.nm-feat .nm-feat__sub b, .nm-feat .nm-feat__sub strong { font-weight: 400; }
.nm-feat .nm-box { background: var(--nm-cream); padding: 26px 22px 30px; margin-left: -22px; width: calc(100% + 22px); max-width: none; box-sizing: border-box; }
.nm-box p:first-child, .nm-box p:first-child b { font-style: italic; font-weight: 300; color: var(--nm-orange); }
.nm-box ul { list-style: none; margin: 14px 0 0; padding: 0; }
.nm-box li { position: relative; padding-left: 16px; }
.nm-box li::before { content: "·"; position: absolute; left: 0; }
.nm-box span, .nm-feat .elementor-widget-text-editor span { font-weight: inherit !important; }

/* Ciudades */
.nm-site .e-con.nm-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.nm-site .e-con.nm-city { display: flex; flex-direction: column; gap: 18px; position: relative; }
.nm-site .nm-city .elementor-widget-image { position: relative; }
.nm-site .nm-city img { width: 100%; aspect-ratio: 1.62; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.nm-site .nm-city .elementor-widget-image::after { content: ""; position: absolute; mix-blend-mode: multiply; pointer-events: none; }
.nm-site .nm-city:nth-child(1) .elementor-widget-image::after { left: 0; top: 0; bottom: 0; width: 30%; background: var(--nm-navy); opacity: .88; }
.nm-site .nm-city:nth-child(2) .elementor-widget-image::after { right: 0; top: 22%; bottom: -22%; width: 30%; background: var(--nm-orange); opacity: .9; }
.nm-site .nm-city:nth-child(3) .elementor-widget-image::after { right: 0; top: -26%; bottom: 24%; width: 30%; background: var(--nm-green); opacity: .9; }
.nm-site .nm-city h3.elementor-heading-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; }

/* Equipo */
.nm-site .e-con.nm-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.6vw, 64px) clamp(24px, 4vw, 60px); padding-inline: clamp(0px, 2.4vw, 38px); }
.nm-site .e-con.nm-team--lead { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(36px, 8vw, 120px); }
.nm-site .e-con.nm-member { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nm-site .nm-member__img { width: clamp(150px, 15vw, 210px); margin-bottom: 14px; }
.nm-site .nm-member__img img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.nm-site .nm-member:hover .nm-member__img img { filter: none; }
.nm-site .nm-member h3.elementor-heading-title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 600; }
.nm-site .nm-role .elementor-heading-title { color: var(--nm-orange); font-weight: 600; font-size: .92rem; line-height: 1.3; margin-bottom: 8px; }
.nm-site .nm-tone-green .nm-role .elementor-heading-title { color: #6aa57e; }
.nm-member .elementor-widget-text-editor { font-size: .88rem; line-height: 1.4; max-width: 25em; }

/* Publicaciones (bloque existente de la página Producción científica) */

/* Contenido genérico de páginas hechas con Elementor que no tienen maqueta */
.nm-site .elementor-section, .nm-site .elementor > .e-con:not(.nm-sec):not(.nm-hero) { max-width: var(--nm-max); margin-inline: auto; padding-inline: var(--nm-gutter); box-sizing: border-box; }
.nm-site .elementor-widget-text-editor ul { padding-left: 1.1em; }
.nm-site .elementor-widget-icon .elementor-icon { color: var(--nm-green); }
.nm-site .nm-generic { padding-block: clamp(24px, 3vw, 44px); }
.nm-site .nm-generic h2.elementor-heading-title { color: var(--nm-green); }

/* 7. Noticias ------------------------------------------------------------- */
.nm-news--home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr); gap: clamp(28px, 4.6vw, 70px); align-items: start; }
.nm-news__list { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); }
.nm-news__more { margin: 6px 0 0 !important; padding-left: calc(31% + clamp(16px, 2.6vw, 40px)); }
.nm-card { display: flex; gap: clamp(16px, 2.6vw, 40px); }
.nm-card__media { display: block; flex: none; overflow: hidden; background: var(--nm-sage); }
.nm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nm-card:hover .nm-card__media img { transform: scale(1.04); }
.nm-card__media.is-empty { background: linear-gradient(135deg, var(--nm-sage) 0 55%, var(--nm-green) 55% 82%, var(--nm-orange) 82%); }
.nm-card__body { display: flex; gap: clamp(12px, 2vw, 28px); flex: 1; min-width: 0; align-items: flex-start; position: relative; }
.nm-card__text { flex: 1; min-width: 0; padding-right: 8px; }
.nm-card__title { font-size: 1.06rem !important; font-weight: 600; line-height: 1.24 !important; margin: 0 0 12px !important; }
.nm-card__title a:hover { color: var(--nm-orange); }
.nm-tone-green .nm-card__title a:hover { color: var(--nm-green); }
.nm-card__date { font-size: .84rem; color: var(--nm-orange); }
.nm-tone-green .nm-card__date { color: var(--nm-green); }
.nm-card .nm-plus { align-self: flex-end; margin-top: 26px; }
.nm-card--big { flex-direction: column; gap: 22px; }
.nm-card--big .nm-card__media { aspect-ratio: 1.82; }
.nm-card--row .nm-card__media { width: 31%; aspect-ratio: 1.5; }
.nm-card--row .nm-card__body { padding-top: 8px; }
.nm-card--text .nm-card__media { display: none; }
.nm-card--text { padding: 4px clamp(6px, 1.4vw, 20px); }
.nm-card--grid { flex-direction: column; gap: 18px; }
.nm-card--grid .nm-card__media { aspect-ratio: 1.5; }
.nm-card--grid .nm-card__body { flex-direction: column; gap: 12px; }
.nm-card--grid .nm-plus { position: absolute; right: 0; bottom: 0; margin: 0; }
.nm-card--grid .nm-card__text { padding-right: 52px; }
.nm-card__excerpt { font-size: .92rem; color: var(--nm-muted); margin: 0 0 12px !important; }
.nm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(22px, 3vw, 44px); }

.nm-news--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.6vw, 52px); align-items: stretch; }
.nm-feature { position: relative; display: block; min-height: clamp(280px, 32vw, 450px); background: var(--nm-navy); overflow: hidden; color: #fff !important; }
.nm-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s; }
.nm-feature:hover img { filter: none; transform: scale(1.03); }
.nm-feature__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(20px, 3.4vw, 50px) clamp(24px, 3.4vw, 50px); background: rgba(35, 55, 70, .86); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.nm-feature__body .nm-tag { margin-top: -15px; }
.nm-feature__body strong { font-size: clamp(1.3rem, 2.5vw, 2.1rem); font-weight: 600; line-height: 1.15; margin-top: 12px; }
.nm-feature__body time { font-size: 1.1rem; }
.nm-calls { border-left: 1.5px solid var(--nm-orange); padding-left: clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 30px); }
.nm-pagination { margin-top: clamp(36px, 5vw, 64px); }
.nm-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nm-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--nm-green); border-radius: 50%; color: var(--nm-green); font-weight: 600; box-sizing: border-box; }
.nm-pagination .page-numbers.current, .nm-pagination a.page-numbers:hover { background: var(--nm-green); color: #fff; }
.nm-pagination .dots { border: 0; }

/* Detalle de noticia */
.nm-single__meta { display: flex; align-items: center; gap: 18px; margin-bottom: 20px !important; color: var(--nm-muted); font-size: .95rem; }
.nm-single__body { padding-block: clamp(32px, 4.6vw, 64px) clamp(44px, 6vw, 84px); }
.nm-single__image { margin: 0 0 clamp(26px, 3.6vw, 44px); }
.nm-single__image img { width: 100%; max-height: 560px; object-fit: cover; }
.nm-prose { font-size: 1.1rem; line-height: 1.62; }
.nm-prose h2, .nm-prose h3, .nm-prose h4 { margin: 1.6em 0 .6em; }
.nm-prose a { color: var(--nm-green); text-decoration: underline; text-underline-offset: 3px; }
.nm-prose a:hover { color: var(--nm-orange); }
.nm-prose img, .nm-prose figure, .nm-prose iframe, .nm-prose video { max-width: 100%; margin-block: 1.4em; }
.nm-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--nm-orange); font-style: italic; color: var(--nm-green); font-size: 1.2rem; }
.nm-prose ul, .nm-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.nm-prose .wp-block-button__link { background: var(--nm-green); color: #fff; text-decoration: none; border-radius: 10px; text-transform: uppercase; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.nm-single__foot { margin-top: clamp(32px, 4vw, 52px); padding-top: 28px; border-top: 1px solid var(--nm-line); }
.nm-empty { font-size: 1.1rem; }

/* 8. Contacto ------------------------------------------------------------- */
.nm-site .e-con.nm-contact { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); }
.nm-site .e-con.nm-contact__form { display: block; padding-right: clamp(0px, 4vw, 58px); border-right: 1px solid var(--nm-sage); }
.nm-site .nm-contact__lead .elementor-heading-title { font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.75rem); margin-bottom: 26px; }
.nm-site .e-con.nm-contact__info { display: flex; flex-direction: column; gap: 26px; padding-top: clamp(0px, 7vw, 110px); }
.nm-site .nm-contact__info h3.elementor-heading-title { color: var(--nm-green); text-transform: uppercase; font-size: 1.35rem; font-weight: 600; }
.nm-info { list-style: none; margin: 0; padding: 0 0 0 clamp(0px, 5vw, 76px); display: grid; gap: 34px; }
.nm-info li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: center; }
.nm-info svg { grid-row: span 2; color: var(--nm-sage); width: 40px; height: 40px; }
.nm-info strong { color: var(--nm-green); text-transform: uppercase; font-weight: 600; font-size: 1.05rem; align-self: end; }
.nm-info span, .nm-info a, .nm-info .nm-social { grid-column: 2; align-self: start; }

/* 9. Formularios (WPForms) ------------------------------------------------ */
.nm-site div.wpforms-container-full { margin: 0; }
.nm-site .wpforms-container .wpforms-field { padding: 0 0 22px; }
.nm-site .wpforms-container .wpforms-field-label { font-family: var(--nm-font); font-size: .98rem; font-weight: 600; text-transform: uppercase; color: var(--nm-navy); margin: 0 0 6px 18px; }
.nm-site .wpforms-container input[type="text"], .nm-site .wpforms-container input[type="email"], .nm-site .wpforms-container input[type="tel"], .nm-site .wpforms-container input[type="url"], .nm-site .wpforms-container select, .nm-site .wpforms-container textarea {
	width: 100%; max-width: 100%; box-sizing: border-box; border: 0; border-radius: 9px; background: #e9e9e7; color: var(--nm-navy); font: inherit; font-size: .95rem; padding: 10px 18px; height: auto; min-height: 42px; box-shadow: none;
}
.nm-site .wpforms-container textarea { min-height: 220px; }
.nm-site .wpforms-container ::placeholder { color: var(--nm-orange); text-transform: uppercase; font-size: .85rem; opacity: 1; }
.nm-site .wpforms-container input:focus, .nm-site .wpforms-container textarea:focus { outline: 2px solid var(--nm-green); background: #fff; }
.nm-site .wpforms-container .wpforms-submit-container { text-align: right; padding: 6px 0 0; }
.nm-site .wpforms-container button[type="submit"] { background: var(--nm-orange); color: #fff; border: 0; border-radius: 9px; font-family: var(--nm-font); font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 12px 30px; height: auto; cursor: pointer; transition: background .18s; }
.nm-site .wpforms-container button[type="submit"]:hover { background: var(--nm-navy); }
.nm-site .wpforms-container .wpforms-required-label { color: var(--nm-orange); }
.nm-site .wpforms-container label.wpforms-error { color: #c0392b; font-size: .85rem; margin-left: 18px; }

/* 10. Tablet y móvil ------------------------------------------------------ */
@media (max-width: 1180px) {
	.nm-menu { gap: 14px 18px; flex-wrap: wrap; }
	.nm-menu a { font-size: .76rem; }
	.nm-site .e-con.nm-feats--2 { max-width: 78%; }
	.nm-site .nm-net::after { opacity: .4; }
}

@media (max-width: 900px) {
	body.nm-site { font-size: 16px; }
	.nm-header__in { min-height: 76px; padding-block: 14px; }
	.nm-logo img { width: 168px; }
	.nm-header__tools { margin-left: auto; }
	.nm-menu-toggle { display: block; }
	.nm-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--nm-navy); border-top: 1px solid rgba(207, 220, 186, .22); display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .28); }
	.is-menu-open .nm-nav { display: block; }
	.nm-menu { flex-direction: column; gap: 0; padding: 8px var(--nm-gutter) 18px; }
	.nm-menu > li { max-width: none; border-bottom: 1px solid rgba(207, 220, 186, .16); }
	.nm-menu a { font-size: .95rem; padding: 14px 0; }
	.nm-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 8px 16px; }

	.nm-footer__in { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 26px; }
	.nm-footer__motto { order: 2; }
	.nm-footer__meta { justify-self: center; order: 3; }
	.nm-footer__links { justify-content: center; flex-direction: column; gap: 16px; }

	.nm-site .e-con.nm-hero { grid-template-columns: 1fr; min-height: 0; }
	.nm-site .e-con.nm-hero__text { padding: 40px var(--nm-gutter) 34px; }
	.nm-site .nm-hero__img img { min-height: 0; aspect-ratio: 1.5; }
	.nm-site .e-con.nm-split, .nm-site .e-con.nm-split--rev, .nm-site .e-con.nm-contact, .nm-news--home, .nm-news--featured { grid-template-columns: 1fr; }
	.nm-site .nm-bleed-left { margin-inline: calc(-1 * var(--nm-gutter)); order: -1; }
	.nm-site .e-con.nm-headrow { flex-direction: column; align-items: stretch; gap: 14px; }
	.nm-site .nm-headrow .nm-title { width: 100%; }
	.nm-site .e-con.nm-cards3, .nm-site .e-con.nm-pubs, .nm-site .e-con.nm-feats, .nm-site .e-con.nm-feats--2 { grid-template-columns: 1fr; max-width: none; }
	.nm-site .e-con.nm-qcard { min-height: 230px; clip-path: none !important; }
	.nm-site .e-con.nm-pub, .nm-site .e-con.nm-pub:first-child { border-left: 0; border-top: 1px solid var(--nm-line); padding: 26px 0 10px; }
	.nm-site .e-con.nm-pub:first-child { border-top: 0; padding-top: 0; }
	.nm-site .e-con.nm-cities { grid-template-columns: 1fr; gap: 34px; }
	.nm-site .e-con.nm-team { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
	.nm-site .e-con.nm-contact__form { border-right: 0; padding-right: 0; }
	.nm-site .e-con.nm-contact__info { padding-top: 0; }
	.nm-info { padding-left: 0; }
	.nm-news__more { padding-left: 0; }
	.nm-calls { border-left: 0; padding-left: 0; }
	.nm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nm-site .nm-net::after { display: none; }
	.nm-site .e-con.nm-conf { background-size: auto 60%; background-position: right bottom; }
	.nm-feat .nm-box { margin-left: 0; width: 100%; }
}

@media (max-width: 600px) {
	.nm-card--row { gap: 14px; }
	.nm-card--row .nm-card__media { width: 34%; }
	.nm-card__body { flex-direction: column; gap: 10px; }
	.nm-card--row .nm-card__body { padding-top: 0; }
	.nm-card .nm-plus { position: absolute; right: 0; bottom: 0; margin: 0; }
	.nm-card__text { padding-right: 48px; }
	.nm-card--big .nm-card__body { flex-direction: column; }
	.nm-grid, .nm-site .e-con.nm-team, .nm-site .e-con.nm-team--lead { grid-template-columns: 1fr; }
	.nm-btn, .nm-site .nm-btn-w .elementor-button { font-size: .76rem; padding: 10px 16px; }
	.nm-search form { flex-direction: column; }
	.nm-lang { display: none; }
	.nm-pagehead::after { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
	.nm-site * { transition: none !important; }
}

/* Encabezado genérico dentro de Elementor */
.nm-site .e-con.nm-pagehead { padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 4.6vw, 64px); background: var(--nm-cream); overflow: hidden; }
.nm-site .e-con.nm-pagehead .nm-in { position: relative; z-index: 1; }

/* --- Ajustes de la versión editable ------------------------------------ */
.nm-logo__text { font-size: 2rem; font-weight: 700; color: var(--nm-sage); letter-spacing: .04em; }
.nm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.nm-footer__menu a { text-transform: uppercase; font-size: .85rem; letter-spacing: .02em; }

/* Los widgets no se estiran dentro de las columnas */
.nm-site .nm-hero__text > .elementor-widget, .nm-site .nm-col > .elementor-widget, .nm-site .nm-feat > .elementor-widget, .nm-site .nm-pub > .elementor-widget, .nm-site .nm-qcard > .elementor-widget { width: auto; max-width: 100%; }
.nm-site .nm-btn-w, .nm-site .nm-plus-w { width: auto; align-self: flex-start; }
.nm-site .nm-btn-w .elementor-button, .nm-site .nm-plus-w .elementor-button { width: auto; }
.nm-site .nm-in > .nm-btn-w.nm-center { align-self: center; width: 100%; }
.nm-site .nm-in > .nm-title, .nm-site .nm-col > .nm-title { width: 100%; }
.nm-site .e-con.nm-in { display: flex; flex-direction: column; gap: 0; }
.nm-site .nm-in > .elementor-widget-shortcode, .nm-site .nm-in > .elementor-widget-html { width: 100%; }

/* Botón «ver todas» alineado con la lista de noticias */
.nm-site .nm-news-more { align-self: flex-start; margin: clamp(22px, 2.6vw, 34px) 0 0 calc((100% - clamp(28px, 4.6vw, 70px)) / 2.42 + clamp(28px, 4.6vw, 70px) + (100% - clamp(28px, 4.6vw, 70px)) * 1.42 / 2.42 * .31 + clamp(16px, 2.6vw, 40px)); }

/* Noticias: destacada + llamados */
.nm-site .e-con.nm-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3.6vw, 52px); align-items: stretch; }
.nm-site .nm-featured > .elementor-widget-shortcode, .nm-featured .elementor-shortcode { height: 100%; width: 100%; }
.nm-site .nm-featured .nm-feature { height: 100%; }
.nm-site .e-con.nm-calls { --padding-top: 0px; --padding-bottom: 0px; --padding-right: 0px; padding: 0 0 0 clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 30px); border-left: 1.5px solid var(--nm-orange); }
.nm-site .nm-calls .nm-btn--block { width: 100%; align-self: stretch; }
.nm-site .nm-calls .nm-btn--block .elementor-button { display: flex; justify-content: space-between; width: 100%; border-radius: 12px; }
.nm-site .nm-calls > .elementor-widget { width: 100%; }

/* Portada con foto propia (páginas sin maqueta): mismo tratamiento de las maquetas */
.nm-site .nm-hero__img--photo { position: relative; }
.nm-site .nm-hero__img--photo img { filter: grayscale(1) contrast(1.05); object-position: center; }
.nm-site .nm-hero__img--photo::before { content: ""; position: absolute; z-index: 1; left: -12%; top: 12%; bottom: 12%; width: 46%; background: var(--nm-sage); mix-blend-mode: multiply; pointer-events: none; }
.nm-site .nm-hero__img--photo::after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 26%; width: 44%; height: 5%; background: var(--nm-orange); mix-blend-mode: multiply; pointer-events: none; }

/* Pasos y técnicas (Metodología) */
.nm-site .nm-step .elementor-icon { font-size: clamp(54px, 6vw, 76px); color: var(--nm-green); }
.nm-site .nm-step .elementor-icon svg { width: 1em; height: 1em; }
.nm-step .elementor-widget-text-editor { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 600; line-height: 1.2; color: var(--nm-navy); }
.nm-site .e-con.nm-chips { display: flex; flex-flow: row wrap; gap: 14px 18px; justify-content: center; }
.nm-site .nm-chip { width: auto; }
.nm-site .nm-chip .elementor-heading-title { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--nm-green); border: 1.5px solid var(--nm-green); border-radius: 10px; padding: 12px 26px; background: #fff; }

/* Tres columnas (Laboratorio) */
.nm-site .e-con.nm-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.4vw, 52px); align-items: start; }
.nm-site .nm-cols3 .nm-col { align-items: stretch; gap: 0; }
.nm-site .nm-cols3 .nm-title .elementor-heading-title { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: 22px; }
.nm-site .nm-cols3 .nm-col > .elementor-widget { width: 100%; }
.nm-cols3 .elementor-widget-text-editor { font-weight: 400; max-width: none; }
.nm-cols3 audio, .nm-cols3 .wp-audio-shortcode { width: 100% !important; }

/* Contacto: datos con icono */
.nm-site .nm-ibox { margin-left: clamp(0px, 5vw, 76px); width: auto; }
.nm-site .nm-ibox .elementor-icon-box-wrapper { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.nm-site .nm-ibox .elementor-icon-box-icon { margin: 0; }
.nm-site .nm-ibox .elementor-icon { font-size: 34px; color: var(--nm-sage); fill: var(--nm-sage); }
.nm-site .nm-ibox .elementor-icon-box-title { color: var(--nm-green); text-transform: uppercase; font-weight: 600; font-size: 1.05rem; margin: 2px 0 4px; }
.nm-site .nm-ibox .elementor-icon-box-description { font-size: 1rem; color: var(--nm-text); margin: 0; }
.nm-site .nm-follow { margin: -18px 0 0 calc(clamp(0px, 5vw, 76px) + 50px); width: auto; }
.nm-site .nm-follow .elementor-social-icon { background: var(--nm-navy); color: #fff; font-size: 17px; margin-right: 8px; border-radius: 7px; }
.nm-site .nm-follow .elementor-social-icon:hover { background: var(--nm-orange); }
.nm-site .nm-follow .elementor-social-icon i, .nm-site .nm-follow .elementor-social-icon svg { color: #fff; fill: #fff; }
.nm-info { display: none; }

/* Biblioteca de documentos y tablas */
.nm-prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.nm-prose th { text-align: left; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; color: var(--nm-green); border-bottom: 1.5px solid var(--nm-green); padding: 10px 12px; }
.nm-prose td { padding: 14px 12px; border-bottom: 1px solid var(--nm-line); }
.nm-prose .dlp-download-button, .nm-prose a.button { background: var(--nm-green); color: #fff !important; border-radius: 10px; padding: 8px 16px; text-decoration: none; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .03em; border: 0; }

@media (max-width: 900px) {
	.nm-site .e-con.nm-featured, .nm-site .e-con.nm-cols3 { grid-template-columns: 1fr; }
	.nm-site .e-con.nm-calls { border-left: 0; padding-left: 0; }
	.nm-site .nm-news-more { margin-left: 0; }
	.nm-site .nm-ibox, .nm-site .nm-follow { margin-left: 0; }
	.nm-site .nm-follow { margin-left: 50px; }
	.nm-site .nm-hero__img--photo::before { left: 0; width: 30%; }
}

.nm-menu > li > a { text-wrap: balance; }
.nm-lang .gt_switcher_wrapper, .nm-lang .gtranslate_wrapper { position: static !important; }
.nm-logo--footer img { height: auto; }
.nm-card__title, .nm-card__excerpt { margin-top: 0; }

.nm-site .nm-net > .nm-in { position: relative; z-index: 1; }
.nm-site .nm-sec .e-con, .nm-site .nm-hero .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
.nm-site .nm-headrow .nm-title { flex: 1 1 0; min-width: 42%; }
.nm-site .nm-headrow .nm-title .elementor-heading-title { white-space: nowrap; }
.nm-site .nm-headrow .elementor-widget-text-editor { flex: 0 1 auto; max-width: 56%; width: auto; }
.nm-site .nm-split > .elementor-widget-image { width: 100%; }
.nm-site .nm-split > .elementor-widget-image img { width: 100%; }
.nm-site .nm-bleed-left { width: calc(100% + max(var(--nm-gutter), (100vw - var(--nm-max)) / 2 + var(--nm-gutter))) !important; max-width: none; }
.nm-site .nm-col .nm-title--short .elementor-heading-title { white-space: normal; }
@media (max-width: 900px) {
	.nm-site .nm-headrow .nm-title .elementor-heading-title { white-space: normal; }
	.nm-site .nm-headrow .elementor-widget-text-editor { max-width: none; }
	.nm-site .nm-bleed-left { width: calc(100% + 2 * var(--nm-gutter)) !important; }
}

.nm-site .nm-hero__text .nm-hero__quote { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.nm-site .nm-calls > .nm-btn--block { align-self: stretch; width: 100%; }
.nm-site .nm-feature img { filter: grayscale(1); }

.nm-site .wpforms-container button[type="submit"], .nm-site div.wpforms-container-full button[type="submit"].wpforms-submit { background: var(--nm-orange) !important; color: #fff !important; border: 0 !important; border-radius: 9px !important; font-family: var(--nm-font) !important; font-size: .82rem !important; font-weight: 700 !important; letter-spacing: .03em; text-transform: uppercase; padding: 12px 30px !important; height: auto !important; line-height: 1.2 !important; }
.nm-site div.wpforms-container-full button[type="submit"].wpforms-submit:hover { background: var(--nm-navy) !important; }
.nm-site .wpforms-container .wpforms-field-row, .nm-site .wpforms-container .wpforms-field-medium, .nm-site .wpforms-container .wpforms-field-large { max-width: 100% !important; width: 100%; }
.nm-site .wpforms-container .wpforms-field-sublabel { font-size: .78rem; color: var(--nm-muted); margin-left: 18px; }
.nm-site .nm-follow { margin: -18px 0 0 calc(clamp(0px, 5vw, 76px) + 50px) !important; align-self: flex-start; }
.nm-site .nm-follow .elementor-social-icons-wrapper { text-align: left; display: flex; gap: 8px; }

.nm-site .e-con.nm-net { overflow: hidden; }
.nm-site .nm-net::after { width: min(40vw, 520px); height: min(100%, 450px); aspect-ratio: auto; opacity: .6; }
.nm-site .nm-net--faint::after { opacity: .28; width: min(46vw, 600px); }

/* Landing de evento */
.nm-site .e-con.nm-conf--hero { padding: clamp(56px, 8vw, 120px) 0; background-size: auto 130%; }
.nm-site .nm-conf--hero .nm-conf__title .elementor-heading-title { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; max-width: 16em; }
.nm-site .nm-conf--hero .nm-btn-w { margin-top: 14px; }
.nm-site .nm-conf .nm-btn--light .elementor-button:hover { background: var(--nm-cream); border-color: var(--nm-cream); color: var(--nm-green); }
.nm-lead { font-size: 1.12rem; line-height: 1.6; max-width: 62em; }
.nm-site .e-con.nm-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(22px, 3vw, 40px); }
.nm-site .e-con.nm-topic { display: flex; flex-direction: column; gap: 8px; background: #fff; border-left: 4px solid var(--nm-green); padding: 22px 26px; }
.nm-site .e-con.nm-topic:nth-child(3n+2) { border-left-color: var(--nm-orange); }
.nm-site .e-con.nm-topic:nth-child(3n) { border-left-color: var(--nm-navy); }
.nm-site .nm-topic h3.elementor-heading-title { font-size: 1.15rem; }
.nm-topic .elementor-widget-text-editor { font-size: .96rem; }
.nm-site .e-con.nm-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.nm-site .nm-split--even .nm-col { align-items: stretch; }
.nm-site .nm-split--even .nm-col .elementor-widget-text-editor { font-weight: 400; max-width: none; }
.nm-site .e-con.nm-dates { display: flex; flex-direction: column; gap: 12px; }
.nm-site .e-con.nm-date { display: flex; flex-direction: row; align-items: center; gap: 18px; background: var(--nm-cream); padding: 14px 20px; }
.nm-site .nm-date > .elementor-widget { width: auto; }
.nm-site .nm-date__day .elementor-heading-title { background: var(--nm-navy); color: var(--nm-cream); font-weight: 600; font-size: .95rem; padding: 7px 14px; white-space: nowrap; }
.nm-note { color: var(--nm-green); font-weight: 600 !important; }
@media (max-width: 900px) { .nm-site .e-con.nm-topics, .nm-site .e-con.nm-split--even { grid-template-columns: 1fr; } .nm-site .e-con.nm-date { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* Zona desplegable: una sección con la clase «nm-reveal» queda oculta hasta que se
   pulsa un botón cuyo enlace apunta a su ID (por ejemplo #publicaciones). */
html.nm-js body:not(.elementor-editor-active) .nm-reveal:not(.is-open) { display: none !important; }
.nm-site .nm-reveal { scroll-margin-top: 16px; }
.nm-site a[aria-expanded="true"]::after { transform: rotate(90deg); transition: transform .25s; }

/* Cabecera con el mismo ancho centrado que el resto de la página: logo, menú al centro
   y herramientas. Los botones del menú se ajustan en tamaño y separación para caber en dos líneas. */
.nm-header__in { gap: clamp(14px, 1.8vw, 30px); }
.nm-logo img { width: clamp(160px, 15vw, 220px); }
.nm-menu { justify-content: center; gap: clamp(10px, 1.3vw, 19px); }
.nm-nav { min-width: 0; }
.nm-menu { flex-wrap: nowrap; }
.nm-menu > li { flex: 0 0 auto; max-width: none; }
.nm-menu > li > a { max-width: 13em; }
.nm-menu a { font-size: clamp(11.2px, .86vw, 12.4px); letter-spacing: .015em; }

/* Idioma: solo banderas, pequeñas */
.nm-lang { display: flex; align-items: center; line-height: 0; }
.nm-lang .gtranslate_wrapper { display: flex; align-items: center; gap: 7px; }
.nm-lang a.glink { display: block; line-height: 0; opacity: .5; transition: opacity .15s, transform .15s; border-radius: 50%; }
.nm-lang a.glink:hover, .nm-lang a.glink.gt-current-lang { opacity: 1; }
.nm-lang a.glink:hover { transform: scale(1.12); }
.nm-lang a.glink img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(207, 220, 186, .55); }
.nm-lang a.glink span { display: none; }
@media (max-width: 600px) { .nm-lang { display: flex; } }

/* Bajo 1180 px el menú ya no cabe en dos líneas: pasa al botón de menú (igual que en móvil). */
@media (max-width: 1180px) {
	.nm-header__in { min-height: 76px; padding-block: 14px; }
	.nm-logo img { width: 168px; }
	.nm-header__tools { margin-left: auto; }
	.nm-menu-toggle { display: block; }
	.nm-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--nm-navy); border-top: 1px solid rgba(207, 220, 186, .22); display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .28); }
	.is-menu-open .nm-nav { display: block; }
	.nm-menu { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 0; padding: 8px var(--nm-gutter) 18px; }
	.nm-menu > li { max-width: none; border-bottom: 1px solid rgba(207, 220, 186, .16); }
	.nm-menu > li > a { max-width: none; width: auto !important; font-size: .95rem; padding: 14px 0; }
	.nm-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 8px 16px; }
}

/* Barra superior (plugin «NUMIC · Barra superior»): contacto a la izquierda, buscador y banderas a la derecha */
.nm-topbar { background: #1b2c38; color: var(--nm-sage); font-size: .8rem; }
.nm-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 38px; }
.nm-topbar__contact { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nm-topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--nm-sage); letter-spacing: .02em; transition: color .15s; }
.nm-topbar__contact a:hover { color: var(--nm-orange); }
.nm-topbar__contact svg { width: 16px; height: 16px; flex: none; }
.nm-topbar__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nm-topbar .nm-iconbtn { padding: 6px; margin-right: -6px; }
.nm-topbar .nm-iconbtn svg { width: 18px; height: 18px; }
.nm-header--bar .nm-header__in { min-height: 104px; padding-block: 18px; }
.nm-header--bar .nm-menu { justify-content: flex-end; }
.nm-header--bar .nm-header__tools { gap: 0; }
@media (max-width: 1180px) { .nm-header--bar .nm-header__in { min-height: 68px; padding-block: 12px; } }
@media (max-width: 600px) {
	.nm-topbar__in { min-height: 34px; gap: 10px; }
	.nm-topbar__contact { gap: 14px; min-width: 0; }
	.nm-topbar__contact a[href^="tel:"] span { display: none; }
	.nm-topbar__contact a[href^="mailto:"] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; font-size: .76rem; }
}
@media (min-width: 1181px) { .nm-header--bar .nm-header__tools { display: none; } }

/* Animaciones (solo cuando están activas: html.nm-anim) */
html.nm-anim:not(.nm-anim-ready) .nm-hero__text > *, html.nm-anim:not(.nm-anim-ready) .nm-hero__img { visibility: hidden; }
html.nm-anim .nm-hero__img, html.nm-anim .nm-split > .elementor-widget-image { overflow: hidden; }
html.nm-anim .nm-title .elementor-heading-title::after, html.nm-anim :is(h1, h2, h3).nm-title::after { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .2s; }
html.nm-anim .nm-title--right .elementor-heading-title::after { transform-origin: right center; }
html.nm-anim .nm-title.is-in .elementor-heading-title::after, html.nm-anim :is(h1, h2, h3).nm-title.is-in::after { transform: scaleX(1); }
html.nm-anim .nm-net::after { animation: nm-float 14s ease-in-out infinite alternate; }
@keyframes nm-float { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-14px, -18px, 0) rotate(2.5deg); } }
.nm-site .e-con.nm-qcard { transition: transform .35s cubic-bezier(.2, .7, .2, 1), filter .35s; }
.nm-site .e-con.nm-qcard:hover { transform: translateY(-8px); filter: saturate(1.15); }
.nm-site .nm-qcard .nm-plus-w .elementor-button, .nm-site .nm-btn-w .elementor-button::after, .nm-btn svg { transition: transform .25s; }
.nm-site .nm-qcard:hover .nm-plus-w .elementor-button { transform: translateX(5px); }
.nm-site .nm-btn-w .elementor-button:hover::after { transform: translateX(5px); }
.nm-btn:hover svg { transform: translateX(5px); }
.nm-site .e-con.nm-pub { transition: background .25s; }
.nm-site .e-con.nm-pub:hover { background: rgba(207, 220, 186, .22); }
.nm-site .nm-logos img { transition: transform .25s, filter .25s; filter: grayscale(.35); }
.nm-site .nm-logos img:hover { transform: scale(1.07); filter: none; }
@media (prefers-reduced-motion: reduce) { html.nm-anim .nm-net::after { animation: none; } }

/* Menú desplegable forzado: cuando los nombres (p. ej. traducidos) no caben en la fila en dos líneas */
.nm-header.is-compact .nm-header__in { min-height: 76px; padding-block: 14px; }
.nm-header.is-compact .nm-header__tools { display: flex; margin-left: auto; }
.nm-header.is-compact .nm-menu-toggle { display: block; }
.nm-header.is-compact .nm-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--nm-navy); border-top: 1px solid rgba(207, 220, 186, .22); display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .28); }
.nm-header.is-compact.is-menu-open .nm-nav { display: block; }
.nm-header.is-compact .nm-menu { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 0; max-width: var(--nm-max); margin-inline: auto; padding: 8px var(--nm-gutter) 18px; box-sizing: border-box; }
.nm-header.is-compact .nm-menu > li { max-width: none; border-bottom: 1px solid rgba(207, 220, 186, .16); }
.nm-header.is-compact .nm-menu > li > a { max-width: none; width: auto !important; font-size: .95rem; padding: 14px 0; }
.nm-header.is-compact .nm-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 8px 16px; }
.nm-menu > li > a { overflow-wrap: normal; word-break: normal; hyphens: none; }
.nm-menu > li > a { min-width: min-content; }

/* Cabecera más ancha y con más aire entre botones (nov-2026).
   El ancho se cambia en una sola variable: --nm-max-header. */
:root { --nm-max-header: 1640px; }
.nm-header .nm-wrap { max-width: var(--nm-max-header); }
.nm-header__in { gap: clamp(20px, 2.2vw, 44px); }
.nm-logo img { width: clamp(150px, 12.5vw, 220px); }
@media (min-width: 901px) {
	.nm-header:not(.is-compact) .nm-menu { gap: clamp(16px, 1.7vw, 30px); align-items: center; }
	.nm-header:not(.is-compact) .nm-menu > li > a { max-width: 13em; }
}
@media (min-width: 901px) and (max-width: 1599px) { .nm-header:not(.is-compact) .nm-menu > li > a { max-width: 11.6em; } }

/* Botón destacado en el menú: en Apariencia → Menús, poner la clase «nm-menu-cta» al ítem. */
.nm-menu > li.nm-menu-cta > a { background: var(--nm-orange); color: var(--nm-navy); font-weight: 700; padding: 9px 18px; border-radius: 999px; white-space: nowrap; max-width: none; transition: background .15s, color .15s; }
.nm-menu > li.nm-menu-cta > a:hover, .nm-menu > li.nm-menu-cta.current-menu-item > a { background: var(--nm-sage); color: var(--nm-navy); }
.nm-header.is-compact .nm-menu > li.nm-menu-cta { border-bottom: 0; padding-block: 12px; }
.nm-header.is-compact .nm-menu > li.nm-menu-cta > a { display: inline-block; padding: 10px 22px; }
@media (max-width: 900px) {
	.nm-menu > li.nm-menu-cta { border-bottom: 0; padding-block: 12px; }
	.nm-menu > li.nm-menu-cta > a { display: inline-block; padding: 10px 22px; }
}

/* Encuadre de fotos de cabecera: agregar la clase «nm-foto-abajo» o «nm-foto-arriba» al widget de imagen. */
.nm-site .nm-hero__img.nm-foto-abajo img { object-position: center 80%; }
.nm-site .nm-hero__img.nm-foto-arriba img { object-position: center 20%; }

/* El ítem de la página actual va en negrita: se le da un poco más de ancho para que no pase a 3 líneas. */
@media (min-width: 901px) { .nm-header:not(.is-compact) .nm-menu > li.current-menu-item > a, .nm-header:not(.is-compact) .nm-menu > li.current_page_item > a { max-width: 12.8em; } }

/* Crédito de la foto (licencias Creative Commons): pie de foto bajo la imagen de la entrada. */
.nm-single__image figcaption { margin-top: 8px; font-size: .78rem; line-height: 1.4; opacity: .7; }
.nm-single__image figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
