/* nep.css — sistema de diseño del sitio Negocios y Economía PUCV
   (scopeado bajo .nep-site). Base + header/footer + noticias + listados.
   Las secciones nep-* viven en nep-sections.css. */

:root {
  --azul-oscuro: #051441;   /* tinta: títulos, footer */
  --azul: #28598d;          /* institucional */
  --azul-claro: #3f7fc0;    /* hover, enlaces */
  --amarillo: #f4ce46;      /* acento PUCV (eyebrows, subrayados) */
  --tinta: #0f2140;
  --gris: #6a7c92;
  --hueso: #eff2f9;
  --linea: #dfe6ef;
  --display: 'Roboto', system-ui, sans-serif;
  --texto: 'Roboto', system-ui, sans-serif;
  --radio: 14px;
}

/* ===== Reset y base ===== */
.nep-site * { margin: 0; padding: 0; box-sizing: border-box; }
.nep-site { scroll-behavior: smooth; font-family: var(--texto); color: var(--tinta); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.nep-site a { text-decoration: none; color: inherit; }
.nep-site img { max-width: 100%; display: block; }
.nep-site .wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.nep-site section[id], .nep-site [id].wc-anchor { scroll-margin-top: 96px; }
.nep-site h1, .nep-site h2, .nep-site h3, .nep-site h4, .nep-site h5, .nep-site h6 { font-family: var(--display); }
.nep-site .eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.nep-site h2.title { font-family: var(--display); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; color: var(--azul-oscuro); letter-spacing: -.01em; margin-top: 8px; }
.nep-site .nep-head { margin-bottom: 40px; max-width: 760px; }
.nep-site .nep-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.nep-site .nep-lead { color: var(--gris); font-size: 1.05rem; line-height: 1.7; margin-top: 14px; }
.nep-site .nep-empty { text-align: center; padding: 36px; background: var(--hueso); border-radius: var(--radio); }
.nep-site .wc-sec-hidden { display: none; }
.nep-site .wc-dark-toggle { display: none; }

/* ===== Botones ===== */
.nep-site .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .9rem; padding: 12px 24px; border-radius: 999px; transition: .22s; cursor: pointer; border: none; line-height: 1.2; }
.nep-site .btn-primary { background: var(--azul); color: #fff; box-shadow: none; }
.nep-site .btn-primary:hover { background: var(--azul-oscuro); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5, 20, 65, .18); }
.nep-site .btn-ghost { background: transparent; color: var(--azul); border: 1.5px solid var(--azul); }
.nep-site .btn-ghost:hover { background: var(--azul); color: #fff; transform: translateY(-2px); }
.nep-site .btn-light { background: #fff; color: var(--azul); }
.nep-site .btn-light:hover { background: var(--amarillo); color: var(--azul-oscuro); transform: translateY(-2px); }
.nep-site .btn:active { transform: translateY(0) scale(.97); }

/* Neutraliza reglas de public.css que colisionan */
.nep-site .hero { min-height: 0; display: block; align-items: normal; justify-content: normal; }
.nep-site .hero::before { width: auto; height: auto; animation: none; transform: none; }

/* ===== Header ===== */
.nep-site header.nep-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.nep-site header .wrap { max-width: 1400px; }
.nep-site .nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 40px; }
.nep-site .nav .brand { display: flex; align-items: center; flex-shrink: 0; }
.nep-site .brand-logo { height: 56px; width: auto; display: block; }
.nep-site nav.menu { display: flex; gap: 2px; margin-left: auto; }
.nep-site nav.menu > a, .nep-site nav.menu .menu-item > a { position: relative; display: inline-flex; align-items: center; white-space: nowrap; font-weight: 500; font-size: .92rem; color: var(--tinta); padding: 8px 13px; border-radius: 8px; transition: background .2s, color .2s; }
.nep-site nav.menu > a:hover, .nep-site nav.menu .menu-item:hover > a { background: var(--hueso); color: var(--azul); }
.nep-site nav.menu a.active { color: var(--azul); font-weight: 600; }
.nep-site nav.menu a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nep-site nav.menu a:hover::after, .nep-site nav.menu a.active::after { transform: scaleX(1); }
.nep-site nav.menu .menu-item { position: relative; display: flex; align-items: center; }
.nep-site nav.menu .menu-item .caret { font-size: .7em; margin-left: 5px; transition: transform .2s; line-height: 1; }
.nep-site nav.menu .menu-item:hover .caret { transform: rotate(180deg); }
.nep-site nav.menu .menu-item::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.nep-site nav.menu .submenu { position: absolute; top: 100%; left: 0; transform: translateY(10px); min-width: 250px; background: #fff; border: 1px solid var(--linea); border-radius: 12px; box-shadow: 0 18px 44px rgba(5, 20, 65, .14); padding: 8px; margin-top: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60; }
.nep-site nav.menu .menu-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(4px); }
.nep-site nav.menu .submenu a { padding: 9px 12px; border-radius: 8px; font-size: .88rem; font-weight: 500; white-space: nowrap; color: var(--tinta); }
.nep-site nav.menu .submenu a::after { display: none !important; }
.nep-site nav.menu .submenu a:hover { background: var(--azul); color: #fff; }
.nep-site .nav-actions { display: flex; align-items: center; gap: 12px; }
.nep-site .menu-toggle { display: none; place-items: center; width: 46px; height: 46px; border-radius: 9px; border: 1.5px solid var(--linea); background: #fff; cursor: pointer; font-size: 1.3rem; color: var(--azul); }
@media (max-width: 1320px) { .nep-site nav.menu > a, .nep-site nav.menu .menu-item > a { font-size: .86rem; padding: 8px 9px; } .nep-site .nav { gap: 24px; } }
@media (max-width: 1180px) { .nep-site nav.menu { display: none; } .nep-site .menu-toggle { display: grid; } }
@media (max-width: 600px) { .nep-site .brand-logo { height: 44px; } .nep-site .nav { height: 72px; } }

/* Menú móvil (site.js alterna .hidden y body.eib-menu-open) */
.nep-site .eib-mobile-menu { position: fixed; top: var(--eib-header-h, 84px); left: 0; right: 0; max-height: calc(100dvh - var(--eib-header-h, 84px)); overflow-y: auto; z-index: 49; display: flex; flex-direction: column; padding: 8px 28px 24px; background: #fff; border-bottom: 1px solid var(--linea); box-shadow: 0 24px 48px rgba(5, 20, 65, .18); }
.nep-site .eib-mobile-menu.hidden { display: none; }
.nep-site .eib-mobile-menu a { padding: 13px 0; font-weight: 600; font-size: 1rem; color: var(--tinta); border-bottom: 1px solid var(--linea); }
.nep-site .eib-mobile-menu a.mm-sub { padding-left: 20px; font-size: .92rem; font-weight: 500; color: var(--gris); }
.nep-site .eib-mobile-menu a.mm-cta { margin-top: 14px; border-bottom: none; text-align: center; background: var(--azul); color: #fff; border-radius: 999px; padding: 13px; }
body.eib-menu-open { overflow: hidden; }
body.eib-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(5, 20, 65, .45); z-index: 48; }
body.eib-menu-open .top-btn { display: none !important; }
@media (min-width: 1181px) { .nep-site .eib-mobile-menu { display: none !important; } }

/* ===== Footer ===== */
.nep-site footer.nep-footer { background: var(--hueso); color: var(--gris); padding: 64px 0 28px; font-size: .92rem; border-top: 1px solid var(--linea); }
.nep-site .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; align-items: start; }
.nep-site .foot-grid h4 { color: var(--azul-oscuro); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.nep-site .foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nep-site .foot-grid li { position: relative; padding-left: 14px; line-height: 1.5; }
.nep-site .foot-grid li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--azul); }
.nep-site .foot-grid a:hover { color: var(--azul); text-decoration: underline; }
.nep-site .foot-brand .foot-logo { height: 76px; width: auto; margin-bottom: 18px; }
.nep-site .foot-brand p { max-width: 26em; line-height: 1.6; }
.nep-site .foot-bottom { border-top: 1px solid var(--linea); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .84rem; }
.nep-site .foot-social a { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linea); background: #fff; color: var(--azul); font-weight: 600; font-size: .8rem; margin-right: 6px; transition: .2s; }
.nep-site .foot-social a:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
@media (max-width: 980px) { .nep-site .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .nep-site .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .nep-site footer.nep-footer { padding: 48px 0 24px; } .nep-site .foot-grid { grid-template-columns: 1fr; gap: 28px; } .nep-site .foot-bottom { flex-direction: column; align-items: flex-start; } }

/* Volver arriba (site.js alterna display) */
.nep-site .top-btn { display: none; position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--azul); color: #fff; border: none; font-size: 1.2rem; cursor: pointer; box-shadow: 0 10px 30px rgba(40, 89, 141, .4); align-items: center; justify-content: center; z-index: 80; transition: .2s; }
.nep-site .top-btn:hover { background: var(--azul-oscuro); }
.nep-site .top-btn:active { transform: scale(.92); }

/* ===== Formularios ===== */
.nep-site .form .row, .nep-site .nep-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nep-site .field { margin-bottom: 16px; }
.nep-site .field label { display: block; font-size: .82rem; font-weight: 600; color: var(--azul-oscuro); margin-bottom: 6px; }
.nep-site .field input, .nep-site .field select, .nep-site .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--linea); border-radius: 10px; font-family: var(--texto); font-size: .95rem; color: var(--tinta); background: #fff; transition: .2s; }
.nep-site .field input:focus, .nep-site .field select:focus, .nep-site .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(40, 89, 141, .14); }
.nep-site .field textarea { resize: vertical; min-height: 120px; }
.nep-site .field .err { color: #d23b3b; font-size: .78rem; margin-top: 5px; display: none; }
.nep-site .field.invalid input, .nep-site .field.invalid textarea { border-color: #d23b3b; }
.nep-site .field.invalid .err { display: block; }
.nep-site .form-ok { display: none; text-align: center; padding: 30px 10px; }
.nep-site .form-ok .ck { width: 64px; height: 64px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 16px; }
.nep-site .form-ok h3 { color: var(--azul-oscuro); font-size: 1.4rem; }
.nep-site .form-ok p { color: var(--gris); margin-top: 8px; }
@media (max-width: 600px) { .nep-site .form .row, .nep-site .nep-form .row { grid-template-columns: 1fr; } }

/* ===== Listado automático (eib-listado: docentes / noticias / lista) ===== */
.nep-site .docentes, .nep-site .news, .nep-site .alumni { padding: 80px 0; }
.nep-site .docentes { background: var(--hueso); }
.nep-site .buscas-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.nep-site .doc-intro { color: var(--gris); max-width: 46em; margin: 12px 0 8px; line-height: 1.7; }
.nep-site .prog-sub { display: flex; align-items: center; gap: 14px; margin: 40px 0 18px; }
.nep-site .prog-tag { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-oscuro); background: #fff; border: 1px solid var(--linea); padding: 6px 16px; border-radius: 20px; }
.nep-site .prog-sub::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
.nep-site .doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 12px; }
.nep-site .doc-card { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.nep-site .doc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(40, 89, 141, .14); border-color: transparent; }
.nep-site .doc-photo { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: top; display: block; background: #dde7f0; }
.nep-site .doc-photo-empty { display: grid; place-items: center; font-weight: 700; font-size: 2.4rem; color: var(--azul); background: linear-gradient(135deg, #e7eef6, #dfe9f3); }
.nep-site .doc-body { padding: 14px 16px 10px; }
.nep-site .doc-name { font-weight: 700; font-size: 1rem; color: var(--azul-oscuro); line-height: 1.25; }
.nep-site .doc-role { font-size: .78rem; color: var(--gris); margin-top: 4px; }
.nep-site .doc-more { display: block; padding: 0 16px 14px; font-size: .76rem; font-weight: 700; color: var(--azul); margin-top: auto; }
.nep-site .news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.nep-site .eib-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nep-site .ncard { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); background: #fff; transition: .25s; display: flex; flex-direction: column; }
.nep-site .ncard:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(40, 89, 141, .12); }
.nep-site .ncard .ph { height: 210px; background-color: var(--azul); background-size: cover; background-position: center; }
.nep-site .ncard .ph.ph-empty { background-image: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro)) !important; }
.nep-site .ncard .nb { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.nep-site .ncard .cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--azul); }
.nep-site .ncard h3 { font-weight: 700; font-size: 1.1rem; color: var(--azul-oscuro); margin: 8px 0 10px; line-height: 1.3; }
.nep-site .ncard .nexcerpt { font-size: .9rem; color: var(--gris); line-height: 1.55; margin: 0 0 12px; }
.nep-site .ncard time, .nep-site .ncard .ntime { font-size: .8rem; color: var(--gris); margin-top: auto; }
.nep-site .al-news-list { display: flex; flex-direction: column; gap: 12px; }
.nep-site .al-news-item { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px 22px; transition: .22s; color: var(--tinta); }
.nep-site .al-news-item:hover { border-color: var(--azul); }
.nep-site .al-news-name { font-weight: 700; font-size: 1.1rem; color: var(--azul-oscuro); }
.nep-site .al-news-role { color: var(--gris); font-size: .9rem; flex: 1; }
.nep-site .al-news-cta { margin-left: auto; font-weight: 700; color: var(--azul); font-size: .88rem; white-space: nowrap; }
@media (max-width: 980px) { .nep-site .doc-grid { grid-template-columns: repeat(3, 1fr); } .nep-site .news-grid, .nep-site .eib-news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nep-site .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .nep-site .news-grid, .nep-site .eib-news-grid { grid-template-columns: 1fr; } }

