/* Styles for the Ancient Wisdom comparison and editorial links. */
.hero h1 { font-size: clamp(2rem, 5.5vw, 4.25rem); overflow-wrap: anywhere; }
.topnav { flex-wrap: wrap; overflow: visible; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { background: #263447; }
.wisdom-comparison {
  max-width: 1320px;
  margin: 2.5rem auto 0;
  padding: 0 5vw;
}
.wisdom-table-scroll {
  overflow-x: auto;
  border: 1px solid #604c2d;
  border-radius: 12px;
  background: #111e2c;
}
.wisdom-table-scroll:focus-visible { outline: 3px solid #efd69b; outline-offset: 3px; }
.wisdom-comparison table { width: 100%; min-width: 47rem; border-collapse: collapse; font-size: .95rem; }
.wisdom-comparison caption { padding: 1rem; font: 1.55rem Georgia, serif; color: #f8e9c6; }
.wisdom-comparison th, .wisdom-comparison td {
  border-top: 1px solid #604c2d;
  padding: .7rem .85rem;
  text-align: start;
  vertical-align: top;
}
.wisdom-comparison thead { background: #202b38; }
.wisdom-comparison a, .world .editorial-links a, .thor-panel a { color: #f0cc8a; text-underline-offset: .2em; }
.world .editorial-links { padding-left: 1.2rem; }
.world .editorial-links li + li { margin-top: .4rem; }
/* Tibet and Runes use approved landscape artwork: fill the media panel rather
   than centering a short banner inside a fixed-height empty area. */
.world:is(.tibet, .runes) .art {
  display: block;
  position: relative;
  background: #172535;
  overflow: hidden;
}
.world:is(.tibet, .runes) .art img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
@media (max-width: 800px) {
  .world:is(.tibet, .runes) .art {
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
}
@media (max-width: 520px) {
  .world:is(.tibet, .runes) .art { aspect-ratio: 1.9 / 1; }
}
.runes-encyclopedias { margin-top: 1rem; }
.runes-encyclopedias a { color: #f0cc8a; text-underline-offset: .2em; }
.thor-panel { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #604c2d; }
.thor-panel img { display: block; width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; border-radius: 6px; }
.thor-panel h3 { margin-bottom: .5rem; }
.thor-panel p { margin: 0 0 .5rem; }
@media (max-width: 800px) {
  .wisdom-comparison { margin-top: 1.5rem; }
  .wisdom-comparison table,
  .wisdom-comparison tbody,
  .wisdom-comparison tr { display: block; min-width: 0; }
  .wisdom-comparison caption { display: block; }
  .wisdom-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wisdom-comparison tbody th { display: block; background: #202b38; }
  .wisdom-comparison td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .65rem; overflow-wrap: anywhere; }
  .wisdom-comparison td > span { font-weight: 650; color: #f8e9c6; }
}
.wisdom-comparison td > span { display: none; }
@media (max-width: 800px) { .wisdom-comparison td > span { display: inline; } }
