@media (min-width: 1260.0px) {
	header .bottom-header ul#menu-main-menu {
    width: fit-content;
    margin-left: auto;
}
  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);
  }
header .bottom-header ul li:last-child .sub-menu-wrapper{
		right:15px;
	left:auto;
	}
  header .bottom-header nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
header .search-option{
  margin-right: 0px;
}
header .bottom-header {
  max-width: 1300px;
  margin: auto;
}
}
@media (max-width: 1259.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;
    }
    header .bottom-header ul li::before{
transform: rotate(0deg) !important;
    }
    header .bottom-header ul li.active::before{
           transform: rotate(180deg) !important;
    }
}

@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: 350px 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(1) .content p,
main .grid-main-layout .grid-box:nth-child(2) .content p,
main .grid-main-layout .grid-box:nth-child(3) .content p,
main .grid-main-layout .grid-box:nth-child(4) .content p{
		display:none;
}
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;
}
	main .grid-main-layout .grid-box:nth-child(4){
		      grid-column: 2;
        grid-template-columns: 1fr;
        grid-row: 2;
	}
main .grid-main-layout .grid-box:nth-child(3) .content,
main .grid-main-layout .grid-box:nth-child(3) .img,
main .grid-main-layout .grid-box:nth-child(4) .content,
	main .grid-main-layout .grid-box:nth-child(4) .img{
grid-row: 1;
grid-column: 1;
}

main .grid-main-layout .grid-box:nth-child(3) .content,
	main .grid-main-layout .grid-box:nth-child(4) .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,
main .grid-main-layout .grid-box:hover:nth-child(4) .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,
	main .grid-main-layout .grid-box:nth-child(4) .img::before{
top: 0;
bottom: auto;
border-top-left-radius: 0;
border-bottom-left-radius: 5px;
}
	main .grid-main-layout .content-box.full-layout .grid-box:nth-child(1) .content p,
	main .grid-main-layout .content-box.full-layout .grid-box:nth-child(2) .content p,
	main .grid-main-layout .content-box.full-layout .grid-box:nth-child(3) .content p,
    main .grid-main-layout .content-box.full-layout .grid-box:nth-child(4) .content p{
		display:block;
	}
main .grid-main-layout .content-box.full-layout .grid-box:nth-child(3) .content,
main .grid-main-layout .content-box.full-layout .grid-box:nth-child(4) .content{
		grid-column:2;
	}
main .grid-main-layout .content-box.full-layout  .grid-box:nth-child(3) .img::before,
main .grid-main-layout .content-box.full-layout .grid-box:nth-child(4) .img::before{
top: auto;
bottom: 0;
border-top-left-radius: 5px;
border-bottom-left-radius: 0px;
}
main .grid-main-layout .content-box.full-layout .grid-box:nth-child(3) .content,
main .grid-main-layout .content-box.full-layout .grid-box:nth-child(4) .content{
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    color: var(--black);
    background: transparent;
}
main .grid-main-layout .content-box.full-layout  .grid-box:hover:nth-child(3) .content,
main .grid-main-layout .content-box.full-layout  .grid-box:hover:nth-child(4) .content{
  color: var(--thm-text-clr);
}
}
@media (max-width: 764.9px){
	.grid-trending-box .right{
		order:-1;
	}
	main .grid-main-layout .content-box{
		display:block !important;
	}
	main .grid-main-layout .grid-box{
		margin-bottom:10px !important;
	}
	main .grid-main-layout .grid-box .content p{
		        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
	main .grid-main-layout .grid-box .content h2{
		        font-size: 20px;
        line-height: 24px;
	}
	.grid-trending-box,
	.home-categories-sec .home-categorie-post{
		grid-template-columns: 1fr;
	}
	.home-categories-sec article.post-item:nth-child(1), .home-categories-sec article.post-item:nth-child(2){
		grid-column:1;
	}
}