.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 {
  border-radius: 20px;
  margin-right: 12px;
  margin-left: 12px;
  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--dynamic .carousel-cell {
  width: calc(33.3333333333% - 16px);
  position: relative;
  transition: all 0.2s ease-in-out;
  align-items: stretch;
  background-color: var(--wp--preset--color--background-1);
}
@media (max-width: 1024px) {
  .cc_carousel--dynamic .carousel-cell {
    width: calc(50% - 16px);
  }
}
@media (max-width: 780px) {
  .cc_carousel--dynamic .carousel-cell {
    width: calc(100% - 16px);
  }
}
.cc_carousel--dynamic .carousel-cell:hover {
  background-color: var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--background-1);
  margin-top: -12px;
  box-shadow: 0px 20px 60px 0px rgba(0, 0, 0, 0.2);
  z-index: 99;
}
.cc_carousel--dynamic .carousel-cell:hover .carousel-cell--top--inner {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgb(0, 0, 0) 100%);
  height: 100%;
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1; /* Allow the inner content to grow to fill available space */
  overflow: hidden !important;
  min-height: 100%;
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--top {
  height: 512px;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat;
  background-color: var(--wp--preset--color--foreground-1);
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  transition: all 0.2s ease-in-out;
}
@media (max-width: 780px) {
  .cc_carousel--dynamic .carousel-cell .carousel-cell--top {
    height: 400px;
  }
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--top--inner {
  padding: var(--wp--preset--spacing--small);
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 20px;
  width: 100%;
  transition: all 0.2s ease-in-out;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
  height: 50%;
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--top a {
  position: static;
  z-index: 4;
  color: var(--wp--preset--color--background-1);
  text-decoration: none;
  font-size: var(--wp--preset--font-size--x-large);
  font-family: var(--wp--preset--font-family--accent);
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1;
}
@media screen and (max-width: 780px) {
  .cc_carousel--dynamic .carousel-cell .carousel-cell--top a {
    font-size: var(--wp--preset--font-size--xxx-large);
  }
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--top a span {
  display: block;
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--top a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all 0.2s ease-in-out;
}
.cc_carousel--dynamic .carousel-cell .carousel-cell--bottom {
  padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--large) var(--wp--preset--spacing--small) var(--wp--preset--spacing--small);
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.25;
}

.cc_carousel--cards .carousel-cell {
  width: 44%;
  background-color: var(--wp--preset--color--background-2);
  align-items: stretch;
}
@media (max-width: 780px) {
  .cc_carousel--cards .carousel-cell {
    width: 100%;
  }
}
.cc_carousel--cards .carousel-cell:hover {
  background-color: var(--wp--preset--color--foreground-1);
  margin-top: -12px;
  box-shadow: 0px 20px 60px 0px rgba(0, 0, 0, 0.2);
}
.cc_carousel--cards .carousel-cell:hover .carousel-cell--top--heading, .cc_carousel--cards .carousel-cell:hover .carousel-cell--top--copy {
  color: var(--wp--preset--color--background-1);
}
.cc_carousel--cards .carousel-cell:hover .carousel-cell--top--link span {
  transform: translateX(4px);
}
.cc_carousel--cards .carousel-cell:hover .carousel-cell--bottom--scrim {
  opacity: 0;
}
.cc_carousel--cards .carousel-cell .carousel-cell--inner {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  overflow: hidden !important;
  min-height: 100%;
}
.cc_carousel--cards .carousel-cell .carousel-cell--top {
  padding: var(--wp--preset--spacing--large) var(--wp--preset--spacing--x-large) 0 var(--wp--preset--spacing--large);
}
.cc_carousel--cards .carousel-cell .carousel-cell--top--heading {
  font-family: var(--wp--preset--font-family--accent);
  font-size: var(--wp--preset--font-size--xx-large);
  letter-spacing: normal;
  font-weight: 400;
  margin: 0 0 var(--wp--preset--spacing--small);
}
.cc_carousel--cards .carousel-cell .carousel-cell--top--copy {
  margin-bottom: var(--wp--preset--spacing--medium);
}
.cc_carousel--cards .carousel-cell .carousel-cell--top--link {
  position: static;
  z-index: 4;
  color: var(--wp--preset--color--foreground-1);
  background-color: var(--wp--preset--color--background-1);
  text-decoration: none;
  font-size: 16px;
  padding: 10px var(--wp--preset--spacing--small) 9px var(--wp--preset--spacing--small);
  border-radius: var(--wp--custom--border-radius--round);
  font-weight: 500;
  display: inline-flex;
  gap: 16px;
  transition: all 0.2s ease-in-out;
}
@media screen and (max-width: 780px) {
  .cc_carousel--cards .carousel-cell .carousel-cell--top--link {
    padding: 8px var(--wp--preset--spacing--medium) 7px var(--wp--preset--spacing--medium);
  }
}
.cc_carousel--cards .carousel-cell .carousel-cell--top--link span {
  transition: all 0.2s ease-in-out;
}
.cc_carousel--cards .carousel-cell .carousel-cell--top--link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all 0.2s ease-in-out;
}
.cc_carousel--cards .carousel-cell .carousel-cell--bottom {
  position: relative;
  display: inline-flex;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}
.cc_carousel--cards .carousel-cell .carousel-cell--bottom--image {
  max-width: 100%;
  display: inline-flex;
}
.cc_carousel--cards .carousel-cell .carousel-cell--bottom--scrim {
  position: absolute;
  opacity: 1;
  transition: all 0.2s ease-in-out;
  top: -1px;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--wp--preset--color--background-2);
  clip-path: polygon(0% 100%, 100% 70%, 100% 0%, 0% 0%);
}
.cc_carousel--cards .carousel-cell.no-angle .carousel-cell--bottom--scrim {
  display: none;
}

.cc_carousel--testimonials .flickity-viewport {
  overflow: hidden;
}
.cc_carousel--testimonials .carousel-cell {
  width: 100%;
  padding: var(--wp--preset--spacing--large);
}
@media (max-width: 780px) {
  .cc_carousel--testimonials .carousel-cell {
    padding-bottom: calc(var(--wp--preset--spacing--giant) * 2);
  }
}
.cc_carousel--testimonials .carousel-cell--quote--rating {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}
.cc_carousel--testimonials .carousel-cell--quote--rating img {
  max-width: 174px;
}
.cc_carousel--testimonials .carousel-cell--quote--copy {
  font-size: var(--wp--preset--font-size--x-large);
  font-family: var(--wp--preset--font-family--accent);
  text-align: center;
  max-width: 880px;
  margin: var(--wp--preset--spacing--large) auto;
  line-height: 1.2;
}
.cc_carousel--testimonials .carousel-cell--cite {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.cc_carousel--testimonials .carousel-cell--cite--avatar img {
  max-width: 80px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}
.cc_carousel--testimonials .carousel-cell--cite--info {
  max-width: 360px;
  line-height: 1.4;
  display: flex;
  gap: 4px;
  flex-direction: column;
}
.cc_carousel--testimonials .carousel-cell--cite--info--name {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 700;
}
@media (max-width: 780px) {
  .cc_carousel--testimonials .flickity-prev-next-button {
    top: auto;
    bottom: -20px;
  }
}
