.hero--home h1 {
  text-shadow: 0 0 36px rgba(226, 207, 145, 0.18);
}

.home-news {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid rgba(226, 207, 145, 0.16);
  background:
    linear-gradient(90deg, rgba(226, 207, 145, 0.055), transparent 42%),
    rgba(7, 9, 16, 0.52);
}

.home-news__inner {
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.home-news__heading h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.home-news__heading p:last-child {
  margin: 0;
  color: var(--color-muted);
}

.home-news__list {
  border-top: 1px solid rgba(226, 207, 145, 0.24);
}

.home-news__item {
  display: grid;
  grid-template-columns: 7rem 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.home-news__item time {
  color: var(--color-muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.home-news__tag {
  padding: 0.16rem 0.45rem;
  color: var(--color-gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
  border: 1px solid rgba(226, 207, 145, 0.28);
}

.home-news__item a {
  color: var(--color-ink);
  text-decoration-color: rgba(226, 207, 145, 0.42);
  text-underline-offset: 0.25em;
}

.home-news__item a:hover,
.home-news__item a:focus-visible {
  color: var(--color-gold-soft);
}


.hero-audio {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding: 0.65rem 0.85rem;
  color: var(--color-ink);
  background: rgba(7, 9, 16, 0.58);
  border: 1px solid rgba(226, 207, 145, 0.24);
}

.hero-audio__toggle {
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  color: var(--color-gold-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(226, 207, 145, 0.26);
  cursor: pointer;
}

.hero-audio__toggle:hover,
.hero-audio__toggle:focus-visible {
  color: var(--color-ink);
  border-color: rgba(226, 207, 145, 0.56);
}

.hero-audio__volume {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.hero-audio__volume input {
  width: min(36vw, 9rem);
  accent-color: var(--color-gold-soft);
}

.hero-audio.is-site-audio {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  margin-top: 0;
  box-shadow: 0 1rem 2.5rem rgba(7, 9, 16, 0.36);
}

.page-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, rgba(7, 9, 16, 0.15), rgba(7, 9, 16, 0.82)),
    radial-gradient(circle at 18% 18%, rgba(226, 207, 145, 0.16), transparent 20rem),
    linear-gradient(135deg, #10172a, #070910);
}

.page-hero__inner {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

.page-hero p {
  max-width: 760px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.page-hero--races-index {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.62) 46%, rgba(7, 9, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.08) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/races-index-00.png") center top / cover no-repeat;
}

.page-hero--races-index .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--races-index h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--races-index p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--monsters-index {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.08) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/images/monsters-index-00.png") center / cover no-repeat;
}

.page-hero--monsters-index .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--monsters-index h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--monsters-index p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--religions-index {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.06) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/images/religions-index-00.png") center 82% / cover no-repeat;
}

.page-hero--religions-index .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--religions-index h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--religions-index p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--landmarks-index {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.9) 0%, rgba(7, 9, 16, 0.56) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/landmarks-index-00.png") center 55% / cover no-repeat;
}

.page-hero--landmarks-index .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--landmarks-index h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--landmarks-index p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--bermouthia {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/bermouthia-00.png") center 12% / cover no-repeat;
}

.page-hero--bermouthia .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--bermouthia h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--bermouthia p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--kazandor {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.86) 100%),
    url("../assets/nations/kazandor-00.png") center 55% / cover no-repeat;
}

.page-hero--kazandor .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--kazandor h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--kazandor p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--tarenfall {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.86) 100%),
    url("../assets/nations/tarenfall-00.png") center 55% / cover no-repeat;
}

.page-hero--tarenfall .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--tarenfall h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--tarenfall p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--svarn {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/svarn-kingdom-00.png") center 12% / cover no-repeat;
}

.page-hero--svarn .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--svarn h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--svarn p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--sinestadia {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/sinestadia-00.png") center 8% / cover no-repeat;
}

.page-hero--sinestadia .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--sinestadia h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--sinestadia p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--soldia {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/soldia-00.png") center 45% / cover no-repeat;
}

.page-hero--soldia .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--soldia h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--soldia p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--fenrod {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/fenrod-free-city-01.png") center 35% / cover no-repeat;
}

