.cardcarousel-block {
  position: relative;
  padding: var(--block-padding-y) 0;
  overflow: visible;
}
.cardcarousel-block .row,
.cardcarousel-block .span {
  min-width: 0;
  overflow: visible;
}
.cardcarousel-block p.description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cardcarousel-block .swiper-cards {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.cardcarousel-block .swiper-cards.has-autoplay {
  margin-bottom: 44px;
}
.cardcarousel-block .swiper-cards-inner {
  overflow: hidden;
  margin: 0 43px;
  padding: 8px 12px 18px;
  width: auto;
  min-width: 0;
}
.cardcarousel-block .swiper-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.cardcarousel-block .swiper-wrapper {
  align-items: stretch;
  display: flex;
  min-width: 0;
}
.cardcarousel-block .swiper-slide {
  display: flex;
  flex: 0 0 100%;
  box-sizing: border-box;
  height: auto;
  width: 100%;
  min-width: 0;
  padding: 10px 6px 36px;
  margin-right: 10px;
}
.cardcarousel-block .card {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cardcarousel-block .bg-card_column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-primary-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-resource-card);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast),
    border-color var(--t-fast);
}
.cardcarousel-block .bg-card_column:hover,
.cardcarousel-block .bg-card_column:focus-within {
  border-color: var(--c-primary-border-strong);
  box-shadow: var(--shadow-resource-card-hover);
  transform: translateY(-3px);
}
.cardcarousel-block figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
}
.cardcarousel-block figure.card-image {
  aspect-ratio: 16 / 9;
}
.cardcarousel-block figure.card-image--contain {
  padding: clamp(12px, 1.5vw, 24px);
}
.cardcarousel-block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cardcarousel-block figure.card-image--contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cardcarousel-block figure.card-icon {
  min-height: 0;
  padding: var(--block-panel-padding);
}
.cardcarousel-block figure.card-icon .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.cardcarousel-block figure.card-icon img {
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
}
.cardcarousel-block .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.cardcarousel-block figure.card-icon + .card-body {
  padding-top: 0;
}
.cardcarousel-block .card-body > :first-child {
  margin-top: 0;
}
.cardcarousel-block .card-body > :is(h2, h3, h4, h5, h6) {
  min-height: 2.4em;
}
.cardcarousel-block .card p:last-child {
  margin-bottom: 0;
}
.cardcarousel-block .card-actions {
  margin-top: auto;
  padding-top: var(--space-md);
}
.cardcarousel-block .card .cta {
  width: auto;
  align-self: flex-start;
}
.cardcarousel-block .textcenter .card .cta {
  align-self: center;
}
.cardcarousel-block .swiper-cards-autoplay-toggle {
  position: absolute;
  z-index: 12;
  right: 55px;
  bottom: -34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  color: var(--c-white);
  background: var(--c-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}
.cardcarousel-block .swiper-cards-autoplay-toggle:hover,
.cardcarousel-block .swiper-cards-autoplay-toggle:focus-visible {
  color: var(--c-white);
  background: var(--c-primary-dark);
  transform: scale(1.05);
}
.cardcarousel-block .swiper-cards-autoplay-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cardcarousel-block .swiper-cards-autoplay-toggle i {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  background: transparent;
  -webkit-mask: none;
  mask: none;
}
.cardcarousel-block .swiper-cards-autoplay-toggle.is-playing i::before,
.cardcarousel-block .swiper-cards-autoplay-toggle.is-playing i::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: currentColor;
  border-radius: 1px;
}
.cardcarousel-block .swiper-cards-autoplay-toggle.is-playing i::before {
  left: 2px;
}
.cardcarousel-block .swiper-cards-autoplay-toggle.is-playing i::after {
  right: 2px;
}
.cardcarousel-block .swiper-cards-autoplay-toggle:not(.is-playing) i::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}
@media screen and (max-width: 767px) {
  .cardcarousel-block {
    padding: var(--block-padding-y-mobile) 0;
  }
  .cardcarousel-block .swiper-cards-inner {
    margin: 0 28px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .cardcarousel-block .card-body > :is(h2, h3, h4, h5, h6) {
    min-height: 0;
  }
  .cardcarousel-block .swiper-cards-autoplay-toggle {
    right: 38px;
  }
}
@media screen and (min-width: 600px) {
  .cardcarousel-block .swiper-slide {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
  }
}
@media screen and (min-width: 1024px) {
  .cardcarousel-block .swiper-slide {
    flex-basis: calc((100% - 20px) / 3);
    width: calc((100% - 20px) / 3);
  }
}
@media screen and (min-width: 1280px) {
  .cardcarousel-block .swiper-cards--desktop-4 .swiper-slide {
    flex-basis: calc((100% - 30px) / 4);
    width: calc((100% - 30px) / 4);
  }
}
