.selectParent select {
  text-indent: 1px;
  text-overflow: '';
  width: 100% !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 2px 2px 2px 2px;
  border: none;
  background: url(//cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat 95% center #FFF;
  padding-left: 3%;
}

.err-input-icon {
  right: 6% !important;
  position: absolute;
  top: 74% !important;

}

.err-input-state {
  border-right: 2px solid #FF5757;
  border-top: 2px solid #FF5757;
  border-bottom: 2px solid #FF5757;
}

.err-div-state {
  border-left: 2px solid #FF5757;
  border-bottom: 2px solid #FF5757;
  border-top: 2px solid #FF5757;
}

.arrow-back {
  position: absolute;
  left: 7%;
  top: 7%;
}

.fa-bookmark { color:rgb(255, 193, 7) !important; }
=======

#menu-primary-menu {
  padding: 0;
  list-style: none;
}

#menu-primary-menu > .menu-item {
  padding: 5px 0;
}

/* ==================================================================
    Globales
================================================================== */
#wrapper-navbar nav {
  min-height: 100dvh !important;
}
article.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgb(0 0 0 / .35);
  margin: 10px;
  transition: 0.3s ease;
  &:hover {
    box-shadow: 0 8px 20px rgb(0 0 0 / .35);
    transform: translateY(-10px) scale(1.05);
  }
  & > * {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
  }
  & main {
    padding: 10px;
    flex: 1;
    .category {
      font-size: 12px;
      color: #9CA3AF;
    }
    .title {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 0;
    }
  }
}

/* ==================================================================
    Home
================================================================== */
body.page-template-home #secondary-menu {display: none !important;}
body.page-template-home main#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#portadaHome {
  background-image: url(../img/portada.png);
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 350px;
  padding: 20px;
  &::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(to right, #3C3C3C, transparent);
    opacity: 0.8;
    z-index: 1;
  }
  & > * {
    position: relative;
    z-index: 2;
  }
  .title {
    font-size: 28px;
    font-weight: bold;
    color: white;
  }
  .link {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #51B6F0;
    transition: .3s ease;
    .dashicons {transition: .3s;}
    &:hover {
      text-decoration: none;
      text-shadow: 0 0 10px rgb(255 255 255 / .5);
      .dashicons {transform: translateX(5px);}
    }
  }
}

#cards {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: calc(100% - 60px);
  .card {
    background-color: #efefef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;
    border-radius: 10px;
    height: 110px;
    padding: 10px;
    .name {
      color: #000000;
      font-size: 18px;
      font-weight: 600;
      margin: 0;
    }
  }
  .card:nth-child(1) {
    flex-basis: calc(66% - 5px);
    background-color: #796BFE;
  }
  .card:nth-child(2) {flex-basis: calc(33% - 5px);}
  .card:nth-child(3),
  .card:nth-child(4) {
    flex-basis: calc(50% - 5px);
    height: 65px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .card:nth-child(2),
  .card:nth-child(3) {
    background-color: #000000;
    .name {color: #FFFFFF;}
  }
  .card:nth-child(4) {background-color: #51B6F0;}
}

#lastPosts {
  position: relative;
  width: calc(100% - 60px);
  margin: 20px auto;
  & > .title {
    font-size: 18px;
    font-weight: bold;
  }
  .content {
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    overflow-x: auto;
    .card {
      flex-basis: calc(75% - 20px);
      flex-shrink: 0;
    }
  }
}
@media (max-width: 450px) {
  #lastPosts .content {
    overflow: -moz-scrollbars-none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer and Edge */
    scrollbar-width: none; /* Firefox */
    &::-webkit-scrollbar {
      display: none; /* WebKit-based browsers */
    }
  }
}

#imc {
  width: 100%;
  margin: 40px auto;
  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 65px;
    font-size: 18px;
    border-radius: 16px;
    margin: 0 auto;
    font-weight: 500;
    color: #FFFFFF;
    background-image: linear-gradient(to bottom right, #796BFE, #51B6F0);
  }
}