.page-hero--fenrod .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--fenrod h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--fenrod p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--zelkadia {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.92) 0%, rgba(7, 9, 16, 0.58) 46%, rgba(7, 9, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.04) 0%, rgba(7, 9, 16, 0.84) 100%),
    url("../assets/nations/zelkadia-00.png") center 12% / cover no-repeat;
}

.page-hero--zelkadia .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--zelkadia h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--zelkadia p {
  color: rgba(246, 242, 232, 0.92);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.88);
}

.page-hero--adventurers-guild {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.9) 0%, rgba(7, 9, 16, 0.58) 48%, rgba(7, 9, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.12) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/facility-adventurers-guild-00.png") center / cover no-repeat;
}

.page-hero--merchant-guild {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.9) 0%, rgba(7, 9, 16, 0.58) 48%, rgba(7, 9, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.12) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/organization-merchant-guild-00.png") center / cover no-repeat;
}

.page-hero--national-courts {
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.9) 0%, rgba(7, 9, 16, 0.58) 48%, rgba(7, 9, 16, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.12) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/organization-national-courts-00.png") center / cover no-repeat;
}

.page-hero--adventurers-guild .page-hero__inner,
.page-hero--merchant-guild .page-hero__inner,
.page-hero--national-courts .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--adventurers-guild h1,
.page-hero--merchant-guild h1,
.page-hero--national-courts h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.82);
}

.page-hero--adventurers-guild p,
.page-hero--merchant-guild p,
.page-hero--national-courts p {
  color: rgba(246, 242, 232, 0.9);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.86);
}

.page-hero--history {
  position: relative;
  isolation: isolate;
  min-height: clamp(25rem, 52vw, 42rem);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 9, 16, 0.94) 0%, rgba(7, 9, 16, 0.68) 48%, rgba(7, 9, 16, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 9, 16, 0.18) 0%, rgba(7, 9, 16, 0.82) 100%),
    url("../assets/images/history-00.png") center 42% / cover no-repeat;
}

.page-hero--history::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 16, 0.7));
  pointer-events: none;
}

.page-hero--history .page-hero__inner {
  padding-bottom: clamp(1rem, 3vw, 2.5rem);
}

.page-hero--history h1 {
  text-shadow: 0 0.2rem 1.4rem rgba(0, 0, 0, 0.7);
}

.page-hero--history p {
  color: rgba(246, 242, 232, 0.86);
  text-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.82);
}

.page-hero--world-opening .page-hero__inner {
  text-align: center;
}

.page-hero--world-opening .breadcrumb ol {
  justify-content: center;
}

.page-hero--world-opening .eyebrow {
  margin-inline: auto;
}

.page-hero--world-opening h1 {
  margin-inline: auto;
}

.world-opening {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 1120px);
  margin-inline: auto;
  min-height: clamp(25rem, 40vw, 34rem);
  color: #fffaf0;
  text-align: center;
}

.world-opening__sequence,
.world-opening__final {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.world-opening__sequence span {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: none;
  opacity: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.45vw, 2.9rem);
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(255, 250, 240, 0.18);
  animation: world-opening-line 3.6s ease-in-out both;
}

.world-opening__sequence span:nth-child(2) { animation-delay: 3.2s; }
.world-opening__sequence span:nth-child(3) { animation-delay: 6.4s; }
.world-opening__sequence span:nth-child(4) { animation-delay: 9.6s; }
.world-opening__sequence span:nth-child(5) { animation-delay: 12.8s; }
.world-opening__sequence span:nth-child(6) { animation-delay: 16s; }
.world-opening__sequence span:nth-child(7) { animation-delay: 19.2s; }
.world-opening__sequence span:nth-child(8) { animation-delay: 22.4s; }
.world-opening__sequence span:nth-child(9) { animation-delay: 25.6s; }
.world-opening__sequence span:nth-child(10) { animation-delay: 28.8s; }
.world-opening__sequence span:nth-child(11) { animation-delay: 32s; }
.world-opening__sequence span:nth-child(12) { animation-delay: 35.2s; }
.world-opening__sequence span:nth-child(13) { animation-delay: 38.4s; }
.world-opening__sequence span:nth-child(14) { animation-delay: 41.6s; }

