Diferencia entre revisiones de «MediaWiki:Common.css»

De Oroza RO Wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Sin resumen de edición
Línea 1702: Línea 1702:


/* =========================================================
/* =========================================================
   CLASES ADICIONALES (common.css)
   CLASES ADICIONALES PARA SOLUCIÓN DE PROBLEMAS
   Utilidades para imágenes, botones y centrado de listas
   Imágenes, botones, listas centradas y divisores
  (Elimina la necesidad de usar estilos en línea)
========================================================= */
========================================================= */


/* Imágenes dentro del contenido */
.oroza-content-img {
.oroza-content-img {
   display: block;
   display: block;
Línea 1715: Línea 1713:
}
}


/* Fila responsiva para 2 o más imágenes */
.oroza-img-row {
.oroza-img-row {
   display: flex;
   display: flex;
Línea 1730: Línea 1727:
}
}


/* Contenedor para centrar botones */
.oroza-button-container {
.oroza-button-container {
   display: flex;
   display: flex;
Línea 1744: Línea 1740:
}
}


/* Utilidad para listas centradas con texto a la izquierda */
.oroza-list-centered {
.oroza-list-centered {
   display: inline-block;
   display: inline-block;
Línea 1751: Línea 1746:
}
}


/* Ajuste de color para listas dentro del bloque final (highlight) */
.oroza-download-highlight .oroza-feature-list {
.oroza-download-highlight .oroza-feature-list {
   color: rgba(255, 255, 255, 0.92);
   color: rgba(255, 255, 255, 0.92);
}
}


/* Utilidad de margen superior */
.oroza-mt-24 {
.oroza-mt-24 {
   margin-top: 24px;
   margin-top: 24px;
}
/* Divisor sutil para separar el Problema de la Solución dentro de la misma tarjeta */
.oroza-divider {
  border: 0;
  height: 1px;
  background: #d7e2ee;
  margin: 28px 0;
}
}

Revisión del 11:48 5 abr 2026

/* =========================================================
   OROZA WIKI - ESTILOS GENERALES MEJORADOS
   ---------------------------------------------------------
   Objetivo:
   - Mantener tu estilo visual limpio y profesional
   - Mejorar el comportamiento en celular
   - Evitar que navbar, tablas e imágenes rompan el diseño
   - Hacer el CSS más fácil de entender y mantener
========================================================= */


/* =========================================================
   1) BASE GENERAL DEL SITIO
   ---------------------------------------------------------
   Estilos globales del body, tipografía y color base
========================================================= */
body {
  background-color: #f2f2f2;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: #333;
  overflow-x: hidden; /* Evita scroll horizontal accidental */
}

/* Hace que imágenes y elementos no se salgan del ancho de pantalla */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


img {
  max-width: 100%;
  height: auto;
}


/* =========================================================
   2) CONTENIDO PRINCIPAL
   ---------------------------------------------------------
   Caja principal blanca donde se ve el contenido de la wiki
========================================================= */
#content {
  background-color: #fff;
  padding: 30px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.10);
  max-width: 1200px;
}

/* =========================================================
   3) TITULO PRINCIPAL DE PAGINA
   ---------------------------------------------------------
   Controla el heading principal de MediaWiki
========================================================= */
.firstHeading {
  font-size: 2.2rem;
  font-weight: bold;
  color: #2b4a6d;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}


/* =========================================================
   4) TABLA DE CONTENIDO
   ---------------------------------------------------------
   Caja del índice / TOC
========================================================= */
#toc {
  background-color: #eef4ff;
  border: 1px solid #cddaf1;
  padding: 10px;
  border-radius: 8px;
}


/* =========================================================
   5) ENLACES
   ---------------------------------------------------------
   Estilo general para links
========================================================= */
a {
  color: #1e70bf;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mw-body a {
  color: #1e70bf;
  font-weight: 500;
}


