/**
 * Sprint 18.4.465 — Related content under products grid
 * Guide + videos + top suppliers table
 */

.tf-products-related {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin: 28px auto 12px;
  padding: 0 16px;
  box-sizing: border-box;
  max-width: 1280px;
}

.tf-products-guide {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(7, 27, 70, 0.04);
}
.tf-products-guide h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: #0b2f66;
  letter-spacing: -0.02em;
}
.tf-products-guide h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #14253f;
}
.tf-products-guide p,
.tf-products-guide li {
  font-size: 14px;
  line-height: 1.55;
  color: #4a5b70;
}
.tf-products-guide ul {
  margin: 0;
  padding-left: 18px;
}
.tf-products-guide-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}
.tf-products-guide-note a {
  color: #1a56db;
  font-weight: 750;
  text-decoration: none;
}

.tf-products-videos {
  background: #fff8f4;
  border: 1px solid #f0e0d6;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(7, 27, 70, 0.04);
}
.tf-products-videos-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.tf-products-videos-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ff3b3b;
  color: #fff;
  font-size: 11px;
  flex: 0 0 auto;
}
.tf-products-videos-head strong {
  display: block;
  font-size: 14px;
  color: #1a2535;
  font-weight: 800;
}
.tf-products-videos-head small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #6b7f96;
}
.tf-products-videos-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.tf-products-videos-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tf-products-videos-more {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 750;
  color: #c0392b;
  text-decoration: none;
}

.tf-products-suppliers {
  margin: 12px auto 32px;
  padding: 0 16px;
  max-width: 1280px;
  box-sizing: border-box;
}
.tf-products-suppliers-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 16px;
  padding: 18px 20px 8px;
  box-shadow: 0 8px 24px rgba(7, 27, 70, 0.04);
}
.tf-products-suppliers-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #0b2f66;
}
.tf-products-suppliers-table-wrap {
  overflow-x: auto;
}
.tf-products-suppliers-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13px;
}
.tf-products-suppliers-table th,
.tf-products-suppliers-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}
.tf-products-suppliers-table th {
  background: #f6f8fb;
  color: #3d4f66;
  font-weight: 800;
  white-space: nowrap;
}
.tf-products-suppliers-table td {
  color: #1a2535;
}
.tf-products-suppliers-table td a {
  color: #1a56db;
  font-weight: 750;
  text-decoration: none;
}
.tf-products-suppliers-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 960px) {
  .tf-products-related {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .tf-products-guide,
  .tf-products-videos,
  .tf-products-suppliers-card {
    padding: 14px;
  }
  .tf-products-guide h2 {
    font-size: 17px;
  }
}
