/* Modo portal completo: aspecto propio, independiente del tema (igual que la demo). */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

body.iesp-modo-portal { margin: 0; background: #fff; color: #1f2933; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.iesp-modo-portal *, body.iesp-modo-portal *::before, body.iesp-modo-portal *::after { box-sizing: border-box; }
body.iesp-modo-portal .iesp, body.iesp-modo-portal input, body.iesp-modo-portal select, body.iesp-modo-portal textarea, body.iesp-modo-portal button { font-family: inherit; }
body.iesp-modo-portal a { color: var(--iesp-primary); }
body.iesp-modo-portal img { max-width: 100%; height: auto; }
.iesp-saltar { position: absolute; left: -9999px; }
.iesp-saltar:focus { left: 12px; top: 12px; z-index: 100005; background: #fff; padding: 8px 12px; }

.iesp-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1400px; margin: 0 auto; padding: 22px clamp(16px, 3.6vw, 50px); }
body.iesp-modo-portal .iesp-cab-logo { color: #111827; text-decoration: none; }
.iesp-cab-nav { display: flex; gap: 22px; }
body.iesp-modo-portal .iesp-cab-nav a { color: #111827; text-decoration: none; font-size: 17px; font-weight: 400; }
body.iesp-modo-portal .iesp-cab-nav a:hover, body.iesp-modo-portal .iesp-cab-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

.iesp-main { display: block; min-height: 50vh; }
.iesp-contenedor { max-width: 1200px; margin: 0 auto; padding: 8px 20px 0; }
body.iesp-modo-portal .iesp-titulo-pag { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 28px 0 28px; color: #111827; }
body.iesp-modo-portal .iesp-portada .iesp-hero { margin-top: 0 !important; }
body.iesp-modo-portal .iesp-pie { margin-top: 72px; }

/* En el modo portal no hace falta romper el ancho del tema */
body.iesp-modo-portal .iesp-portada { margin: 0; }
@media (max-width: 640px) {
	.iesp-cab { padding: 16px; }
	body.iesp-modo-portal .iesp-cab-logo { transform: scale(.88); transform-origin: left center; }
	body.iesp-modo-portal .iesp-cab-nav a { font-size: 15px; }
}
body.iesp-modo-portal .iesp-portada .iesp-bloque { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
