:root {
  --brown-primary: #4f1a00;
  /*--orange-primary: #ee5512;*/
  --text-color: #676977;
  --vast-background: #f4f5f8;
  --heading-font: "Poppins", sans-serif;
  --paragraph-font: "Barlow", sans-serif;
}

/*===== BLOGS ARCHIVE SHOWCASE STYLES =====*/
section.current-tours-showcase {
  padding-top: 180px;
  padding-bottom: 150px;
  background-image: linear-gradient(to top, hsla(0, 0%, 0%, 0.4), hsla(0, 0%, 0%, 0.4)), url(../images/current-tours-banner.png);
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

section.current-tours-showcase .current-tours-title .container h1 {
  font-size: 32px;
  font-family: var(--heading-font);
  font-weight: 700;
}

section.current-tours-showcase .current-tours-title .container p {
  font-size: 18px;
  letter-spacing: 1px;
}

/*===== BLOGS CONTAINER STYLES =====*/
section.the-blogs-container {
  background-color: var(--vast-background);
}

section.the-blogs-container .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 3rem;
}

section.the-blogs-container .news-carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(28vw, 353px);
}

section.the-blogs-container .news-carousel-item .carousel-item-img {
  position: relative;
  overflow: hidden;
}

section.the-blogs-container .news-carousel-item .carousel-item-img img {
  width: 100%;
  transition: all 1s ease;
  padding-bottom: 132%;
  height: 100%;
}

section.the-blogs-container .news-carousel-item .carousel-item-img .news-date {
  padding: 0.5rem 1rem;
  background: var(--brown-primary);
  position: absolute;
  top: 5%;
  left: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.the-blogs-container .news-carousel-item .carousel-item-img .news-date p.month {
  text-transform: uppercase;
  font-size: 13px;
  color: white;
}

section.the-blogs-container .news-carousel-item .carousel-item-img .news-date p.date {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

section.the-blogs-container a {
  text-decoration: none;
}

section.the-blogs-container a:hover .carousel-item-img img {
  transform: scale(1.1);
}

section.the-blogs-container .news-carousel-item h3 {
  background: white;
  color: var(--brown-primary);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  width: 80%;
  padding: 2rem 2rem;

  text-align: center;
  transition: 0.2s cubic-bezier(0.3, 0.58, 0.55, 1);
  position: relative;
  left: 50%;
  bottom: -12%;
  transform: translateX(-50%);

  margin-top: max(-525px, -41vw);
}

section.the-blogs-container a:hover .news-carousel-item h3 {
  transform: translate(-50%, -85%);
}

@media (max-width: 1250px) {
  section.the-blogs-container .news-carousel-item h3 {
    width: 90%;
    padding: 1rem 1rem;
  }
}

@media (max-width: 1000px) {
  section.the-blogs-container .container {
    grid-template-columns: repeat(2, 353px);
    justify-content: space-around;
  }

  section.the-blogs-container .news-carousel-item {
    width: 100%;
  }

  section.the-blogs-container .news-carousel-item h3 {
    width: 80%;
    padding: 2rem 2rem;
    margin-top: -525px;
  }
}

@media (max-width: 767px) {
  section.the-blogs-container .container {
    grid-template-columns: repeat(1, 353px);
  }
}

@media (max-width: 370px) {
  section.the-blogs-container .container {
    grid-template-columns: repeat(1, 350px);
    overflow: hidden;
  }
}
