.wap-paradise-wiki-active {
  margin: 0;
}

.wap-wiki {
  --wap-bg: #f7f4ed;
  --wap-surface: #fffdf8;
  --wap-surface-soft: #f1ece2;
  --wap-ink: #201a20;
  --wap-muted: #6e666c;
  --wap-line: #d8d0c2;
  --wap-line-dark: #a99e8e;
  --wap-gold: #b48a35;
  --wap-gold-light: #f4d893;
  --wap-violet: #5b244e;
  --wap-violet-dark: #251421;
  --wap-link: #70405f;
  background: var(--wap-bg);
  color: var(--wap-ink);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  width: 100%;
}

.wap-wiki *,
.wap-wiki *::before,
.wap-wiki *::after {
  box-sizing: border-box;
}

.wap-wiki a {
  color: var(--wap-link);
}

.wap-wiki-header {
  align-items: center;
  background: #171218;
  border-bottom: 2px solid var(--wap-gold);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(170px, 250px) minmax(280px, 620px);
  justify-content: space-between;
  min-height: 88px;
  padding: 12px clamp(20px, 4vw, 60px);
}

.wap-wiki-logo {
  align-items: center;
  color: white !important;
  display: flex;
  gap: 12px;
  text-decoration: none !important;
}

.wap-wiki-logo img {
  height: auto;
  max-height: 58px;
  object-fit: contain;
  width: 132px;
}

.wap-wiki-logo span {
  border-left: 1px solid rgba(255,255,255,.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  padding-left: 12px;
}

.wap-wiki .wap-visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.wap-wiki-header .wap-header-search {
  justify-self: end;
  margin: 0;
  max-width: 620px;
  width: 100%;
}

.wap-header-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.wap-wiki-header .wap-header-search input {
  border-color: rgba(255,255,255,.42);
  min-height: 44px;
}

.wap-header-search button {
  background: var(--wap-gold);
  border: 1px solid var(--wap-gold);
  color: #171218;
  cursor: pointer;
  font: 700 10px Arial, sans-serif;
  letter-spacing: .08em;
  padding: 0 18px;
  text-transform: uppercase;
}

.wap-header-search button:hover,
.wap-header-search button:focus-visible {
  background: var(--wap-gold-light);
}

.wap-mobile-menu {
  display: none;
}

.wap-wiki-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1500px;
  min-height: calc(100vh - 88px);
}

.wap-wiki-sidebar {
  background: #ede8de;
  border-right: 1px solid var(--wap-line);
  padding: 28px 20px 60px;
}

.wap-wiki-sidebar nav {
  position: sticky;
  top: 24px;
}

.wap-wiki-sidebar section {
  border-bottom: 1px solid var(--wap-line);
  margin-bottom: 22px;
  padding-bottom: 17px;
}

