

/* Base */

.custom-go-card {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
  border-radius: 0;
  text-align: start;
  transition: .2s ease-in-out;
  overflow: hidden;
  display: flex;
  justify-content: stretch;
  flex-grow: 1;
}

.splide .custom-go-card {
  margin-bottom: 0;
}

.splide .custom-go-card--shadow {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Content */

.custom-go-card__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.custom-go-card--no-img .custom-go-card__content {
  justify-content: center;
}

/* Image */

.custom-go-card__img {
  flex-shrink: 0;
}

.custom-go-card__img img {
  width: 100%;
  height: auto;
}

/* Body */

.custom-go-card__body {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-basis: 100%;
  padding: 24px;
}

/* Text */

.custom-go-card--no-arrow .custom-go-card__txt {
  width: 100%;
}

.custom-go-card__title {
  margin-bottom: 0px;
}

.custom-go-card__desc {
  margin-bottom: 0;
  font-size: 0.89rem;
}

/* Arrow */

.custom-go-card__arrow {
  flex-shrink: 0;
  margin-inline-start: 20px;
  color: #e2241d;
  background-color: #fff;
  transition: .2s ease-in-out;
  border-radius: 50%;
  
 /* it was flex-shrink: 0;
  margin-inline-start: 20px;
  color: #034EA1;
  transition: .2s ease-in-out;} */

/* Link */

.custom-go-card__link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

/* With link */

.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  transform: scale(1.02);
}

.custom-go-card--with-link:hover .custom-go-card__arrow {
  transform: scale(1.1) translateX(5px);
}



/* Accent */

.custom-go-card--accent {
  background: #37cfb1;
  color: rgba(255, 255, 255, 0.80);
}

.custom-go-card--accent.custom-go-card--shadow {
  box-shadow: 0px 16px 32px rgba(55, 207, 177, 0.2), 0px 8px 16px rgba(55, 207, 177, 0.2);
}

.custom-go-card--accent.custom-go-card--shadow.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  box-shadow: 0px 32px 64px rgba(55, 207, 177, 0.2), 0px 16px 32px rgba(55, 207, 177, 0.2);
}

.custom-go-card--accent .custom-go-card__title,
.custom-go-card--accent .custom-go-card__arrow {
  color: #fff;
}

/* Dark */

.custom-go-card--dark {
  background: #034EA1;
  color: rgba(255, 255, 255, 0.80);
}

.custom-go-card--dark.custom-go-card--shadow {
  box-shadow: 0px 16px 32px rgba(3, 78, 161, 0.05), 0px 8px 16px rgba(3, 78, 161, 0.05);
}

.custom-go-card--dark.custom-go-card--shadow.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  box-shadow: 0px 32px 64px rgba(3, 78, 161, 0.05), 0px 16px 32px rgba(3, 78, 161, 0.05);
}

.custom-go-card--dark .custom-go-card__title,
.custom-go-card--dark .custom-go-card__arrow {
  color: #fff;
}

/* Light */

.custom-go-card--light {
  background: #f5f7fa;
}

.custom-go-card--light.custom-go-card--shadow {
  box-shadow: 0px 16px 32px rgba(3, 78, 161, 0.05), 0px 8px 16px rgba(3, 78, 161, 0.05);
}

.custom-go-card--light.custom-go-card--shadow.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  box-shadow: 0px 32px 64px rgba(3, 78, 161, 0.05), 0px 16px 32px rgba(3, 78, 161, 0.05);
}

/* White */

.custom-go-card--white {
  background: #fff;
}

.custom-go-card--white.custom-go-card--shadow {
  box-shadow: 0px 16px 32px rgba(3, 78, 161, 0.05), 0px 8px 16px rgba(3, 78, 161, 0.05);
}

.custom-go-card--white.custom-go-card--shadow.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  box-shadow: 0px 32px 64px rgba(3, 78, 161, 0.05), 0px 16px 32px rgba(3, 78, 161, 0.05);
}

/* Ghost */

.custom-go-card--ghost {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, 0.80);
}

.custom-go-card--ghost.custom-go-card--shadow {
  box-shadow: 0px 16px 32px rgba(3, 78, 161, 0.05), 0px 8px 16px rgba(3, 78, 161, 0.05);
}

.custom-go-card--ghost.custom-go-card--shadow.custom-go-card--with-link:not(.splide .custom-go-card):hover {
  box-shadow: 0px 32px 64px rgba(3, 78, 161, 0.05), 0px 16px 32px rgba(3, 78, 161, 0.05);
}

.custom-go-card--ghost .custom-go-card__title,
.custom-go-card--ghost .custom-go-card__arrow {
  color: #fff;
}

/* Slider: center mode */

@media (min-width: 1140px) {
  .splide--center-mode:not(.splide--lg-2):not(.splide--lg-4):not(.splide--lg-6) .splide__slide:not(.is-active) .custom-go-card {
    transform: scale(.9);
    transform-origin: center center;
  }
}

@media (max-width: 1139px) and (min-width: 768px) {
  .splide--center-mode:not(.splide--md-2):not(.splide--md-4):not(.splide--md-6) .splide__slide:not(.is-active) .custom-go-card {
    transform: scale(.9);
    transform-origin: center center;
  }
}

@media (max-width: 767px) {
  .splide--center-mode:not(.splide--sm-2):not(.splide--sm-4):not(.splide--sm-6) .splide__slide:not(.is-active) .custom-go-card {
    transform: scale(.9);
    transform-origin: center center;
  }
}

/* Slider pagination */

.module--custom-go-card .splide--dots-below:not(.splide--custom-go-card-shadow) .splide__pagination {
  padding-top: 24px;
}