.wp-block-columns {
  max-width: 58em;
  margin-inline: auto;
  margin-block: 3.5em 4.5em;
  gap: 3.5em;
  align-items: flex-start;
}

.wp-block-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.wp-block-column:nth-child(1) .kdf-category-image {
  transform: translateY(-0.4em);
}
.wp-block-column:nth-child(2) .kdf-category-image {
  transform: translateY(0.6em);
}
.wp-block-column:nth-child(3) .kdf-category-image {
  transform: translateY(-0.2em);
}

.kdf-category-image img {
  width: 12em;
  height: 12em;
  border-radius: 20px;
}

.wp-block-heading {
  margin-top: 1.1em;
  margin-bottom: 0;
}
.wp-block-heading a {
  position: relative;
  text-decoration: none;
  color: var(--wp--preset--color--ink);
}
.wp-block-heading a::after {
  content: "";
  display: block;
  width: 100%;
  margin-top: 0.15em;
  height: 11px;
  background-color: var(--wp--preset--color--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 11' preserveAspectRatio='none'%3E%3Cpath d='M1.5 6.5 Q 15 1.5 30 6.5 T 60 6.5 T 98.5 6.5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transition: transform 0.2s ease;
  transform-origin: left;
}
.wp-block-heading a:hover::after {
  transform: scaleX(1.06);
}

p.has-text-align-center {
  font-size: 1.15em;
  max-width: 34em;
  margin-inline: auto;
  margin-bottom: 2.5em;
  padding-bottom: 2em;
  position: relative;
}
p.has-text-align-center::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 13px;
  padding-inline: 2.5px;
  background-color: var(--wp--preset--color--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 13' preserveAspectRatio='none'%3E%3Cpath d='M0 6.5 Q 11.25 -0.5 22.5 6.5 T 45 6.5' stroke='black' stroke-width='5' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left center/auto 100% round no-repeat content-box content-box, radial-gradient(circle 2.5px at 2.5px 50%, #000 90%, transparent) border-box border-box, radial-gradient(circle 2.5px at calc(100% - 2.5px) 50%, #000 90%, transparent) border-box border-box;
}