/* ===== Noticias: listado (/blog) y artículo (plantilla "nep") ===== */
.nep-site .eib-news-list { padding: 56px 0 96px; background: #fff; }
.nep-site .eib-news-head { max-width: 720px; margin-bottom: 8px; }
.nep-site .eib-news-head h1.title { font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--azul-oscuro); margin: 10px 0 12px; }
.nep-site .eib-news-head .lead { color: var(--gris); font-size: 1.05rem; }
.nep-site .eib-news-list .eib-news-grid { margin-top: 42px; }
.nep-site .eib-news-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.nep-site .eib-news-pagination .pg { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--linea); background: #fff; color: var(--azul); font-weight: 600; font-size: .88rem; transition: .2s; }
.nep-site .eib-news-pagination a.pg:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.nep-site .eib-news-pagination .pg-active { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: #fff; }
.nep-site .eib-news-pagination .pg-disabled { opacity: .45; }
.nep-site .eib-news-empty { margin-top: 40px; padding: 40px; border-radius: var(--radio); background: var(--hueso); text-align: center; }
.nep-site .eib-news-empty p { color: var(--gris); margin-bottom: 18px; font-size: 1.05rem; }
.nep-site .eib-post-head { background: linear-gradient(120deg, var(--azul-oscuro) 0%, var(--azul) 70%, var(--azul-claro) 100%); color: #fff; padding: 52px 0 64px; }
.nep-site .eib-post-head .wrap { max-width: 900px; }
.nep-site .eib-post-back { display: inline-block; font-size: .85rem; font-weight: 600; color: #cfe1f2; margin-bottom: 22px; transition: .2s; }
.nep-site .eib-post-back:hover { color: #fff; }
.nep-site .eib-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.nep-site .eib-post-meta .cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amarillo); }
.nep-site .eib-post-meta time { font-size: .85rem; color: #cfe1f2; }
.nep-site .eib-post-head h1 { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; color: #fff; }
.nep-site .eib-post-excerpt { margin-top: 16px; font-size: 1.1rem; line-height: 1.6; color: #e3eef8; max-width: 760px; }
.nep-site .eib-post-figure { max-width: 900px; margin-top: -32px; }
.nep-site .eib-post-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 44px rgba(5, 20, 65, .16); }
.nep-site .eib-post-body { max-width: 780px; padding-top: 44px; padding-bottom: 64px; }
.nep-site .eib-post-content { font-size: 1.05rem; line-height: 1.8; color: var(--tinta); }
.nep-site .eib-post-content p { margin: 0 0 1.2em; }
.nep-site .eib-post-content h2, .nep-site .eib-post-content h3 { font-weight: 700; color: var(--azul-oscuro); line-height: 1.25; margin: 1.6em 0 .6em; }
.nep-site .eib-post-content h2 { font-size: 1.6rem; }
.nep-site .eib-post-content h3 { font-size: 1.25rem; }
.nep-site .eib-post-content ul, .nep-site .eib-post-content ol { margin: 0 0 1.2em 1.4em; }
.nep-site .eib-post-content li { margin-bottom: .4em; }
.nep-site .eib-post-content a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }
.nep-site .eib-post-content img { border-radius: 12px; margin: 1.4em auto; max-width: 100%; height: auto; }
.nep-site .eib-post-content figure { margin: 1.4em 0; }
.nep-site .eib-post-content figcaption { font-size: .85rem; color: var(--gris); text-align: center; margin-top: 8px; }
.nep-site .eib-post-content blockquote { margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--amarillo); background: var(--hueso); border-radius: 0 12px 12px 0; font-style: italic; color: var(--gris); }
.nep-site .eib-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nep-site .eib-post-tags span { padding: 5px 12px; border-radius: 999px; background: var(--hueso); color: var(--azul); font-size: .8rem; font-weight: 600; }
.nep-site .eib-post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--linea); font-size: .88rem; color: var(--gris); }
.nep-site .eib-post-share a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linea); color: var(--azul); font-weight: 600; transition: .2s; }
.nep-site .eib-post-share a:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.nep-site .eib-post-related { padding: 64px 0 96px; background: var(--hueso); }
@media (max-width: 600px) { .nep-site .eib-news-list { padding: 40px 0 64px; } .nep-site .eib-post-head { padding: 36px 0 48px; } .nep-site .eib-post-figure { margin-top: -20px; } }

