.blog {
  position: relative;
  width: auto;
  max-height: 85vh;
  text-align: center;
  margin-top: 0;
  margin: 40px;
  overflow: hidden;
  border-radius: 30px;
  /* border: solid 2px yellow; */
}

#blog-border {
  padding-right: 120px;
}

.blog-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  /* grid-template-rows: repeat(4, auto); */
  gap: 20px;
  margin-bottom: 50px;
}

.blog-content-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.8);
}

#blog-text {
  background-color: transparent;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;

}

#blog-text p {
  padding-top: 1em;
  padding-bottom: 1em;
}

.blog-more-btn {
  padding-top: 2em;
  margin: 0;
  margin-top: 1em;
  /* font-family: 'NunitoSans', sans-serif; */
  /* width: max-content; */
  color: #d6be72;
  background-color: transparent;
  /* transition: background-color 0.3s, color 0.3s; */
  border-radius: 10px;
  border: #d6be72 2px solid;
  padding: 13px 20px;
  /* font-size: 18px; */
  cursor: pointer;
  text-decoration: none;
}

.blog-more-btn:hover {
  background: #d6be72;
  color: black;  
  padding: 13px 20px;
  border: #d6be72 2px solid;  
  text-decoration: none !important;
}



.carousel-wrapper {
  position: relative;
  height: 85vh;
  /* border: solid 2px yellow; */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  /* display: block; */
  /* height: 90vh; */
  filter: brightness(0.5);
  object-fit: cover;
  /* object-position: 60% 50%; */
  object-position: center center;
  border-radius: 30px;
}

.carousel-info {
  position: absolute;
  text-align: left;
  left: 60px;
  top: 50px;
  color: #EADFC8;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.carousel-info h2 {
  margin: 0px;
  color: #EADFC8;
  /* font-family: 'PlayfairDisplay', sans-serif; */
  font-weight: 600; 
  font-size: 30px;
  /* font-stretch: expanded; */
  /* text-shadow: none; */
  /* font-size: 24px; */
}

.carousel-info p {
  margin: 0;
  width: 50%;
  /* font-size: 18px; */
  color: #EADFC8;
}

.carousel-btn {
  position: absolute;
  top: 45vh;
  transform: translateY(-50%);
  background: #EADFC8;
  border: none;
  font-size: 30px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-btn.prev {
  left: 60px;
}

.carousel-btn.next {
  right: 60px;
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.carousel-dots button {
  border: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: black;
  border: #EADFC8 0.5px solid;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #EADFC8;
}

@media (max-width: 1150px) {
  #blog-border {
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .blog-content-img img {
    height: 300px;
  }
}

@media (max-width: 800px) {
  .blog-content {
    grid-template-columns: 1fr;
  }

  #blog-border {
    gap: 30px;
  }

  #blog-border h1 {
    padding: 0;
  }

  .blog-content-img img {
    height: 400px;
    width: 100%;
  }

  #blog-text {
    padding-inline: 0;
  }

  .carousel-info p {
    width: 80%;
  }

  .carousel-info h2 {
    width: 80%;
  }
}

@media (max-width: 670px) {

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .carousel-btn {
    top: 55vh;
    /* transform: translateY(-70%); */
  }
}

@media (max-width: 500px) {
  .carousel-info p {
    display: none;
  }

  .carousel-info {
    position: absolute;
    left: 30px;
    top: 30px;
  }

  .blog-content-img img {
    height: 300px;
    width: 100%;
  }

  .blog {
    margin-inline: 20px;
  }
}