/* Encabezado del periódico dentro de /clima/ ("una página más, no una app").
   1) Las reglas de /css/w3.css que usa el encabezado (no se carga w3.css completo: cambiaría toda la página).
   2) Las reglas celular/computadora que en el sitio viven en un <style> de index.php.
   3) Lo que el sitio pone en atributos style="" (la limpieza los quita porque la CSP los bloquea).
   El diseño fino (azul, rojo, tamaños) lo da /css/hoy-encabezado.css del propio sitio, cargado antes. */

/* 1 · subconjunto de w3.css */
.hoy-enc .w3-container:after, .hoy-enc .w3-row:after, .hoy-enc .w3-topnav:after { content: ""; display: table; clear: both; }
.hoy-enc .w3-container { padding: 0.01em 16px; }
.hoy-enc .w3-content { max-width: 980px; margin: auto; }
.hoy-enc .w3-half { float: left; width: 49.99999%; }
.hoy-enc .w3-white { color: #000 !important; background-color: #fff !important; }
.hoy-enc .w3-center { text-align: center !important; }
.hoy-enc .w3-border { border: 1px solid #ccc !important; }
.hoy-enc .w3-black { color: #fff !important; background-color: #000 !important; }
.hoy-enc .w3-indigo { color: #fff !important; background-color: #3f51b5 !important; }
.hoy-enc .w3-red { color: #fff !important; background-color: #f44336 !important; }
.hoy-enc .w3-opennav.w3-red { background-color: #080078 !important; border-radius: 6px; } /* como hoy-encabezado.css del sitio */
.hoy-enc .w3-text-red { color: #f44336 !important; }
.hoy-enc .w3-hover-dark-grey:hover { color: #fff !important; background-color: #616161 !important; }
.hoy-enc .w3-hover-indigo:hover { color: #fff !important; background-color: #3f51b5 !important; }
.hoy-enc .w3-small { font-size: 12px !important; }
.hoy-enc .w3-medium { font-size: 15px !important; }
.hoy-enc .w3-large { font-size: 18px !important; }
.hoy-enc .w3-xlarge { font-size: 24px !important; }
.hoy-enc .w3-padding-tiny { padding: 2px 4px !important; }
.hoy-enc .w3-padding { padding: 8px 16px !important; }
.hoy-enc .w3-topnav { padding: 8px 8px; text-align: center; }
.hoy-enc .w3-topnav a { padding: 0 8px; border-bottom: 3px solid transparent; text-decoration: none !important; }
.hoy-enc .w3-sidenav { height: 100%; width: 200px; background-color: #fff; position: fixed !important; z-index: 10; overflow: auto; }
.hoy-enc .w3-sidenav a { display: block; padding: 4px 2px 4px 16px; text-decoration: none !important; }
.hoy-enc .w3-opennav, .hoy-enc .w3-closenav { color: inherit; cursor: pointer; user-select: none; }
.hoy-enc a { color: inherit; }
.hoy-enc { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.5; }

/* 2 · celular / computadora (de index.php) */
@media screen and (max-width: 600px) {
  .hoy-enc .encabezadogrande, .hoy-enc .invisiblechico { display: none; }
  .hoy-enc .encabezadochico { display: block; }
  .hoy-enc .w3-topnav a { display: block; }
}
@media only screen and (min-width: 601px) {
  .hoy-enc .encabezadogrande { display: block; }
  .hoy-enc .encabezadochico { display: none; }
}

/* 3 · lo que venía en style="" */
.hoy-enc .invisiblechico { max-width: 1024px; }
.hoy-enc #encdate .w3-half:first-child { text-align: left; }
.hoy-enc #encdate .w3-half + .w3-half { text-align: right; }
.hoy-enc .encabezadogrande > .w3-container { margin-bottom: 5px; }
.hoy-enc .encabezadogrande img { width: 500px; max-width: 100%; height: auto; }
.hoy-enc .encabezadochico a[href="/"] { display: inline-block; width: 230px; }
.hoy-enc .encabezadochico img { width: 230px; height: auto; vertical-align: bottom; }
.hoy-enc .w3-sidenav { display: none; }
.hoy-enc .w3-sidenav.abierto { display: block; width: 100%; top: 0; left: 0; }
.hoy-enc .w3-opennav:focus-visible, .hoy-enc .w3-closenav:focus-visible { outline: 3px solid #c8102e; outline-offset: 2px; }
.hoy-enc .twitter-follow-button { font-size: 12px; }
