.blog-pages {
  background-image: url("../img/home/blog-vila2.png");
  width: 100%;
  height: 501.7px;
  background-position: center;
  margin-top: 50px;
  position: relative;
}

.blog-pages img {
  width: 100%;
  max-height: 307px;
  max-width: 411px;
  border-radius: 21px 21px 0px 0px;
}

.blog-pages h5 {
  color: #00011d;
  font-size: 16px;
  font-weight: bold;
  padding-right: 20px;
  padding-top: 15px;
}

.blog-pages p {
  color: #00011d;
  font-size: 14px;
  padding: 5px 20px;
  text-align: justify;
  padding-left: 40px;
  line-height: 190.52%;
}

.blog-pages2 {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.blog-pages2 div:nth-child(1) {
  display: flex;
  align-items: center;
}

.blog-pages2 div:nth-child(1) span {
  color: #617798;
  font-size: 14px;
  margin-right: 5px;
}

.blog-pages div:nth-child(2) {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.blog-pages2 div:nth-child(2) span {
  color: #617798;
  font-size: 14px;
  margin-right: 5px;
}

.blog-pages3 {
  background: #000000;
  border-radius: 14px;
  width: 43px;
  height: 43px;
  transform: rotate(45deg);
  position: absolute;
  left: 60px;
  bottom: -20px;
  text-align: center;
  padding-top: 7px;
}

.blog-pages3 svg {
  transform: rotate(-45deg);
}

.view-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.view-all span {
  color: #000000;
  font-size: 26px;
  font-weight: bold;
}

.view-all a {
  text-decoration: none;
  font-size: 18px;
  color: #000000;
}

.details-img img {
  width: 100%;
  max-height: 317px;
  max-width: 1400px;
  border-radius: 0px 0px 21px 21px;
  position: absolute;
  top: 80px;
  z-index: -1;
}

.articles {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.articles div:nth-child(1) {
  padding: 10px 55px;
}

.articles div:nth-child(1) p {
  font-size: 25px;
  color: #fff;
  font-weight: bold;
  padding: 15px 30px;
  align-items: center;
  background: rgba(0, 0, 0, 0.31);
  border-radius: 21px;
}

.articles div:nth-child(2) {
  padding: 15px 30px;
  margin: 10px 55px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.31);
  border-radius: 21px;
  width: 100%;
  max-width: 292px;
}

.articles div:nth-child(2) span {
  color: #ffffff;
  font-size: 16.0588px;
  margin-right: 5px;
  margin-left: 13px;
}

.details-text {
  background: #ffffff;
  box-shadow: 0px -4px 53px rgba(0, 0, 0, 0.07);
  border-radius: 21px;
  width: 100%;
  padding: 20px;
  margin-top: 20px;
}

.details-text p {
  color: #00011d;
  font-size: 14px;
  line-height: 246.52%;
  text-align: justify;
}

.details-text img {
  max-inline-size: 100%;
  block-size: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
  border-radius: 15px;!important;
}

@media only screen and (max-width: 1400px) {
  .blog-pages h5 {
    font-size: 14px;
  }

  .blog-pages {
    background-image: none !important;
    background: #fff;
    border-radius: 15px;
  }
  .blog-pages {
    bottom: 0;
    left: 10px;
  }
}

@media only screen and (max-width: 820px) {
  .articles {
    flex-direction: column;
  }
  .details-img img {
    height: 100%;
  }
  .articles div:nth-child(1) p {
    font-size: 20px;
  }
}
