.resource-cta {
  container-type: inline-size;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  color: var(--resource-fg, #006450);
  text-decoration: none;
}
.resource-cta:hover, .resource-cta:focus {
  color: var(--resource-fg, #006450);
  text-decoration: none;
}
.resource-cta[href]:focus-visible {
  outline: 2px solid #006450;
  outline-offset: 4px;
  border-radius: 12px;
}
.resource-cta__frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 39.2rem;
  min-height: clamp(34rem, 100cqw, 50rem);
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--resource-bg, #cce6ac);
}
.resource-cta__image {
  position: absolute;
  inset: 0 0 30% 6.6%;
  bottom: auto;
  height: 70cqw;
  z-index: -2;
  line-height: 0;
}
.resource-cta__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.resource-cta__panel {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--resource-bg, #cce6ac);
  clip-path: polygon(0 0, 6.6% 0, 100% 70%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 6.6% 0, 100% 70cqw, 100% 100%, 0 100%);
  pointer-events: none;
}
.resource-cta__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 13.7rem 2.1rem 3.5rem;
  padding: 35cqw clamp(2rem, 5.33cqw, 3rem) clamp(2.4rem, 8.9cqw, 3.5rem);
}
.resource-cta__icon {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-bottom: 1.8rem;
  background: currentColor;
  mask: var(--resource-icon) center/contain no-repeat;
}
.resource-cta .resource-cta__title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--wp--preset--font-family--primary);
  font-size: clamp(2.4rem, 8.12cqw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.019em;
  text-transform: none;
  overflow-wrap: anywhere;
  color: inherit;
}
.resource-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 100%;
  margin-top: auto;
  padding-top: clamp(3rem, 12cqw, 6rem);
  font-family: var(--wp--preset--font-family--primary);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.019em;
  overflow-wrap: anywhere;
}
.resource-cta__arrow {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("../../../assets/images/theme/resource-arrow.svg") center/contain no-repeat;
  transition: transform 0.25s ease;
}
.resource-cta[href]:hover .resource-cta__image img, .resource-cta[href]:focus-visible .resource-cta__image img {
  transform: scale(1.035);
}
.resource-cta[href]:hover .resource-cta__arrow, .resource-cta[href]:focus-visible .resource-cta__arrow {
  transform: translateX(3px);
}
.resource-cta--stacked .resource-cta__frame {
  min-height: 0;
}
.resource-cta--stacked .resource-cta__image {
  position: relative;
  inset: auto;
  height: auto;
  aspect-ratio: 16/10;
  flex: 0 0 auto;
}
.resource-cta--stacked .resource-cta__panel {
  display: none;
}
.resource-cta--stacked .resource-cta__content {
  padding-top: clamp(2rem, 5.33cqw, 3rem);
}
.resource-cta--no-image .resource-cta__panel {
  clip-path: none;
}
.resource-cta--no-image .resource-cta__content {
  padding-top: clamp(2rem, 5.33cqw, 3rem);
}
@media (prefers-reduced-motion: reduce) {
  .resource-cta .resource-cta__image img,
  .resource-cta .resource-cta__arrow {
    transition: none;
    transform: none !important;
  }
}
