:root {
 --primary-color: #ffffff;
 --secondary-color: #a8cf45;
}
/* root colors end*/

/* Header  */
.header {
 padding: 0.5rem 0;
 figure {
  background: url("../assets/header-logo.png") no-repeat;
  background-position: center;
  background-size: contain;
  height: 4rem;
 }
 .header-input-div {
  width: fit-content;
  display: flex;
  justify-content: end;
 }
 .search-icon {
  width: 1.5rem;
 }
}
/* hero-sec */
.hero-sec {
 margin: 1rem 0;
}
.hero-sec .articles {
 height: 95vh;
 grid-template-columns: repeat(3, 1fr);
 grid-gap: 1rem;
}
.hero-sec .articles a {
 display: block;
}
.hero-sec .articles {
 .articles-left {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* grid-template-rows: repeat(5, 1fr); */
  grid-gap: 1rem;
  .article1 {
   grid-column: 1/5;
   grid-row: 1/4;
   display: flex;
   align-items: end;
   background: linear-gradient(
     to top,
     rgba(0, 0, 0, 0.784) 5%,
     rgba(0, 0, 0, 0.317) 40%
    ),
    url("../assets/hero-bg.png") no-repeat;
   background-position: center;
   background-size: cover;
   h2 {
    padding: 1rem 3rem;
    font-size: 2rem;
    line-height: 1.5;
    color: white;
    font-weight: 500;
   }
  }
  .article2 {
   grid-column: 1/3;
   grid-row: 4/6;
   display: flex;
   align-items: end;
   background: linear-gradient(
     to top,
     rgba(0, 0, 0, 0.784) 5%,
     rgba(0, 0, 0, 0.317) 40%
    ),
    url("../assets/hero-bg.png") no-repeat;
   background-position: center;
   background-size: cover;
   h2 {
    padding: 1rem 1rem;
    font-size: 1.7rem;
    line-height: 1.3;
    color: white;
    font-weight: 500;
   }
  }
  .article3 {
   grid-column: 3/5;
   grid-row: 4/6;

   display: flex;
   align-items: end;
   background: linear-gradient(
     to top,
     rgba(0, 0, 0, 0.784) 5%,
     rgba(0, 0, 0, 0.317) 40%
    ),
    url("../assets/hero-bg.png") no-repeat;
   background-position: center;
   background-size: cover;
   h2 {
    padding: 1rem 1rem;
    font-size: 1.7rem;
    line-height: 1.3;
    color: white;
    font-weight: 500;
   }
  }
 }
 .articles-right {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  .article4,
  .article5 {
   grid-column: 1/3;
   display: flex;
   align-items: end;
   background: linear-gradient(
     to top,
     rgba(0, 0, 0, 0.784) 5%,
     rgba(0, 0, 0, 0.317) 40%
    ),
    url("../assets/hero-bg.png") no-repeat;
   background-position: center;
   background-size: cover;
   h3 {
    padding: 1rem 1rem;
    font-size: 1.7rem;
    line-height: 1.3;
    color: white;
    font-weight: 500;
   }
  }
 }
}

