/* Facts Bar (content-facts-bar.php). Colors assume a dark background. */

.facts-bar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* -----  Labels style: small label above the value  ----- */

.facts-bar.facts-bar-labels {
  padding-top: 0;
  padding-bottom: 0;
}
.facts-bar-labels .facts-bar-item {
  padding: 26px 28px;
  border-right: 1px solid #2e2b27;
}
.facts-bar-labels .facts-bar-item:last-child {
  border-right: 0;
}
.facts-bar-labels .facts-bar-item b {
  display: block;
  margin-bottom: 6px;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbc4bc;
}
.facts-bar-labels .facts-bar-item span {
  font-size: 15px;
  color: rgba(242, 238, 230, 0.9);
}
.facts-bar-item a {
  font-weight: 600;
  color: #e3893a;
}
.facts-bar-item a:hover {
  color: #ffffff;
}

/* -----  Terms style: big serif value, small text under it, in boxes  ----- */

.facts-bar.facts-bar-terms {
  padding-top: 90px;
  padding-bottom: 90px;
}
.facts-bar-eyebrow {
  display: block;
  margin: 0 0 20px;
}
.facts-bar-terms .facts-bar-row {
  border: 1px solid #2e2b27;
}
.facts-bar-terms .facts-bar-item {
  padding: 26px;
  border-right: 1px solid #2e2b27;
}
.facts-bar-terms .facts-bar-item:last-child {
  border-right: 0;
}
.facts-bar-terms .facts-bar-item b {
  display: block;
  margin-bottom: 4px;
  font-family: "Charpentier", "Garamond Fill", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #f2eee6;
}
.facts-bar-terms .facts-bar-item span {
  font-size: 14px;
  color: rgba(242, 238, 230, 0.66);
}


/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .facts-bar-row {
    grid-template-columns: 1fr 1fr;
  }
  .facts-bar-item:nth-child(2n) {
    border-right: 0 !important;
  }
  .facts-bar-item:nth-child(-n+2) {
    border-bottom: 1px solid #2e2b27;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .facts-bar-row {
    grid-template-columns: 1fr;
  }
  .facts-bar-item {
    border-right: 0 !important;
    border-bottom: 1px solid #2e2b27;
  }
  .facts-bar-item:last-child {
    border-bottom: 0;
  }
  .facts-bar.facts-bar-terms {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Full width (Design tab): the boxes reach the edges of the screen */
.facts-bar-labels .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