/* =========================================================
   6) ENCABEZADOS JERARQUICOS
   ---------------------------------------------------------
   h1 a h6 centrados, elegantes y sin subrayado
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  text-align: center;
  color: #2b4a6d;
  margin-top: 40px;
  margin-bottom: 30px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
  border-bottom: none;
  background: none !important;
}

/* Tamaños progresivos de títulos */
h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2.3rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.3rem;
}

h6 {
  font-size: 1.1rem;
  color: #444;
}


/* =========================================================
   7) BOTONES CON ICONO
   ---------------------------------------------------------
   Útiles para enlaces visuales tipo botón
========================================================= */
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2b4a6d;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
  box-sizing: border-box;
}

.button-icon:hover {
  background: #1e324f;
}

.button-icon::before {
  content: '??';
}


/* =========================================================
   8) CAJAS INFORMATIVAS
   ---------------------------------------------------------
   Bloques para avisos, recomendaciones y alertas
========================================================= */
.box-info {
  background: #eef4ff;
  border-left: 5px solid #1e70bf;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.box-warning {
  background: #fff4e5;
  border-left: 5px solid #ffa500;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.box-tip {
  background: #eaffea;
  border-left: 5px solid #28a745;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}


/* =========================================================
   9) LISTAS
   ---------------------------------------------------------
   Espaciado para ul y ol
========================================================= */
ul,
ol {
  padding-left: 40px;
  margin-bottom: 20px;
}


/* =========================================================
   10) NAVBAR HORIZONTAL
   ---------------------------------------------------------
   Menú superior personalizado
   Mejorado para que no se rompa tan fácil en pantallas chicas
========================================================= */
.oroza-navbar {
  background: #2b3e50;
  padding: 15px 25px;
  display: flex;
  flex-wrap: wrap; /* Permite acomodar links si no caben */
  gap: 18px 30px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-bottom: 3px solid #ffb400;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  max-width: 1200px;
  position: relative;
  box-sizing: border-box;
}

.oroza-navbar a {
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap; /* Evita que un link se parta en dos renglones */
}

.oroza-navbar a:hover {
  text-decoration: underline;
  color: #ffcc33 !important;
}

/* Logo en desktop: se mantiene posicionado a la izquierda */
.oroza-navbar-logo {
  position: absolute;
  left: 25px;
  display: flex;
  align-items: center;
}

.oroza-navbar-logo img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 5px white);
}


/* =========================================================
   11) SIDEBAR LATERAL
   ---------------------------------------------------------
   Menú lateral de navegación
========================================================= */
.oroza-sidebar {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 15px 20px;
  border-radius: 10px;
  width: 280px;
  font-size: 14px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  box-sizing: border-box;
}

/* Título de cada sección del menú lateral */
.oroza-sidebar .menu-title {
  font-weight: bold;
  color: #2b4a6d;
  font-size: 17px;
  margin: 20px 0 12px;
  border-left: 4px solid #ffb400;
  padding-left: 10px;
}

/* Lista interna del sidebar */
.oroza-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.oroza-sidebar li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oroza-sidebar li::before {
  display: inline-block;
  margin-right: 3px;
}


/* =========================================================
   12) TABLAS PERSONALIZADAS
   ---------------------------------------------------------
   Mejoradas para escritorio y con scroll horizontal en móvil
========================================================= */
.oroza-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.oroza-table thead {
  background-color: #2b4a6d;
  color: #fff;
  text-align: left;
  font-weight: bold;
}

.oroza-table th,
.oroza-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.oroza-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.oroza-table tbody tr:hover {
  background-color: #eef4ff;
}

.oroza-table .highlight {
  color: #ffb400;
  font-weight: bold;
}

.oroza-table .center-icon {
  text-align: center;
  font-size: 18px;
}

.oroza-table .zeny {
  color: #28a745;
  font-weight: bold;
}

/* Variante opcional para tablas de ancho automático */
.oroza-table.auto-width {
  width: auto !important;
  max-width: 100%;
  table-layout: auto !important;
  margin: 20px auto;
  display: table;
}


