/* v2 (2026-11): centrado, menu algo mayor y version movil. El diseno original no se toca. */
.marco { width: auto; margin: 0 auto; }
.marco .relleno { display: none !important; }
.marco .navegador, .marco .navegador:hover { font-size: 13px; }
.banda { text-align: right; line-height: 0; }
.hamburguesa { display: none; }
/* toda la fila del menu es el enlace, no solo el texto */
.c-menu td[height="24"] { position: relative; cursor: pointer; }
.c-menu td[height="24"] a.navegador::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

@media (max-width: 700px) {
  .marco, .marco > tbody, .marco > tbody > tr, .marco > tbody > tr > td {
    display: block; width: auto !important; height: auto !important;
  }
  .marco > tbody > tr { display: flex; flex-wrap: wrap; }
  .c-logo, .c-flash, .p-der { display: none !important; }
  .c-top { flex: 1 1 100%; position: relative; }
  .hamburguesa {
    display: block; position: absolute; top: 6px; right: 8px; z-index: 2;
    width: 44px; height: 44px; line-height: 42px; text-align: center;
    font: bold 26px Arial, Helvetica, sans-serif; color: #FFFFFF; text-decoration: none;
    background: #663365; border: 1px solid #D9E3F0;
  }
  .hamburguesa:hover, .hamburguesa:focus { background: #628ABF; color: #FFFFFF; }
  html { scroll-behavior: smooth; }
  .c-top img { width: 100%; height: auto; }
  .c-centro { order: 1; flex: 1 1 100%; }
  .c-izq { order: 2; flex: 1 1 50%; }
  .c-der { order: 3; flex: 1 1 50%; border-left: 1px solid #FFFFFF !important; box-sizing: border-box; }
  .c-centro table { width: 100% !important; height: auto !important; }
  .c-centro img { max-width: 100%; height: auto; }
  /* titulo de la galeria y anterior/siguiente: uno debajo del otro */
  .c-centro td[width="300"], .c-centro td[width="300"] + td { display: block; width: auto !important; }
  .c-centro td[width="300"] + td { padding: 4px 0; }
  .c-centro .vinculo { white-space: nowrap; }
  .c-menu table { height: auto !important; }
  .c-menu td[height="24"] { height: 36px; }
  .marco .navegador, .marco .navegador:hover { font-size: 14px; }
  .p-izq { flex: 0 0 auto; padding: 0 8px; }
  .p-centro { flex: 1 1 0; padding: 4px 8px; }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
