/* MENU */

.top-bar .links {
  display: flex;
  justify-content: flex-end;
  column-gap: 30px;
  font-size: 1rem;
}

.top-bar .inside-top-bar {
  display: block !important;
  padding: 10px 20px !important;
}

.top-bar .inside-top-bar aside {
  margin: 0 !important;
  width: 100%;
}

.site-header {
  /* box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15); */
  z-index: 1;
}
.site-header .menu > li > a {
  font-family: var(--font-body);
  font-weight: var(--medium);
  text-transform: uppercase;
  letter-spacing: var(--l-spacing);
}

.site-header .menu > li.current-menu-item > a {
  font-weight: var(--bold);
background-color: rgba(255, 255, 255, 0.15);
}

.site-header .menu > li .sub-menu > li > a {
  font-family: var(--font-body);
  font-size: var(--font-body);
}

.navigation-stick.is_stuck {
  background-color: var(--texto) !important;
  z-index: 10;
}

.navigation-stick.is_stuck .menu > li > a {
 color: var(--blanco) !important;
}

.main-navigation.toggled .main-nav > ul {
  background-color: var(--texto);
}

.screen-reader-text {
  background-color: var(--texto);
  color: var(--blanco);
}


/* FOOTER */

.site-footer {
  /* background-image: url("/wp-content/uploads/2024/05/bg-footer.jpg");
  background-position: center;
  background-size: cover; */
  background-color: var(--texto);
}
.site-footer aside {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.inside-footer-widgets {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-left: 0 !important;
  column-gap: 40px;
}
.inside-footer-widgets .title-widget {
  font-family: var(--font-body);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 1rem;
}
.inside-footer-widgets p:not(.title-widget) {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5em;
  opacity: 0.8;
}

.inside-footer-widgets .footer-widget-1 img {
  max-width: 180px !important;
}

.inside-footer-widgets > div > aside:first-child {
  margin-bottom: 10px;
}

.inside-footer-widgets .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  row-gap: 5px;
}

.inside-footer-widgets .links a {
  font-size: 1rem;
  position: relative;
 opacity: 0.8;
  line-height: 1.5em;
}

.inside-footer-widgets .footer-widget-2 {
  text-align: right;
}

.inside-footer-widgets .direccion {
  position: relative;
}

.inside-footer-widgets .rrss {
  margin-top: 10px;
}

.inside-footer-widgets .rrss svg {
  max-width: 20px;
}

.copyright-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  width: 100%;
  opacity: 0.8;
}

.copyright-bar > div {
  line-height: 1em;
}

.copyright-bar > div:first-child {
  text-align: left;
  color: var(--blanco);
  font-size: 0.75rem !important;
}

.copyright-bar .links {
  justify-content: flex-end;
  display: flex;
  column-gap: 30px;
}

.copyright-bar a {
  font-size: 0.75rem;
  color: var(--blanco);
}

.copyright-bar a:hover {
  color: var(--primario);
}

@media screen and (max-width: 1024px) {
  .site-header {
    padding-left: 20px;
  }

  .top-bar .links {
    justify-content: space-between;
  }

  .copyright-bar > div:last-child br {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .inside-footer-widgets {
    flex-direction: row !important;
  }
  .inside-footer-widgets > div:not(:last-child) {
    margin-bottom: 0 !important;
  }
  .inside-footer-widgets .footer-widget-1 {
    padding-bottom: 30px !important;
  }

  .inside-footer-widgets .footer-widget-2 {
    flex: 0 0 40% !important;
  }
}

@media screen and (orientation: landscape) and (max-width: 844px) {

  .site-logo {
    padding: 0 20px;
  }

  button.menu-toggle {
    background-color: transparent !important;
    padding-top: 15px;
  }

  button.menu-toggle svg {
    height: 25px;
    width: 25px;
  }

  .main-navigation {
    margin-top: 0 !important;
  }
  
  .main-navigation .main-nav {
    position: absolute;
    top: 9px;
    width: 100%;
    background-color: var(--texto);
  }

  .footer-widgets-container {
    padding-bottom: 40px !important;
  }
  .inside-footer-widgets .footer-widget-2 {
    flex: 0 0 33.33% !important;
  }

  .inside-site-info {
    padding: 10px 20px !important;
  }

  .copyright-bar {
    display: block;
  }

  .copyright-bar .links {
    margin-top: 10px;
  }
}
@media screen and (max-width: 600px) {
  .top-bar .links {
    flex-direction: column;
    align-items: center;
  }

  .footer-widgets-container {
    padding: 40px 20px !important;
  }

  .inside-footer-widgets .footer-widget-1 aside {
    padding-right: 0 !important;
  }

  .inside-footer-widgets > div:not(:last-child) {
    flex: 0 0 100% !important;
    padding-bottom: 40px;
  }

  .inside-footer-widgets > div aside {
    padding-right: 0 !important;
  }

  .copyright-bar {
    display: block;
  }

  .copyright-bar .links {
    display: inline;
  }
}