.wap-wiki-sidebar h2 {
  color: var(--wap-violet);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.wap-wiki-sidebar a {
  color: #3c343a;
  display: block;
  font-size: 11px;
  line-height: 1.45;
  padding: 3px 0;
  text-decoration: none;
}

.wap-wiki-sidebar a:hover {
  color: var(--wap-violet);
  text-decoration: underline;
}

.wap-wiki-main {
  min-width: 0;
  padding: 28px clamp(20px, 4vw, 58px) 0;
}

.wap-index-content > .wap-eyebrow {
  color: var(--wap-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.wap-index-content > h1,
.wap-index-content > .wp-block-heading:first-of-type {
  color: var(--wap-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
  margin: 0 0 18px;
}

.wap-index-content > .wap-index-intro {
  color: var(--wap-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 820px;
}

.wap-index-content > h2,
.wap-index-content > .wp-block-heading:not(:first-of-type) {
  border-bottom: 1px solid var(--wap-line-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
  margin: 43px 0 17px;
  padding-bottom: 7px;
}

.wap-search {
  margin: 0 0 22px;
  max-width: 620px;
}

.wap-search label {
  color: var(--wap-violet);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.wap-search input {
  background: white;
  border: 1px solid var(--wap-line-dark);
  border-radius: 0;
  color: var(--wap-ink);
  font: 14px Arial, sans-serif;
  min-height: 48px;
  padding: 10px 14px;
  width: 100%;
}

.wap-search input:focus {
  border-color: var(--wap-gold);
  box-shadow: 0 0 0 2px rgba(180,138,53,.16);
  outline: none;
}

.wap-stats {
  background: linear-gradient(135deg, #271723, #4e2044);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 18px 24px;
}

.wap-stats > div {
  border-right: 1px solid rgba(255,255,255,.16);
  padding: 5px 18px;
}

.wap-stats > div:last-child {
  border-right: 0;
}

.wap-stats dt {
  color: var(--wap-gold-light);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wap-stats dd {
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 5px 0 0;
}

.wap-cosmic-map {
  border: 1px solid var(--wap-line);
  margin: 0;
}

.wap-cosmic-map img {
  display: block;
  height: auto;
  width: 100%;
}

.wap-directory {
  background: var(--wap-surface);
  border: 1px solid var(--wap-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wap-directory-card {
  align-items: center;
  border-bottom: 1px solid var(--wap-line);
  border-right: 1px solid var(--wap-line);
  color: var(--wap-ink) !important;
  display: grid;
  gap: 13px;
  grid-template-columns: 38px 1fr auto;
  min-height: 73px;
  padding: 12px 17px;
  text-decoration: none !important;
}

.wap-directory-card:nth-child(2n) {
  border-right: 0;
}

.wap-directory-card:hover {
  background: var(--wap-surface-soft);
}

.wap-card-icon {
  align-items: center;
  border: 1px solid var(--wap-gold);
  border-radius: 50%;
  color: var(--wap-gold);
  display: flex;
  font-family: Georgia, serif;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.wap-directory-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.wap-directory-card small {
  color: var(--wap-muted);
  display: block;
  font-size: 10px;
  margin-top: 4px;
}

.wap-directory-card i {
  color: var(--wap-gold);
  font: normal 25px Georgia, serif;
}

.wap-concept-groups {
  background: var(--wap-surface);
  border: 1px solid var(--wap-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wap-concept-groups section {
  border-bottom: 1px solid var(--wap-line);
  border-right: 1px solid var(--wap-line);
  padding: 22px 24px;
}

.wap-concept-groups section:nth-child(2n) {
  border-right: 0;
}

.wap-concept-groups h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 13px;
}

.wap-concept-groups section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wap-concept-groups a {
  background: var(--wap-surface-soft);
  border: 1px solid var(--wap-line);
  font-size: 10px;
  padding: 6px 8px;
  text-decoration: none;
}

.wap-states-table {
  margin: 0;
  overflow-x: auto;
}

.wap-states-table table {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
}

.wap-states-table th,
.wap-states-table td {
  border: 1px solid var(--wap-line);
  padding: 12px 13px;
  text-align: left;
}

.wap-states-table th {
  background: var(--wap-surface-soft);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 400;
}

.wap-breadcrumbs {
  color: var(--wap-muted);
  font-size: 10px;
  margin: 0 0 20px;
}

.wap-breadcrumbs a {
  text-decoration: none;
}

.wap-wiki-article {
  background: var(--wap-surface);
  border: 1px solid var(--wap-line);
  padding: clamp(25px, 4vw, 50px);
}

.wap-article-heading {
  border-bottom: 1px solid var(--wap-line-dark);
  margin-bottom: 29px;
  padding-bottom: 23px;
}

.wap-article-heading > p {
  color: var(--wap-violet);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.wap-article-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 6vw, 70px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 10px;
}

.wap-article-heading > span {
  color: var(--wap-muted);
  font-size: 10px;
}

.wap-article-frame {
  align-items: start;
  display: grid;
  gap: clamp(30px, 4vw, 55px);
  grid-template-columns: minmax(0, 1fr) minmax(255px, 320px);
}

.wap-article-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.76;
  min-width: 0;
}

.wap-article-copy > p:first-child {
  font-size: 18px;
  line-height: 1.7;
}

.wap-article-copy h2 {
  border-bottom: 1px solid var(--wap-line-dark);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin: 38px 0 15px;
  padding-bottom: 6px;
}

.wap-article-copy h3 {
  color: var(--wap-violet);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
  margin: 25px 0 8px;
}

.wap-article-copy p {
  margin: 0 0 16px;
}

.wap-article-copy a {
  font-weight: 600;
}

.wap-article-table table {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 12px;
  width: 100%;
}

.wap-article-table th,
.wap-article-table td {
  border: 1px solid var(--wap-line);
  padding: 10px 12px;
  text-align: left;
}

.wap-article-table th {
  background: var(--wap-surface-soft);
  width: 145px;
}

.wap-infobox {
  border: 1px solid var(--wap-line-dark);
  font-family: Arial, sans-serif;
  position: sticky;
  top: 25px;
}

.wap-portrait {
  background: #171218;
  border-bottom: 1px solid var(--wap-line-dark);
  margin: 0;
}

.wap-portrait > div {
  background-color: #171218;
  background-repeat: no-repeat;
  height: 330px;
  width: 100%;
}

.wap-portrait figcaption {
  color: rgba(255,250,240,.78);
  font: 10px/1.45 Georgia, serif;
  padding: 9px 12px;
  text-align: center;
}

.wap-infobox > header {
  background: radial-gradient(circle at 50% 10%, rgba(221,193,124,.25), transparent 42%), linear-gradient(145deg, #201622, var(--wap-violet-dark));
  color: white;
  padding: 28px 20px 21px;
  text-align: center;
}

.wap-infobox-glyph {
  align-items: center;
  border: 1px solid var(--wap-gold-light);
  border-radius: 50%;
  color: var(--wap-gold-light);
  display: flex;
  font: 36px Georgia, serif;
  height: 82px;
  justify-content: center;
  margin: 0 auto 17px;
  width: 82px;
}

.wap-infobox h2 {
  color: white;
  font: 400 29px/1.15 Georgia, serif;
  margin: 0;
}

.wap-infobox header p {
  color: var(--wap-gold-light);
  font: italic 13px Georgia, serif;
  margin: 6px 0 0;
}

.wap-infobox dl {
  margin: 0;
}

.wap-infobox dl > div {
  border-bottom: 1px solid var(--wap-line);
  display: grid;
  gap: 11px;
  grid-template-columns: 98px 1fr;
  padding: 10px 12px;
}

.wap-infobox dl > div:last-child {
  border-bottom: 0;
}

.wap-infobox dt {
  color: var(--wap-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.wap-infobox dd {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}

.wap-sacred-svg {
  color: var(--wap-gold-light);
  display: block;
  height: 165px;
  margin: 0 auto 17px;
  width: 185px;
}

.wap-sacred-svg circle,
.wap-sacred-svg line,
.wap-sacred-svg polygon,
.wap-sacred-svg rect {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.wap-sacred-svg .boundary {
  stroke-width: 1;
}

.wap-sacred-svg .bindu {
  fill: currentColor;
  stroke: none;
}

.wap-article-categories {
  background: var(--wap-surface-soft);
  border: 1px solid var(--wap-line);
  font-size: 10px;
  margin-top: 40px;
  padding: 10px 13px;
}

.wap-wiki-footer {
  align-items: center;
  border-top: 1px solid var(--wap-line);
  color: var(--wap-muted);
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  margin-top: 38px;
  min-height: 90px;
}

[data-wap-searchable][hidden] {
  display: none !important;
}

@media (max-width: 1050px) {
  .wap-wiki-header {
    grid-template-columns: minmax(170px, 230px) minmax(250px, 1fr);
  }
  .wap-wiki-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .wap-article-frame {
    grid-template-columns: 1fr;
  }
  .wap-infobox {
    grid-row: 1;
    position: static;
  }
}

@media (max-width: 760px) {
  .wap-wiki-header {
    gap: 10px 16px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 74px;
    padding: 9px 16px;
  }
  .wap-wiki-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .wap-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
  .wap-header-search input {
    min-height: 42px;
  }
  .wap-header-search button {
    padding: 0 12px;
  }
  .wap-mobile-menu {
    display: block;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
  }
  .wap-mobile-menu summary {
    color: white;
    cursor: pointer;
    list-style: none;
  }
  .wap-mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .wap-burger {
    display: grid;
    gap: 5px;
    width: 27px;
  }
  .wap-burger i {
    background: white;
    display: block;
    height: 2px;
    width: 100%;
  }
  .wap-mobile-menu nav {
    background: #171218;
    border: 1px solid rgba(255,255,255,.18);
    display: grid;
    min-width: 190px;
    padding: 10px 14px;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 20;
  }
  .wap-mobile-menu nav a {
    color: rgba(255,255,255,.86);
    font-size: 12px;
    padding: 8px 0;
    text-decoration: none;
  }
  .wap-mobile-more-heading {
    border-top: 1px solid rgba(255,255,255,.2);
    color: var(--wap-gold-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-top: 7px;
    padding: 13px 0 4px;
    text-transform: uppercase;
  }
  .wap-wiki-layout {
    display: block;
  }
  .wap-wiki-sidebar {
    display: none;
  }
  .wap-wiki-main {
    padding: 22px 15px 0;
  }
  .wap-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .wap-stats > div:nth-child(2) {
    border-right: 0;
  }
  .wap-stats > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  .wap-directory,
  .wap-concept-groups {
    grid-template-columns: 1fr;
  }
  .wap-directory-card,
  .wap-concept-groups section {
    border-right: 0;
  }
  .wap-wiki-article {
    padding: 25px 19px;
  }
  .wap-wiki-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
