.tvk-fsi {
  --tvk-fsi-bg: #faf9f7;
  --tvk-fsi-text: #241c1a;
  --tvk-fsi-accent: #c52126;
  --tvk-fsi-white: #fff;
  /*padding: 86px 24px 92px;*/
  padding: 70px 24px 0;
  color: var(--tvk-fsi-text);
  /*background: var(--tvk-fsi-bg);*/
}

.tvk-fsi,
.tvk-fsi * {
  box-sizing: border-box;
}

.tvk-fsi__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.tvk-fsi__title {
  margin: 0 0 34px;
  font-family: "Prata", serif;
  font-size: clamp(34px, 2.55vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tvk-fsi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tvk-fsi-card {
  min-width: 0;
}

.tvk-fsi-card__surface {
  position: relative;
  display: block;
  aspect-ratio: 1.54 / 1;
  overflow: hidden;
  border-radius: 10px;
  color: var(--tvk-fsi-white);
  background: #ddd6d2;
  text-decoration: none;
  isolation: isolate;
}

.tvk-fsi-card__media,
.tvk-fsi-card__media::after {
  position: absolute;
  inset: 0;
}

.tvk-fsi-card__media::after {
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(20, 15, 14, 0.02) 38%, rgba(20, 15, 14, 0.82) 100%);
}

.tvk-fsi-card__image,
.tvk-fsi-card__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.tvk-fsi-card__image {
  object-fit: cover;
}

.tvk-fsi-card__image-placeholder {
  background: #d9d1cd;
}

.tvk-fsi-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 18px 20px;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.48);
}

.tvk-fsi-card__title {
  max-width: 15em;
  margin: 0 auto;
  color: inherit;
  color: white;
  font-family: "Prata", serif;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 400;
  line-height: 1.28;
}

.tvk-fsi-card__text,
.tvk-fsi-card__more {
  display: none;
}

.tvk-fsi-card__surface:focus-visible {
  outline: 3px solid var(--tvk-fsi-accent);
  outline-offset: 4px;
}

@media (max-width: 980px) and (min-width: 768px) {
  .tvk-fsi__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tvk-fsi {
    padding: 39px 20px 44px;
  }

  .tvk-fsi__title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }

  .tvk-fsi__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tvk-fsi-card__surface {
    aspect-ratio: auto;
    border: 1px solid var(--tvk-fsi-accent);
    border-radius: 8px;
    color: var(--tvk-fsi-text);
    background: var(--tvk-fsi-bg);
  }

  .tvk-fsi-card__media {
    position: relative;
    aspect-ratio: 1.52 / 1;
    overflow: hidden;
  }

  .tvk-fsi-card__media::after {
    display: none;
  }

  .tvk-fsi-card__content {
    position: static;
    padding: 14px 12px 12px;
    color: var(--tvk-fsi-text);
    text-shadow: none;
  }

  .tvk-fsi-card__title {
    max-width: 18em;
    font-size: 18px;
    line-height: 1.25;
    color: rgb(36, 28, 26);
  }

  .tvk-fsi-card__text {
    display: block;
    max-width: 33em;
    margin: 10px auto 0;
    font-family: var(--e-global-typography-367ba92-font-family), sans-serif;
    font-size: 13px;
    line-height: 1.38;
  }

  .tvk-fsi-card__more {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-top: 13px;
    border-radius: 999px;
    color: var(--tvk-fsi-white);
    background: var(--tvk-fsi-accent);
    font-family: "Prata", serif;
    font-size: 14px;
    line-height: 1;
  }

  .tvk-fsi-card__arrow {
    width: 28px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvk-fsi,
  .tvk-fsi * {
    scroll-behavior: auto !important;
  }
}

