.image-panel-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: clamp(28rem, 70vw, 42rem);
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #163850;
}
.image-panel-cta__media {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #163850;
}
.image-panel-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 8, 17, 0.65) 0%, rgba(4, 8, 17, 0.5) 48%, rgba(4, 8, 17, 0.1) 100%);
  pointer-events: none;
}
.image-panel-cta__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-panel-cta__content {
  width: 100%;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.image-panel-cta__title {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-18);
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  margin: 0 0 2rem !important;
  padding-top: 2.25rem;
  color: #fff;
  position: relative;
}
.image-panel-cta__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5rem;
  height: 2px;
  background: #B49B61;
}
.image-panel-cta__subtitle p {
  font-family: var(--wp--preset--font-family--secondary);
  font-size: var(--wp--preset--font-size--font-22);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
  margin: 0 !important;
  color: #fff;
}
.image-panel-cta__link {
  color: #fff;
  border-bottom: 2px solid #D2C8B8;
  padding: 0 0 0.5rem 0;
  font-family: var(--wp--preset--font-family--secondary);
  font-weight: 600;
  transition: 0.2s ease-in-out;
  background: transparent;
  display: inline-block;
  margin-top: 3rem;
}
.image-panel-cta__link:hover {
  color: #B49B61;
  border-bottom: 2px solid #B49B61;
  background-color: transparent;
}
.image-panel-cta__placeholder {
  align-self: center;
  width: 100%;
  margin: 0 !important;
  padding: var(--wp--preset--spacing--small);
  color: #fff;
  text-align: center;
}
@media (min-width: 782px) {
  .image-panel-cta {
    height: 100%;
    min-height: 0;
  }
  .image-panel-cta.is-style-breakout-right {
    overflow: visible;
    background: transparent;
  }
  .image-panel-cta.is-style-breakout-right .image-panel-cta__content {
    padding-right: 0;
  }
  .image-panel-cta.is-style-breakout-right .image-panel-cta__media {
    width: 100vw;
    max-width: none;
    border-radius: 4px 0 0 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-panel-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}
