.card {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: calc(3.5rem * 8);
  aspect-ratio: 2 / 1;
  margin: 0 auto 1rem 0;
  background-color: #fff;
  background-image: url("/assets/bg-ghur-404-be144159.jpg");
  background-size: cover;
  border-radius: .5rem;
  box-shadow: var(--pico-card-box-shadow);
}

a.card:hover,
a.card:focus {
  text-decoration: none;
  background-color: var(--pico-dropdown-hover-background-color);
}

.framework {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 50%;
  background-image: url("/assets/frame-912c8adb.png");
  background-size: contain;
}

.framework img.faction {
  position: absolute;
  top: 8%;
  left: 13%;
  height: 22.5%;
  width: 22.5%;
}

.framework img.profile {
  position: absolute;
  top: 22.7%;
  left: 27.7%;
  height: 59%;
  width: 59%;
  border-radius: 100%;
}

.card .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.card .title {
  margin: 0;
  max-height: 50%;
  overflow: hidden;
}

.card h3 {
  color: white;
  font-family: "Oldrichium ITC Std";
  font-size: 1.25rem;
  text-transform: uppercase;
  text-shadow: #000 0px 0px 5px;
  margin: 0;
}

/* Mobile */
@media (max-width: 767px) {
  .card h3 {
    font-size: 1rem;
  }
}

.card .stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 100%;
  aspect-ratio: 326 / 107;
  background-image: url("/assets/weapon-profile-2-60ac745a.png");
  background-size: cover;
  font-family: "ITC Stenberg W01 Regular", "Impact";
  font-size: 1.25rem;
  color: #000;
  text-transform: uppercase;
}

.stats .column {
  display: block;
  width: 50%;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.stats .heading {
  display: block;
}

.stats label {
  font-size: .75rem;
  color: #888;
  margin: 0;
}

.mini-profile {
  display: flex;
  gap: 1em;
}

.mini-profile img.avatar {
  height: 3em;
  aspect-ratio: 1/1;
  border-radius: 100%;
  border: 1px solid #888;
}

.mini-profile .faction {
  color: grey;
}

.card.game-system-kt {
  background-image: url("/assets/kt-profile-5b7d4c1a.png");
  background-color: transparent;
  border-radius: 0;
  display: block;
  position: relative;
  overflow: hidden;
  height: auto;
  width: 100%;
}

.game-system-kt .framework {
  background-image: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.game-system-kt .framework img.profile {
  position: absolute;
  top: 2%;
  left: 6.5%;
  height: 98%;
  width: 58%;
  border-radius: 0;
  clip-path: polygon(51% 1%, 2.5% 99%, 99% 99%);
}

.game-system-kt .framework img.faction {
  position: absolute;
  top: 0;
  left: .5rem;
  height: 60%;
  width: 30%;
  filter: invert(44%) sepia(77%) saturate(2500%) hue-rotate(357deg) brightness(90%) contrast(94%);
}

.game-system-wc .text {
  padding: 1rem;
  padding-right: 0;
}

.game-system-kt .text {
  background-image: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  align-items: flex-end;
}

.card.game-system-kt .title {
  flex: 1;
}

.card.game-system-kt h3 {
  font-family: "ITC Stenberg W01 Regular", "Impact";
  font-size: 1.5rem;
  text-align: right;
  padding-top: 1rem;
  padding-right: 1rem;
}

.card.game-system-kt .stats {
  display: flex;
  justify-content: space-between;
  margin: 0;
  width: 80%;
  aspect-ratio: unset;
  background-image: none;
  font-family: "ITC Stenberg W01 Regular", "Impact";
  font-size: 1.25rem;
  color: #000;
  text-transform: uppercase;
  flex: 1;
}

.card.game-system-kt .stats .column {
  font-size: 1.5rem;
  flex: 1;
  margin: 0;
}

.card.game-system-kt .stats .heading {
  height: 31%;
  display: grid;
  place-content: center;
}

.card.game-system-kt .stats label {
  color: #000;
}