/* =========================================================
   13) EFECTO ZOOM EN IMAGENES
   ---------------------------------------------------------
   Útil para imágenes pequeñas o decorativas
========================================================= */
.zoom-img {
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.zoom-img:hover {
  transform: scale(1.35);
  z-index: 10;
}


/* =========================================================
   14) IMAGENES REDONDEADAS CON EFECTO SUAVE
   ---------------------------------------------------------
   Tus imágenes principales decorativas
========================================================= */
img {
  max-width: 100%;
  height: auto;
}

img.round-fade {
  width: 55%;
  border-radius: 20px;
  margin: 10px auto;
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
  object-fit: cover;
  opacity: 0.97;
}

img.round-fade:hover {
  transform: scale(1.08);
  opacity: 1;
}


/* =========================================================
   15) OCULTAR ELEMENTOS ORIGINALES DE MEDIAWIKI
   ---------------------------------------------------------
   Esto oculta partes viejas del layout por defecto
========================================================= */
#p-logo,
#footer,
#mw-panel {
  display: none !important;
}


/* =========================================================
   16) TOGGLE / MENU COLAPSABLE
   ---------------------------------------------------------
   Si no lo usas, se deja oculto
========================================================= */
.toggle-checkbox {
  display: none;
}

.toggle-label {
  display: none !important;
}


