.market-cap-records-note {
  margin-bottom: 20px;
  font-size: 11px;
}

.market-cap-records .stock-chart-heading h2 {
  font-size: 15px;
}

.market-cap-records-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(145px, 1fr));
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 2px;
}

.market-cap-records-grid--company {
  grid-template-columns: repeat(9, minmax(130px, 1fr));
}

.market-cap-record-card {
  --record-color: #4779b8;
  --record-tint: #eff6ff;
  display: flex;
  min-width: 0;
  min-height: 224px;
  flex-direction: column;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.market-cap-record-card + .market-cap-record-card {
  border-left: 1px solid #e2eaf5;
}

.market-cap-record-card h3 {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 14px;
  color: #172033;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.4;
}

.market-cap-record-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--record-tint);
  color: var(--record-color);
  font-size: 17px;
  line-height: 1;
}

.market-cap-record-card strong {
  color: var(--record-color);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}

.market-cap-record-card em {
  margin-top: 10px;
  color: var(--record-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.market-cap-record-card time {
  margin-top: auto;
  padding-top: 20px;
  color: #6c7f9c;
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.market-cap-record-card--negative {
  --record-color: #c43240;
  --record-tint: #fff1f2;
}

.market-cap-record-card--positive {
  --record-color: #17845f;
  --record-tint: #ecfdf5;
}

.market-cap-record-card--turnover,
.market-cap-record-card--price {
  --record-color: #316fb5;
  --record-tint: #eff6ff;
}

.m-section.market-cap-records .stock-chart-heading {
  margin-bottom: 12px;
}

.m-section.market-cap-records .stock-chart-heading h2 {
  margin: 0;
}

.m-section.market-cap-records .market-cap-records-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  color: #607392;
  line-height: 1.4;
}

.m-section.market-cap-records .market-cap-records-note i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #1769ff;
}

@media (max-width: 720px) {
  .market-cap-records-grid {
    grid-template-columns: repeat(7, minmax(160px, 1fr));
  }

  .market-cap-records-grid--company {
    grid-template-columns: repeat(9, minmax(160px, 1fr));
  }

  .market-cap-record-card {
    min-height: 212px;
    padding: 15px;
  }
}
