/* Tarot components in the original portal cascade. Artwork and fonts are local. */
.narrow {
  width: min(760px, 100% - 40px);
  margin: auto;
}
.form-card {
  background: var(--card);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: rgba(56, 38, 63, 0.024) 0px 10px 35px;
}
.text-button {
  background: none;
  color: var(--purple);
  font-size: 13px;
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
}
.section-head h2 {
  margin: 12px 0px 0px;
  max-width: 500px;
}
.section-head p {
  max-width: 350px;
  font-size: 14px;
  margin-bottom: 0px;
}
.page-top {
  padding: 55px 0px 35px;
}
.page-top h1 {
  font-size: 51px;
  max-width: 750px;
  margin-top: 20px;
}
.page-top p {
  max-width: 620px;
}
.breadcrumbs {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumbs a {
  text-decoration: underline;
}
.center {
  text-align: center;
}
.center .eyebrow {
  justify-content: center;
}
.center h1,
.center p {
  margin-left: auto;
  margin-right: auto;
}
.result-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 35px;
  margin: 24px 0px;
  scroll-margin-top: 30px;
}
.result-section h2 {
  font-size: 34px;
  margin-top: 14px;
}
.result-section .result-value {
  float: right;
  font: 65px var(--serif);
  color: rgb(168, 138, 185);
  padding-left: 20px;
}
.result-section p {
  font-size: 15px;
}
.teaser {
  background: linear-gradient(140deg, rgb(238, 228, 244), rgb(250, 247, 240));
  border: 1px solid rgb(216, 202, 225);
  border-radius: 18px;
  padding: 30px;
  margin: 25px 0px;
}
.teaser h3 {
  font: 29px var(--serif);
}
.searchbox {
  display: flex;
  gap: 10px;
  margin: 25px 0px;
}
.searchbox input {
  flex: 1 1 0%;
}
.empty {
  padding: 50px;
  text-align: center;
}
@media (max-width: 760px) {
  .section-head {
    display: block;
  }
  .section-head h2 {
    font-size: 35px;
  }
  .section-head p {
    margin-top: 18px;
  }
  .page-top {
    padding: 35px 0px 20px;
  }
  .page-top h1 {
    font-size: 42px;
  }
  .result-section {
    padding: 24px;
  }
  .result-section h2 {
    font-size: 28px;
  }
  .result-section .result-value {
    font-size: 45px;
  }
  .result-section p {
    font-size: 14px;
  }
  .page-top .actions {
    margin-top: 20px;
  }
  .searchbox {
    flex-wrap: wrap;
  }
  .searchbox input {
    flex-basis: 100%;
  }
  .narrow {
    width: calc(100% - 36px);
  }
}
@media print {
  .result-section {
    break-inside: avoid;
  }
  .narrow {
    width: 100%;
  }
  .teaser {
    display: none;
  }
}
.text-button {
  color: rgb(161, 68, 138);
}
.section-head h2 em {
  font-style: normal;
}
.portal-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 25px;
}
.directory-card {
  min-width: 0px;
  overflow-wrap: anywhere;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(229, 216, 236);
  border-radius: 17px;
  padding: 30px;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.directory-card:hover {
  box-shadow: rgba(103, 53, 119, 0.063) 0px 12px 35px;
}
.directory-card h3 {
  font: 29px/1.15 var(--serif);
  margin: 15px 0px;
  color: rgb(75, 45, 87);
}
.directory-card h2 {
  font: 35px var(--serif);
  margin: 15px 0px;
}
.directory-card p {
  font-size: 13px;
  line-height: 1.75;
}
.directory-card > a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0px;
  border-bottom: 1px solid rgb(238, 228, 243);
  font-size: 12px;
  color: rgb(113, 84, 126);
}
.directory-card > a:hover {
  color: rgb(176, 58, 150);
}
.directory-card > a:last-child {
  border-bottom: 0px;
}
.directory-card > a.directory-more {
  font-weight: 600;
  color: rgb(156, 57, 141);
  margin-top: 10px;
}
.category-hero {
  margin-top: 25px;
  background: rgb(238, 226, 243);
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.category-copy {
  position: relative;
  z-index: 2;
  width: 52%;
  padding: 50px;
}
.category-copy h1 {
  font-size: 55px;
  margin: 22px 0px;
  letter-spacing: -1.5px;
}
.category-copy > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 440px;
  color: rgb(123, 98, 132);
}
.category-copy .btn {
  margin: 5px 8px 7px 0px;
  font-size: 12px;
}
.category-hero::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(90deg, rgb(238, 226, 243) 30%, rgba(238, 226, 243, 0.867) 42%, transparent 68%);
  z-index: 1;
  pointer-events: none;
}
.category-hero.dark {
  background: rgb(50, 32, 63);
}
.category-hero.dark::after {
  background: linear-gradient(90deg, rgb(50, 32, 63) 25%, rgba(50, 32, 63, 0.94) 40%, transparent 75%);
}
.category-hero.dark .category-copy h1 {
  color: rgb(255, 242, 249);
}
.category-hero.dark .category-copy em {
  color: rgb(227, 193, 232);
}
.category-hero.dark .category-copy p {
  color: rgb(200, 174, 210);
}
.category-hero.dark .eyebrow {
  color: rgb(215, 183, 219);
}
.section-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.section-tabs > a,
.section-tabs > button {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(222, 207, 232);
  border-radius: 28px;
  padding: 10px 20px;
  font-size: 12px;
  color: rgb(123, 86, 137);
  cursor: pointer;
}
.section-tabs .active {
  background: rgb(117, 66, 139);
  color: rgb(255, 255, 255);
  border-color: rgb(117, 66, 139);
}
.portal-three:has(.illustrated-aside) {
  grid-template-columns: 1.05fr 1fr;
}
.celestial-symbol {
  font: 50px var(--serif);
  color: rgb(171, 127, 182);
}
.editorial-cover {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin: 16px 0px 30px;
  display: block;
}
.editorial-page h1 {
  font-size: 51px;
}
.editorial-page h2 {
  font-size: 33px;
  line-height: 1.25;
  margin-top: 35px;
}
.editorial-page p {
  font-size: 16px;
  line-height: 1.9;
}
.editorial-page .lead {
  font-size: 19px;
  color: rgb(129, 100, 142);
}
.tarot-library {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 35px;
}
.tarot-thumb {
  display: block;
  text-align: center;
  min-width: 0px;
}
.tarot-thumb h3 {
  font: 24px var(--serif);
  margin: 18px 0px 6px;
}
.tarot-thumb p {
  font-size: 11px;
  color: rgb(155, 125, 167);
}
.tarot-front {
  position: relative;
  width: 100%;
  aspect-ratio: 0.65 / 1;
  border: 5px solid rgb(227, 203, 161);
  border-radius: 11px;
  background: linear-gradient(#34204a55, #382042b0),
    var(--art-tarot) center/cover;
  box-shadow: rgba(70, 36, 82, 0.1) 0px 9px 23px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(255, 243, 217);
  overflow: hidden;
  transition: transform 0.3s;
}
.tarot-thumb:hover .tarot-front {
  transform: translateY(-6px) rotate(-1deg);
}
.tarot-front::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239, 221, 187, 0.48);
  border-radius: 6px;
  pointer-events: none;
}
.tarot-front.suit-wands {
  background-image: linear-gradient(#67402d40, #39213bcd), var(--art-training);
}
.tarot-front.suit-cups {
  background-image: linear-gradient(#39305c30, #322947cc), var(--art-tarot);
}
.tarot-front.suit-swords {
  background-image: linear-gradient(#34274640, #251a3acc), var(--art-astrology);
}
.tarot-front.suit-pentacles {
  background-image: linear-gradient(#55462450, #38233acc), var(--art-numerology);
}
.tarot-serial {
  position: absolute;
  top: 18px;
  font: 18px var(--serif);
  text-shadow: rgb(32, 16, 37) 0px 1px 10px;
}
.tarot-glyph {
  font: 73px var(--serif);
  text-shadow: rgb(42, 18, 54) 0px 3px 20px;
  background: rgba(50, 29, 67, 0.467);
  border: 1px solid rgba(229, 201, 139, 0.4);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}
.tarot-front-title {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  font: 22px/1.15 var(--serif);
  text-shadow: rgb(33, 16, 45) 0px 1px 12px;
}
.card-detail {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 70px;
  align-items: start;
}
.card-detail .tarot-thumb h3,
.card-detail .tarot-thumb p {
  display: none;
}
.card-detail h1 {
  font-size: 53px;
  margin-top: 25px;
}
.card-detail p {
  font-size: 16px;
}
.spread-form {
  max-width: 680px;
  margin: 30px auto;
  text-align: left;
  padding: 27px;
}
.spread-options {
  display: flex;
  gap: 35px;
  margin: 22px 0px;
}
.spread-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0px;
  font-weight: 400;
  font-size: 13px;
}
.spread-stage {
  max-width: 1000px;
  margin: 40px auto;
}
.card-fan {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.spread-card {
  aspect-ratio: 0.63 / 1;
  position: relative;
  padding: 0px;
  border: 0px;
  background: transparent;
  perspective: 900px;
  border-radius: 10px;
  min-height: 0px;
}
.spread-card .card-back,
.spread-card .card-face {
  position: absolute;
  inset: 0px;
  border: 3px solid rgb(217, 186, 125);
  border-radius: 9px;
  backface-visibility: hidden;
  transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
}
.card-back {
  background: radial-gradient(rgb(116, 69, 140), rgb(47, 27, 67));
  box-shadow: rgba(66, 23, 80, 0.125) 0px 8px 25px;
  color: rgb(232, 201, 141);
}
.card-back::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(217, 185, 119, 0.54);
  border-radius: 5px;
  background: repeating-radial-gradient(transparent 0px, transparent 13px, rgba(229, 198, 140, 0.086) 14px, rgba(229, 198, 140, 0.086) 15px);
}
.card-back > span {
  font: 55px var(--serif);
}
.card-back > small {
  font-size: 8px;
  letter-spacing: 2px;
}
.card-face {
  transform: rotateY(180deg);
  background: linear-gradient(#21102b50, #251832c9),
    var(--art-tarot) center/cover;
  color: rgb(255, 240, 212);
}
.card-face > span {
  font: 45px var(--serif);
}
.card-face > small {
  font: 17px/1.1 var(--serif);
  padding: 0px 10px;
}
.spread-card.flipped .card-back {
  transform: rotateY(-180deg);
}
.spread-card.flipped .card-face {
  transform: rotateY(0deg);
}
.spread-card.new-flip {
  animation: 0.65s ease 0s 1 normal both running cardreveal;
}
.spread-card:hover:not(:disabled):not(.flipped) {
  transform: translateY(-9px);
}
.spread-card:disabled {
  opacity: 0.45;
  cursor: default;
}
.spread-results {
  max-width: 760px;
  margin: 20px auto;
  text-align: left;
}
.spread-reading {
  width: min(760px, 100% - 32px);
  margin: 32px auto 64px;
}
.spread-reading > header,
.spread-reading-position,
.spread-synthesis,
.spread-next {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgb(229, 216, 234);
  border-radius: 16px;
  margin: 0px 0px 16px;
  background: rgb(255, 255, 255);
}
.spread-reading > header {
  background: linear-gradient(105deg, #281a38f7, #392049dc), var(--art-tarot) center/cover;
  color: rgb(255, 246, 231);
  border-color: rgb(89, 65, 99);
}
.spread-reading > header h1 {
  margin: 0px;
  font-size: clamp(30px, 5vw, 54px);
  color: inherit;
}
.spread-reading > header p {
  color: rgb(246, 222, 176);
  margin-bottom: 0px;
}
.spread-reading blockquote {
  margin: 18px 0px 0px;
  border-left: 2px solid rgb(215, 181, 119);
  padding-left: 14px;
  overflow-wrap: anywhere;
}
.spread-reading-position {
  display: grid;
  grid-template-columns: auto minmax(0px, 1fr);
  column-gap: clamp(12px, 3vw, 26px);
}
.spread-position-symbol {
  display: grid;
  place-items: center;
  align-self: start;
  width: clamp(35px, 7vw, 62px);
  aspect-ratio: 0.72 / 1;
  border: 2px solid rgb(172, 134, 63);
  border-radius: 7px;
  background: rgb(64, 36, 72);
  color: rgb(255, 226, 169);
  font: clamp(20px, 4vw, 32px) var(--serif);
}
.spread-reading h2 {
  margin: 0px 0px 10px;
  font-size: clamp(22px, 3.5vw, 32px);
}
.spread-reading .eyebrow {
  margin: 0px 0px 7px;
}
.spread-reading .text-button {
  white-space: normal;
  overflow-wrap: anywhere;
}
.spread-synthesis {
  background: rgb(250, 243, 231);
  border-color: rgb(232, 214, 180);
}
.spread-synthesis p:last-child,
.spread-next p:last-child {
  margin-bottom: 0px;
}
.spread-next .btn {
  white-space: normal;
  max-width: 100%;
}
.spread-next .btn + p {
  margin: 20px 0px 12px;
}
.spread-next .btn:hover,
.spread-next .btn:focus-visible {
  color: rgb(255, 255, 255);
}
.section-head {
  align-items: end;
}
.card-fan button {
  outline-offset: 5px;
}
.editorial-page .form-card p.fine {
  font-size: 11px;
}
.result-section {
  box-shadow: rgba(89, 49, 105, 0.02) 0px 6px 24px;
}
.result-section .result-value {
  color: rgb(187, 131, 191);
}
@media (max-width: 1100px) {
  .category-copy {
    padding: 35px;
  }
  .category-copy h1 {
    font-size: 47px;
  }
}
@media (max-width: 1050px) {
  .portal-three {
    gap: 18px;
  }
  .directory-card {
    padding: 24px;
  }
  .tarot-library {
    gap: 20px;
  }
  .card-fan {
    gap: 8px;
  }
  .card-face > small {
    font-size: 14px;
  }
  .category-hero {
    min-height: 410px;
  }
}
@media (min-width: 761px) and (max-width: 960px) {
  .portal-three {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}
@media (max-width: 760px) {
  .portal-three,
  .portal-three:has(.illustrated-aside) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .directory-card {
    padding: 25px;
  }
  .directory-card h2 {
    font-size: 32px;
  }
  .directory-card h3 {
    font-size: 28px;
  }
  .directory-card p {
    font-size: 13px;
  }
  .directory-card > a {
    font-size: 13px;
  }
  .category-hero {
    margin-top: 16px;
    display: flex;
    flex-direction: column-reverse;
    min-height: 0px;
    border-radius: 18px;
  }
  .category-copy {
    width: 100%;
    padding: 29px;
    z-index: 2;
  }
  .category-hero::after,
  .category-hero.dark::after {
    display: none;
  }
  .category-copy h1 {
    font-size: 39px;
    line-height: 1.1;
    margin: 18px 0px 20px;
  }
  .category-copy > p {
    font-size: 14px;
    line-height: 1.8;
  }
  .category-copy .btn {
    font-size: 12px;
    margin-right: 0px;
  }
  .category-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .section-tabs {
    gap: 7px;
    margin-bottom: 23px;
  }
  .section-tabs > a,
  .section-tabs > button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .editorial-page h1 {
    font-size: 40px;
  }
  .editorial-page h2 {
    font-size: 29px;
  }
  .editorial-page p {
    font-size: 15px;
    line-height: 1.85;
  }
  .editorial-page .lead {
    font-size: 17px;
  }
  .editorial-cover {
    border-radius: 12px;
    aspect-ratio: 1.5 / 1;
  }
  .tarot-library {
    grid-template-columns: repeat(2, 1fr);
    gap: 23px 17px;
  }
  .tarot-thumb h3 {
    font-size: 23px;
    margin-top: 15px;
  }
  .tarot-thumb p {
    font-size: 10px;
  }
  .tarot-front {
    border-width: 4px;
  }
  .tarot-front::after {
    inset: 7px;
  }
  .tarot-glyph {
    font-size: 48px;
    width: 80px;
    height: 80px;
  }
  .tarot-front-title {
    font-size: 18px;
    bottom: 17px;
  }
  .tarot-serial {
    font-size: 15px;
    top: 12px;
  }
  .card-detail {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .card-detail > .tarot-thumb,
  .card-detail > div {
    max-width: 220px;
    margin: auto;
    width: 100%;
  }
  .card-detail h1 {
    font-size: 41px;
  }
  .spread-form {
    padding: 22px;
    margin-top: 25px;
  }
  .spread-options {
    gap: 23px;
  }
  .spread-options label {
    font-size: 12px;
  }
  .spread-form .btn {
    width: 100%;
  }
  .card-fan {
    grid-template-columns: repeat(4, 1fr);
    gap: 13px 8px;
    max-width: 400px;
    margin: 25px auto;
  }
  .spread-card .card-back,
  .spread-card .card-face {
    border-width: 2px;
    border-radius: 6px;
  }
  .card-back > span {
    font-size: 30px;
  }
  .card-back > small {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .card-face > span {
    font-size: 27px;
  }
  .card-face > small {
    font-size: 11px;
    padding: 0px 5px;
  }
  .card-back::after {
    inset: 5px;
  }
  .spread-results .result-section {
    text-align: left;
  }
  .result-section p {
    font-size: 14px;
  }
}
@media (max-width: 350px) {
  .category-copy {
    padding: 25px;
  }
  .category-copy h1 {
    font-size: 34px;
  }
  .tarot-front-title {
    font-size: 16px;
  }
  .tarot-glyph {
    width: 65px;
    height: 65px;
    font-size: 38px;
  }
  .card-fan {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .spread-card.flipped .card-back {
    transform: rotateY(-180deg);
  }
  .spread-card.flipped .card-face {
    transform: rotateY(0deg);
  }
}
.teaser-value {
  font: 55px var(--serif);
  color: rgb(171, 113, 183);
  margin: 20px 0px;
}
.text-button {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 650;
}
.form-card > label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.category-copy h1 em {
  font-family: inherit;
  font-style: normal;
  color: rgb(161, 48, 135);
  font-weight: inherit;
}
.category-copy h1 {
  font-size: 46px;
  line-height: 1.15;
}
.category-copy p {
  font-size: 20px;
  line-height: 1.65;
}
.category-hero.dark .category-copy h1 em {
  color: rgb(230, 182, 220);
}
.category-copy .btn {
  font-size: 17px;
  min-height: 55px;
}
.section-head h2 {
  font-size: 36px;
}
.section-head p {
  font-size: 19px;
}
.directory-card h2,
.directory-card h3 {
  font-size: 25px;
}
.directory-card p {
  font-size: 18px;
}
.directory-card a {
  font-size: 16px;
  line-height: 1.5;
}
.editorial-page h1 {
  font-size: 43px;
}
.editorial-page p {
  font-size: 20px;
  line-height: 1.75;
}
.editorial-page h2 {
  font-size: 31px;
}
.result-section p {
  font-size: 19px;
  line-height: 1.7;
}
.result-section h2 {
  font-size: 31px;
}
.result-section .result-value {
  font-size: 58px;
}
.tarot-serial {
  font-family: var(--number-font);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum";
}
.tarot-birth {
  margin: 35px auto;
  max-width: 900px;
  padding: 32px;
  background: rgb(240, 227, 246);
  border: 1px solid rgb(222, 196, 230);
  border-radius: 16px;
}
.tarot-birth h2 {
  font-size: 31px;
}
.tarot-birth p {
  font-size: 18px;
}
.tarot-birth .form-card {
  background: rgb(255, 255, 255);
}
.tarot-birth-result {
  padding: 28px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(221, 196, 231);
  border-radius: 12px;
  margin-top: 25px;
}
.tarot-birth-result h3 {
  font-size: 27px;
}
.tarot-birth-result .birth-card-symbol {
  font-size: 56px;
  color: rgb(158, 107, 40);
}
.spread-form label {
  font-size: 16px;
}
.spread-options label {
  font-size: 17px;
}
.spread-options input {
  width: 20px;
  height: 20px;
}
.tarot-front-title {
  font-size: 18px;
}
.tarot-thumb h3 {
  font-size: 21px;
}
.tarot-thumb p {
  font-size: 15px;
}
.card-face small {
  font-size: 17px;
  line-height: 1.4;
}
.card-back small {
  font-size: 12px;
}
.section-tabs button {
  font-size: 16px;
  padding: 12px 17px;
}
@media (max-width: 760px) {
  .text-button {
    font-size: 16px;
  }
  .category-copy h1 {
    font-size: 34px;
  }
  .category-copy p {
    font-size: 18px;
  }
  .category-copy .btn {
    font-size: 16px;
  }
  .section-head h2 {
    font-size: 29px;
  }
  .section-head p {
    font-size: 18px;
  }
  .directory-card h2,
  .directory-card h3 {
    font-size: 25px;
  }
  .directory-card p {
    font-size: 18px;
  }
  .directory-card a {
    font-size: 16px;
  }
  .editorial-page h1 {
    font-size: 34px;
  }
  .editorial-page h2 {
    font-size: 28px;
  }
  .editorial-page p {
    font-size: 18px;
    line-height: 1.8;
  }
  .editorial-page {
    padding-top: 30px;
  }
  .result-section h2 {
    font-size: 28px;
  }
  .result-section p {
    font-size: 18px;
  }
  .result-section .result-value {
    font-size: 46px;
  }
  .tarot-birth {
    padding: 25px 20px;
    margin: 30px 16px;
  }
  .tarot-birth h2 {
    font-size: 28px;
  }
  .tarot-birth p {
    font-size: 18px;
  }
  .tarot-front-title {
    font-size: 17px;
  }
  .tarot-thumb h3 {
    font-size: 19px;
  }
  .tarot-thumb p {
    font-size: 14px;
  }
  .card-face small {
    font-size: 14px;
    line-height: 1.5;
  }
  .card-back small {
    font-size: 10px;
  }
  .spread-form {
    padding: 24px 20px;
  }
  .spread-options {
    gap: 18px;
  }
  .spread-options label {
    font-size: 16px;
  }
  .section-tabs button {
    font-size: 15px;
  }
  .card-fan {
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .category-copy h1 {
    font-size: 31px;
  }
}
@media (max-width: 480px) {
  .card-fan {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 14px;
  }
  .card-face > small {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }
}
.category-hero {
  display: grid;
  grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 0.85fr);
  align-items: center;
  gap: clamp(18px, 4vw, 64px);
  min-height: 0px;
  padding: clamp(25px, 5vw, 72px);
  background: radial-gradient(at 77% 55%, rgb(233, 215, 227), transparent 50%), rgb(250, 246, 245);
}
.category-hero.dark {
  background: radial-gradient(at 78% 55%, rgb(77, 52, 84), transparent 52%), rgb(48, 36, 55);
}
.category-hero::after {
  content: none;
}
.category-hero .category-copy {
  width: auto;
  padding: 0px;
  min-width: 0px;
}
.category-hero .category-object {
  display: block;
  width: min(100%, 380px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  justify-self: center;
}
.directory-card.topic-directory {
  background: linear-gradient(160deg, rgb(250, 245, 239) 0px, rgb(255, 255, 255) 62%);
  overflow-wrap: break-word;
}
.tarot-thumb,
.tarot-thumb h3,
.tarot-front-title {
  min-width: 0px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.directory-card .celestial-symbol {
  text-shadow: rgb(116, 64, 127) 1px 1px, rgb(100, 54, 109) 2px 2px, rgba(84, 51, 96, 0.21) 3px 4px 4px;
}
@media (max-width: 650px) {
  .category-hero {
    grid-template-columns: minmax(0px, 1fr);
    gap: 8px;
    padding: clamp(19px, 5vw, 36px);
    background: radial-gradient(at 75% 18%, rgb(235, 220, 230), transparent 55%), rgb(250, 246, 245);
  }
  .category-hero .category-object {
    grid-row: 1;
    width: min(47vw, 170px);
  }
  .category-hero .category-copy h1 {
    margin: 12px 0px 15px;
  }
}
.card-detail > article {
  min-width: 0px;
}
.card-detail article h1 {
  overflow-wrap: anywhere;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .card-detail {
    grid-template-columns: minmax(190px, 30%) minmax(0px, 1fr);
    gap: clamp(20px, 4vw, 46px);
  }
  .card-detail article h1 {
    font-size: clamp(2.05rem, 4.9vw, 3rem);
  }
}
@media (max-width: 420px) {
  .card-detail article h1 {
    font-size: clamp(1.65rem, 8.35vw, 2.1rem);
    overflow-wrap: anywhere;
  }
}
[data-tarot] [hidden] { display: none !important; }
[data-tarot] .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[data-tarot] .spread-stage > .eyebrow { justify-content: center; }
[data-tarot] .spread-reading { scroll-margin-top: 1rem; }
[data-tarot] .spread-reading:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  [data-tarot] *, [data-tarot] *::before, [data-tarot] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

[data-tarot] {
  --art-tarot: url("home/art/tarot.webp");
  --art-training: url("home/art/training.webp");
  --art-astrology: url("home/art/astrology.webp");
  --art-numerology: url("home/art/numerology.webp");
}
@supports (background-image: image-set(url("home/art/tarot.webp") 1x)) {
  [data-tarot] {
    --art-tarot: image-set(url("home/art/sizes/tarot-880.webp") 1x, url("home/art/tarot.webp") 2x);
    --art-training: image-set(url("home/art/sizes/training-880.webp") 1x, url("home/art/training.webp") 2x);
    --art-astrology: image-set(url("home/art/sizes/astrology-880.webp") 1x, url("home/art/astrology.webp") 2x);
    --art-numerology: image-set(url("home/art/sizes/numerology-880.webp") 1x, url("home/art/numerology.webp") 2x);
  }
}
.spread-form .spread-options input[type="radio"] {
  min-height: 20px;
  width: 20px;
  height: 20px;
  accent-color: #9d348b;
}
.spread-form small { font-weight: 400; color: var(--muted); }
