.carousel-wrap-overflow-hide {
  overflow: hidden;
}

.cc_carousel .flickity-viewport {
  overflow: visible;
  height: 100%; /* Ensure the Flickity viewport takes full height */
}
.cc_carousel .carousel-cell {
  background-color: var(--wp--preset--color--background-2);
  border-radius: 20px;
  margin-right: 8px;
  margin-left: 8px;
  display: flex; /* Make the cell a flex container */
  flex-direction: column; /* Align the inner elements vertically */
  transition: all 0.2s ease-in-out;
  min-height: 100%;
}
.cc_carousel .carousel-cell:hover {
  background-color: var(--wp--preset--color--secondary);
  box-shadow: 0px 30px 40px -15px rgba(194, 179, 164, 0.6);
  margin-top: -12px;
}
.cc_carousel .carousel-cell:hover .carousel-cell--content a {
  gap: 24px !important;
}
.cc_carousel .carousel-cell:hover img {
  max-width: 100%;
  height: auto;
  transform: scale(1.1);
}
.cc_carousel .carousel-cell .carousel-cell--inner {
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1; /* Allow the inner content to grow to fill available space */
  overflow: hidden !important;
  min-height: 100%;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--image {
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: all 0.2s ease-in-out;
  line-height: 0;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--image img {
  margin-bottom: 0;
  transition: all 0.2s ease-in-out;
  width: 100%;
  display: block;
  height: auto;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content {
  padding: var(--wp--preset--spacing--large);
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--small);
  flex-grow: 1; /* Let the content grow to fill the available space */
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content .carousel-cell--meta {
  font-size: 16px;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content h3 {
  font-size: clamp(20px, 3vw, 36px);
  margin: 0;
  line-height: 1.25;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content .carousel-cell--link {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content .carousel-cell--link a {
  position: static;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  text-underline-offset: 0.18em;
  transition: all 0.2s ease-in-out;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content .carousel-cell--link a::after {
  content: "";
  background-color: var(--wp--preset--color--foreground-1);
  display: block;
  position: static;
  mask-size: cover;
  -webkit-mask-size: cover;
  -webkit-mask: url("../../images/icons/arrow-right.svg");
  mask: url("../../images/icons/arrow-right.svg");
  width: 18px !important;
  height: 18px !important;
  transform: scale(0.85);
  transition: all ease-in-out 0.2s;
}
.cc_carousel .carousel-cell .carousel-cell--inner .carousel-cell--content .carousel-cell--link a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.cc_carousel.cc_carousel--style1 .carousel-cell {
  max-width: 450px;
  width: 100%;
}

.cc_carousel.cc_carousel--style2 .carousel-cell {
  max-width: 568px;
  padding: var(--wp--preset--spacing--large);
}
.cc_carousel.cc_carousel--style2 .carousel-cell .carousel-cell--image {
  border-radius: 16px;
}
.cc_carousel.cc_carousel--style2 .carousel-cell .carousel-cell--content {
  padding: var(--wp--preset--spacing--small) 0 0 0;
}
.cc_carousel.cc_carousel--style2 .carousel-cell .carousel-cell--content h3 {
  font-size: 32px;
}

.cc_carousel.cc_carousel--style3 .carousel-cell {
  max-width: 588px;
  padding: var(--wp--preset--spacing--x-large);
}
.cc_carousel.cc_carousel--style3 .carousel-cell:hover {
  background-color: var(--wp--preset--color--background-1);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--background-2), 0px 30px 40px -15px rgba(194, 179, 164, 0.6);
}
.cc_carousel.cc_carousel--style3 .carousel-cell:hover img {
  transform: scale(1);
}
.cc_carousel.cc_carousel--style3 .carousel-cell:hover .carousel-cell--link a {
  gap: 0 !important;
}
.cc_carousel.cc_carousel--style3 .carousel-cell:hover .carousel-cell--link a::after {
  transform: translateX(24px) !important;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--image {
  border-radius: 0;
  overflow: visible;
  text-align: center;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--image img {
  box-shadow: 0px 38.115px 54.018px -17.086px #E0D8D0;
  max-width: 220px;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content {
  padding: var(--wp--preset--spacing--large) 0 0 0;
  text-align: center;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content h3 {
  font-size: 32px;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content .carousel-cell--copy {
  padding-bottom: var(--wp--preset--spacing--x-small);
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content .carousel-cell--link {
  justify-content: center;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content .carousel-cell--link a {
  gap: 0 !important;
}
.cc_carousel.cc_carousel--style3 .carousel-cell .carousel-cell--content .carousel-cell--link a::after {
  transform: translateX(16px);
}

.cc_carousel--related-items.cc_carousel.cc_carousel--style1 .carousel-cell:hover {
  background-color: var(--wp--preset--color--tertiary) !important;
}
