/* Electric Control — newsroom editorial system. */
body.ec-news-editorial {
  --news-navy: #0f1c2e;
  --news-green: #7dbf2a;
  --news-line: #d5d9de;
  color: var(--news-navy);
  background: #fff;
  background-image: none;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
}
body.ec-news-editorial .ec-page-hero--premium {
  min-height: max(620px,min(720px,76svh));
  padding: clamp(170px,19vh,210px) 0 clamp(76px,9vw,118px);
  align-items: flex-end;
  background-image: linear-gradient(90deg,rgba(15,28,46,.94),rgba(15,28,46,.68) 54%,rgba(15,28,46,.14)),linear-gradient(0deg,rgba(15,28,46,.4),transparent 55%),url('/assets/public/heroes/hero-proyectos.jpg');
  background-position: center,center,center 48%;
  border: 0;
}
body.ec-news-editorial .ec-page-hero--premium::before,
body.ec-news-editorial .ec-page-hero--premium::after { display: none; }
body.ec-news-editorial .ec-page-hero--premium .ec-container { width: min(100% - 96px,1440px); }
body.ec-news-editorial .ec-page-hero--premium .ec-breadcrumb { margin-bottom: 30px; }
body.ec-news-editorial .ec-page-hero--premium .ec-heading-xl {
  max-width: 1050px; margin: 0 0 22px; color: #fff;
  font-size: clamp(3.5rem,8vw,7.6rem); line-height: .96; letter-spacing: -.075em;
}
body.ec-news-editorial .ec-page-hero--premium .ec-highlight { background: none; color: var(--news-green); -webkit-text-fill-color: currentColor; }
body.ec-news-editorial .ec-page-hero--premium .ec-subtitle { max-width: 680px; color: rgba(255,255,255,.82); font-size: clamp(1rem,1.35vw,1.16rem); line-height: 1.8; }
body.ec-news-editorial .ec-section { padding: clamp(64px,8vw,104px) 0; }
body.ec-news-editorial #noticias-list {
  display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 28px;
}
body.ec-news-editorial .ec-news-card {
  grid-column: span 4; display: flex; flex-direction: column; min-width: 0;
  overflow: hidden; border: 0; border-top: 1px solid var(--news-line); border-radius: 0;
  background: #fff; box-shadow: none; cursor: pointer; transition: transform .25s ease;
}
body.ec-news-editorial .ec-news-card:first-child { grid-column: span 8; grid-row: span 2; }
body.ec-news-editorial .ec-news-card:hover { transform: translateY(-5px); }
body.ec-news-editorial .ec-news-card__cover { height: 240px; flex: none; background-color: #e6e8eb; }
body.ec-news-editorial .ec-news-card:first-child .ec-news-card__cover { height: 440px; }
body.ec-news-editorial .ec-news-card__body { padding: 22px 2px 26px; }
body.ec-news-editorial .ec-news-card .ec-badge { display: inline-flex; margin-bottom: 12px; padding: 7px 10px; border-radius: 0; background: #edf3e6; color: #456d17; font-size: .62rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
body.ec-news-editorial .ec-news-card .ec-heading-sm { color: var(--news-navy); font-size: 1.25rem; line-height: 1.35; letter-spacing: -.035em; }
body.ec-news-editorial .ec-news-card:first-child .ec-heading-sm { max-width: 720px; font-size: clamp(1.8rem,3vw,3rem); line-height: 1.12; }
body.ec-news-editorial .ec-news-card .ec-body-sm { max-width: 650px; color: #626d79 !important; line-height: 1.75; }
body.ec-news-editorial .ec-news-card__date { margin-top: 18px; color: #69727d; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.ec-news-editorial #noticia-hero-section { background-image: linear-gradient(90deg,rgba(15,28,46,.94),rgba(15,28,46,.68) 54%,rgba(15,28,46,.14)),linear-gradient(0deg,rgba(15,28,46,.4),transparent 55%),var(--ec-hero-bg,url('/assets/public/heroes/hero-proyectos.jpg')); }
body.ec-news-editorial #noticia-content { padding: clamp(24px,5vw,64px) !important; border: 0; border-left: 3px solid var(--news-green); border-radius: 0; background: #f5f6f7; box-shadow: none; color: #384451; font-size: 1.05rem; line-height: 1.95; }
body.ec-news-editorial #noticia-content p + p { margin-top: 1.2em; }
@media (max-width: 900px) {
  body.ec-news-editorial #noticias-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  body.ec-news-editorial .ec-news-card, body.ec-news-editorial .ec-news-card:first-child { grid-column: span 1; grid-row: auto; }
  body.ec-news-editorial .ec-news-card:first-child .ec-news-card__cover { height: 260px; }
}
@media (max-width: 620px) {
  body.ec-news-editorial .ec-page-hero--premium .ec-container { width: min(100% - 40px,1440px); }
  body.ec-news-editorial .ec-page-hero--premium .ec-heading-xl { font-size: clamp(3rem,15vw,5rem); }
  body.ec-news-editorial #noticias-list { grid-template-columns: 1fr; gap: 20px; }
  body.ec-news-editorial .ec-news-card:first-child .ec-news-card__cover, body.ec-news-editorial .ec-news-card__cover { height: 235px; }
}
