/* Styles for content-stat-counter-opoverride.php (Stat Counter). */

.stat-number{
  font-weight: 800;
  line-height: 1.2;
}
.stat-icon i{
  font-size: 0.5em;
  vertical-align: top;
}


/* =====  Metrics style: big serif numbers, centered, lines between  ======== */

.stat-counter-metrics.section-design {
  padding-top: 48px;
  padding-bottom: 54px;
  border-top: 1px solid #d3cbbf;
  border-bottom: 1px solid #d3cbbf;
}
.metrics-eyebrow {
  display: block;
  margin: 0;
  text-align: center;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}
.metrics-row-2 {
  grid-template-columns: repeat(2, 1fr);
}
.metrics-row-4 {
  grid-template-columns: repeat(4, 1fr);
}
.metric {
  padding: 6px 30px 4px;
  text-align: center;
  border-right: 1px solid #c9bfae;
}
.metric:last-child {
  border-right: 0;
}
.metric b {
  display: block;
  font-size: 78px;
  font-weight: 600;
  line-height: 1;
  color: #b45f06;
}
.metric > span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: #100f0e;
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .metric b {
    font-size: 64px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .metrics-row,
  .metrics-row-2,
  .metrics-row-4 {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid #c9bfae;
  }
  .metric:last-child {
    border-bottom: 0;
  }
  .metric b {
    font-size: 54px;
  }
}
