/*********************************
  1. Estilos para bloques de contenido
**********************************/

.container-topbar {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* Contenedor adaptable para bloques informativos */
.bloque-info {
  max-width: 880px;
  margin: 2.5em auto;
  background: #fff;
  border-radius: 8px;
  padding: 2.5em 2em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  border: 1px solid #e0e6ed;
}

/* Bloque con marco y sombra */
div.marco {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Títulos principales y secundarios */
.titulo-principal {
  font-family: 'Merriweather', serif;
  color: #2b4162;
  font-size: 2em;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 0.25em;
  margin-bottom: 0.9em;
  margin-top: 0;
}

.titulo-secundario {
  font-family: 'Merriweather', serif;
  color: #0077b6;
  font-size: 1.3em;
  margin-top: 2em;
  margin-bottom: 0.7em;
}

/* Listas informativas */
.lista-info {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 1.2em;
}

.lista-info li {
  margin-bottom: 0.8em;
}

/* Avisos y mensajes */
.aviso-info {
  background: #f1f3f6;
  color: #495057;
  border-left: 4px solid #0077b6;
  padding: 0.75em 1.1em;
  margin: 1.5em 0;
  border-radius: 4px;
  font-size: 1em;
}

/* Texto resaltado */
.resaltado {
  color: #2b4162;
  font-weight: bold;
}

/* Enlaces adaptados */
a.enlace-info,
a.enlace-info:visited {
  color: #0077b6;
  text-decoration: none;
  transition: color 0.2s;
}
a.enlace-info:hover, a.enlace-info:focus {
  color: #023e8a;
  text-decoration: underline;
}

/* Nombre de archivos o términos técnicos */
.nombre-archivo {
  font-family: 'Fira Mono', 'Consolas', monospace;
  background: #f1f3f6;
  border-radius: 4px;
  padding: 2px 7px;
  color: #8d99ae;
  font-size: 0.97em;
}

/* Responsive para .bloque-info */
@media (max-width: 700px) {
  .bloque-info {
    padding: 1.25em 0.6em;
  }
}

/*********************************
  2. Ajustes de header, banner y menú
**********************************/

/* Header transparente y fijo solo en la home */
.ishome .container-header {
  background-color: transparent;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.5s;
}

/* Header con fondo en otras páginas o al hacer scroll */
.container-header,
.container-header.scrolled {
  background-color: #004177;
  background-image: unset;
}

/* Quitar margen del módulo personalizado (por ejemplo, logo) */
.mod-custom p {
  margin: 0;
}



/* Banner a toda altura */
.container-banner .banner-overlay {
  height: 100vh;
}

/* Quitar decoración de los enlaces del menú */
.mod-menu li a,
.mod-menu li a:hover,
.mod-menu li a:focus,
.mod-menu li a.current,
.mod-menu li.active > a {
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    outline: none !important;
}

/* Anular pseudo-elementos en el menú */
.mod-menu li a::after,
.mod-menu li a:hover::after,
.mod-menu li a.current::after,
.mod-menu li.active > a::after,
.mod-menu li a::before,
.mod-menu li a:hover::before,
.mod-menu li a.current::before,
.mod-menu li.active > a::before {
    display: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    content: none !important;
}