.world-opening__final {
  align-content: center;
  gap: 0.65rem;
  opacity: 0;
  animation: world-opening-final 1.8s ease forwards;
  animation-delay: 46s;
}

.world-opening__final span {
  display: block;
  color: #fffaf0;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  line-height: 1.65;
  text-shadow: 0 0 18px rgba(255, 250, 240, 0.12);
}

@keyframes world-opening-line {
  0%,
  100% {
    opacity: 0;
    transform: translate(-50%, 0.7rem);
  }

  18%,
  72% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes world-opening-final {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-opening__sequence {
    display: none;
  }

  .world-opening__final {
    opacity: 1;
    animation: none;
  }
}

.page-hero--with-image .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-hero--with-image .breadcrumb,
.page-hero--with-image .eyebrow,
.page-hero--with-image h1,
.page-hero--with-image .template-lead {
  grid-column: 1;
}

.page-hero--with-image h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  white-space: nowrap;
}

.page-hero__visual {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 100%;
  max-width: 440px;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.18);
}

.page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.person-hero__visual,
.monster-hero__visual,
.race-hero__visual {
  overflow: visible;
  background: transparent;
  border: 0;
}

.currency-hero__visual {
  max-width: 560px;
  aspect-ratio: 16 / 10;
}

.currency-hero__visual img {
  object-fit: cover;
  object-position: center 62%;
}

.page-hero--nation .page-hero__inner {
  width: min(100% - 4rem, 1500px);
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.85fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.page-hero--nation h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  white-space: nowrap;
}

.page-hero--nation .page-hero__visual {
  max-width: 700px;
  aspect-ratio: 16 / 9;
  justify-self: end;
}

.page-hero--nation .page-hero__visual img {
  object-fit: cover;
  object-position: center;
}

.lore-index {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.world-myth {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  justify-items: center;
}

.world-myth__body {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-block: 1px solid rgba(226, 207, 145, 0.22);
  background:
    linear-gradient(180deg, rgba(7, 9, 16, 0.62), rgba(7, 9, 16, 0.9)),
    linear-gradient(90deg, rgba(7, 9, 16, 0.72), rgba(7, 9, 16, 0.5), rgba(7, 9, 16, 0.72)),
    url("../assets/world/liviana-00.png") center top / cover no-repeat;
  box-shadow: inset 0 0 80px rgba(7, 9, 16, 0.9);
  text-align: center;
}

.world-myth__body h2 {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  color: #fffaf0;
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  text-shadow: 0 0 26px rgba(7, 9, 16, 0.82);
}

.world-myth__body p {
  max-width: 880px;
  margin-inline: auto;
  color: #f4ead8;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 2.05;
  text-shadow: 0 2px 16px rgba(7, 9, 16, 0.95);
}

.world-myth__body p + p {
  margin-top: 1.35rem;
}

.world-myth__related {
  width: min(100%, 960px);
}

.lore-panel {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--color-line);
}

.lore-panel h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.entry-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.entry-item:last-child {
  border-bottom: 0;
}

.entry-item h3 {
  margin-bottom: 0.35rem;
}

