/* Root */
:root {
  --desktop_padding: 9.375vw;
  --header-height: 86px;
}

@media screen and (max-width: 1440px) {
  :root {
    --desktop_padding: 3rem;
    --header-height: 66px;
  }
}
@media screen and (max-width: 992px) {
  :root {
    --desktop_padding: 1rem;
  }
}
#main {
  overflow-x: unset;
  margin-top: 2.25rem;
}
#main h1 {
  font-size: 2.8125rem;
  font-family: "SVN-Megante";
  margin-bottom: 2.375rem;
}
#main h4 {
  margin-bottom: 1.125rem;
  color: rgb(2, 74, 43) !important;
}
#main .list-news {
  margin-bottom: 2.375rem;
  grid-template-columns: repeat(3, 1fr);
}
#main .list-news .item-news {
  aspect-ratio: 504/396;
}
#main nav {
  display: flex;
  justify-content: center;
  margin-top: 2.375rem;
  margin-bottom: 2.375rem;
}
#main .list-category {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.375rem;
  flex-wrap: wrap;
}
#main .list-category a {
  padding: 0.75rem 1rem;
  min-width: 10rem;
  max-width: 23%;
  position: relative;
  border-bottom: 1.5px solid rgb(2, 74, 43);
  transition: all 0.1s ease-in-out;
  text-align: center;
}
#main .list-category a::after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  clip-path: polygon(6px 0%, 100% 0%, 100% 100%, 0% 100%);
  background-color: rgb(2, 74, 43);
  height: 0px;
  transition: all 0.1s ease-in-out;
}
#main .list-category a.active {
  font-weight: 600;
  font-size: 1.5rem;
}
#main .list-category a.active::after,
#main .list-category a:hover::after {
  height: 2px;
}
#main .list-news .item-news .meta {
  opacity: 1;
}
#main .list-news-zone {
  justify-content: space-between;
  overflow: unset;
  height: max-content;
}
#main .list-news-zone * {
  color: #222222;
}
#main .list-news-zone .right-side {
  top: 1rem;
  z-index: 9;
  height: max-content;
  position: sticky;
}

@media only screen and (max-width: 1024px) {
  .list-news {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-news .item-news {
    aspect-ratio: 16/9;
  }
  #main .list-category a.active {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 992px) {
  #main .list-news-zone {
    height: max-content !important;
    padding-bottom: 3rem;
  }
  #main .list-category a {
    min-width: max-content;
  }
  #main .list-news-zone .right-side {
    position: static;
  }
  #main .list-news {
    grid-template-columns: repeat(1, 1fr);
  }
  #main .list-news .item-news {
    aspect-ratio: 4/2;
  }
  #main .list-news .item-news .description {
    display: none;
  }
  #main .list-news .item-news::before {
    background: -webkit-linear-gradient(
      180deg,
      rgba(1, 20, 12, 0) 46%,
      rgba(2, 74, 43, 0.8506276261) 72%
    );
    background: linear-gradient(
      180deg,
      rgba(1, 20, 12, 0) 46%,
      rgba(2, 74, 43, 0.8506276261) 72%
    );
  }
}
@media only screen and (max-width: 576px) {
  #main .list-category {
    gap: 1rem;
  }
  #main .list-category a {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  #main .list-category a.active {
    font-size: 0.8rem;
  }
  #main .list-news {
    grid-template-columns: repeat(1, 1fr);
  }
  #main .list-news .item-news {
    aspect-ratio: 3/4;
  }
  #main .list-category {
    justify-content: start;
  }
  #main .list-category a {
    min-width: 28%;
  }
}
