.related-pages-2 {
  --gutter: calc((100vw - min(88vw, var(--wp--style--global--content-size))) / 2);
}
.related-pages-2 .related-pages-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 600px) {
  .related-pages-2 .related-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-pages-2 .related-pages-grid article:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}
@media (min-width: 1024px) {
  .related-pages-2 .related-pages-grid {
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .related-pages-2 .related-pages-grid article:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
.related-pages-2 article {
  display: flex;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  background-color: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
@media (min-width: 600px) {
  .related-pages-2 article {
    min-height: 360px;
  }
}
@media (min-width: 1024px) {
  .related-pages-2 article {
    min-height: 520px;
  }
  .related-pages-2 article:first-child .related-page-content {
    padding-left: var(--gutter);
  }
  .related-pages-2 article:last-child .related-page-content {
    padding-right: var(--gutter);
  }
}
.related-pages-2 article a {
  display: flex;
  align-items: flex-end;
  flex: 1;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.related-pages-2 article a .related-page-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  z-index: 0;
  will-change: transform;
}
.related-pages-2 article a .related-page-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1023.98px) {
  .related-pages-2 article a .related-page-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
  }
}
.related-pages-2 article a .related-page-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--wp--preset--spacing--normal) var(--gutter);
  width: 100%;
}
@media (min-width: 1024px) {
  .related-pages-2 article a .related-page-content {
    gap: 1rem;
    padding: 3rem;
  }
}
.related-pages-2 article a .related-page-content-inner {
  max-width: 550px;
}
.related-pages-2 article a h3 {
  margin: 0;
  color: #fff;
  word-break: break-word;
}
@media (max-width: 1023.98px) {
  .related-pages-2 article a h3 {
    font-size: clamp(2.4rem, 7vw, 3.2rem);
    line-height: 1.15;
  }
}
.related-pages-2 article a p {
  margin: 0;
  color: white;
}
@media (max-width: 1023.98px) {
  .related-pages-2 article a p {
    font-size: 1.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }
}
.related-pages-2 article a:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}/*# sourceMappingURL=block-related-pages-2.css.map */