.megamenu *{
  font-family: 'Host Grotesk';
  margin: 0;
  padding: 0;
  box-sizing: border-box;}

.horizontal-menu__two-level.megamenu {
  background: #FFFFFF;
  box-shadow: 0px 1px 14px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 20px;
  min-width: fit-content;
  font-family: 'Host Grotesk';
  z-index:999;
}


.megamenu p.cat-name {
  color: rgba(0, 2, 46, 0.60);
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  padding-left: 10px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

div.horizontal-menu__two-level-anchor {
  cursor: auto;
}
.megamenu .horizontal-menu__two-level-anchor span.titulo{
  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-align: left;

}
.megamenu .horizontal-menu__two-level-anchor span.subtitulo ,
.megamenu .horizontal-menu__two-level-anchor span.subtitulo p{
  margin-top: 5px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 200;
  display: block;
  text-align: left;
  color: rgba(1, 2, 46, 0.70);
}

.megamenu .horizontal-menu__two-level-anchor span.subtitulo ,

margin-top: 5px;}

.megamenu .horizontal-menu__two-level-anchor span.subtitulo a {
  font-size: 14px;
  color: #494949;
  text-align: left;
  text-decoration: none;
}
.megamenu .horizontal-menu__two-level-anchor span.subtitulo a:hover {
  /* font-weight: 500;*/
  color: #5100ff;
}
.megamenu .categoria.border-left {
  padding: 0 10px;
}

.megamenu .col  .wrapper {
  display: grid;
  gap:5px;
  grid-template-columns: 1fr;
}

.megamenu .col .wrapper .items {
  min-width: 245px;
  max-width: 305px;
}

.megamenu .col.grid .wrapper {
  display: grid;
  gap:5px;
  grid-template-columns: 1fr 1fr;
}

.megamenu .col.grid .wrapper.items {
  min-width: 245px;
  max-width: 305px;
}


.megamenu .horizontal-menu__two-level-anchor{
  transition: all 0.3s;
  display: flex;
  gap: 10px;
  align-items: center;}

li.horizontal-menu__item:first-child .horizontal-menu__two-level-anchor {
    align-items: start;
}

.megamenu a.horizontal-menu__two-level-anchor img.icon {
  margin-right: 5px;
  margin-bottom: -2px;
}

.horizontal-menu .horizontal-menu__item:hover>.horizontal-menu__two-level.mm {
  flex-direction: column;
  min-width: 120px;
}

ul.horizontal-menu__two-level.mm li.horizontal-menu__two-level-item:not(:last-child):nth-child(2n-1) {
  border-right: none;
}
ul.horizontal-menu__two-level.mm li.horizontal-menu__two-level-item {
  margin: 0;
}

.megamenu .recurso {
  display: flex;
  align-items: center;
  gap: 20px;
}

.megamenu .recurso-img img {
  min-width: 145px;
}

.row.recursos {
  max-width: 770px;
}
.row.recursos .col:first-child {
  max-width: 240px;
}

.horizontal-menu__two-level-anchor:hover {
  color: #000;
}
.megamenu .horizontal-menu__two-level-anchor:hover {
  background-color: #f3f5ff;
  transition: all 0.3s;
  border-radius: 5px;
  color: #000;
}

a#wbst-header-req-demo-btn.button--light {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
}
a#wbst-header-req-demo-btn.button--light:hover {
  font-weight:600;
  color: rgba(1, 2, 46, 1);
  background-color:#fff;
}
.header-desktop a.button.button--secondary-link.button--small:hover {
  font-weight: 600;
}
body:has(.horizontal-menu__item:hover .horizontal-menu__two-level) {
  overflow: hidden;
}

.megamenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 140;
  pointer-events: none;
}

body:has(.horizontal-menu__item:hover .horizontal-menu__two-level) .megamenu-overlay {
  opacity: 1;
  visibility: visible;
}



 .megamenu .recurso-img img {
        max-width: 130px !important;
        height: 78px !important;
        object-fit: cover !important;
      min-width: 130px;
       border-radius: 8px;
    }
  
  .megamenu .recurso-img{ display: flex;}
  
    .megamenu .recurso {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 2px solid #DDE6FB;
        border-radius: 6px;
        padding: 5px 10px;
      	width: 100%;
    }

  li:nth-child(4) .categoria.col.mm:first-child{
        width: 430px;
        flex: unset;
      height: fit-content;
    border-right: 1px solid #c9cfdf;
    padding-right: 10px;
    }

  li:nth-child(4) .categoria.col.mm:first-child .recurso-contenido div{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

  li:nth-child(4) .categoria.col.mm:first-child .items{
        max-width: 100%;
    }

  li:nth-child(4) .categoria.col.mm:first-child span.titulo{
        font-size: 14px;
    }


    span.tag {
    font-size: 12px;
    font-weight: 600;
    padding: 0px 18px;
    background: #DDE6FB;
    border-radius: 3px;
   	width:fit-content;
}
  span.button {
    width: fit-content;
    padding: 2px 10px;
    font-size: 12px;
    background: #81A5F7;
    color: #fff;
    font-weight: 500;
    border-radius: 2px;
}
