/* /var/www/html/jdserver/2026/modules/climate_pro_extremes/climate_pro_extremes.css
 * JDServer-Webs v6.8.0 — climate_pro_extremes.css
 * Extremos de la serie (records) — theme-safe (auto/claro/oscuro) + Safari/iOS safe
 */

#climate-pro-extremes{
  margin: 18px 0 64px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;

  /* base + coherencia en auto */
  color: var(--text, inherit);
  color-scheme: light dark;
}

.climatepro-extremes{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-1);
  padding: 14px 18px 16px;

  /* base text: evita herencias raras en auto */
  color: var(--text, inherit);
}

.cpe-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cpe-title{
  margin:0;
  font-size:1.05rem;
  font-weight:600;
  color: var(--text, inherit);
}

.cpe-sub{
  margin:3px 0 0;
  font-size:.88rem;
  color:var(--muted);
}

.cpe-range{
  font-size:.84rem;
  color:var(--muted);
  white-space:nowrap;
}

.cpe-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  margin-top:6px;
}

.cpe-item{
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--bg-elevated, var(--card));
  padding:8px 10px;

  /* base */
  color: var(--text, inherit);
}

.cpe-item-title{
  font-size:.9rem;
  font-weight:500;
  color: var(--text, inherit);
}

.cpe-item-main{
  margin-top:4px;
  font-size:1.02rem;
  color: var(--text, inherit);
}

.cpe-item-note{
  margin-top:2px;
  font-size:.8rem;
  color:var(--muted);
}

.cpe-empty{
  font-size:.9rem;
  color:var(--muted);
}

@media (max-width: 760px){
  .cpe-grid{ grid-template-columns:minmax(0,1fr); }
  .cpe-range{ white-space: normal; } /* que no rompa en móvil */
}

@media (max-width: 520px){
  .climatepro-extremes{ padding-inline:12px; }
}
