.page-id-473 .tarot-hub {
  --tarot-ink: #e7e2d8;
  --tarot-muted: #aaa59d;
  --tarot-gold: #b69548;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 14px 34px;
  overflow: hidden;
  color: var(--tarot-ink);
  background: rgba(4, 6, 9, .46);
  border-top: 1px solid rgba(182, 149, 72, .36);
  border-bottom: 1px solid rgba(182, 149, 72, .22);
  box-sizing: border-box;
  font-family: Georgia, "Times New Roman", serif;
}

.page-id-473 .tarot-hub *,
.page-id-473 .tarot-hub *::before,
.page-id-473 .tarot-hub *::after { box-sizing: border-box; }

.page-id-473 .tarot-hub::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -35% 4% auto;
  height: 460px;
  opacity: .45;
  background: repeating-conic-gradient(from 0deg, rgba(182,149,72,.12) 0 1deg, transparent 1deg 15deg);
  -webkit-mask-image: radial-gradient(ellipse, #000 0 16%, transparent 64%);
  mask-image: radial-gradient(ellipse, #000 0 16%, transparent 64%);
}

.page-id-473 .tarot-hub__intro {
  margin: 0 auto 22px;
  max-width: 620px;
  text-align: center;
}

.page-id-473 .tarot-hub__eyebrow {
  margin: 0 0 10px;
  color: var(--tarot-gold);
  font: 600 .72rem/1.2 Arial, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.page-id-473 .tarot-hub h1 {
  margin: 0;
  color: #f1ece1;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
}

.page-id-473 .tarot-hub__intro > p:last-child {
  margin: 16px 0 0;
  color: var(--tarot-muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.page-id-473 .tarot-hub__choices {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

/*
 * WordPress wpautop wraps each card link in a paragraph on this page.
 * display: contents makes the links the actual grid items again.
 */
.page-id-473 .tarot-hub__choices > p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* wpautop also inserts presentational line breaks inside the links. */
.page-id-473 .tarot-choice > br,
.page-id-473 .tarot-choice__image-wrap > br,
.page-id-473 .tarot-choice__copy > br {
  display: none !important;
}

.page-id-473 .tarot-choice {
  position: relative;
  display: grid !important;
  grid-template-rows: 198px 1fr;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(225, 213, 185, .15);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(28, 29, 31, .78), rgba(10, 12, 15, .95));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.page-id-473 .tarot-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color .28s ease;
}

.page-id-473 .tarot-choice:hover,
.page-id-473 .tarot-choice:focus-visible {
  z-index: 1;
  color: inherit;
  transform: translateY(-6px);
  border-color: rgba(182, 149, 72, .56);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .48);
  outline: none;
}

.page-id-473 .tarot-choice:hover::after,
.page-id-473 .tarot-choice:focus-visible::after { border-color: rgba(182, 149, 72, .2); }

.page-id-473 .tarot-choice__image-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 10px 6px 6px;
}

.page-id-473 .tarot-choice__image-wrap img {
  display: block;
  width: auto;
  height: 182px;
  max-width: 84%;
  object-fit: contain;
  filter: drop-shadow(0 14px 13px rgba(0,0,0,.58));
  transition: transform .35s ease, filter .35s ease;
}

.page-id-473 .tarot-choice:hover img,
.page-id-473 .tarot-choice:focus-visible img {
  transform: translateY(-4px) rotate(.5deg);
  filter: drop-shadow(0 18px 17px rgba(0,0,0,.64));
}

.page-id-473 .tarot-choice__aura {
  position: absolute;
  inset: 18px 8% auto;
  height: 265px;
  pointer-events: none;
  opacity: .74;
  filter: blur(2px);
  -webkit-mask-image: radial-gradient(ellipse, #000 0 25%, transparent 70%);
  mask-image: radial-gradient(ellipse, #000 0 25%, transparent 70%);
}

.page-id-473 .tarot-choice--cosmopolitan .tarot-choice__aura {
  background: radial-gradient(circle, rgba(180,180,180,.18), rgba(74,76,83,.08) 34%, transparent 68%);
}

.page-id-473 .tarot-choice--crowley .tarot-choice__aura {
  background:
    repeating-conic-gradient(from 8deg, rgba(196,146,55,.16) 0 1deg, transparent 1deg 18deg),
    radial-gradient(circle, rgba(101,40,66,.42), rgba(34,79,80,.18) 33%, transparent 68%);
}

.page-id-473 .tarot-choice__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 9px 18px;
}

.page-id-473 .tarot-choice__title {
  color: #eee8db;
  font-size: clamp(1.03rem, 2vw, 1.34rem);
  line-height: 1.15;
}

.page-id-473 .tarot-choice__title::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 12px auto;
  background: linear-gradient(90deg, transparent, var(--tarot-gold), transparent);
}

.page-id-473 .tarot-choice__description {
  max-width: 30rem;
  color: var(--tarot-muted);
  font-family: Arial, sans-serif;
  font-size: .84rem;
  line-height: 1.5;
}

.page-id-473 .tarot-choice__link {
  margin-top: auto;
  padding-top: 17px;
  color: #c5a862;
  font: 600 .66rem/1.2 Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 390px) {
  .page-id-473 .tarot-hub { padding-inline: 14px; }
  .page-id-473 .tarot-hub__choices { grid-template-columns: 1fr !important; }
  .page-id-473 .tarot-choice { width: 100% !important; max-width: 100% !important; grid-template: auto / minmax(104px, 32%) 1fr; text-align: left; }
  .page-id-473 .tarot-choice__image-wrap { padding: 22px 8px 22px 18px; }
  .page-id-473 .tarot-choice__image-wrap img { width: 100%; height: auto; max-height: 220px; max-width: 140px; }
  .page-id-473 .tarot-choice__copy { align-items: flex-start; justify-content: center; padding: 26px 18px; }
  .page-id-473 .tarot-choice__title::after { margin-left: 0; }
  .page-id-473 .tarot-choice__aura { inset: 10% auto 10% 0; width: 46%; height: auto; }
  .page-id-473 .tarot-choice__link { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-id-473 .tarot-choice,
  .page-id-473 .tarot-choice img { transition: none; }
}