.entry-item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.race-entry__image {
  aspect-ratio: 4 / 5;
  margin: 0 0 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.race-entry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.race-entry-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.race-entry-list .entry-item {
  display: grid;
  min-height: 100%;
  justify-items: center;
  padding: 0.85rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.race-entry-list .entry-item:last-child {
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.race-entry-list .entry-item h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.race-entry-list .entry-item p {
  display: none;
}

.race-entry-list .race-entry__image {
  width: min(100%, 168px);
  aspect-ratio: 1;
  margin-bottom: 0.8rem;
}

.race-entry-list .text-link {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.entry-list + .lore-panel {
  margin-top: 1.4rem;
}

.archive-entry {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.entry-meta {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.entry-meta div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.entry-meta dt {
  color: var(--color-gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-meta dd {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
}

.entry-body {
  color: var(--color-muted);
}

.entry-body h2 {
  color: var(--color-ink);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.entry-body section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 207, 145, 0.16);
}

.template-lead {
  color: var(--color-muted);
}

.template-profile {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.template-profile div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.36fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.template-profile dt {
  color: var(--color-gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-profile dd {
  margin: 0;
  color: var(--color-muted);
}

.template-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  color: var(--color-dim);
  font-size: 0.92rem;
  border-top: 1px solid rgba(226, 207, 145, 0.16);
}

.category-link-list {
  columns: 2;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--color-muted);
}

.category-link-list li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

.people-database {
  display: grid;
  grid-template-columns: minmax(16rem, 0.34fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.people-database__filters {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.people-control {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.people-control label {
  color: var(--color-gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.people-control input,
.people-control select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.55rem 0.7rem;
  color: var(--color-ink);
  background: rgba(7, 9, 16, 0.72);
  border: 1px solid rgba(226, 207, 145, 0.22);
  border-radius: 0;
}

.people-control input::placeholder {
  color: var(--color-dim);
}

.people-reset {
  width: 100%;
  margin-top: 1.1rem;
}

.people-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.people-results-head h2 {
  margin-bottom: 0;
}

.people-count {
  margin: 0;
  color: var(--color-gold-soft);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.person-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: var(--color-ink);
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.person-card:hover {
  color: var(--color-ink);
  background: rgba(18, 25, 44, 0.92);
  border-color: rgba(226, 207, 145, 0.48);
  transform: translateY(-3px);
}

.person-card__image {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.person-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__body {
  display: grid;
  align-content: start;
  padding: 1rem;
}

.person-card__body h3 {
  margin-bottom: 0.75rem;
}

[data-people-grid] .person-card__body h3 {
  font-size: 1.16rem;
  white-space: nowrap;
}

.person-card__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.person-card__meta div {
  display: grid;
  gap: 0.05rem;
}

.person-card__meta dt {
  color: var(--color-gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-card__meta dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.monster-index-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.monster-index-list a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.monster-index-list a:hover {
  color: var(--color-gold-soft);
  border-color: rgba(226, 207, 145, 0.42);
}

.monster-card__sigil {
  display: grid;
  min-height: 8.5rem;
  place-items: center;
  color: rgba(246, 240, 226, 0.9);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.16em;
  background:
    radial-gradient(circle at 50% 45%, rgba(226, 207, 145, 0.18), transparent 11rem),
    linear-gradient(135deg, rgba(7, 9, 16, 0.55), rgba(18, 25, 44, 0.86));
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.monster-card__image {
  background:
    radial-gradient(circle at 50% 42%, rgba(226, 207, 145, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.035);
}

.monster-card__image img {
  object-fit: contain;
  object-position: center bottom;
}

.people-empty {
  padding: 1rem;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.geo-database__results {
  display: grid;
  gap: 1.4rem;
}

.geo-level {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(226, 207, 145, 0.16);
}

.geo-level:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.geo-current {
  margin: 0.45rem 0 0;
  color: var(--color-muted);
}

.geo-current span {
  color: var(--color-gold-soft);
}

.geo-card {
  width: 100%;
  text-align: left;
  border-radius: 0;
}

.geo-card.is-selected {
  border-color: rgba(226, 207, 145, 0.72);
  box-shadow: inset 0 0 0 1px rgba(226, 207, 145, 0.22);
}

.nation-card__image {
  aspect-ratio: 16 / 10;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.related-links a {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  padding-inline: 0.9rem;
  color: var(--color-gold-soft);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.term-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.term-list li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(226, 207, 145, 0.16);
}

.term-list dfn {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-gold-soft);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: normal;
}

.term-list p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 820px) {
  .home-news__inner {
    grid-template-columns: 1fr;
  }

  .home-news__item {
    grid-template-columns: 6.4rem 3.2rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .lore-index,
  .page-hero--with-image .page-hero__inner,
  .archive-entry,
  .people-database {
    grid-template-columns: 1fr;
  }

  .page-hero__visual {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }

  .page-hero--with-image h1,
  .page-hero--nation h1 {
    white-space: normal;
  }

  .people-database__filters {
    position: static;
  }

  .people-results-head {
    align-items: start;
    flex-direction: column;
  }

  .template-profile div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .category-link-list {
    columns: 1;
  }

  .race-entry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-news__item {
    grid-template-columns: 1fr auto;
  }

  .home-news__item a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .race-entry-list {
    grid-template-columns: 1fr;
  }
}
