.blogWrapper {
  padding-inline: 66px;
}

.textWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 160px;
}

.textWrapper h5 {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.textWrapper p {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.textWrapper a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  background-color: #d91e3e;
  padding: 8px 32px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.blogFeaturedWrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blogFeaturedWrapper .blogCard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 520px;
  padding: 20px;
  border-radius: 20px;
  position: relative;
}

.blogCard img {
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  position: absolute;
  border-radius: 20px;
  z-index: -1;
  filter: brightness(0.7);
  object-fit: cover;
}

.headerWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: white;
}
.headerWrapper div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: white;
}

.headerWrapper img {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 30px;
  object-fit: contain;
  filter: none;
}

.blogCard h5 {
  font-size: 30px;
  font-weight: 400;
  line-height: 38.4px;
  text-align: left;
  color: white;
  max-width: 300px;
  margin-bottom: 16px;
}
.blogCard .text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  max-width: 300px;
  color: white;
  margin-bottom: 58px;
}

.blogCard .text {
  height: fit-content;
  position: relative;
}

.blogCard .text a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  padding: 12px 48px;
  border-radius: 20px;
  border: 1px solid white;
  position: relative;
  display: flex;
  width: fit-content;
}

@media screen and (max-width: 1110px) {
  .blogWrapper {
    padding-inline: 16px;
  }
  .blogFeaturedWrapper {
    gap: 16px;
  }
}

@media screen and (max-width: 900px) {
  .blogFeaturedWrapper {
    gap: 16px;
    flex-direction: column;
    display: flex;
  }
}
