.featured-blocks-section {
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.featured-block {
  flex: 1 1 0;
  min-width: 0;
  background-color: var(--wp--preset--color--cream, #faf3e3);
  border-radius: 1rem;
  overflow: hidden;
}

.featured-block a {
  display: block;
  text-decoration: none;
}

.featured-block__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.featured-block__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.featured-block a:hover .featured-block__image img {
  transform: scale(1.08);
}

.featured-block__detail {
  padding: 1rem;
  color: var(--wp--preset--color--primary, #083335);
}
.featured-block__detail h3 {
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .featured-block__detail h3 {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .featured-block__detail h3 {
    font-size: 1.6rem;
  }
}

.featured-blocks-section h3 {
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
 
}

.featured-blocks-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background-color: var(--wp--preset--color--primary, #083335);
  transition: width 0.3s ease;
}

.featured-block a:hover h3::after {
  width: 100%;
}

.featured-blocks-section p {
  margin: 0;
}
