/* ===== Banner  ===== */
.pkp_head_wrapper {
  padding: 0 !important;
  width: 100% !important;
}

.pkp_site_name_wrapper {
  width: 100%;
  padding: 0;
}

.pkp_site_name .is_img {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_site_name .is_img img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

/*NAV*/

/* ===== Menu nav ===== */
.pkp_site_nav_menu {
  background: #f58220 !important; /* naranja tipo maqueta */
  font-family: sans-serif;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* enlaces principales del menú */
#navigationPrimary li a {
  color: #fff;
  text-decoration: none;
  font-family: sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}

@media (min-width: 992px) {
  .pkp_navigation_primary_wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-right: 0 !important;
  }

  .pkp_navigation_primary_wrapper .pkp_navigation_primary {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important; /* separación entre items */
    font-size: 0.95rem !important;
  }

  .pkp_navigation_primary > li > a {
    margin: 0 !important;
    padding: 0.65rem 0.75rem calc(0.7rem - 2px) !important;
    border-bottom: 2px solid transparent !important;
  }

  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_primary > li > a:focus {
    border-bottom: 2px solid #ffffff !important;
    background: none !important;
    color: #ffffff !important; /* ya no cambia a rojo */
  }
}

/* ===== Desplegables ===== */
.pkp_nav_list ul {
  background: #ffffff !important; /* cajas blancas como en la captura */
  border: 1px solid #dddddd !important;
}

.pkp_nav_list ul a {
  color: #333333 !important;
  font-size: 0.9rem !important;
  font-family: sans-serif !important;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus,
.pkp_navigation_primary .dropdown-menu a:hover {
  border-color: transparent !important;
  background: #f5f5f5 !important;
  transition: all 200ms !important;
  font-weight: bold !important;
}

/* ===== Quitamos el "botón raro" en el último li del menú ===== */
#navigationPrimary li:last-child {
  margin-left: 0 !important;
}

#navigationPrimary li:last-child a {
  background: none !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

/* ===== Botón user (barra de usuario) ===== */

.pkp_navigation_user > li {
  background: #f47c3c;
  border-radius: 6px;
}

.pkp_navigation_user > a,
.pkp_navigation_user > li > a,
.pkp_navigation_user a {
  color: #fff !important;
  font-family: sans-serif !important;
  font-size: 15px;
}

@media (min-width: 990px) {
  .pkp_navigation_user li {
    background: #f47c3c;
    border-radius: 6px;
  }
}

@media (min-width: 992px) {
  .pkp_navigation_user > li > a:focus {
    background: none !important;
    transition: all 300ms;
  }
}

.pkp_navigation_user a:hover,
.pkp_navigation_user a:focus {
  transition: all 300ms;
}

/* ======= Footer ======*/
.footer-anahuac {
  background: #fff;
  border-top: 4px solid #ec4434;
  color: #333;
  font-family: sans-serif;
  padding: 2rem 1rem 4rem;
  text-align: left;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

.footer-logo img {
  width: 380px;
  height: auto;
  margin-top: 10px;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.footer-col p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

.footer-col a {
  color: #555;
  text-decoration: none;
  font-weight: 600;
}

.footer-col a:hover {
  color: #f47c3c;
}

.footer-social {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-social span {
  font-weight: 600;
  margin-right: 6px;
}

.footer-social img {
  width: 25px;
  height: 25px;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.2s;
}

.footer-social img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.cc-icon {
  width: 25px;
  height: auto;
  margin-right: 3px;
}

@media (min-width: 992px) {
  .footer-container {
    align-items: stretch;
  }
  .footer-col {
    padding: 0 28px;
  }
  .footer-logo {
    padding-left: 0;
  }
  .footer-col + .footer-col {
    border-left: 2px solid #cfcfcf;
  }
}

@media (max-width: 991.98px) {
  .footer-col + .footer-col {
    border-left: none;
    border-top: 1px solid #e9e9e9;
    padding-top: 16px;
    margin-top: 12px;
  }
}

.footer-bottom {
  margin-top: 1.75rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom .cc-link img {
  width: 80px;
  height: auto;
  display: block;
}

.pkp_head_wrapper {
  position: relative;
  z-index: 10;
}
.pkp_site_name .is_img,
.pkp_site_name .is_img img {
  display: block;
  width: 100% !important;
  height: auto !important;
}
