:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.link-cta {
  display: block;
  background: #92712E;
  overflow: hidden;
  position: relative;
}
.link-cta .bg {
  display: block;
  background-position: center;
  background-size: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.link-cta .bg:before {
  display: block;
  content: "";
  background: #000;
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.75s ease-in-out 0.05s;
}
.link-cta .slideup__panel {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 450px;
  padding: 3rem 3rem 5rem 3rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 90%);
  cursor: pointer;
  position: relative;
  z-index: 5;
  transition: min-height 0.35s ease-in-out;
}
.link-cta .slideup__panel .card-hover {
  transform: translateY(2rem);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transition: all 0.35s ease-in-out;
  transition-delay: 0s;
}
.link-cta .slideup__panel h3 {
  font-size: var(--wp--preset--font-size--font-40);
  margin-bottom: 0.65ch;
}
.link-cta .slideup__panel h3.title-active {
  margin: 0;
  position: absolute;
  bottom: 5rem;
  left: 3rem;
  transition: opacity 0.35s ease-in-out;
  transition-delay: 0.25s;
}
.link-cta .slideup__panel p {
  color: #fff;
}
.link-cta .slideup__panel .link-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 600;
  line-height: 1.025;
  text-align: center;
  text-decoration: none;
  padding: 1.1rem 2rem 1.1rem 4rem;
  color: #fff;
  border-radius: 5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #B89F6B;
  margin-top: 4rem;
  cursor: pointer;
}
.link-cta .slideup__panel .link-cta__btn:hover, .link-cta .slideup__panel .link-cta__btn:active, .link-cta .slideup__panel .link-cta__btn:focus {
  color: #92712E;
  background: #fff;
}
.link-cta .slideup__panel .link-cta__btn:hover, .link-cta .slideup__panel .link-cta__btn:active, .link-cta .slideup__panel .link-cta__btn:focus {
  color: #fff;
  background: #92712E;
  border-color: #92712E;
}
.link-cta .slideup__panel .link-cta__btn:before {
  content: "";
  display: block;
  width: 13px;
  height: 12px;
  background-color: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12' fill='none'%3E%3Cpath stroke='%23B89F6B' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m.75.75 5.078 4.978L.75 10.75M6.828.75l5.077 4.978-5.077 5.022'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: calc(50% - 6px);
  left: 2rem;
}
.link-cta .slideup__panel:hover, .link-cta .slideup__panel:active, .link-cta .slideup__panel:focus {
  min-height: 520px;
}
.link-cta .slideup__panel:hover h3.title-active, .link-cta .slideup__panel:active h3.title-active, .link-cta .slideup__panel:focus h3.title-active {
  opacity: 0;
  transition-delay: 0s;
}
.link-cta .slideup__panel:hover .card-hover, .link-cta .slideup__panel:active .card-hover, .link-cta .slideup__panel:focus .card-hover {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition-delay: 0.25s;
}

a.link-cta {
  transition: transform 0.35s ease-in-out;
}
a.link-cta:hover .bg:before, a.link-cta:active .bg:before, a.link-cta:focus .bg:before, a.link-cta.open .bg:before {
  opacity: 0.2;
}

.link-cta.open .slideup__panel {
  min-height: 520px;
}
.link-cta.open .slideup__panel h3.title-active {
  opacity: 0;
  transition-delay: 0s;
}
.link-cta.open .slideup__panel .card-hover {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition-delay: 0.25s;
}