/* =========================================================
   17) TABLET Y MOVIL
   ---------------------------------------------------------
   Aquí está la mejora más importante.
   Ya no apilamos la navbar completa en columna.
   En lugar de eso:
   - reducimos tamaños
   - hacemos wrap controlado
   - ajustamos logo
   - permitimos scroll en tablas
========================================================= */
/* =========================================================
   RESPONSIVE CORREGIDO
   ---------------------------------------------------------
   - No reduce el ancho en PC
   - Corrige mejor el móvil
   - Usa !important en lo necesario porque en wiki a veces
     hay estilos inline que ganan prioridad visual
========================================================= */
@media screen and (max-width: 768px) {
  /* Caja principal más compacta en móvil */
  #content {
    padding: 16px !important;
    margin: 10px !important;
    border-radius: 10px !important;
  }

  /* Si tu layout usa wrapper flex */
  .oroza-flex-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .oroza-flex-wrapper > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* Sidebar a ancho completo */
  .oroza-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    display: block !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }

  .oroza-sidebar .menu-title {
    font-size: 15px !important;
    margin: 16px 0 10px !important;
  }

  .oroza-sidebar li {
    font-size: 13px !important;
    line-height: 1.35 !important;
    gap: 6px !important;
  }

  /* Navbar:
     en vez de ponerla en columna, dejamos fila con wrap */
  .oroza-navbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 12px 10px !important;
    margin: 12px 10px !important;
    border-radius: 10px !important;
  }

  /* El logo absoluto suele romper el centrado en móvil */
  .oroza-navbar-logo {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
  }

  .oroza-navbar-logo img {
    width: 56px !important;
    max-width: 56px !important;
  }

  .oroza-navbar a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 9px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Títulos más compactos en móvil */
  .firstHeading {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  h1 {
    font-size: 1.9rem !important;
    margin-top: 24px !important;
    margin-bottom: 18px !important;
  }

  h2 {
    font-size: 1.6rem !important;
    margin-top: 22px !important;
    margin-bottom: 16px !important;
  }

  h3 {
    font-size: 1.35rem !important;
    margin-top: 20px !important;
    margin-bottom: 14px !important;
  }

  h4 {
    font-size: 1.15rem !important;
    margin-top: 18px !important;
    margin-bottom: 12px !important;
  }

  h5 {
    font-size: 1rem !important;
    margin-top: 16px !important;
    margin-bottom: 10px !important;
  }

  h6 {
    font-size: 0.95rem !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }

  /* Listas más compactas */
  ul,
  ol {
    padding-left: 22px !important;
    margin-bottom: 16px !important;
  }

  /* Cajas informativas */
  .box-info,
  .box-warning,
  .box-tip {
    padding: 12px !important;
    margin: 14px 0 !important;
    border-radius: 8px !important;
  }

  /* Botones ocupan mejor el ancho disponible */
  .button-icon {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Tablas con scroll horizontal */
  .oroza-table,
  .oroza-table.auto-width {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }

  .oroza-table th,
  .oroza-table td {
    white-space: nowrap !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  /* Imágenes más fluidas */
  img.round-fade {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    margin: 10px auto !important;
  }

  /* Hover desactivado en móvil */
  .zoom-img:hover,
  img.round-fade:hover {
    transform: none !important;
    opacity: 0.97 !important;
  }

  .toggle-label {
    display: none !important;
  }
}

/* =========================================================
   MOVILES PEQUEÑOS
========================================================= */
@media screen and (max-width: 480px) {
  #content {
    padding: 12px !important;
    margin: 8px !important;
    border-radius: 8px !important;
  }

  .oroza-navbar {
    gap: 6px 8px !important;
    padding: 10px 8px !important;
  }

  .oroza-navbar a {
    font-size: 12px !important;
    padding: 6px 8px !important;
  }

  .oroza-navbar-logo img {
    width: 48px !important;
    max-width: 48px !important;
  }

  .firstHeading {
    font-size: 1.4rem !important;
  }

  h1 {
    font-size: 1.65rem !important;
  }

  h2 {
    font-size: 1.4rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  .oroza-sidebar {
    padding: 12px !important;
  }

  .oroza-sidebar li {
    font-size: 12px !important;
  }
}

/* =========================================================
   19) AJUSTE PARA DISPOSITIVOS QUE SI SOPORTAN HOVER
   ---------------------------------------------------------
   Solo deja zoom bonito en escritorio / mouse
========================================================= */
@media (hover: hover) {
  .zoom-img:hover {
    transform: scale(1.35);
    z-index: 10;
  }

  img.round-fade:hover {
    transform: scale(1.08);
    opacity: 1;
  }
}


/* =========================================================
   20) AJUSTE PARA DISPOSITIVOS TOUCH
   ---------------------------------------------------------
   Quita animaciones de hover agresivas en celular
========================================================= */
@media (hover: none) {
  .zoom-img:hover,
  img.round-fade:hover {
    transform: none;
    opacity: 0.97;
  }
}



/* =========================================================
   MENU LATERAL OROZA - VERSION MEJORADA
   ---------------------------------------------------------
   Objetivo:
   - Integrarse con el estilo general blanco + dorado
   - Verse más premium y ordenado
   - Mantener compatibilidad con tu HTML actual
   - Funcionar bien en desktop y celular
   - No modificar navbar ni contenido principal
========================================================= */


/* =========================================================
   1) VARIABLES VISUALES DEL MENU
   ---------------------------------------------------------
   Si luego quieres ajustar color, sombra o bordes,
   aquí lo cambias todo más fácil.
========================================================= */
:root {
  --oroza-side-bg: #ffffff;
  --oroza-side-panel: #ffffff;
  --oroza-side-item: #fbfcfe;
  --oroza-side-item-hover: #f4f8fc;
  --oroza-side-border: #e4ebf3;
  --oroza-side-border-soft: #eef3f8;
  --oroza-side-text: #243246;
  --oroza-side-muted: #607086;
  --oroza-side-gold: #dcae1d;
  --oroza-side-gold-strong: #c79400;
  --oroza-side-gold-soft: rgba(220, 174, 29, 0.12);
  --oroza-side-shadow: 0 12px 30px rgba(22, 34, 52, 0.08);
  --oroza-side-shadow-soft: 0 4px 14px rgba(22, 34, 52, 0.05);
  --oroza-side-radius: 18px;
  --oroza-side-radius-sm: 12px;
}


/* =========================================================
   2) CONTENEDOR GENERAL DEL MENU
   ---------------------------------------------------------
   Este envuelve el toggle y el panel lateral.
========================================================= */
.oroza-sidebar-toggle {
  width: 100%;
  color: var(--oroza-side-text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  box-sizing: border-box;
}


/* =========================================================
   3) CHECKBOX OCULTO PARA TOGGLE EN MOVIL
   ---------------------------------------------------------
   Se usa solo para abrir/cerrar el menú en pantallas chicas.
========================================================= */
.toggle-checkbox {
  display: none;
}


/* =========================================================
   4) BOTON DE TOGGLE MOVIL
   ---------------------------------------------------------
   En desktop permanece oculto.
   En móvil aparece como botón para mostrar el menú.
========================================================= */
.toggle-label {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--oroza-side-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  color: var(--oroza-side-text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: var(--oroza-side-shadow-soft);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.toggle-label:hover {
  border-color: #d8e1ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 20px rgba(22, 34, 52, 0.08);
}


/* =========================================================
   5) PANEL PRINCIPAL DEL SIDEBAR
   ---------------------------------------------------------
   Caja blanca premium del menú lateral.
========================================================= */
.oroza-sidebar {
  background: var(--oroza-side-panel);
  border: 1px solid var(--oroza-side-border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--oroza-side-shadow);
  box-sizing: border-box;
}


/* =========================================================
   6) TITULOS DE CATEGORIA
   ---------------------------------------------------------
   Bloques tipo sección para dividir el menú.
   Estilo azul + dorado, combinado con la navbar.
========================================================= */
.oroza-sidebar .menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #35506f 0%, #2b3e50 100%);
  border: 1px solid rgba(255, 180, 0, 0.35);
  border-left: 5px solid #ffb400;
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.oroza-sidebar .menu-title:first-child {
  margin-top: 0;
}


/* =========================================================
   7) LISTAS BASE DEL MENU
   ---------------------------------------------------------
   Elimina estilos de lista por defecto.
========================================================= */
.oroza-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oroza-sidebar li {
  margin: 0;
  padding: 0;
}

.oroza-sidebar li + li {
  margin-top: 6px;
}


/* =========================================================
   8) ENLACES DEL MENU
   ---------------------------------------------------------
   Cada opción se ve como tarjeta pequeña.
========================================================= */
.oroza-sidebar li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  background: var(--oroza-side-item);
  border: 1px solid var(--oroza-side-border-soft);
  border-radius: var(--oroza-side-radius-sm);
  color: var(--oroza-side-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--oroza-side-shadow-soft);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

/* Hover suave, elegante y compatible con tu look */
.oroza-sidebar li a:hover {
  background: var(--oroza-side-item-hover);
  border-color: #dce5ef;
  color: #162234 !important;
  text-decoration: none !important;
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(22, 34, 52, 0.08);
}

/* Focus visible para accesibilidad */
.oroza-sidebar li a:focus {
  outline: none;
  border-color: rgba(220, 174, 29, 0.58);
  box-shadow: 0 0 0 4px rgba(220, 174, 29, 0.12);
}

/* Estado activo opcional:
   si algún día agregas class="active" al link actual */
.oroza-sidebar li a.active,
.oroza-sidebar li a.is-active {
  background: linear-gradient(180deg, #fffaf1 0%, #fff4dd 100%);
  border-color: rgba(220, 174, 29, 0.38);
  color: #1a2738 !important;
  box-shadow:
    0 8px 18px rgba(22, 34, 52, 0.06),
    inset 0 0 0 1px rgba(220, 174, 29, 0.08);
}


/* =========================================================
   9) ICONO, TEXTO Y FLECHA
   ---------------------------------------------------------
   Mejor control visual de cada parte del link.
========================================================= */
.menu-icon {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  opacity: 0.96;
}

.menu-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.menu-arrow {
  color: var(--oroza-side-gold-strong);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.92;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.oroza-sidebar li a:hover .menu-arrow {
  transform: translateX(2px);
  opacity: 1;
}


/* =========================================================
   10) AJUSTE DESKTOP
   ---------------------------------------------------------
   Mantiene el menú con un ancho agradable y estable.
========================================================= */
@media screen and (min-width: 981px) {
  .oroza-sidebar {
    max-width: 330px;
  }
}


/* =========================================================
   11) TABLET / MOVIL
   ---------------------------------------------------------
   Muestra botón toggle y colapsa el menú lateral.
========================================================= */
@media screen and (max-width: 980px) {
  .toggle-label {
    display: block;
  }

  .oroza-sidebar {
    display: none;
    padding: 14px;
    border-radius: 18px;
  }

  .toggle-checkbox:checked + .toggle-label + .oroza-sidebar {
    display: block;
  }

  .oroza-sidebar .menu-title {
    font-size: 14px;
    padding: 11px 12px;
  }

  .oroza-sidebar li a {
    min-height: 44px;
    font-size: 13.5px;
    padding: 10px 11px;
  }

  .menu-icon {
    width: 20px;
    min-width: 20px;
    font-size: 15px;
  }
}


/* =========================================================
   12) CELULAR PEQUEÑO
   ---------------------------------------------------------
   Compacta un poco más sin perder legibilidad.
========================================================= */
@media screen and (max-width: 480px) {
  .toggle-label {
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .oroza-sidebar {
    padding: 12px;
    border-radius: 16px;
  }

  .oroza-sidebar .menu-title {
    gap: 8px;
    margin: 16px 0 9px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .oroza-sidebar li + li {
    margin-top: 5px;
  }

  .oroza-sidebar li a {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 13px;
    gap: 9px;
  }

  .menu-icon {
    width: 18px;
    min-width: 18px;
    font-size: 14px;
  }

  .menu-arrow {
    font-size: 13px;
  }
}



/* =========================================================
   OCULTAR TITULO NATIVO Y PANEL SUPERIOR DE MEDIAWIKI
   ---------------------------------------------------------
   - .mw-page-title-main: título nativo de la página
   - .mw-head / #mw-head: panel superior nativo
========================================================= */

/* Oculta el título nativo */
.mw-page-title-main {
  display: none !important;
}

/* Oculta el panel superior si viene como clase */
.mw-head {
  display: none !important;
}

/* Oculta el panel superior si tu skin lo maneja como id */
#mw-head {
  display: none !important;
}

/* Opcional: también quita la base/fondo superior del skin */
#mw-head-base {
  display: none !important;
}


/* ================================================================================================================== */
/* =========================================== ESTILOS PARA PAGINAS DE ENMEDIO ====================================== */
/* ================================================================================================================== */

/* =========================================================
   OROZA HOME / LANDING WIKI
   VERSION MEJORADA CON MAS CONTRASTE
   Pensada para que no se mezclen colores entre bloques.
========================================================= */

.oroza-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* =========================
   HERO PRINCIPAL
========================= */
.oroza-page .oroza-hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #d5e1ee;
  border-radius: 22px;
  padding: 34px 28px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(43, 74, 109, 0.08);
}

.oroza-page .oroza-hero-logo {
  margin-bottom: 18px;
}

.oroza-page .oroza-page-title {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #183554;
}

.oroza-page .oroza-page-intro {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #4a6481;
}

/* =========================
   TEXTO GENERAL
========================= */
.oroza-page .oroza-section-text {
  margin: 0 0 16px;
  color: #405973;
  line-height: 1.8;
}

.oroza-page .oroza-feature-list {
  margin: 0;
  padding-left: 20px;
  color: #3f566f;
  line-height: 1.8;
}

.oroza-page .oroza-feature-list li + li {
  margin-top: 10px;
}

.oroza-page .oroza-inline-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf4ff;
  border: 1px solid #d2e0f2;
  color: #21466c;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* =========================================================
   ACORDEONES
   Centrado visual completo + azul fuerte Oroza
========================================================= */
.oroza-page .oroza-accordion {
  background: #ffffff;
  border: 1px solid #d3deea;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(43, 74, 109, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
}

.oroza-page .oroza-accordion:hover {
  box-shadow: 0 14px 30px rgba(43, 74, 109, 0.12);
}

.oroza-page .oroza-accordion summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  background: linear-gradient(180deg, #355276 0%, #2b4a6d 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.oroza-page .oroza-accordion summary:hover {
  background: linear-gradient(180deg, #3d5f89 0%, #305176 100%) !important;
}

.oroza-page .oroza-accordion summary::-webkit-details-marker {
  display: none;
}

.oroza-page .oroza-accordion summary::after {
  content: "▲";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffb400;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.oroza-page .oroza-accordion:not([open]) summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.oroza-page .oroza-accordion-content {
  padding: 24px 22px;
  background: #ffffff;
  color: #44566d;
  line-height: 1.8;
  text-align: center;
}

.oroza-page .oroza-accordion-content > * {
  margin-left: auto;
  margin-right: auto;
}

.oroza-page .oroza-accordion-content .oroza-section-text,
.oroza-page .oroza-accordion-content .oroza-page-intro {
  max-width: 900px;
  text-align: center;
}

.oroza-page .oroza-accordion-content .oroza-feature-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding-left: 22px;
}


/* =========================================================
   TABLAS
   Azul fuerte Oroza + look mas premium
========================================================= */
.oroza-page .oroza-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 16px;
}

.oroza-page .oroza-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #cfdbe8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(43, 74, 109, 0.08);
}

/* Encabezado superior de la tabla */
.oroza-page .oroza-info-table thead th {
  padding: 16px 20px;
  background: linear-gradient(180deg, #355276 0%, #2b4a6d 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid #24415f;
  letter-spacing: 0.2px;
}

/* Celdas generales */
.oroza-page .oroza-info-table tbody th,
.oroza-page .oroza-info-table tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid #e7eef6;
  vertical-align: middle;
  font-size: 14px;
}

/* Columna izquierda */
.oroza-page .oroza-info-table tbody th {
  width: 40%;
  background: #f5f9fd;
  color: #1f4368;
  font-weight: 800;
  text-align: left;
  border-right: 1px solid #e2eaf3;
}

/* Columna derecha */
.oroza-page .oroza-info-table tbody td {
  background: #ffffff;
  color: #4b627b;
  font-weight: 500;
  text-align: left;
}

/* Zebra sutil para mejor lectura */
.oroza-page .oroza-info-table tbody tr:nth-child(even) th {
  background: #eef4fa;
}

.oroza-page .oroza-info-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

/* Hover elegante */
.oroza-page .oroza-info-table tbody tr:hover th {
  background: #e7f0f9;
}

.oroza-page .oroza-info-table tbody tr:hover td {
  background: #f7fbff;
}

/* Ultima fila */
.oroza-page .oroza-info-table tbody tr:last-child th,
.oroza-page .oroza-info-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .oroza-page .oroza-accordion summary {
    font-size: 16px;
    padding: 15px 48px 15px 16px;
  }

  .oroza-page .oroza-accordion-content {
    padding: 18px 16px;
  }

  .oroza-page .oroza-info-table thead th {
    font-size: 15px;
    padding: 14px 16px;
  }

  .oroza-page .oroza-info-table tbody th,
  .oroza-page .oroza-info-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* =========================
   TARJETAS DE ACCESO RAPIDO
   Ya no van completamente
   del mismo azul para que
   no se fundan visualmente.
========================= */
.oroza-page .oroza-action-card {
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-top: 4px solid #2b4a6d;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(43, 74, 109, 0.08);
}

.oroza-page .oroza-action-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: #1e4166;
}

.oroza-page .oroza-action-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oroza-page .oroza-action-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid #d5e1ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #355276 0%, #2b4a6d 100%);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.oroza-page .oroza-action-link:hover {
  background: #ffb400;
  border-color: #ffb400;
  color: #17324f;
  transform: translateY(-1px);
}

/* =========================
   GRID
========================= */
.oroza-page .oroza-grid {
  display: grid;
  gap: 20px;
  margin: 20px 0 0;
}

.oroza-page .oroza-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .oroza-page {
    padding: 14px;
  }

  .oroza-page .oroza-hero-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .oroza-page .oroza-page-title {
    font-size: 26px;
  }

  .oroza-page .oroza-page-intro {
    font-size: 15px;
    line-height: 1.75;
  }

  .oroza-page .oroza-accordion summary {
    font-size: 16px;
    padding: 15px 18px;
  }

  .oroza-page .oroza-accordion-content {
    padding: 18px;
  }

  .oroza-page .oroza-info-table tbody th,
  .oroza-page .oroza-info-table tbody td {
    font-size: 13px;
    padding: 12px 14px;
  }
}



/* =========================================================
   OROZA DOWNLOAD PAGE
   CSS adicional solo para componentes que tu base actual
   no incluye: layout lateral, cajas de aviso, pasos y
   bloque final.
========================================================= */

/* Layout general */
.oroza-download-shell {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.oroza-download-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.oroza-download-main {
  flex: 1;
  min-width: 0;
}

/* Etiqueta superior del hero */
.oroza-download-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #edf4ff 0%, #e6eef9 100%);
  border: 1px solid #d3dfec;
  color: #21466c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Caja de aviso principal */
.oroza-download-notice {
  margin-bottom: 22px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d7e2ee;
  border-left: 5px solid #2b4a6d;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(43, 74, 109, 0.08);
  text-align: center;
}

.oroza-download-notice-title {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #183554;
}

/* Secciones de contenido */
.oroza-download-section {
  margin-bottom: 22px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 22px;
  box-shadow: 0 10px 22px rgba(43, 74, 109, 0.08);
}

.oroza-download-section-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: #183554;
}

/* Pasos */
.oroza-download-steps {
  max-width: 860px;
  margin: 22px auto 0;
  display: grid;
  gap: 14px;
}

.oroza-download-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #dce5ef;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(43, 74, 109, 0.05);
}

.oroza-download-step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #355276 0%, #2b4a6d 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 14px rgba(43, 74, 109, 0.18);
}

