/* =============================================
   CS Features Cards Widget
   ============================================= */

/* — Container — */
.cs-fc {
  width: 100%;
}

/* — Section Heading — */
.cs-fc__heading {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.17; /* ~46.8px */
  letter-spacing: 0.02em;
  color: #f7f7f7 !important;
  text-align: center;
  margin: 0 0 40px 0;
}

/* — Grid — */
.cs-fc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
  align-items: center;
}

/* — Card — */
.cs-fc__card {
  position: relative;
  min-height: 415px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cs-fc__card:hover {
  transform: translateY(-6px);
}

/* Featured card (center — slightly taller) */
.cs-fc__card--featured {
  min-height: 446px;
}

/* — SVG Shape — */
.cs-fc__shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cs-fc__shape svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* — Content — */
.cs-fc__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  padding: 25px 19px 36px 20px;
}

.cs-fc__card--featured .cs-fc__content {
  padding-top: 27px;
  padding-right: 21px;
  padding-left: 21px;
}

/* — Card Header: icon + title side by side — */
.cs-fc__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

/* — Icon — */
.cs-fc__icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
}

.cs-fc__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* — Title — */
.cs-fc__title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: #191654 !important;
  line-height: 1.35 !important;
  margin-bottom: 0 !important;
  word-break: break-word;
}

/* — Description — */
.cs-fc__desc {
  font-family: "Montserrat", sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #191654 !important;
  line-height: 29.71px !important;
  margin: 0 0 10px !important;
}

/* — Bullet list — */
.cs-fc__list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8.5px;
}

.cs-fc__list li {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #191654;
  line-height: 29.71px;
}

/* — CTA Button — */
.cs-fc__btn {
  position: absolute;
  bottom: 5px;
  right: 10px;
  z-index: 2;
  background-color: #25ffff;
  color: #000000;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cs-fc__btn:focus-visible {
  outline: none;
  outline-offset: none;
}

.cs-fc__btn--static {
  cursor: pointer;
}

/* =============================================
   Responsive
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .cs-fc__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cs-fc__content {
    padding: 23px 18px 34px;
  }

  .cs-fc__card--featured .cs-fc__content {
    padding-top: 25px;
    padding-right: 19px;
    padding-left: 19px;
  }

  .cs-fc__heading {
    font-size: 32px;
  }

  .cs-fc__title {
    font-size: 26px;
  }
}

/* Mobile landscape — 2-col or 1-col */
@media (max-width: 768px) {
  .cs-fc__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 20px;
  }

  .cs-fc__heading {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .cs-fc__title {
    font-size: 24px;
  }

  .cs-fc__content {
    padding: 22px 16px 34px;
  }

  .cs-fc__card {
    min-height: 390px;
  }

  .cs-fc__card--featured {
    min-height: 410px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .cs-fc__heading {
    font-size: 22px;
  }

  .cs-fc__icon {
    width: 70px;
    height: 70px;
  }

  .cs-fc__title {
    font-size: 22px;
  }

  .cs-fc__content {
    padding: 18px 14px 30px;
  }

  .cs-fc__desc,
  .cs-fc__list li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .cs-fc__card {
    min-height: 360px;
  }

  .cs-fc__card--featured {
    min-height: 380px;
  }

  .cs-fc__btn {
    font-size: 16px;
    padding: 10px 18px;
    min-width: 160px;
  }
}