/* editors pick */
.editors-pick {
 margin: 2rem 0;
 .top-explore {
  font-size: 0.8rem;
  border-bottom: 1px solid var(--secondary-color);
  width: 70%;
  padding-bottom: 0.8rem;
 }

 .list-of-articles {
  .left {
   grid-column: 1/4;
   h2 {
    font-size: 2.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
   }

   .section-1 {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    height: 75vh;
    margin-top: 1.5rem;
    .left-side {
     display: grid;
     figure {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.784) 5%,
        rgba(0, 0, 0, 0.317) 40%
       ),
       url("../assets/hero-bg.png") no-repeat;
      background-position: center;
      background-size: cover;
      height: 50vh;
     }
     h3 {
      font-size: 1.5rem;
      line-height: 1.2;
      font-weight: 700;
      margin: 0.5rem 0;
     }
     p {
      line-height: 1.4;
     }
     .read-more {
      border: 1px solid var(--secondary-color);
      padding: 0.5rem 1rem;
      display: block;
      width: fit-content;
      margin-top: 1rem;
      letter-spacing: 0.2rem;
      text-transform: uppercase;
      font-size: 0.9rem;
      padding-bottom: -0.5rem;
     }
    }

    .right {
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     article {
      figure {
       background: linear-gradient(
         to top,
         rgba(0, 0, 0, 0.784) 5%,
         rgba(0, 0, 0, 0.317) 40%
        ),
        url("../assets/hero-bg.png") no-repeat;
       background-position: center;
       background-size: cover;
       width: 15rem;
       height: 10.5rem;
       margin-bottom: .5rem;
       /* border: 1px solid red; */
      }
      div {
       margin-left: 1rem;
      }
      h3 {
       font-size: 1.3rem;
       font-weight: 700;
       line-height: 1.3;
      }
      .read-more {
       border: 1px solid var(--secondary-color);
       padding: 0.5rem 1rem;
       display: block;
       width: fit-content;
       margin-top: 1rem;
       letter-spacing: 0.2rem;
       text-transform: uppercase;
       font-size: 0.8rem;
      }
     }
    }
   }

   .section-2 {
    margin: 2rem 0;
    display: grid;
    margin-top: 5rem;
    grid-template-columns: repeat(3, 1fr);
    height: fit-content;
    background-color: var(--secondary-color);
    margin-top: 12rem;
    figure {
     background: linear-gradient(
       to top,
       rgba(0, 0, 0, 0.784) 5%,
       rgba(0, 0, 0, 0.317) 40%
      ),
      url("../assets/hero-bg.png") no-repeat;
     background-position: center;
     background-size: cover;
     grid-column: 1/2;
     height: 70vh;
    }
    .content {
     grid-column: 2/4;
     width: 70%;
     height: 50%;
     margin: auto;
     display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
     line-height: 1.3;
     /* margin-bottom: 1rem; */
     h3 {
      font-size: 1.8rem;
      font-weight: 600;
     }
     p {
      font-size: 1.3rem;
      margin-top: 1rem;
     }
    }
   }
   .editors-section{
    .right{
      article{
        margin-bottom: .5rem;
      }

    }
   }

   .search-sec {
    padding: 5rem 0;
   }
   .search-sec form {
    width: 70%;
    margin: auto;
    background-color: white;
    padding: 0rem 0.8rem;
    position: relative;
    /* margin-top: -2rem; */
    border-radius: 0.3rem;
    border: 1px solid rgba(128, 128, 128, 0.513);
   }

   .search-sec form input {
    width: 88%;
    border: none;
    background: none;
    color: black;
    display: block;
    font-family: "Montserrat", sans-serif;
    padding: 0.9rem 1.3rem;
    /* background-color: white; */
    outline: none;
   }
   .search-sec form input::placeholder {
    color: black;
   }

   .search-sec form img {
    display: block;
    margin-right: 0.5rem;
    width: 1.5rem;
   }
   .search-sec form .srch-div {
    /* border: 1px solid rgba(255, 255, 255, 0.807); */
    border-radius: 0.7rem;
   }
   .search-sec form input::placeholder {
    color: rgba(255, 255, 255, 0.466);
   }

   .search-sec p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
   }
  }
 }

 .list-of-articles .right-side {
  padding-left: 2rem;
  border-left: 1px solid var(--secondary-color);
  h3 {
   font-size: 2.5rem;
   font-weight: 700;
   margin-bottom: 3rem;
  }
 }

 .list-of-articles .right-side .right-articles {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  article {
   figure {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.784) 5%,
      rgba(0, 0, 0, 0.317) 40%
     ),
     url("../assets/hero-bg.png") no-repeat;
    background-position: center;
    background-size: cover;
    height: 15rem;
    margin: 0.5rem 0;
   }
   h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0;
   }
   p {
    line-height: 1.5;
    font-size: 1.1rem;
   }
  }
 }
}

.line {
 padding: 0.3rem;
 background-color: #d9d9d9;
 margin-top: 2rem;
}

/* about sec */

.about-sec {
 padding: 2rem 0;
 background-color: var(--primary-color);
 color: black;
}
.about-sec .content {
 margin: auto;
 text-align: center;
 line-height: 2;
 padding: 2rem 1rem;
}
.about-sec .content figure {
 width: 17rem;
 background: url(../assets/header-logo.png) no-repeat;
 background-size: contain;
 background-position: center;
 height: 70px;
 margin: auto;
 margin-bottom: 2rem;
}
.about-sec .content p {
 width: 60%;
 margin: auto;
 text-align: center;
 line-height: 1.5;
}
.about-sec .content .line {
 height: 0.1rem;
 background-color: white;
 margin: auto;
 margin-top: 1rem;
 margin-bottom: 1rem;
}
.about-sec .content span {
 text-align: center;
 display: block;
}
.about-sec .content small {
 font-weight: 900;
}

.footer {
 width: 100%;
 margin: auto;

 line-height: 1.5;
}
.footer ul {
 background-color: #d9d9d9;
 margin: auto;
 padding: 1rem 2rem;
}
.footer li {
 color: black;
 font-size: 0.8rem;
}
.footer p {
 font-size: 0.9rem;
}
