
/* El Minuto - Lo + Comentado 2.0.3 */
.em-lmc{
  --em-accent:#107ACC;
  --em-ink:#111827;
  --em-muted:#5f6670;
  --em-border:rgba(16,122,204,.22);
  width:100%;
  max-width:none;
  margin:0 auto;
  padding:18px 0 24px;
  box-sizing:border-box;
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.em-lmc *{box-sizing:border-box}
.em-lmc__head{
  display:flex; align-items:center; gap:14px;
  margin:0 0 18px;
  min-width:0;
}
.em-lmc__title{
  flex:0 0 auto; margin:0;
  font:600 clamp(20px,2vw,27px)/1.1 "Poppins",sans-serif !important;
  letter-spacing:-.025em;
  color:var(--em-ink) !important;
}
.em-lmc__title strong{color:var(--em-accent);font-weight:600}
.em-lmc__rule{height:2px;background:var(--em-accent);flex:1;min-width:30px;border-radius:99px;opacity:.95}
.em-lmc__arrow{color:var(--em-accent);font-size:34px;line-height:1;font-weight:300}
.em-lmc__scroller{width:100%;overflow:visible;outline:none}
.em-lmc__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}
.em-lmc__card{min-width:0}
.em-lmc__image-link{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:2px;
  background:#e9edf2;
}
.em-lmc__image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.em-lmc__image-link:hover .em-lmc__image{transform:scale(1.025)}
.em-lmc__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#dfe6ee,#eef2f6)}
.em-lmc__date{
  margin-top:9px;
  color:var(--em-muted) !important;
  font-size:13px;
  font-weight:400;
  line-height:1.35;
}
.em-lmc__headline{margin:5px 0 0;font-size:16px;line-height:1.35;font-weight:500 !important;letter-spacing:-.01em}
.em-lmc__headline a{color:var(--em-ink) !important;text-decoration:none !important}
.em-lmc__headline a:hover{color:var(--em-accent) !important}
.em-lmc__comments{
  margin-top:6px;
  color:var(--em-accent) !important;
  font-size:13px;
  line-height:1.3;
  font-weight:500;
}
@media (prefers-color-scheme:dark){
  .em-lmc{--em-ink:#f7f9fc;--em-muted:#aeb8c5;--em-border:rgba(16,122,204,.35)}
}
body.dark .em-lmc,
body.dark-mode .em-lmc,
html.dark .em-lmc,
[data-theme="dark"] .em-lmc{
  --em-ink:#f7f9fc;--em-muted:#aeb8c5;--em-border:rgba(16,122,204,.35);
}
body.light .em-lmc,
body.light-mode .em-lmc,
html.light .em-lmc,
[data-theme="light"] .em-lmc{
  --em-ink:#111827;--em-muted:#5f6670;
}
@media(max-width:900px){
  .em-lmc{padding:14px 0 18px}
  .em-lmc__head{gap:9px;margin-bottom:13px}
  .em-lmc__title{font-size:20px !important}
  .em-lmc__arrow{font-size:28px}
  .em-lmc__scroller{
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding-bottom:3px;
  }
  .em-lmc__scroller::-webkit-scrollbar{display:none}
  .em-lmc__grid{
    display:flex;
    gap:14px;
    width:max-content;
  }
  .em-lmc__card{
    flex:0 0 min(78vw,310px);
    width:min(78vw,310px);
    scroll-snap-align:start;
  }
  .em-lmc__date{font-size:12px;margin-top:7px;white-space:nowrap}
  .em-lmc__headline{font-size:14px;line-height:1.35;margin-top:4px}
  .em-lmc__comments{font-size:12px;margin-top:5px}
}
@media(max-width:480px){
  .em-lmc__card{flex-basis:76vw;width:76vw}
}
@media(prefers-reduced-motion:reduce){
  .em-lmc__image{transition:none}
}


@media (min-width:901px){
  .em-lmc{
    max-width:1120px;
    padding:22px 24px 26px;
    border:1px solid rgba(16,122,204,.18);
    border-radius:12px;
    background:rgba(255,255,255,.72);
    box-shadow:0 8px 28px rgba(10,35,65,.06);
  }
  body.dark .em-lmc,
  body.dark-mode .em-lmc,
  html.dark .em-lmc,
  [data-theme="dark"] .em-lmc{
    background:rgba(5,24,50,.72);
    border-color:rgba(16,122,204,.28);
  }
}


/* v2.0.2 — contraste DARK blindado */
@media (prefers-color-scheme: dark) {
  .em-lmc .em-lmc__title,
  .em-lmc .em-lmc__title span,
  .em-lmc .em-lmc__headline,
  .em-lmc .em-lmc__headline a {
    color:#ffffff !important;
  }
  .em-lmc .em-lmc__title strong,
  .em-lmc .em-lmc__arrow {
    color:#107ACC !important;
  }
  .em-lmc .em-lmc__date {
    color:#b9c2ce !important;
  }
}
body.dark .em-lmc .em-lmc__title,
body.dark .em-lmc .em-lmc__title span,
body.dark .em-lmc .em-lmc__headline,
body.dark .em-lmc .em-lmc__headline a,
body.dark-mode .em-lmc .em-lmc__title,
body.dark-mode .em-lmc .em-lmc__title span,
body.dark-mode .em-lmc .em-lmc__headline,
body.dark-mode .em-lmc .em-lmc__headline a,
html.dark .em-lmc .em-lmc__title,
html.dark .em-lmc .em-lmc__title span,
html.dark .em-lmc .em-lmc__headline,
html.dark .em-lmc .em-lmc__headline a,
[data-theme="dark"] .em-lmc .em-lmc__title,
[data-theme="dark"] .em-lmc .em-lmc__title span,
[data-theme="dark"] .em-lmc .em-lmc__headline,
[data-theme="dark"] .em-lmc .em-lmc__headline a {
  color:#ffffff !important;
}
body.dark .em-lmc .em-lmc__title strong,
body.dark .em-lmc .em-lmc__arrow,
body.dark-mode .em-lmc .em-lmc__title strong,
body.dark-mode .em-lmc .em-lmc__arrow,
html.dark .em-lmc .em-lmc__title strong,
html.dark .em-lmc .em-lmc__arrow,
[data-theme="dark"] .em-lmc .em-lmc__title strong,
[data-theme="dark"] .em-lmc .em-lmc__arrow {
  color:#107ACC !important;
}
body.dark .em-lmc .em-lmc__date,
body.dark-mode .em-lmc .em-lmc__date,
html.dark .em-lmc .em-lmc__date,
[data-theme="dark"] .em-lmc .em-lmc__date {
  color:#b9c2ce !important;
}

/* LIGHT permanece como en v2.0.1 */
body.light .em-lmc .em-lmc__title,
body.light .em-lmc .em-lmc__title span,
body.light .em-lmc .em-lmc__headline a,
body.light-mode .em-lmc .em-lmc__title,
body.light-mode .em-lmc .em-lmc__title span,
body.light-mode .em-lmc .em-lmc__headline a,
html.light .em-lmc .em-lmc__title,
html.light .em-lmc .em-lmc__title span,
html.light .em-lmc .em-lmc__headline a,
[data-theme="light"] .em-lmc .em-lmc__title,
[data-theme="light"] .em-lmc .em-lmc__title span,
[data-theme="light"] .em-lmc .em-lmc__headline a {
  color:#111827 !important;
}
body.light .em-lmc .em-lmc__title strong,
body.light-mode .em-lmc .em-lmc__title strong,
html.light .em-lmc .em-lmc__title strong,
[data-theme="light"] .em-lmc .em-lmc__title strong {
  color:#107ACC !important;
}


/* v2.0.3 — DARK móvil detectado por el propio módulo */
@media (max-width:900px){
  .em-lmc.em-lmc--dark-mobile .em-lmc__title,
  .em-lmc.em-lmc--dark-mobile .em-lmc__title span,
  .em-lmc.em-lmc--dark-mobile .em-lmc__headline,
  .em-lmc.em-lmc--dark-mobile .em-lmc__headline a{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
  }
  .em-lmc.em-lmc--dark-mobile .em-lmc__title strong,
  .em-lmc.em-lmc--dark-mobile .em-lmc__arrow{
    color:#107ACC !important;
    -webkit-text-fill-color:#107ACC !important;
  }
  .em-lmc.em-lmc--dark-mobile .em-lmc__date{
    color:#b9c2ce !important;
    -webkit-text-fill-color:#b9c2ce !important;
  }
  .em-lmc.em-lmc--light-mobile .em-lmc__title,
  .em-lmc.em-lmc--light-mobile .em-lmc__title span,
  .em-lmc.em-lmc--light-mobile .em-lmc__headline,
  .em-lmc.em-lmc--light-mobile .em-lmc__headline a{
    color:#111827 !important;
    -webkit-text-fill-color:#111827 !important;
  }
  .em-lmc.em-lmc--light-mobile .em-lmc__title strong,
  .em-lmc.em-lmc--light-mobile .em-lmc__arrow{
    color:#107ACC !important;
    -webkit-text-fill-color:#107ACC !important;
  }
  .em-lmc.em-lmc--light-mobile .em-lmc__date{
    color:#5f6670 !important;
    -webkit-text-fill-color:#5f6670 !important;
  }
}