.oroza-download-step-body {
  flex: 1;
  text-align: left;
  font-size: 15px;
  line-height: 1.8;
  color: #44566d;
}

/* Caja de ayuda */
.oroza-download-tip {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 20px 22px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff8ea 100%);
  border: 1px solid #f0dfb3;
  border-left: 5px solid #ffb400;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(255, 180, 0, 0.08);
  text-align: center;
}

.oroza-download-tip-title {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #6f4d00;
}

/* Bloque final */
.oroza-download-highlight {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 26px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #355276 0%, #2b4a6d 100%);
  border: 1px solid #274361;
  box-shadow: 0 14px 26px rgba(43, 74, 109, 0.18);
  text-align: center;
}

.oroza-download-highlight-title {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.oroza-download-highlight .oroza-section-text {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* Responsive */
@media (max-width: 960px) {
  .oroza-download-shell {
    flex-direction: column;
  }

  .oroza-download-sidebar,
  .oroza-download-main {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .oroza-download-section,
  .oroza-download-notice {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .oroza-download-section-title {
    font-size: 24px;
  }

  .oroza-download-step {
    padding: 16px;
  }

  .oroza-download-step-body {
    font-size: 14px;
  }

  .oroza-download-highlight-title {
    font-size: 21px;
  }
}


/* =========================================================
   CLASES ADICIONALES PARA SOLUCIÓN DE PROBLEMAS
   Imágenes, botones, listas centradas y divisores
========================================================= */

.oroza-content-img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  margin: 15px auto;
}

.oroza-img-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.oroza-img-row .oroza-content-img {
  width: 40%;
  min-width: 260px;
  margin: 0;
}

.oroza-button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.oroza-button-container .oroza-action-link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  text-align: center;
}

.oroza-list-centered {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.oroza-download-highlight .oroza-feature-list {
  color: rgba(255, 255, 255, 0.92);
}

.oroza-mt-24 {
  margin-top: 24px;
}

/* Divisor sutil para separar el Problema de la Solución dentro de la misma tarjeta */
.oroza-divider {
  border: 0;
  height: 1px;
  background: #d7e2ee;
  margin: 28px 0;
}