/* ===== Buscador (/buscar) ===== */
.nep-site .eib-search { padding: 56px 0 96px; }
.nep-site .eib-search .wrap { max-width: 860px; }
.nep-site .eib-search-head h1.title { font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--azul-oscuro); margin: 10px 0; }
.nep-site .eib-search-head .lead { color: var(--gris); }
.nep-site .eib-search-form { display: flex; gap: 10px; margin: 26px 0 40px; }
.nep-site .eib-search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1.5px solid var(--linea); border-radius: 10px; background: var(--hueso); font: inherit; font-size: 1.02rem; outline: none; }
.nep-site .eib-search-form input:focus { border-color: var(--azul); background: #fff; }
.nep-site .eib-search-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.nep-site .eib-search-item { position: relative; padding: 20px 22px 18px; border: 1px solid var(--linea); border-radius: var(--radio); background: #fff; }
.nep-site .eib-search-type { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); background: var(--hueso); }
.nep-site .eib-search-item h2 { font-weight: 700; font-size: 1.25rem; color: var(--azul-oscuro); margin: 0 0 6px; }
.nep-site .eib-search-item h2 a::after { content: ""; position: absolute; inset: 0; }
.nep-site .eib-search-snippet { color: var(--gris); font-size: .95rem; }
.nep-site .eib-search-snippet mark { background: #fdf1cf; padding: 0 2px; }
.nep-site .eib-search-url { display: block; font-size: .78rem; color: #8aa0b3; word-break: break-all; }
.nep-site .eib-search-empty { padding: 28px; border-radius: var(--radio); background: var(--hueso); }
.nep-site .eib-search-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.nep-site .eib-search-links a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--linea); color: var(--azul); font-weight: 600; font-size: .88rem; }

/* Redes sociales del footer como íconos circulares (como el sitio original) */
.nep-site .foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.nep-site .foot-social a.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; margin: 0; border-radius: 50%; border: 1px solid var(--linea); background: #fff; color: var(--azul); transition: .2s; }
.nep-site .foot-social a.social-icon:hover { background: var(--azul); border-color: var(--azul); color: #fff; transform: translateY(-2px); }
