@media (min-width: 991px) {
  header .bottom-header ul {
    display: flex;
  }
  header .bottom-header ul .sub-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 15px;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    overflow: hidden;
    z-index: 10;
    transition: all 0.5s;
  }
  header .bottom-header ul .sub-menu-wrapper ul.sub-menu {
    flex-flow: column;
    width: max-content;
    border: 1px solid var(--black);
  }
  header .bottom-header ul li:hover a + .sub-menu-wrapper {
    transform: scaleY(1);
    opacity: 1;
    background: var(--white);
  }

  header .bottom-header ul li:hover ul.sub-menu li:hover {
    background: var(--thm-text-clr);
  }
  header .bottom-header ul li:hover ul.sub-menu li:hover a {
    color: var(--white);
  }
  .thm-col-3{
    width: calc(100% / 4);
  }
    .thm-col-4{
    width: calc(100% / 3);
  }
      .thm-col-6{
    width: calc(100% / 2);
  }
}
@media (max-width: 990.9px) {
  header .bottom-header {
    flex-flow: column;
  }
  header .bottom-header ul li a {
    width: 100%;
    display: block;
  }
  header .bottom-header ul .sub-menu-wrapper{
   display: grid;
   grid-template-rows: 0fr;
       transition: all 0.5s;
  }
  header .bottom-header ul li.menu-item-has-children .sub-menu {
    overflow: hidden;
  }
  header .bottom-header ul li.active  .sub-menu-wrapper {
    grid-template-rows: 1fr;
  }
  header .bottom-header .logo{
    display: flex;
    width: 100%;
    margin-right: 0;
    justify-content: space-between;
    align-items: center;
  }
  header .bottom-header .logo .menu-icon{
   height: 35px;
   width: 30px;
   cursor: pointer;
   position: relative;
   --gap:8px;
  }
  header .bottom-header .logo .menu-icon span{
    position: absolute;
    height: 2px;
    width: 100%;
    top:50%;
    left: 0;
    background: var(--thm-orange);
    user-select: none;
    transition: all 0.5s;
    opacity: 1;
  }
   header .bottom-header .logo .menu-icon span:nth-child(1){
     margin-top: var(--gap);
   }
   header .bottom-header .logo .menu-icon span:nth-child(3){
    margin-top: calc(-1 * var(--gap));
   }
   header .bottom-header .logo .menu-icon.active span:nth-child(1),
   header .bottom-header .logo .menu-icon.active span:nth-child(3){
    margin-top: 0;
   }
   header .bottom-header .logo .menu-icon.active span:nth-child(1){
    transform: translateY(-50%) rotate(45deg);
   }
    header .bottom-header .logo .menu-icon.active span:nth-child(3){
    transform: translateY(-50%) rotate(-45deg);
   }
      header .bottom-header .logo .menu-icon.active span:nth-child(2){
      width: 0;
      right:0;
      left: auto;
   }
   header .bottom-header .menu-main-menu-container{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 800ms;
   }
    header .bottom-header .menu-main-menu-container.active{
        overflow-y: auto;
        opacity: 1;
    }
}

@media (min-width: 765.0px) and (max-width:990.9px) {
 .thm-col-3,
  .thm-col-4{
    width: calc(100% / 2);
  }
}
/* grid-layouts */
@media (min-width: 765.0px) {
  main .grid-main-layout{
  grid-template-columns: 1fr 25%;
}
main .grid-main-layout .grid-box,
main .grid-main-layout .content-box.full-layout .grid-box{
  grid-template-columns: 40% 60%;
}
main .grid-main-layout .content-box.full-layout .grid-box{
  margin-bottom: 10px;
}
main .grid-main-layout .content-box{
  grid-template-columns: 280px 1fr;
}
main .grid-main-layout .content-box.full-layout{
  display: block;
}
main .grid-main-layout .grid-box{
  grid-column: span 2;
}
main .grid-main-layout .grid-box:nth-child(1),
main .grid-main-layout .grid-box:nth-child(2){
    grid-column: 1;
    grid-template-columns: 1fr;
}
main .grid-main-layout .grid-box:nth-child(1) .content h2,
main .grid-main-layout .grid-box:nth-child(2) .content h2{
font-size: 24px;
line-height: 28px;
}
main .grid-main-layout .grid-box:nth-child(2){
  z-index: 2;
}
main .grid-main-layout .grid-box:nth-child(3){
        grid-column: 2;
        grid-template-columns: 1fr;
        grid-row: 1 / span 2;
}
main .grid-main-layout .grid-box:nth-child(3) .content,
main .grid-main-layout .grid-box:nth-child(3) .img{
grid-row: 1;
grid-column: 1;
}
main .grid-main-layout .grid-box:nth-child(3) .content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    color: var(--white);
    background: linear-gradient(to top, #000, #0000);
}
main .grid-main-layout .grid-box:hover:nth-child(3) .content{
  color: var(--white);
}
main .grid-main-layout .grid-box:nth-child(6){
  grid-template-columns: 1fr;
}

main .grid-main-layout .grid-box:nth-child(3) .img::before{
top: 0;
bottom: auto;
border-top-left-radius: 0;
border-bottom-left-radius: 5px;
}

}