/* Quitar la superposición y el fondo de la sección */
.logo-banner-overlay {
  position: relative !important;
  background: none !important;
  background-image: none !important;
}

.logo-banner-overlay::before,
.logo-banner-overlay::after {
  display: none !important;
  background: none !important;
  content: none !important;
}

.logo-banner {
  background: none !important;
  background-image: none !important;
}


/* Apilar en columna y poner el banner ARRIBA del logo */
.logo-banner .row {
  display: flex !important;
  flex-direction: column !important;
}

.logo-banner .col-lg-8 {
  order: 1 !important;
}

.logo-banner .col-lg-4 {
  order: 2 !important;
}


/* Logo y banner cada uno a todo el ancho */
.logo-banner .col-lg-4,
.logo-banner .col-lg-8 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  width: 100% !important;
}


/* Franja del banner: fondo blanco, centrado, con espacio abajo */
.site-advertisement {
  background: #ffffff !important;
  text-align: center !important;
  padding: 12px 0 !important;
  margin-bottom: 25px !important;
}


/* Banner DESKTOP - 1100x100 */
.site-advertisement img {
  content: url("https://modopueblo.com/wp-content/uploads/2026/09/1100X100.gif");
  float: none !important;
  display: inline-block !important;
  max-width: 1100px !important;
  width: 100% !important;
  height: auto !important;
}


/* Leyenda ("La realidad desde donde...") en negro */
.logo-banner .col-lg-4,
.logo-banner .col-lg-4 * {
  color: #000000 !important;
}


/* Versión MÓVIL - 320x150 */
@media (max-width: 768px) {

  .site-advertisement img {
    content: url("https://modopueblo.com/wp-content/uploads/2026/09/320x150.gif");
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
  }

}


/* Centrar el logo */
.logo-banner img[src*="modo"],
.logo-banner img[src*="MODO"],
.logo-banner img[src*="logo"],
.site-branding img,
.custom-logo,
.custom-logo-link img {
  display: block !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 700px !important;
  width: auto !important;
  height: auto !important;
}


/* Centrar la frase de abajo */
.logo-banner .col-lg-4 {
  text-align: center !important;
}


/* Centrar el menú principal */
.navbar-nav {
  justify-content: center !important;
  width: 100% !important;
}

.main-navigation ul,
.nav-menu {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}