@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

#conteudos-rieh {
  max-width: 100%;
  padding: 0rem 19px 10rem 19px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: auto;
}

.smaller-content-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1240px;
  width: 100%;
  margin: auto;
}

#conteudos-rieh h2.highlighted-section-title {
  border-radius: 0.25rem;
  width: fit-content;
  background: #214ca41a;
  padding: 0.25rem 0.5rem;
  margin: 0;

  font-size: 1rem;
  line-height: 19.2px;
  font-weight: 400;
  font-family: var(--site-font-normal);
  color: #051838;
}

#blog-section-cards-wrapper {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.71875rem;
  width: 100%;
}

#blog-section-cards-wrapper .card {
  width: 395px;
  height: 24.0625rem;
  box-shadow: 0px 7px 16px 0px #c7c7c73d;
  border: none;
}

#blog-section-cards-wrapper .card:hover {
  cursor: pointer;
}

#blog-section-cards-wrapper .card img {
  width: calc(100% - 32px) !important; /* Overrides default Bootstrap value */
  height: 223.82px;
  margin: 1rem;
  border-radius: 0.75rem;
  border: none;
}

#blog-section-cards-wrapper .card .card-body {
  font-size: 1.5rem;
  line-height: 28.13px;
  font-family: "Roboto", sans-serif;
  padding: 0 1rem 16.18px 1rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

#blog-section-cards-wrapper .card .card-footer {
  display: none;
}

#blog-section-cards-wrapper .card .card-text p a {
  margin: 0;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

#blog-section-cards-wrapper .card .card-title {
  font-size: 0.875rem;
  padding: 0.125rem 0.25rem;
  color: #051838;
  line-height: 16.8px;
  width: fit-content;
  border-radius: 6px;
  font-family: var(--site-font-normal);
}

.content-control-prev,
.content-control-next {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  border: none;

  box-shadow: 0px 7px 16px 0px #c7c7c73d;
  background: #fff;

  display: flex;
  justify-content: center;
  align-items: center;
}

@media (width: 1280px) {
  #blog-section-cards-wrapper .card img {
    width: auto !important; /* Override previously overriden CSS style. */
  }
}

@media (max-width: 1000px) {
  #conteudos-rieh {
    padding: 0rem 0.25rem 2.5rem 0.25rem;
  }

  #blog-section-cards-wrapper .card {
    width: 275px;
    height: 311px;
  }

  #blog-section-cards-wrapper .card img {
    height: 149.83px;
    margin: 1rem;
  }

  #blog-section-cards-wrapper {
    gap: 0.25rem;
  }

  #blog-section-cards-wrapper .card .card-text p a {
    -webkit-line-clamp: 3;
  }

  #blog-section-cards-wrapper .card .card-body {
    padding: 0 1rem 1rem 1rem;
  }

  .smaller-content-container {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #conteudos-rieh h2.highlighted-section-title {
    font-size: 0.875rem;
  }

  #conteudos-rieh h2:nth-of-type(2) {
    font-size: 2rem;
    line-height: 38.4px;
  }
}
