/* ==========================================================
   HVA SEO ENGINE — PUBLIC HISTORY V1
   ========================================================== */

.hva-seo-history {
  width: 100%;
  margin: 0;
  padding: 54px 24px 72px;

  background: transparent;
  color: #f5f7f8;
}

.hva-seo-history-inner {
  width: min(1320px, 100%);
  margin: 0 auto;

  border-top:
    1px solid rgba(255,255,255,.12);

  padding-top: 42px;
}

.hva-seo-history-head {
  display: grid;
  grid-template-columns:
    minmax(0,1fr) auto;

  gap: 42px;
  align-items: end;

  margin-bottom: 30px;
}

.hva-seo-history-eyebrow {
  display: block;

  margin-bottom: 12px;

  color: #a8ff00;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: .12em;
}

.hva-seo-history h2 {
  margin: 0;

  font-size:
    clamp(30px,4vw,52px);

  line-height: 1.05;
  letter-spacing: -.04em;
}

.hva-seo-history-head p {
  max-width: 720px;

  margin: 14px 0 0;

  color:
    rgba(255,255,255,.68);

  font-size: 16px;
  line-height: 1.65;
}

.hva-seo-history-counters {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(150px,1fr));

  gap: 12px;
}

.hva-seo-history-counters > div {
  min-width: 170px;

  padding: 18px 20px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 16px;

  background:
    rgba(255,255,255,.025);
}

.hva-seo-history-counters strong {
  display: block;

  color: #a8ff00;

  font-size:
    clamp(30px,3vw,44px);

  line-height: 1;
}

.hva-seo-history-counters span {
  display: block;

  margin-top: 9px;

  color:
    rgba(255,255,255,.60);

  font-size: 11px;
  font-weight: 750;

  line-height: 1.3;

  letter-spacing: .07em;
  text-transform: uppercase;
}


.hva-seo-history-table-wrap {
  width: 100%;
  overflow-x: auto;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 18px;

  background:
    rgba(255,255,255,.018);
}

.hva-seo-history-table {
  width: 100%;
  min-width: 920px;

  border-collapse: collapse;
}

.hva-seo-history-table th {
  padding: 14px 16px;

  border-bottom:
    1px solid rgba(255,255,255,.10);

  color:
    rgba(255,255,255,.52);

  font-size: 11px;
  font-weight: 800;

  text-align: left;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.hva-seo-history-table td {
  padding: 16px;

  border-bottom:
    1px solid rgba(255,255,255,.065);

  color:
    rgba(255,255,255,.76);

  font-size: 14px;
  line-height: 1.45;

  white-space: nowrap;
}

.hva-seo-history-table tbody tr:last-child td {
  border-bottom: 0;
}

.hva-seo-history-table tbody tr:hover {
  background:
    rgba(255,255,255,.025);
}

.hva-history-site a {
  color: #fff;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;
}

.hva-history-site a:hover {
  color: #a8ff00;
}

.hva-seo-history-table .is-number {
  font-variant-numeric:
    tabular-nums;

  font-weight: 700;
}

.hva-seo-history-table .is-critical {
  color: #ff5e72;
}

.hva-seo-history-table .is-high {
  color: #ff9b54;
}

.hva-seo-history-table .is-medium {
  color: #ffd95a;
}

.hva-seo-history-table .is-low {
  color: #74b8ff;
}

.hva-history-health {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 74px;

  padding: 7px 10px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;

  font-variant-numeric:
    tabular-nums;
}

.hva-history-health.is-good {
  color: #a8ff00;

  background:
    rgba(168,255,0,.09);

  border:
    1px solid rgba(168,255,0,.23);
}

.hva-history-health.is-mid {
  color: #ffd95a;

  background:
    rgba(255,217,90,.08);

  border:
    1px solid rgba(255,217,90,.22);
}

.hva-history-health.is-bad {
  color: #ff7b7b;

  background:
    rgba(255,95,95,.08);

  border:
    1px solid rgba(255,95,95,.22);
}

.hva-history-health.is-na {
  color:
    rgba(255,255,255,.55);

  background:
    rgba(255,255,255,.04);

  border:
    1px solid rgba(255,255,255,.10);
}

.hva-history-loading,
.hva-history-empty {
  height: 90px;

  color:
    rgba(255,255,255,.45) !important;

  text-align: center;
}


@media (max-width: 900px) {

  .hva-seo-history-head {
    grid-template-columns: 1fr;
  }

  .hva-seo-history-counters {
    width: 100%;
  }
}


@media (max-width: 680px) {

  .hva-seo-history {
    padding:
      38px 14px 54px;
  }

  .hva-seo-history-inner {
    padding-top: 30px;
  }

  .hva-seo-history-head {
    gap: 24px;
  }

  .hva-seo-history-head p {
    font-size: 15px;
  }

  .hva-seo-history-counters {
    grid-template-columns: 1fr 1fr;
  }

  .hva-seo-history-counters > div {
    min-width: 0;
    padding: 16px;
  }

  .hva-seo-history-counters strong {
    font-size: 30px;
  }

  .hva-seo-history-counters span {
    font-size: 10px;
  }
}
