#fighter {

  &__personal-info, &__stats {
    .fieldset-wrapper {
      display: flex;
      flex-flow: wrap;
      justify-content: space-evenly;
    }
  }

  &__stats {
   .fieldset-wrapper > div {
    flex-basis: 20%;
   }
  }
}

#fighter {

  h2 {
    text-align: center;
    font-size: 3rem;
    margin: 4rem 0;
    text-transform: uppercase;
  }

  span.label {
    font-size: 1.2rem;
    font-weight: 300;
  }

  .data-wrapper {
    margin: 1rem;
  }

  .datapoint {
    font-size: 2rem;
  }

  &__hero {
    color: var(--site-secondary);
    display: flex;
    flex-flow: wrap;
    padding: 2rem 0;
    justify-content: space-evenly;
    align-items: center;
  }

  &__text {
    h1 {
      margin-top: 0;
      margin-bottom: 1rem;
      font-size: 2.4rem;
    }
    text-align: center;
    background: var(--site-primary);
    padding: 2rem 3rem;
    border: 1px solid;
  }

  &__personal {
    display: flex;
    flex-flow: wrap;
    justify-content: space-evenly;
    text-align: center;
  }

  &__stats {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
    text-align: center;

  }
}

h2#fight-history {
  text-align: center;
  color: var(--site-primary);
  font-size: 3rem;
  margin: 2rem 0;
  text-transform: uppercase;
}

table.cols-2 {
  margin: auto;
  width: auto;
  text-align: center;
  color: var(--site-secondary);

  thead tr {
    font-size: 1.6rem;
    background: var(--site-primary) !important;

    th {
      padding: 10px 0;
    }
  }

  tr:nth-child(odd) {
    background: var(--site-primary);
    a {
      color: var(--site-secondary);
    }
  }
  tbody > tr > td {
    padding: 1rem;
    a {
      text-decoration: none;
    }
  }
}
td.loss {
  background: var(--site-danger);
  --bs-table-striped-color: #eb6f92;
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
  a {
    color: white !important;
  }
}
td.win {
  background: var(--site-primary);

  a {
    color: white !important;
  }
}

.page-node-type-fighter {
  .table > :not(caption) > * > * {
    box-shadow: none !important;
  }
}
