@charset "UTF-8";

.faction-page .faction-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-block: 40px 48px;
}

.faction-page .faction-hero::before,
.faction-hero-art::before {
  content: none;
}

.faction-hero .faction-hero-art {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 1;
  isolation: isolate;
  background: none;
  border: 0;
  box-shadow: none;
}

.faction-hero-art > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: none;
  border: 0;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

.faction-hero-art > figcaption {
  margin-top: 10px;
  color: #bdd5e4;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 1.2px;
  text-align: center;
}

.faction-hero-art > figcaption > span {
  display: block;
  margin-top: 3px;
  color: #8ca3ba;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.faction-hero-toggle {
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 14px;
  color: #9ec8da;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #83a8bd4d;
  border-radius: 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: .5px;
  cursor: pointer;
}

.faction-hero-toggle:hover { color: #d7eff5; border-bottom-color: #b7dce7; }
.faction-hero-toggle:focus-visible { outline: 2px solid #afe0ed; outline-offset: 4px; }
.faction-hero-toggle[hidden] { display: none; }

@media (max-width: 960px) {
  .faction-page .faction-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 34px 40px;
  }

  .faction-hero .faction-hero-art {
    justify-self: center;
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .faction-page .faction-hero {
    display: grid;
    gap: 24px;
    padding-block: 30px 32px;
  }

  .faction-hero .faction-hero-art { display: grid; }
  .faction-hero-art > figcaption { margin-top: 6px; font-size: 11px; }
  .faction-hero-art > figcaption > span { font-size: 10px; }
  .faction-hero-toggle { margin-top: 8px; }
}

@media print {
  .faction-page .faction-hero { display: block; }
  .faction-hero .faction-hero-art { display: none; }
}
