/* Layout base del sitio publico: nav, footer, banner de cookies.
   Ancho completo en escritorio (grid/columnas), apilado en celular. */

body { margin: 0; }

a { color: var(--rio); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Barra superior de utilidad ---- */
.gwsite-utility {
  display: flex; justify-content: flex-end; gap: 18px;
  padding: 8px 24px; background: var(--paper-soft); border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-soft);
}
.gwsite-utility a { color: var(--ink-soft); }

/* ---- Menu de pestañas: siempre una sola fila que se desliza
   horizontalmente (nunca se parte en varias lineas, ni en celular) ---- */
.gwsite-nav {
  display: flex; align-items: center; background: #dbe4ee;
  border-bottom: 1px solid var(--line);
  overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.gwsite-nav .marca {
  font-weight: 700; font-size: 15px; color: var(--ink); padding: 14px 20px;
  white-space: nowrap; flex: none; position: sticky; left: 0; background: #dbe4ee; z-index: 1;
}
.gwsite-tab {
  padding: 16px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; border-bottom: 3px solid transparent; flex: none;
}
.gwsite-tab:hover { background: rgba(255,255,255,.35); text-decoration: none; }
.gwsite-tab.activa { background: var(--paper); border-bottom-color: var(--verde); }
.gwsite-nav-toggle { display: none; }

@media (max-width: 720px) {
  .gwsite-nav .marca { font-size: 13.5px; padding: 12px 12px; }
  .gwsite-tab { padding: 12px 13px; font-size: 12.5px; }
}

/* ---- Contenido: ancho completo con margenes, NO columna angosta ---- */
.gwsite-main { padding: 32px 24px 60px; }
.gwsite-main.lectura { max-width: 72ch; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---- Footer ---- */
.gwsite-footer {
  background: #1e293b; color: #cbd5e1; padding: 28px 24px 22px; margin-top: 48px;
}
.gwsite-footer .enlaces { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.gwsite-footer .enlaces a { color: #e2e8f0; text-decoration: underline; text-underline-offset: 3px; }
.gwsite-footer .copy { margin-top: 14px; font-size: 12px; color: #94a3b8; }

/* ---- Banner de cookies ---- */
.gwsite-cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 16px 24px;
  display: none; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13px; box-shadow: 0 -6px 24px rgba(0,0,0,.18);
}
.gwsite-cookies.visible { display: flex; }
.gwsite-cookies p { margin: 0; flex: 1 1 320px; color: #e2e8f0; }
.gwsite-cookies .acciones { display: flex; gap: 10px; flex: none; }
.gwsite-cookies button {
  font-family: inherit; font-size: 13px; font-weight: 600; border-radius: 6px;
  padding: 9px 16px; border: none; cursor: pointer;
}
.gwsite-cookies .aceptar { background: var(--verde); color: #fff; }
.gwsite-cookies .rechazar { background: transparent; color: #cbd5e1; border: 1px solid #475569; }

@media (max-width: 720px) {
  .gwsite-utility { justify-content: space-between; }
}
