.ts-related-posts {
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.post-article__content .ts-related-posts > * + * {
  margin-top: 0;
}

.ts-related-posts__header {
  max-width: 720px;
}

.ts-related-posts__eyebrow {
  margin: 0 0 0.35rem;
  color: #0b6fcb;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.post-article__content .ts-related-posts__title,
.ts-related-posts__title {
  margin: 0;
  color: #0f172a;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: 0;
  line-height: 1.15;
}

.ts-related-posts__description {
  max-width: 680px;
  margin: 0.55rem 0 1.5rem;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
}

.ts-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ts-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.post-article__content .ts-related-card + .ts-related-card {
  margin-top: 0;
}

.ts-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 430px;
  color: inherit;
  text-decoration: none;
}

.ts-related-card__link:hover,
.ts-related-card__link:focus-visible {
  color: inherit;
}

.ts-related-card__link:hover .ts-related-card__title,
.ts-related-card__link:focus-visible .ts-related-card__title {
  color: #0b6fcb;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.ts-related-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #07172d;
}

.ts-related-card__image--fallback {
  background:
    radial-gradient(circle at 30% 35%, rgba(11, 111, 203, 0.5), transparent 34%),
    linear-gradient(135deg, #07172d, #0f2747);
}

.ts-related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.ts-related-card__type {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11, 111, 203, 0.13), rgba(124, 58, 237, 0.13));
  color: #0757b8;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.post-article__content .ts-related-card__title,
.ts-related-card__title {
  margin: 0 0 0.6rem;
  color: #0f172a;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ts-related-card__excerpt {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.ts-related-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.ts-related-card__read-time {
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
}

.ts-related-card__read-time::before {
  content: "";
  display: inline-block;
  width: 0.82rem;
  height: 0.82rem;
  margin-right: 0.42rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  vertical-align: -0.1rem;
}

.ts-related-card__arrow {
  color: #074c8c;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 900px) {
  .ts-related-posts__grid {
    grid-template-columns: 1fr;
  }

  .ts-related-card__link {
    min-height: 0;
  }
}
