@media screen and (max-width: 1150px) {
 .container {
  margin: auto;
  width: 90%;
 }
 .mini-container {
  width: 90%;
 }
 .hero-sec {
  margin-top: 2rem;
 }
}
@media screen and (max-width: 955px) {
 .categories {
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
 }
 .categories-sec .categories figure:nth-child(4),
 .categories-sec .categories figure:nth-child(8) {
  border: none;
 }

 .hero-sec .articles-hero-sec {
  grid-template-columns: repeat(2, 1fr);
 }
}
@media screen and (max-width: 1056px) {
 .flexColumn1056 {
  flex-direction: column;
 }
 .footer .all-content .flex60 {
  flex: 0 1 100%;
 }
 .footer .all-content .flex40 {
  margin-top: 2rem;
  flex: 0 1 100%;
  width: 100% !important;
 }
 .trending-articles article .content {
  width: 50% !important;
 }
}

@media screen and (max-width: 855px) {
 .hero {
  height: 60vh;
 }
 .hero .content {
  width: 80%;
 }
 .home-articles .list-articles {
  width: 80%;
 }
}

@media screen and (max-width: 720px) {
 .header ul {
  display: none;
 }
 .header nav div {
  flex: 0 1 2%;
 }
}

@media screen and (max-width: 620px) {
 .hero .content {
  width: 100%;
  height: 40vh;
  text-align: center;
 }
 .hero .content .heading,
 .hero .content p {
  text-align: center;
 }
 .spotlight-sec .spotlights .vector {
  z-index: 9999;
  opacity: 60%;
 }
 .hero {
  height: 60vh;
  background-position: left;
 }
 .home-articles .list-articles {
  grid-template-columns: repeat(1, 1fr);
  /* direction: rtl; */
 }
 .home-articles .article-content {
  display: block;
 }
 .home-articles .list-articles .article-content {
  display: block;
  border: 1px solid rgba(128, 128, 128, 0.448);
  height: 10rem;
 }

 .home-articles .article1,
 .home-articles .article4 {
  display: none;
 }

 .spotlight-sec .spotlights {
  grid-template-columns: repeat(1, 1fr);
 }

 .spotlight-sec .banner-content {
  grid-column: 1/4;
  line-height: 1.5;
  grid-row: 2/3;
 }

 .spotlight-sec1 {
  margin-top: 3rem;
 }
 .spotlight-sec1 .multi-articles {
  margin-top: 2rem;
 }
 .spotlight-sec1 .banner-content {
  grid-row: 1/2;
  margin-top: 2rem;
 }

 .spotlight-sec .banner {
  grid-column: 1/4;
  grid-row: 1/2;
 }
 .spotlight-sec1 .banner {
  grid-row: 2/3;
  margin-bottom: 2rem;
 }

 .spotlight-sec .banner-content p {
  font-size: 1.5rem;
 }

 .category-articles {
  margin-top: 28rem;
 }

 .category-articles .list-articles {
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  /* height: 12rem; */
 }
 .category-articles1 .list-articles article {
  width: 20rem;
 }

 .category-articles1 .list-articles {
  width: 100% !important;
  display: flex;
  height: 20rem;
  justify-content: space-between;
  width: 48%;
  flex-direction: column;
  flex-wrap: wrap;
  overflow-x: scroll;
 }
 .hero .search-sec {
  width: 80%;
  margin: auto;
 }
 .categories-sec {
  margin-top: 30rem;
 }
 .hero-sec {
  margin-top: 32rem;
 }
}

@media screen and (max-width: 560px) {
 .trending-articles article .content {
  width: 70% !important;
 }
 .header .hambuger {
  display: block;
  width: 20px;
  height: 20px;
 }
 .inside-hamerger {
  position: fixed;
  left: 0 !important;
  width: fit-content;
  top: 0 !important;
  z-index: 99999 !important;
  /* display: block !important; */
  /* border: 2px solid red; */
  background-color: rgba(255, 255, 255, 0.853) !important;
  width: 100%;
  height: 70vh;
 }
 .header .inside-hamerger .cross {
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  right: 2rem;
  top: 2rem;
 }
 .header .inside-hamerger p {
  color: black !important;
  color: black !important;
 }
 .header .inside-hamerger div {
  margin: auto;
  width: fit-content;
  height: fit-content;
  margin-top: 6rem;
 }
 .header .link {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
 }
 .header .header-logo {
  margin-left: 3rem;
 }
}

@media screen and (max-width: 520px) {
 html {
  font-size: 14px;
 }
 .hero .content {
  width: 90%;
 }
 .hero .search-sec {
  width: 80%;
  margin: auto;
 }
 .hero .search-sec form {
  padding-right: 0rem;
 }
 .hero-sec .articles-hero-sec {
  grid-template-columns: repeat(1, 1fr);
 }
}

@media screen and (max-width: 450px) {
 .hero {
  height: 52vh;
 }
 .hero .search-sec {
  /* margin-top: 1rem; */
 }
 .hero .content {
  padding-top: 3rem;
  width: 100%;
 }

 .categories-sec .categories figure {
  padding-right: 1.5rem;
 }
 .footer {
  width: 90%;
  padding: 0;
  padding-bottom: 2rem;
  margin: auto;
  padding: 1rem 0;
 }

 .home-articles {
  margin-top: 3rem;
  margin-bottom: -15rem;
 }
}

@media screen and (max-width: 390px) {
 .hero .content .heading {
  font-size: 1.8rem;
 }
}
