/*
 * IA & Marketing Editorial Blocks
 * Tableaux responsives : iam_table.
 */

.iam-table-wrap,
.iam-table-wrap * {
  box-sizing: border-box;
}

.iam-table-wrap {
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid #3a4049;
  border-radius: 14px;
  background: #1f2024;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

.iam-table-wrap__caption {
  margin: 0;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #3a4049;
  color: #f5f7fa !important;
  font-weight: 700;
  line-height: 1.5;
}

.iam-table-wrap__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.iam-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #25282e;
}

.iam-table-wrap caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.iam-table-wrap th,
.iam-table-wrap td {
  padding: 1rem;
  border-right: 1px solid #3a4049;
  border-bottom: 1px solid #3a4049;
  color: #c9d1d9 !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.iam-table-wrap th {
  background: #172b4d;
  color: #f5f7fa !important;
  font-weight: 800;
}

.iam-table-wrap td strong {
  color: #f5f7fa !important;
}

.iam-table-wrap th:last-child,
.iam-table-wrap td:last-child {
  border-right: 0;
}

.iam-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.iam-table-wrap tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.iam-table-wrap a {
  color: #a9d6ff !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .iam-table-wrap {
    margin: 1.5rem 0;
  }

  .iam-table-wrap__caption {
    padding: 0.9rem 1rem;
  }

  .iam-table-wrap th,
  .iam-table-wrap td {
    padding: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iam-table-wrap,
  .iam-table-wrap * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}