:root {
  --dm-purple: #4b0082;
  --dm-purple-dark: #21003f;
  --dm-purple-deep: #130022;
  --dm-purple-soft: #6d4190;
  --dm-gold: #d7b740;
  --dm-gold-bright: #ffd85d;
  --dm-cream: #fffaf0;
  --dm-lavender: #f4edff;
  --dm-ink: #170421;
  --dm-muted: #6c6074;
  --dm-white: #ffffff;
  --dm-border: rgba(75, 0, 130, 0.13);
  --dm-shadow: 0 22px 70px rgba(47, 0, 84, 0.14);
  --dm-shadow-soft: 0 14px 40px rgba(47, 0, 84, 0.10);
  --dm-radius-lg: 30px;
  --dm-radius-md: 22px;
  --dm-radius-sm: 14px;
  --dm-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dm-serif: Georgia, "Times New Roman", serif;
}

body.dm-homepage-custom {
  background: #fff;
  overflow-x: hidden;
}

body.dm-homepage-custom #masthead,
body.dm-homepage-custom #colophon,
body.dm-homepage-custom .site-header,
body.dm-homepage-custom .site-footer,
body.dm-homepage-custom header.wp-block-template-part,
body.dm-homepage-custom footer.wp-block-template-part,
body.dm-homepage-custom .wp-site-blocks > header,
body.dm-homepage-custom .wp-site-blocks > footer,
body.dm-homepage-custom .entry-header,
body.dm-homepage-custom .page-header,
body.dm-homepage-custom .post-thumbnail,
body.dm-homepage-custom .comments-area {
  display: none !important;
}

body.dm-homepage-custom .site,
body.dm-homepage-custom .site-content,
body.dm-homepage-custom .content-area,
body.dm-homepage-custom #primary,
body.dm-homepage-custom #main,
body.dm-homepage-custom main.site-main,
body.dm-homepage-custom article,
body.dm-homepage-custom .entry-content,
body.dm-homepage-custom .wp-site-blocks,
body.dm-homepage-custom .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.dm-homepage-custom .entry-content > *,
body.dm-homepage-custom .wp-block-post-content > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.dm-homepage-custom .dm-home a {
  color: inherit;
  text-decoration: none;
}

body.dm-homepage-custom .dm-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dm-home {
  background:
    radial-gradient(circle at 50% 18%, rgba(215, 183, 64, 0.08), transparent 32rem),
    linear-gradient(180deg, #fffaf7 0%, #ffffff 32%, #fbf7ff 100%);
  color: var(--dm-ink);
  font-family: var(--dm-sans);
  line-height: 1.55;
  min-height: 100vh;
  overflow: hidden;
}

.dm-home *,
.dm-home *::before,
.dm-home *::after {
  box-sizing: border-box;
}

.dm-wrap {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.dm-skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999999;
  transform: translateY(-160%);
  background: var(--dm-gold-bright);
  color: var(--dm-purple-dark) !important;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.dm-skip-link:focus {
  transform: translateY(0);
}

.dm-top-strip {
  background: linear-gradient(90deg, var(--dm-purple-deep), var(--dm-purple), var(--dm-purple-deep));
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.dm-top-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 18px;
}

.dm-top-strip nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dm-top-strip a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(75, 0, 130, 0.10);
  box-shadow: 0 10px 30px rgba(32, 0, 58, 0.05);
}

.admin-bar .dm-site-header {
  top: 32px;
}

.dm-site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.dm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dm-purple-dark) !important;
  font-weight: 900;
}

.dm-brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dm-gold);
  font-size: 27px;
  background:
    radial-gradient(circle, rgba(255, 216, 93, 0.16), transparent 56%),
    conic-gradient(from 0deg, transparent, rgba(215, 183, 64, 0.25), transparent, rgba(75, 0, 130, 0.10), transparent);
  border: 1px solid rgba(215, 183, 64, 0.35);
  box-shadow: 0 0 0 5px rgba(215, 183, 64, 0.08);
}

.dm-brand__text {
  font-family: var(--dm-serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dm-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #2d1642;
  font-weight: 750;
  font-size: 14px;
}

.dm-primary-nav a,
.dm-login {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.dm-primary-nav a:hover,
.dm-login:hover {
  color: var(--dm-purple) !important;
  transform: translateY(-1px);
}

.dm-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #2d1642;
  font-weight: 800;
  font-size: 14px;
}

.dm-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dm-border);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.dm-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dm-purple);
  margin: 5px 0;
  border-radius: 2px;
}

.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 900;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.dm-btn:hover {
  transform: translateY(-2px);
}

.dm-btn--small {
  min-height: 42px;
  padding: 12px 18px;
  border-radius: 13px;
}

.dm-btn--primary {
  background: linear-gradient(135deg, var(--dm-purple), #6b11a5);
  color: #fff !important;
  box-shadow: 0 13px 30px rgba(75, 0, 130, 0.23);
}

.dm-btn--primary:hover {
  box-shadow: 0 18px 42px rgba(75, 0, 130, 0.31);
}

.dm-btn--gold {
  background: linear-gradient(135deg, #ffe36d, var(--dm-gold));
  color: #2d123e !important;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 15px 38px rgba(215, 183, 64, 0.34);
}

.dm-btn--gold:hover {
  box-shadow: 0 20px 52px rgba(215, 183, 64, 0.42);
}

.dm-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dm-text-link {
  color: var(--dm-purple) !important;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dm-text-link:hover {
  color: #2d004e !important;
}

.dm-hero {
  position: relative;
  isolation: isolate;
  min-height: 585px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 219, 97, 0.24), transparent 15rem),
    radial-gradient(circle at 80% 28%, rgba(185, 112, 255, 0.26), transparent 19rem),
    radial-gradient(circle at 55% 102%, rgba(255, 216, 93, 0.18), transparent 17rem),
    linear-gradient(135deg, #12001f 0%, #2a0053 38%, #4b0082 70%, #1b0034 100%);
}

.dm-hero::after {
  content: "";
  position: absolute;
  inset: auto -4% -15% -4%;
  height: 180px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(255, 216, 93, 0.25), transparent 34%),
    linear-gradient(180deg, transparent, rgba(4, 0, 20, 0.34));
  filter: blur(1px);
  z-index: -1;
}

.dm-stars,
.dm-stars::before,
.dm-stars::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(215, 183, 64, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.3px);
  background-size: 130px 120px, 190px 170px, 250px 210px;
  background-position: 10px 24px, 72px 40px, 30px 110px;
  opacity: 0.45;
}

.dm-stars::before,
.dm-stars::after {
  content: "";
  opacity: 0.35;
  transform: rotate(8deg) scale(1.15);
}

.dm-stars::after {
  transform: rotate(-6deg) scale(1.2);
  opacity: 0.22;
}

.dm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  z-index: -1;
}

.dm-orb--one {
  width: 430px;
  height: 430px;
  left: -150px;
  top: 80px;
  border: 1px solid rgba(215, 183, 64, 0.18);
  background: radial-gradient(circle, rgba(215, 183, 64, 0.10), transparent 62%);
}

.dm-orb--two {
  width: 380px;
  height: 380px;
  right: -110px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(109, 65, 144, 0.32), transparent 65%);
}

.dm-moon {
  position: absolute;
  right: 12%;
  top: 92px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--dm-gold-bright);
  box-shadow: 0 0 44px rgba(255, 216, 93, 0.32);
  z-index: -1;
}

.dm-moon::after {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #2b0056;
  left: -35px;
  top: -8px;
}

.dm-hero__inner {
  position: relative;
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.dm-zodiac-wheel {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 216, 93, 0.38);
  background:
    radial-gradient(circle, rgba(255, 216, 93, 0.18) 0 10%, transparent 11%),
    repeating-radial-gradient(circle, transparent 0 38px, rgba(255, 216, 93, 0.14) 39px 40px),
    conic-gradient(from 0deg, rgba(255, 216, 93, 0.16), transparent 14deg, rgba(255, 216, 93, 0.12) 30deg, transparent 31deg, transparent 60deg);
  opacity: 0.78;
  box-shadow: inset 0 0 55px rgba(255, 216, 93, 0.08), 0 0 70px rgba(215, 183, 64, 0.12);
}

.dm-zodiac-wheel i {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff4a8 0 10%, var(--dm-gold) 22%, rgba(215, 183, 64, 0.20) 58%, transparent 62%);
  box-shadow: 0 0 50px rgba(255, 216, 93, 0.55);
}

.dm-zodiac-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px;
  display: grid;
  place-items: center;
  color: rgba(255, 216, 93, 0.9);
  font-size: 20px;
  font-weight: 700;
}

.dm-zodiac-wheel span:nth-child(1) { transform: rotate(0deg) translate(120px) rotate(0deg); }
.dm-zodiac-wheel span:nth-child(2) { transform: rotate(30deg) translate(120px) rotate(-30deg); }
.dm-zodiac-wheel span:nth-child(3) { transform: rotate(60deg) translate(120px) rotate(-60deg); }
.dm-zodiac-wheel span:nth-child(4) { transform: rotate(90deg) translate(120px) rotate(-90deg); }
.dm-zodiac-wheel span:nth-child(5) { transform: rotate(120deg) translate(120px) rotate(-120deg); }
.dm-zodiac-wheel span:nth-child(6) { transform: rotate(150deg) translate(120px) rotate(-150deg); }
.dm-zodiac-wheel span:nth-child(7) { transform: rotate(180deg) translate(120px) rotate(-180deg); }
.dm-zodiac-wheel span:nth-child(8) { transform: rotate(210deg) translate(120px) rotate(-210deg); }
.dm-zodiac-wheel span:nth-child(9) { transform: rotate(240deg) translate(120px) rotate(-240deg); }
.dm-zodiac-wheel span:nth-child(10) { transform: rotate(270deg) translate(120px) rotate(-270deg); }
.dm-zodiac-wheel span:nth-child(11) { transform: rotate(300deg) translate(120px) rotate(-300deg); }
.dm-zodiac-wheel span:nth-child(12) { transform: rotate(330deg) translate(120px) rotate(-330deg); }

.dm-hero__content {
  width: min(770px, 100%);
  text-align: center;
  justify-self: center;
  padding-right: 100px;
}

.dm-kicker {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dm-kicker--gold {
  color: #b98900;
}

.dm-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--dm-serif);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.dm-hero h1 span {
  color: var(--dm-gold-bright);
  display: block;
  text-shadow: 0 0 28px rgba(255, 216, 93, 0.18);
}

.dm-hero__lead {
  width: min(640px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.dm-hero__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.dm-hero-stats {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  justify-self: center;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.dm-hero-stats a {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 19px 18px;
  color: #fff !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.dm-hero-stats a:last-child {
  border-right: 0;
}

.dm-hero-stats strong {
  font-size: 31px;
  line-height: 1;
  font-family: var(--dm-serif);
}

.dm-hero-stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.dm-section {
  padding: 76px 0;
}

.dm-tools {
  background: linear-gradient(180deg, #fff 0%, #fbf7ff 100%);
}

.dm-section-head {
  margin-bottom: 34px;
}

.dm-section-head--center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.dm-section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.dm-section-head h2,
.dm-intentions h2,
.dm-community h2 {
  margin: 0;
  color: var(--dm-purple-dark);
  font-family: var(--dm-serif);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.dm-section-head p:not(.dm-kicker),
.dm-community p,
.dm-tool-card p,
.dm-category-card__text,
.dm-article-card p {
  color: var(--dm-muted);
}

.dm-section-head p:not(.dm-kicker) {
  margin: 12px auto 0;
  font-size: 17px;
}

.dm-divider {
  width: 142px;
  height: 1px;
  display: block;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, var(--dm-gold), transparent);
}

.dm-tool-grid {
  display: grid;
  grid-template-columns: 1.18fr repeat(3, 1fr);
  gap: 22px;
}

.dm-tool-card {
  position: relative;
  min-height: 270px;
  padding: 30px 28px;
  border-radius: var(--dm-radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--dm-border);
  box-shadow: var(--dm-shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dm-tool-card::before {
  content: "";
  position: absolute;
  inset: -45% -30% auto auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 65, 144, 0.18), transparent 64%);
}

.dm-tool-card:hover,
.dm-category-card:hover,
.dm-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dm-shadow);
}

.dm-tool-card,
.dm-category-card,
.dm-article-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dm-tool-card--featured {
  color: #fff;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 216, 93, 0.22), transparent 13rem),
    linear-gradient(135deg, #2b0056, #4b0082 55%, #1a002f);
  border-color: rgba(255, 216, 93, 0.28);
}

.dm-tool-card--featured::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255, 216, 93, 0.14) 0 2px, transparent 3px 18px);
  opacity: 0.55;
}

.dm-tool-card__badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #2d123e;
  background: var(--dm-gold-bright);
  font-size: 11px;
  font-weight: 950;
}

.dm-tool-card__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  margin-bottom: 22px;
  color: var(--dm-purple);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 62%),
    linear-gradient(135deg, rgba(75, 0, 130, 0.14), rgba(215, 183, 64, 0.18));
  font-size: 34px;
  font-family: var(--dm-serif);
  font-weight: 900;
  border: 1px solid rgba(75, 0, 130, 0.10);
}

.dm-tool-card--featured .dm-tool-card__icon {
  color: var(--dm-gold-bright);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 40px rgba(255, 216, 93, 0.16);
}

.dm-tool-card h3 {
  margin: 0;
  color: var(--dm-purple-dark);
  font-family: var(--dm-serif);
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dm-tool-card--featured h3,
.dm-tool-card--featured p {
  color: #fff;
}

.dm-tool-card p {
  margin: 12px 0 24px;
  font-size: 15px;
}

.dm-tool-card a:not(.dm-btn) {
  margin-top: auto;
  color: var(--dm-purple) !important;
  font-weight: 950;
  font-size: 14px;
}

.dm-tool-card--featured a:not(.dm-btn) {
  color: #2d123e !important;
  background: var(--dm-gold-bright);
  padding: 12px 16px;
  border-radius: 13px;
  position: relative;
  z-index: 2;
}

.dm-tarot-feature {
  padding-top: 34px;
  background: linear-gradient(180deg, #fbf7ff, #fffaf4 100%);
}

.dm-tarot-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  padding: 30px;
  border-radius: var(--dm-radius-lg);
  background:
    radial-gradient(circle at 92% 24%, rgba(215, 183, 64, 0.16), transparent 12rem),
    radial-gradient(circle at 10% 18%, rgba(109, 65, 144, 0.13), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 237, 255, 0.88));
  border: 1px solid rgba(75, 0, 130, 0.12);
  box-shadow: var(--dm-shadow);
  overflow: hidden;
}

.dm-tarot-panel::after {
  content: "☼";
  position: absolute;
  right: 44px;
  top: 45px;
  color: rgba(215, 183, 64, 0.16);
  font-size: 190px;
  line-height: 1;
  pointer-events: none;
}

.dm-browser-card {
  position: relative;
  z-index: 1;
  padding-top: 34px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(47, 0, 84, 0.16);
  overflow: hidden;
  border: 1px solid rgba(75, 0, 130, 0.12);
}

.dm-browser-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: #f5effb;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 14px;
  border-bottom: 1px solid rgba(75, 0, 130, 0.08);
}

.dm-browser-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(75, 0, 130, 0.25);
}

.dm-browser-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.dm-tarot-copy {
  position: relative;
  z-index: 1;
}

.dm-tarot-copy h2 {
  margin: 0;
  color: var(--dm-purple-dark);
  font-family: var(--dm-serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.dm-tarot-copy blockquote {
  margin: 24px 0 0;
  padding: 5px 0 5px 22px;
  border-left: 2px solid var(--dm-gold);
  color: #4f405a;
  font-size: 20px;
  line-height: 1.55;
}

.dm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dm-chip-row span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 216, 93, 0.22);
  border: 1px solid rgba(215, 183, 64, 0.34);
  color: #6f4f00;
  font-weight: 850;
  font-size: 13px;
}

.dm-tarot-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.dm-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.dm-category-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 11px;
  padding: 25px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--dm-border);
  box-shadow: 0 12px 34px rgba(47, 0, 84, 0.08);
}

.dm-category-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--dm-purple);
  font-size: 28px;
  font-family: var(--dm-serif);
  font-weight: 950;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 216, 93, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(75, 0, 130, 0.10), rgba(215, 183, 64, 0.14));
}

.dm-category-card__title {
  color: var(--dm-purple-dark);
  font-family: var(--dm-serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.dm-category-card__text {
  font-size: 13px;
  line-height: 1.45;
}

.dm-category-card__count {
  margin-top: auto;
  color: var(--dm-purple) !important;
  font-size: 13px;
  font-weight: 950;
}

.dm-center-link {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.dm-articles {
  background: linear-gradient(180deg, #fffaf4 0%, #fbf7ff 100%);
  padding-top: 46px;
}

.dm-article-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.dm-article-card {
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dm-border);
  box-shadow: 0 13px 36px rgba(47, 0, 84, 0.10);
}

.dm-article-card--large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #33104f, #4b0082);
}

.dm-article-card__art {
  min-height: 160px;
  display: block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d004e, #6d4190);
}

.dm-article-card--large .dm-article-card__art {
  min-height: 280px;
}

.dm-article-card__art::before,
.dm-article-card__art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dm-article-card__art::before {
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255, 216, 93, 0.9) 0 1px, transparent 1.6px);
  background-size: 70px 68px, 112px 104px;
  opacity: 0.45;
}

.dm-article-art--moon::after {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  right: -28px;
  top: 36px;
  background: radial-gradient(circle, #fff9c8 0 32%, transparent 33%), radial-gradient(circle, rgba(255, 216, 93, 0.28), transparent 60%);
  box-shadow: 0 0 70px rgba(255, 216, 93, 0.28);
}

.dm-article-art--numbers::after {
  content: "1111";
  inset: auto 0 48px 0;
  text-align: center;
  color: var(--dm-gold-bright);
  font-family: var(--dm-serif);
  font-size: 42px;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(255, 216, 93, 0.55);
}

.dm-article-art--crystal::after {
  width: 94px;
  height: 94px;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  background: linear-gradient(135deg, #fff, #d8b7ff 42%, #ffd85d);
  clip-path: polygon(50% 0, 90% 25%, 72% 100%, 28% 100%, 10% 25%);
  filter: drop-shadow(0 0 30px rgba(255, 216, 93, 0.32));
}

.dm-article-art--energy::after {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  left: calc(50% - 66px);
  top: calc(50% - 66px);
  background: repeating-radial-gradient(circle, rgba(255, 216, 93, 0.78) 0 2px, transparent 3px 16px);
  opacity: 0.85;
}

.dm-article-card__body {
  padding: 18px;
}

.dm-article-card--large .dm-article-card__body {
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dm-article-card__cat {
  display: inline-flex;
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(215, 183, 64, 0.18);
  color: #8a6100;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dm-article-card--large .dm-article-card__cat {
  background: rgba(255, 216, 93, 0.20);
  color: #ffe88c;
}

.dm-article-card h3 {
  margin: 12px 0 0;
  color: var(--dm-purple-dark);
  font-family: var(--dm-serif);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.dm-article-card--large h3 {
  color: #fff;
  font-size: 31px;
}

.dm-article-card p {
  margin: 13px 0 0;
}

.dm-article-card--large p {
  color: rgba(255, 255, 255, 0.78);
}

.dm-article-card__meta {
  display: block;
  margin-top: 14px;
  color: var(--dm-muted);
  font-size: 13px;
  font-weight: 800;
}

.dm-article-card--large .dm-article-card__meta {
  color: rgba(255, 255, 255, 0.72);
}

.dm-intentions {
  padding: 44px 0 56px;
  background: #fbf7ff;
  text-align: center;
}

.dm-intentions h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.dm-intention-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.dm-intention-row a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(75, 0, 130, 0.17);
  background: rgba(255, 255, 255, 0.75);
  color: var(--dm-purple) !important;
  font-weight: 850;
  box-shadow: 0 9px 24px rgba(47, 0, 84, 0.06);
}

.dm-intention-row a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.dm-community {
  position: relative;
  padding: 46px 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 216, 93, 0.18), transparent 13rem),
    radial-gradient(circle at 89% 32%, rgba(109, 65, 144, 0.38), transparent 16rem),
    linear-gradient(135deg, #1a002f, #4b0082 62%, #250046);
  overflow: hidden;
}

.dm-community::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.07) 44.3% 44.7%, transparent 45%),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.5px);
  background-size: 190px 120px, 120px 105px;
  opacity: 0.25;
}

.dm-community__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr 1.25fr;
  align-items: center;
  gap: 26px;
}

.dm-community__symbol {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dm-gold-bright);
  font-family: var(--dm-serif);
  font-size: 29px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 216, 93, 0.32);
  box-shadow: 0 0 0 8px rgba(255, 216, 93, 0.06);
}

.dm-community h2 {
  color: #fff;
  font-size: 36px;
}

.dm-community p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.dm-community__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.dm-community__form input {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.95);
  padding: 0 17px;
  color: var(--dm-ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(75, 0, 130, 0.08);
}

.dm-form-note {
  grid-column: 1 / -1;
  font-size: 12px;
  text-align: center;
}

.dm-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #170026;
  padding: 54px 0 28px;
}

.dm-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 48px;
}

.dm-brand--footer {
  color: #fff !important;
}

.dm-footer__brand p {
  max-width: 320px;
  margin: 18px 0 0;
}

.dm-footer h3 {
  margin: 0 0 16px;
  color: var(--dm-gold-bright);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dm-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dm-footer a {
  color: rgba(255, 255, 255, 0.78) !important;
}

.dm-footer a:hover {
  color: #fff !important;
}

.dm-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
  font-size: 13px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 1120px) {
  .dm-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dm-zodiac-wheel {
    display: none;
  }

  .dm-hero__content {
    padding-right: 0;
  }

  .dm-tool-grid,
  .dm-category-grid,
  .dm-article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-tarot-panel {
    grid-template-columns: 1fr;
  }

  .dm-community__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dm-community__symbol {
    margin: 0 auto;
  }

  .dm-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .admin-bar .dm-site-header {
    top: 46px;
  }

  .dm-top-strip__inner {
    justify-content: center;
    text-align: center;
  }

  .dm-top-strip__inner span:nth-child(2),
  .dm-top-strip nav,
  .dm-header-actions .dm-login {
    display: none;
  }

  .dm-site-header__inner {
    min-height: 66px;
  }

  .dm-brand__text {
    font-size: 23px;
  }

  .dm-menu-toggle {
    display: block;
  }

  .dm-primary-nav {
    position: absolute;
    left: 21px;
    right: 21px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: 18px;
    box-shadow: var(--dm-shadow);
  }

  .dm-nav-open .dm-primary-nav {
    display: flex;
  }

  .dm-primary-nav a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .dm-primary-nav a:hover {
    background: var(--dm-lavender);
  }

  .dm-header-actions .dm-btn {
    display: none;
  }

  .dm-hero {
    min-height: auto;
  }

  .dm-hero__inner {
    padding: 64px 0 40px;
  }

  .dm-moon {
    right: -20px;
    top: 90px;
    opacity: 0.55;
  }

  .dm-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dm-hero-stats a:nth-child(2) {
    border-right: 0;
  }

  .dm-hero-stats a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .dm-section {
    padding: 58px 0;
  }

  .dm-section-head--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .dm-tool-grid,
  .dm-category-grid,
  .dm-article-grid,
  .dm-footer__grid {
    grid-template-columns: 1fr;
  }

  .dm-article-card--large {
    grid-template-columns: 1fr;
  }

  .dm-tarot-panel {
    padding: 18px;
    gap: 28px;
  }

  .dm-community__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .dm-wrap {
    width: min(100% - 28px, 1180px);
  }

  .dm-hero h1 {
    font-size: 44px;
  }

  .dm-hero__lead {
    font-size: 16px;
  }

  .dm-hero__actions .dm-btn {
    width: 100%;
  }

  .dm-hero-stats strong {
    font-size: 25px;
  }

  .dm-section-head h2,
  .dm-tarot-copy h2,
  .dm-community h2 {
    font-size: 36px;
  }

  .dm-tool-card,
  .dm-category-card {
    min-height: auto;
  }
}

/* === v1.0.2 polish fixes requested from live preview === */
.dm-wrap {
  width: min(1420px, calc(100% - 72px));
}

.dm-site-header {
  background: linear-gradient(180deg, #e6c84a 0%, var(--dm-gold) 100%);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(45, 0, 78, 0.18);
  box-shadow: 0 10px 28px rgba(45, 0, 78, 0.10);
}

.dm-site-header__inner {
  min-height: 82px;
}

.dm-brand__logo {
  width: auto;
  height: 64px;
  max-width: 250px;
  object-fit: contain;
}

.dm-site-header .dm-brand__logo {
  filter: drop-shadow(0 3px 8px rgba(45, 0, 78, 0.12));
}

.dm-primary-nav {
  gap: 34px;
  color: #26013d;
}

.dm-primary-nav a,
.dm-header-actions {
  color: #26013d !important;
}

.dm-header-actions .dm-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #3d006c, #6c0aa2);
}

.dm-tools .dm-wrap,
.dm-articles .dm-wrap,
.dm-footer .dm-wrap {
  width: min(1460px, calc(100% - 88px));
}

.dm-tool-grid {
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.dm-tool-card {
  min-width: 0;
  min-height: 326px;
  padding: 34px 30px 30px;
  isolation: isolate;
}

.dm-tool-card > * {
  position: relative;
  z-index: 2;
}

.dm-tool-card__badge {
  right: 20px;
  top: 20px;
}

.dm-tool-card__icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
  margin-bottom: 34px;
  flex: 0 0 auto;
}

.dm-tool-card h3 {
  width: 100%;
  max-width: 100%;
  font-size: clamp(23px, 1.45vw, 29px);
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.dm-tool-card p {
  margin: 14px 0 26px;
  font-size: 15px;
  line-height: 1.65;
}

.dm-tool-card a:not(.dm-btn) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  line-height: 1.25;
}

.dm-article-grid {
  align-items: start;
  gap: 24px;
}

.dm-article-card {
  height: auto;
}

.dm-article-card:not(.dm-article-card--large) {
  background:
    radial-gradient(circle at 88% 92%, rgba(215, 183, 64, 0.12), transparent 7rem),
    linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.dm-article-card:not(.dm-article-card--large) .dm-article-card__art {
  min-height: 205px;
}

.dm-article-card__body {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dm-article-card:not(.dm-article-card--large) .dm-article-card__body {
  padding: 24px;
  min-height: 244px;
}

.dm-article-card:not(.dm-article-card--large) .dm-article-card__body::after {
  content: "Read guide →";
  margin-top: auto;
  padding-top: 18px;
  color: var(--dm-purple);
  font-size: 13px;
  font-weight: 950;
}

.dm-article-card h3 {
  font-size: clamp(21px, 1.35vw, 25px);
}

.dm-article-card p {
  font-size: 14px;
  line-height: 1.55;
}

.dm-article-card__meta {
  margin-top: 14px;
}

.dm-convertkit-form,
.dm-community__form-wrap {
  color: #fff;
}

.dm-community .formkit-alert,
.dm-community .formkit-alert-success,
.dm-community .seva-form .formkit-alert,
.dm-community [role="alert"],
.dm-convertkit-form .formkit-alert,
.dm-convertkit-form .formkit-alert-success,
.dm-convertkit-form [class*="success"],
.dm-convertkit-form [class*="Success"] {
  color: #173b28 !important;
  background: #d9fff0 !important;
  border: 1px solid rgba(54, 205, 139, 0.9) !important;
  border-radius: 14px !important;
  font-weight: 850 !important;
  text-shadow: none !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16) !important;
}

.dm-convertkit-form .formkit-alert *,
.dm-convertkit-form .formkit-alert-success *,
.dm-convertkit-form [role="alert"] * {
  color: #173b28 !important;
  text-shadow: none !important;
}

.dm-footer {
  padding: 72px 0 34px;
  background:
    radial-gradient(circle at 16% 0%, rgba(215, 183, 64, 0.10), transparent 18rem),
    linear-gradient(180deg, #1b002e 0%, #12001f 100%);
}

.dm-footer__grid {
  grid-template-columns: minmax(340px, 1.35fr) repeat(3, minmax(180px, 1fr));
  gap: 76px;
  align-items: start;
}

.dm-footer .dm-brand--footer {
  display: inline-flex;
  width: min(310px, 100%);
  min-height: 104px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #d7b740 0%, #f1d261 100%);
  border: 1px solid rgba(255, 232, 140, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.dm-footer .dm-brand__logo {
  height: auto;
  width: 245px;
  max-width: 100%;
  filter: drop-shadow(0 2px 5px rgba(45, 0, 78, 0.12));
}

.dm-footer__brand p {
  max-width: 390px;
  font-size: 18px;
  line-height: 1.62;
}

.dm-footer nav {
  gap: 13px;
}

.dm-footer a {
  font-size: 17px;
}

.dm-footer h3 {
  margin-bottom: 20px;
}

.dm-footer__bottom {
  margin-top: 54px;
}

@media (max-width: 1180px) {
  .dm-tool-grid,
  .dm-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dm-tool-card {
    min-height: 300px;
  }
}

@media (max-width: 860px) {
  .dm-wrap,
  .dm-tools .dm-wrap,
  .dm-articles .dm-wrap,
  .dm-footer .dm-wrap {
    width: min(100% - 32px, 1180px);
  }

  .dm-site-header__inner {
    min-height: 72px;
  }

  .dm-brand__logo {
    height: 54px;
    max-width: 205px;
  }

  .dm-primary-nav {
    background: #fffaf0;
  }

  .dm-tool-grid,
  .dm-article-grid {
    grid-template-columns: 1fr;
  }

  .dm-tool-card {
    min-height: auto;
  }

  .dm-tool-card__icon {
    margin-bottom: 22px;
  }

  .dm-article-card:not(.dm-article-card--large) .dm-article-card__body {
    min-height: auto;
  }

  .dm-footer__grid {
    gap: 34px;
  }
}

/* === v1.0.3 live fixes: compact logo, tool cards, articles, Kit form, footer === */
.dm-home {
  overflow-x: hidden;
}

.dm-site-header__inner {
  min-height: 104px !important;
  padding: 10px 0 !important;
}

.dm-site-header .dm-brand {
  width: 300px !important;
  height: 84px !important;
  flex: 0 0 300px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

.dm-site-header .dm-brand__logo {
  width: 300px !important;
  height: 84px !important;
  max-width: 300px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.dm-primary-nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.dm-header-actions {
  flex: 0 0 auto;
}

.dm-tools {
  overflow: hidden;
}

.dm-tools .dm-wrap {
  width: min(1320px, calc(100% - 72px)) !important;
}

.dm-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.dm-tool-card {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 318px !important;
  padding: 34px 28px 28px !important;
  overflow: hidden !important;
}

.dm-tool-card__badge {
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  max-width: calc(100% - 110px) !important;
  white-space: nowrap !important;
}

.dm-tool-card__icon {
  width: 62px !important;
  height: 62px !important;
  margin-bottom: 52px !important;
}

.dm-tool-card h3 {
  font-size: clamp(22px, 1.35vw, 27px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.dm-tool-card p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 14px 0 24px !important;
}

.dm-tool-card a:not(.dm-btn) {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
}

.dm-tool-card--featured a:not(.dm-btn) {
  padding: 13px 18px !important;
  border-radius: 999px !important;
}

.dm-articles .dm-wrap {
  width: min(1380px, calc(100% - 72px)) !important;
}

.dm-article-grid {
  grid-template-columns: minmax(360px, 1.18fr) repeat(3, minmax(230px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.dm-article-card {
  height: 100% !important;
  min-height: 440px !important;
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(180deg, #fff 0%, #fffaf3 100%) !important;
}

.dm-article-card--large {
  display: grid !important;
  grid-template-columns: 0.92fr 1.08fr !important;
  min-height: 440px !important;
  background: linear-gradient(135deg, #2b0056, #4b0082 70%, #26003f) !important;
}

.dm-article-card:not(.dm-article-card--large) .dm-article-card__art {
  min-height: 178px !important;
  flex: 0 0 178px !important;
}

.dm-article-card--large .dm-article-card__art {
  min-height: 100% !important;
}

.dm-article-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 26px !important;
  min-height: 0 !important;
}

.dm-article-card:not(.dm-article-card--large) .dm-article-card__body {
  min-height: 0 !important;
  background:
    radial-gradient(circle at 96% 100%, rgba(215, 183, 64, 0.13), transparent 6.5rem),
    linear-gradient(180deg, #ffffff 0%, #fffaf1 100%) !important;
}

.dm-article-card h3 {
  font-size: clamp(20px, 1.22vw, 24px) !important;
  line-height: 1.1 !important;
}

.dm-article-card p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.dm-article-card__meta,
.dm-article-card:not(.dm-article-card--large) .dm-article-card__body::after {
  margin-top: auto !important;
}

.dm-community__inner {
  grid-template-columns: auto minmax(340px, 0.9fr) minmax(390px, 1.1fr) !important;
  gap: 38px !important;
}

.dm-community__form-wrap {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dm-convertkit-form {
  width: min(100%, 590px);
  margin-left: auto;
}

.dm-convertkit-form .formkit-form,
.dm-convertkit-form form,
.dm-convertkit-form [data-uid] {
  width: 100% !important;
  max-width: 590px !important;
  margin: 0 !important;
  color: var(--dm-ink) !important;
}

.dm-convertkit-form .formkit-fields,
.dm-convertkit-form .seva-fields,
.dm-convertkit-form .formkit-fieldset {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

.dm-convertkit-form input[type="email"],
.dm-convertkit-form input[type="text"],
.dm-convertkit-form .formkit-input {
  min-height: 54px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--dm-ink) !important;
  padding: 0 18px !important;
  font: inherit !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14) !important;
}

.dm-convertkit-form button,
.dm-convertkit-form input[type="submit"],
.dm-convertkit-form .formkit-submit {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ffe36d, var(--dm-gold)) !important;
  color: #2d123e !important;
  padding: 0 22px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  box-shadow: 0 16px 34px rgba(215, 183, 64, 0.26) !important;
}

.dm-convertkit-form .formkit-alert,
.dm-convertkit-form .formkit-alert-success,
.dm-convertkit-form [role="alert"],
.dm-community .formkit-alert,
.dm-community .formkit-alert-success,
.dm-community [role="alert"] {
  width: 100% !important;
  color: #102617 !important;
  background: #caffdd !important;
  border: 2px solid #3edf82 !important;
  border-radius: 14px !important;
  padding: 18px 22px !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22) !important;
}

.dm-convertkit-form .formkit-powered-by,
.dm-convertkit-form [href*="convertkit"],
.dm-convertkit-form [href*="kit.com"] {
  opacity: 0.72;
}

.dm-convertkit-fallback {
  width: min(100%, 590px);
  margin-left: auto;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dm-footer .dm-brand--footer {
  width: min(330px, 100%) !important;
  min-height: 118px !important;
}

.dm-footer .dm-brand__logo {
  width: 270px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 86px !important;
  object-fit: contain !important;
}

@media (max-width: 1200px) {
  .dm-tool-grid,
  .dm-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dm-community__inner {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .dm-community__form-wrap,
  .dm-convertkit-form,
  .dm-convertkit-fallback {
    margin: 0 auto;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .dm-site-header .dm-brand {
    width: 225px !important;
    height: 62px !important;
    flex-basis: 225px !important;
  }

  .dm-site-header .dm-brand__logo {
    width: 225px !important;
    height: 62px !important;
    max-height: 62px !important;
  }

  .dm-site-header__inner {
    min-height: 76px !important;
  }

  .dm-tool-grid,
  .dm-article-grid,
  .dm-article-card--large {
    grid-template-columns: 1fr !important;
  }

  .dm-tool-card,
  .dm-article-card,
  .dm-article-card--large {
    min-height: auto !important;
  }

  .dm-tool-card__icon {
    margin-bottom: 26px !important;
  }

  .dm-article-card--large .dm-article-card__art {
    min-height: 220px !important;
  }

  .dm-convertkit-form .formkit-fields,
  .dm-convertkit-form .seva-fields,
  .dm-convertkit-form .formkit-fieldset {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* === v1.0.4 hard fix: tool cards spacing/overflow === */
.dm-tools {
  overflow: hidden !important;
}

.dm-tools .dm-wrap {
  width: min(1380px, calc(100% - 96px)) !important;
  max-width: 1380px !important;
  margin-inline: auto !important;
}

.dm-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.dm-tool-card,
.dm-tool-card.dm-tool-card--featured {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 300px !important;
  height: auto !important;
  padding: 28px 26px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  overflow: hidden !important;
}

.dm-tool-card > * {
  position: relative !important;
  z-index: 2 !important;
  max-width: 100% !important;
}

.dm-tool-card__badge {
  position: absolute !important;
  top: 24px !important;
  right: 22px !important;
  left: auto !important;
  transform: none !important;
  max-width: 132px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1 !important;
  padding: 9px 12px !important;
}

.dm-tool-card__icon,
.dm-tool-card.dm-tool-card--featured .dm-tool-card__icon {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  margin: 0 0 24px !important;
  flex: 0 0 auto !important;
}

.dm-tool-card h3,
.dm-tool-card.dm-tool-card--featured h3 {
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: clamp(23px, 1.35vw, 28px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.dm-tool-card p,
.dm-tool-card.dm-tool-card--featured p {
  width: 100% !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.dm-tool-card a:not(.dm-btn),
.dm-tool-card.dm-tool-card--featured a:not(.dm-btn) {
  margin-top: auto !important;
  align-self: flex-start !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.dm-tool-card.dm-tool-card--featured a:not(.dm-btn) {
  padding: 13px 19px !important;
  border-radius: 999px !important;
}

@media (max-width: 1240px) {
  .dm-tools .dm-wrap {
    width: min(100% - 56px, 980px) !important;
  }

  .dm-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .dm-tools .dm-wrap {
    width: min(100% - 32px, 620px) !important;
  }

  .dm-tool-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .dm-tool-card,
  .dm-tool-card.dm-tool-card--featured {
    min-height: 270px !important;
    padding: 24px 22px !important;
  }
}


/* === v1.0.5 final tools-card layout reset ===
   The previous flex version still allowed the grid row to stretch the three white cards into awkward empty boxes.
   This locks the tool cards into a predictable compact grid layout. */
.dm-tools .dm-wrap {
  width: min(1460px, calc(100% - 96px)) !important;
  max-width: 1460px !important;
}

.dm-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
}

.dm-tool-card,
.dm-tool-card.dm-tool-card--featured {
  box-sizing: border-box !important;
  position: relative !important;
  height: 320px !important;
  min-height: 320px !important;
  max-height: 320px !important;
  width: 100% !important;
  padding: 30px 30px 28px !important;
  display: grid !important;
  grid-template-rows: 62px auto minmax(70px, 1fr) auto !important;
  row-gap: 16px !important;
  align-items: start !important;
  justify-items: start !important;
  overflow: hidden !important;
}

.dm-tool-card__icon,
.dm-tool-card.dm-tool-card--featured .dm-tool-card__icon {
  grid-row: 1 !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  margin: 0 !important;
}

.dm-tool-card h3,
.dm-tool-card.dm-tool-card--featured h3 {
  grid-row: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(22px, 1.2vw, 27px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.dm-tool-card p,
.dm-tool-card.dm-tool-card--featured p {
  grid-row: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.dm-tool-card a:not(.dm-btn),
.dm-tool-card.dm-tool-card--featured a:not(.dm-btn) {
  grid-row: 4 !important;
  margin: 0 !important;
  align-self: end !important;
  justify-self: start !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.15 !important;
}

.dm-tool-card:not(.dm-tool-card--featured) a:not(.dm-btn) {
  padding: 0 !important;
  background: transparent !important;
}

.dm-tool-card.dm-tool-card--featured a:not(.dm-btn) {
  padding: 14px 22px !important;
  border-radius: 999px !important;
}

.dm-tool-card__badge {
  top: 28px !important;
  right: 28px !important;
  max-width: 140px !important;
  z-index: 5 !important;
}

@media (max-width: 1240px) {
  .dm-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .dm-tools .dm-wrap {
    width: min(100% - 32px, 620px) !important;
  }

  .dm-tool-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .dm-tool-card,
  .dm-tool-card.dm-tool-card--featured {
    height: auto !important;
    min-height: 280px !important;
    max-height: none !important;
    padding: 24px 22px !important;
  }
}

/* === v1.0.6 tools section rebuild ===
   New class names avoid inherited theme/plugin rules that were pushing icons and CTAs outside cards. */
.dm-tools .dm-wrap {
  width: min(1520px, calc(100% - 72px)) !important;
  max-width: 1520px !important;
}

.dm-tool-grid-v2 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
  margin-top: 42px !important;
}

.dm-tool-v2,
.dm-tool-v2 * {
  box-sizing: border-box !important;
}

.dm-tool-v2 {
  position: relative !important;
  isolation: isolate !important;
  min-height: 292px !important;
  padding: 28px !important;
  border-radius: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  border: 1px solid rgba(75, 0, 130, 0.13) !important;
  background:
    radial-gradient(circle at 90% 12%, rgba(215, 183, 64, 0.16), transparent 28%),
    radial-gradient(circle at 14% 95%, rgba(109, 65, 144, 0.13), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fbf8ff 48%, #f3ebfb 100%) !important;
  box-shadow: 0 22px 46px rgba(75, 0, 130, 0.09) !important;
}

.dm-tool-v2::before {
  content: "" !important;
  position: absolute !important;
  inset: auto -52px -54px auto !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(215, 183, 64, 0.22) !important;
  box-shadow: inset 0 0 0 20px rgba(75, 0, 130, 0.035), inset 0 0 0 42px rgba(215, 183, 64, 0.05) !important;
  z-index: -1 !important;
}

.dm-tool-v2--featured {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 88% 82%, rgba(215, 183, 64, 0.24), transparent 33%),
    linear-gradient(145deg, #4B0082 0%, #5f087d 46%, #7a3b82 100%) !important;
  border-color: rgba(215, 183, 64, 0.28) !important;
  box-shadow: 0 26px 58px rgba(75, 0, 130, 0.24) !important;
}

.dm-tool-v2--featured::before {
  border-color: rgba(215, 183, 64, 0.24) !important;
  box-shadow: inset 0 0 0 18px rgba(215, 183, 64, 0.05), inset 0 0 0 40px rgba(215, 183, 64, 0.04) !important;
}

.dm-tool-v2__top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 60px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dm-tool-v2__icon {
  flex: 0 0 60px !important;
  width: 60px !important;
  height: 60px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(145deg, #ffffff 0%, #f4eaf2 48%, #f7efd8 100%) !important;
  border: 1px solid rgba(75, 0, 130, 0.14) !important;
  color: #4B0082 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 26px rgba(75, 0, 130, 0.08) !important;
}

.dm-tool-v2--featured .dm-tool-v2__icon {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFD84D !important;
}

.dm-tool-v2__badge {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 150px !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  background: #FFD84D !important;
  color: #220033 !important;
  font-family: var(--dm-sans) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.dm-tool-v2__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dm-tool-v2 h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: #24003d !important;
  font-family: var(--dm-serif) !important;
  font-size: clamp(25px, 1.65vw, 31px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.dm-tool-v2--featured h3 {
  color: #ffffff !important;
}

.dm-tool-v2 p {
  margin: 0 !important;
  padding: 0 !important;
  color: #62506d !important;
  font-family: var(--dm-sans) !important;
  font-size: 16.5px !important;
  line-height: 1.55 !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.dm-tool-v2--featured p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.dm-tool-v2__cta,
.dm-homepage-shell .dm-tool-v2__cta {
  margin-top: auto !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  max-width: 100% !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background: rgba(75, 0, 130, 0.08) !important;
  color: #4B0082 !important;
  font-family: var(--dm-sans) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow: visible !important;
  border: 1px solid rgba(75, 0, 130, 0.13) !important;
}

.dm-tool-v2--featured .dm-tool-v2__cta,
.dm-homepage-shell .dm-tool-v2--featured .dm-tool-v2__cta {
  background: #FFD84D !important;
  color: #220033 !important;
  border-color: transparent !important;
  padding-inline: 22px !important;
}

.dm-tool-v2__cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 24px rgba(75, 0, 130, 0.14) !important;
}

@media (max-width: 1220px) {
  .dm-tool-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .dm-tools .dm-wrap {
    width: min(100% - 32px, 620px) !important;
  }

  .dm-tool-grid-v2 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .dm-tool-v2 {
    min-height: 260px !important;
    padding: 24px !important;
  }
}

/* === v1.0.7 final tools section correction ===
   Keep every tool card element inside the card and remove the oversized empty-box feeling. */
body.dm-homepage-custom .dm-home .dm-tools {
  overflow: hidden !important;
}

body.dm-homepage-custom .dm-home .dm-tools .dm-wrap {
  width: min(1500px, calc(100% - 80px)) !important;
  max-width: 1500px !important;
}

body.dm-homepage-custom .dm-home .dm-tool-grid-v2 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  margin: 38px auto 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2,
body.dm-homepage-custom .dm-home .dm-tool-v2--featured {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  min-height: 260px !important;
  height: auto !important;
  max-height: none !important;
  padding: 30px 30px 28px !important;
  border-radius: 26px !important;
  overflow: hidden !important;
  gap: 18px !important;
  transform: none !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2:not(.dm-tool-v2--featured) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(253, 250, 255, 0.94) 48%, rgba(246, 239, 253, 0.96) 100%),
    radial-gradient(circle at 86% 82%, rgba(215, 183, 64, 0.23), transparent 31%),
    radial-gradient(circle at 16% 18%, rgba(75, 0, 130, 0.08), transparent 32%) !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2__top {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  gap: 14px !important;
  transform: none !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2__icon,
body.dm-homepage-custom .dm-home .dm-tool-v2--featured .dm-tool-v2__icon {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 0 0 58px !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 18px !important;
  z-index: 2 !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2__badge {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  max-width: calc(100% - 78px) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  z-index: 2 !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2__body {
  position: static !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 2 !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2 h3,
body.dm-homepage-custom .dm-home .dm-tool-v2--featured h3 {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  transform: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  font-size: clamp(24px, 1.55vw, 30px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2 p,
body.dm-homepage-custom .dm-home .dm-tool-v2--featured p {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2__cta,
body.dm-homepage-custom .dm-home .dm-tool-v2--featured .dm-tool-v2__cta,
body.dm-homepage-custom .dm-homepage-shell .dm-tool-v2__cta,
body.dm-homepage-custom .dm-homepage-shell .dm-tool-v2--featured .dm-tool-v2__cta {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  max-width: 100% !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 8px 0 0 !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  z-index: 2 !important;
}

body.dm-homepage-custom .dm-home .dm-tool-v2--featured .dm-tool-v2__cta,
body.dm-homepage-custom .dm-homepage-shell .dm-tool-v2--featured .dm-tool-v2__cta {
  padding-inline: 22px !important;
}

@media (min-width: 1221px) {
  body.dm-homepage-custom .dm-home .dm-tool-grid-v2 {
    grid-template-columns: 1.05fr 1fr 1fr 1fr !important;
  }
}

@media (max-width: 1220px) {
  body.dm-homepage-custom .dm-home .dm-tool-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  body.dm-homepage-custom .dm-home .dm-tools .dm-wrap {
    width: min(100% - 32px, 620px) !important;
  }

  body.dm-homepage-custom .dm-home .dm-tool-grid-v2 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.dm-homepage-custom .dm-home .dm-tool-v2,
  body.dm-homepage-custom .dm-home .dm-tool-v2--featured {
    min-height: 0 !important;
    padding: 26px 24px !important;
  }
}

/* === v1.0.8 compact header + WordPress primary menu support === */
body.dm-homepage-custom .dm-home .dm-site-header__inner {
  min-height: 74px !important;
  padding: 6px 0 !important;
  gap: 24px !important;
}

body.dm-homepage-custom .dm-home .dm-site-header .dm-brand {
  width: 220px !important;
  height: 58px !important;
  flex: 0 0 220px !important;
  min-width: 0 !important;
}

body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo {
  width: 220px !important;
  height: 58px !important;
  max-width: 220px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav,
body.dm-homepage-custom .dm-home .dm-primary-nav__list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(18px, 2.1vw, 34px) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  line-height: 1 !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 0 !important;
  color: #26013d !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body.dm-homepage-custom .dm-home .dm-header-actions .dm-btn {
  min-height: 44px !important;
  padding: 12px 20px !important;
  border-radius: 16px !important;
}

body.dm-homepage-custom .dm-home .dm-top-strip__inner {
  min-height: 30px !important;
}

@media (max-width: 1040px) {
  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand {
    width: 190px !important;
    height: 52px !important;
    flex-basis: 190px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo {
    width: 190px !important;
    height: 52px !important;
    max-width: 190px !important;
    max-height: 52px !important;
  }

  body.dm-homepage-custom .dm-home .dm-primary-nav,
  body.dm-homepage-custom .dm-home .dm-primary-nav__list {
    gap: 18px !important;
  }
}

@media (max-width: 860px) {
  body.dm-homepage-custom .dm-home .dm-site-header__inner {
    min-height: 68px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand {
    width: 170px !important;
    height: 46px !important;
    flex-basis: 170px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo {
    width: 170px !important;
    height: 46px !important;
    max-width: 170px !important;
    max-height: 46px !important;
  }

  body.dm-homepage-custom .dm-home .dm-primary-nav__list {
    display: block !important;
  }
}

/* === v1.0.9 regular logo + global header/footer mode === */
body.dm-global-chrome-enabled:not(.dm-homepage-custom) #masthead,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) #colophon,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) .site-header,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) .site-footer,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) header.wp-block-template-part,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) footer.wp-block-template-part,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) .wp-site-blocks > header,
body.dm-global-chrome-enabled:not(.dm-homepage-custom) .wp-site-blocks > footer {
  display: none !important;
}

.dm-global-chrome,
.dm-global-chrome * ,
.dm-global-chrome *::before,
.dm-global-chrome *::after {
  box-sizing: border-box;
}

.dm-global-chrome {
  font-family: var(--dm-sans);
  line-height: 1.55;
  color: var(--dm-ink);
}

.dm-global-chrome a {
  color: inherit;
  text-decoration: none;
}

.dm-global-chrome img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dm-global-chrome .dm-wrap {
  width: min(1460px, calc(100% - 88px));
  margin: 0 auto;
}

/* Keep the new regular logo locked to the current approved header size. */
body.dm-homepage-custom .dm-home .dm-site-header .dm-brand,
.dm-global-chrome .dm-site-header .dm-brand {
  width: 220px !important;
  height: 58px !important;
  flex: 0 0 220px !important;
  min-width: 0 !important;
}

body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo,
.dm-global-chrome .dm-site-header .dm-brand__logo {
  width: 220px !important;
  height: 58px !important;
  max-width: 220px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  object-position: left center !important;
}

body.dm-homepage-custom .dm-home .dm-site-header__inner,
.dm-global-chrome .dm-site-header__inner {
  min-height: 74px !important;
  padding: 6px 0 !important;
  gap: 24px !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav,
body.dm-homepage-custom .dm-home .dm-primary-nav__list,
.dm-global-chrome .dm-primary-nav,
.dm-global-chrome .dm-primary-nav__list {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(18px, 2.1vw, 34px) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav,
.dm-global-chrome .dm-primary-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav li,
.dm-global-chrome .dm-primary-nav li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  line-height: 1 !important;
}

body.dm-homepage-custom .dm-home .dm-primary-nav a,
.dm-global-chrome .dm-primary-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 0 !important;
  color: #26013d !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body.dm-homepage-custom .dm-home .dm-header-actions .dm-btn,
.dm-global-chrome .dm-header-actions .dm-btn {
  min-height: 44px !important;
  padding: 12px 20px !important;
  border-radius: 16px !important;
}

body.dm-homepage-custom .dm-home .dm-top-strip__inner,
.dm-global-chrome .dm-top-strip__inner {
  min-height: 30px !important;
}

.dm-global-chrome .dm-footer .dm-wrap {
  width: min(1460px, calc(100% - 88px));
}

@media (max-width: 1040px) {
  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand,
  .dm-global-chrome .dm-site-header .dm-brand {
    width: 190px !important;
    height: 52px !important;
    flex-basis: 190px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo,
  .dm-global-chrome .dm-site-header .dm-brand__logo {
    width: 190px !important;
    height: 52px !important;
    max-width: 190px !important;
    max-height: 52px !important;
  }
}

@media (max-width: 860px) {
  .dm-global-chrome .dm-wrap,
  .dm-global-chrome .dm-footer .dm-wrap {
    width: min(100% - 32px, 1180px);
  }

  body.dm-homepage-custom .dm-home .dm-site-header__inner,
  .dm-global-chrome .dm-site-header__inner {
    min-height: 68px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand,
  .dm-global-chrome .dm-site-header .dm-brand {
    width: 170px !important;
    height: 46px !important;
    flex-basis: 170px !important;
  }

  body.dm-homepage-custom .dm-home .dm-site-header .dm-brand__logo,
  .dm-global-chrome .dm-site-header .dm-brand__logo {
    width: 170px !important;
    height: 46px !important;
    max-width: 170px !important;
    max-height: 46px !important;
  }

  .dm-global-chrome .dm-primary-nav__list {
    display: block !important;
  }
}

/* === v1.1.0 Zodiac Compatibility Checker redesign === */
body.dm-zodiac-tool-page .entry-header,
body.dm-zodiac-tool-page .page-header,
body.dm-zodiac-tool-page .post-thumbnail,
body.dm-zodiac-tool-page .comments-area {
  display: none !important;
}

body.dm-zodiac-tool-page .site,
body.dm-zodiac-tool-page .site-content,
body.dm-zodiac-tool-page .content-area,
body.dm-zodiac-tool-page #primary,
body.dm-zodiac-tool-page #main,
body.dm-zodiac-tool-page main.site-main,
body.dm-zodiac-tool-page article,
body.dm-zodiac-tool-page .entry-content,
body.dm-zodiac-tool-page .wp-site-blocks,
body.dm-zodiac-tool-page .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.dm-zodiac-tool-page .entry-content > *,
body.dm-zodiac-tool-page .wp-block-post-content > * {
  max-width: none !important;
}

.dm-zodiac-tool {
  --zc-purple: #4b0082;
  --zc-deep: #160025;
  --zc-plum: #2a0048;
  --zc-violet: #6d4190;
  --zc-gold: #d7b740;
  --zc-gold-bright: #ffd85d;
  --zc-cream: #fff8ec;
  --zc-lav: #f6efff;
  --zc-ink: #190426;
  --zc-muted: #6f617b;
  --zc-border: rgba(75, 0, 130, 0.14);
  --zc-shadow: 0 26px 80px rgba(42, 0, 72, 0.18);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  color: var(--zc-ink);
  font-family: var(--dm-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 216, 93, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(109, 65, 144, 0.18), transparent 26rem),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 46%, #f7f0ff 100%);
}

.dm-zodiac-tool *,
.dm-zodiac-tool *::before,
.dm-zodiac-tool *::after {
  box-sizing: border-box;
}

.dm-zodiac-tool a {
  color: inherit;
  text-decoration: none;
}

.dm-zc-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.dm-zc-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: clamp(64px, 7vw, 110px) 0 clamp(62px, 7vw, 100px);
  background:
    radial-gradient(circle at 14% 72%, rgba(215, 183, 64, 0.22), transparent 22rem),
    radial-gradient(circle at 82% 30%, rgba(255, 216, 93, 0.18), transparent 20rem),
    linear-gradient(135deg, #170024 0%, #3b006f 49%, #67139c 100%);
  color: #fff;
}

.dm-zc-stars,
.dm-zc-stars::before,
.dm-zc-stars::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.66) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(215,183,64,.55) 0 1px, transparent 1.5px);
  background-size: 82px 82px, 138px 138px;
  background-position: 0 0, 36px 22px;
  opacity: .38;
  z-index: -2;
}

.dm-zc-stars::before {
  transform: rotate(13deg) scale(1.2);
  opacity: .24;
}

.dm-zc-orbit {
  position: absolute;
  border: 1px solid rgba(215, 183, 64, 0.28);
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.dm-zc-orbit--one {
  width: 440px;
  height: 440px;
  left: -140px;
  top: 120px;
  box-shadow: inset 0 0 70px rgba(215, 183, 64, 0.12);
}

.dm-zc-orbit--two {
  width: 310px;
  height: 310px;
  right: -90px;
  top: 80px;
  border-style: dashed;
  opacity: .65;
}

.dm-zc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.dm-zc-kicker {
  margin: 0 0 14px;
  color: var(--zc-gold-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dm-zc-hero h1,
.dm-zc-section-head h2,
.dm-zc-results h2,
.dm-zc-next h2 {
  margin: 0;
  color: inherit;
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  letter-spacing: -.045em;
  line-height: .98;
}

.dm-zc-hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7vw, 108px);
  text-wrap: balance;
}

.dm-zc-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

.dm-zc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dm-zc-hero__actions a,
.dm-zc-reading-actions a,
.dm-zc-next-grid a {
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.dm-zc-hero__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff !important;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.dm-zc-hero__actions a:first-child {
  background: var(--zc-gold-bright);
  color: var(--zc-deep) !important;
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(255, 216, 93, .24);
}

.dm-zc-hero__actions a:hover,
.dm-zc-reading-actions a:hover,
.dm-zc-next-grid a:hover,
.dm-zc-pair-grid button:hover,
.dm-zc-secondary:hover,
.dm-zc-submit:hover {
  transform: translateY(-2px);
}

.dm-zc-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,248,236,.88)),
    radial-gradient(circle at 20% 0%, rgba(255,216,93,.34), transparent 16rem);
  color: var(--zc-ink);
  box-shadow: 0 34px 90px rgba(13, 0, 22, .28);
}

.dm-zc-card__halo {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,183,64,.32), transparent 68%);
  pointer-events: none;
}

.dm-zc-form {
  padding: clamp(24px, 3vw, 36px);
}

.dm-zc-form__head {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
  z-index: 1;
}

.dm-zc-form__head > span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--zc-purple);
  background: linear-gradient(135deg, #fff, #f0e2ff);
  border: 1px solid var(--zc-border);
  box-shadow: 0 14px 34px rgba(75,0,130,.12);
  font-size: 22px;
  flex: 0 0 auto;
}

.dm-zc-form h2 {
  margin: 0;
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}

.dm-zc-form__head p,
.dm-zc-note {
  margin: 8px 0 0;
  color: var(--zc-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dm-zc-select-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dm-zc-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--zc-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dm-zc-field select {
  width: 100%;
  min-height: 54px;
  padding: 12px 42px 12px 15px;
  border: 1px solid rgba(75,0,130,.22);
  border-radius: 16px;
  background: #fff;
  color: var(--zc-ink);
  font: 800 16px/1.2 var(--dm-sans, Inter, system-ui, sans-serif);
  box-shadow: 0 10px 25px rgba(75,0,130,.07);
  outline: none;
}

.dm-zc-field select:focus {
  border-color: var(--zc-purple);
  box-shadow: 0 0 0 4px rgba(75,0,130,.12), 0 10px 25px rgba(75,0,130,.08);
}

.dm-zc-preview-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.dm-zc-sign-preview {
  min-height: 128px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,216,93,.22), transparent 9rem),
    linear-gradient(145deg, #fff, #f7f0ff);
  border: 1px solid rgba(75,0,130,.12);
}

.dm-zc-sign-preview__glyph {
  display: block;
  color: var(--zc-purple);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.dm-zc-sign-preview strong {
  display: block;
  margin-top: 12px;
  color: var(--zc-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 24px;
  line-height: 1;
}

.dm-zc-sign-preview em {
  display: block;
  margin-top: 7px;
  color: var(--zc-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.dm-zc-plus {
  color: var(--zc-gold);
  font-size: 28px;
  font-weight: 900;
}

.dm-zc-submit,
.dm-zc-secondary,
.dm-zc-pair-grid button {
  border: 0;
  cursor: pointer;
  font-family: var(--dm-sans, Inter, system-ui, sans-serif);
}

.dm-zc-submit {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--zc-gold-bright), #f4be2a);
  color: var(--zc-deep);
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 20px 40px rgba(215,183,64,.26);
}

.dm-zc-note {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dm-zc-results {
  padding: clamp(54px, 6vw, 92px) 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(215,183,64,.10), transparent 22rem),
    linear-gradient(180deg, #fffaf4, #fff);
}

.dm-zc-results__grid {
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr);
  gap: 24px;
}

.dm-zc-score-card,
.dm-zc-reading-card,
.dm-zc-next-grid a {
  border: 1px solid var(--zc-border);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--zc-shadow);
}

.dm-zc-score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  padding: 32px 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,216,93,.22), transparent 15rem),
    linear-gradient(180deg, #fff, #f8f0ff);
  text-align: center;
}

.dm-zc-score-ring {
  --score: 86;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 56%, transparent 57%),
    conic-gradient(var(--zc-gold-bright) calc(var(--score) * 1%), rgba(75,0,130,.12) 0);
  box-shadow: inset 0 0 0 1px rgba(75,0,130,.08), 0 20px 50px rgba(75,0,130,.13);
}

.dm-zc-score-ring span {
  color: var(--zc-purple);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.dm-zc-score-card p {
  margin: 18px 0 0;
  color: var(--zc-ink);
  font-weight: 900;
}

.dm-zc-score-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dm-zc-score-tags span,
.dm-zc-hero__actions a,
.dm-zc-pair-grid button {
  white-space: nowrap;
}

.dm-zc-score-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #6b5100;
  font-size: 12px;
  font-weight: 900;
}

.dm-zc-reading-card {
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 92% 0%, rgba(215,183,64,.18), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(75,0,130,.09), transparent 20rem),
    #fff;
}

.dm-zc-reading-card .dm-zc-kicker,
.dm-zc-section-head .dm-zc-kicker,
.dm-zc-next .dm-zc-kicker {
  color: #a67d00;
}

.dm-zc-reading-card h2 {
  color: var(--zc-purple);
  font-size: clamp(42px, 5vw, 74px);
}

.dm-zc-result-summary {
  max-width: 860px;
  margin: 18px 0 0;
  color: #45334f;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.55;
}

.dm-zc-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.dm-zc-insight-grid > div {
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(75,0,130,.11);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #faf6ff);
}

.dm-zc-insight-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff4cf;
  color: var(--zc-purple);
  font-size: 22px;
  font-weight: 900;
}

.dm-zc-insight-grid h3 {
  margin: 16px 0 8px;
  color: var(--zc-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 24px;
  line-height: 1.05;
}

.dm-zc-insight-grid p {
  margin: 0;
  color: var(--zc-muted);
  font-size: 15px;
  line-height: 1.65;
}

.dm-zc-reading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.dm-zc-secondary,
.dm-zc-reading-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.dm-zc-secondary {
  background: var(--zc-purple);
  color: #fff;
  box-shadow: 0 16px 38px rgba(75,0,130,.18);
}

.dm-zc-reading-actions a {
  border: 1px solid rgba(75,0,130,.16);
  color: var(--zc-purple) !important;
  background: #fff;
}

.dm-zc-explore,
.dm-zc-next {
  padding: clamp(52px, 6vw, 84px) 0;
}

.dm-zc-explore {
  background: linear-gradient(180deg, #fff, #f8f1ff);
}

.dm-zc-section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.dm-zc-section-head--center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dm-zc-section-head h2,
.dm-zc-next h2 {
  color: var(--zc-purple);
  font-size: clamp(38px, 4vw, 64px);
}

.dm-zc-section-head p:not(.dm-zc-kicker) {
  margin: 12px 0 0;
  color: var(--zc-muted);
  font-size: 18px;
}

.dm-zc-pair-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dm-zc-pair-grid button {
  min-height: 78px;
  padding: 18px 20px;
  border: 1px solid rgba(75,0,130,.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215,183,64,.18), transparent 9rem),
    #fff;
  color: var(--zc-purple);
  font-size: 16px;
  font-weight: 950;
  text-align: left;
  box-shadow: 0 14px 34px rgba(75,0,130,.08);
}

.dm-zc-next {
  background:
    radial-gradient(circle at 50% 0%, rgba(215,183,64,.12), transparent 24rem),
    linear-gradient(180deg, #f8f1ff, #fffaf3);
}

.dm-zc-next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.dm-zc-next-grid a {
  min-height: 230px;
  padding: 24px;
  color: inherit !important;
  background:
    linear-gradient(145deg, #fff, #fbf6ff),
    radial-gradient(circle at 90% 0%, rgba(215,183,64,.2), transparent 9rem);
}

.dm-zc-next-grid a:hover {
  box-shadow: 0 30px 80px rgba(42,0,72,.18);
}

.dm-zc-next-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: 18px;
  background: #fff4cf;
  color: var(--zc-purple);
  font-size: 24px;
  font-weight: 950;
}

.dm-zc-next-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--zc-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 26px;
  line-height: 1.08;
}

.dm-zc-next-grid em {
  display: block;
  margin-top: 10px;
  color: var(--zc-muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1020px) {
  .dm-zc-hero__grid,
  .dm-zc-results__grid {
    grid-template-columns: 1fr;
  }

  .dm-zc-score-card {
    min-height: 0;
  }

  .dm-zc-insight-grid,
  .dm-zc-pair-grid,
  .dm-zc-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dm-zc-wrap {
    width: min(100% - 28px, 620px);
  }

  .dm-zc-hero {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .dm-zc-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .dm-zc-select-grid,
  .dm-zc-preview-row,
  .dm-zc-insight-grid,
  .dm-zc-pair-grid,
  .dm-zc-next-grid {
    grid-template-columns: 1fr;
  }

  .dm-zc-plus {
    text-align: center;
  }

  .dm-zc-card,
  .dm-zc-score-card,
  .dm-zc-reading-card,
  .dm-zc-next-grid a {
    border-radius: 24px;
  }
}

/* === v1.2.0 Tool polish: delayed readings + Life Path Calculator redesign === */
.dm-zodiac-tool [hidden],
.dm-life-tool [hidden] {
  display: none !important;
}

.dm-zc-loading,
.dm-lp-loading {
  padding: clamp(28px, 4vw, 44px) 0;
  background: linear-gradient(180deg, #fffaf4, #fff);
}

.dm-zc-loading__box,
.dm-lp-loading__box {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(75, 0, 130, .13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,216,93,.22), transparent 14rem),
    linear-gradient(145deg, #ffffff, #fbf6ff);
  box-shadow: 0 22px 58px rgba(42, 0, 72, .12);
}

.dm-zc-loading__box > span,
.dm-lp-loading__box > span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 6px solid rgba(75, 0, 130, .12);
  border-top-color: #ffd85d;
  animation: dm-tool-spin 1s linear infinite;
  flex: 0 0 auto;
}

.dm-zc-loading__box strong,
.dm-lp-loading__box strong {
  display: block;
  color: #4b0082;
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
}

.dm-zc-loading__box p,
.dm-lp-loading__box p {
  margin: 8px 0 0;
  color: #6f617b;
  font-size: 16px;
  line-height: 1.55;
}

.dm-zc-submit:disabled,
.dm-lp-submit:disabled {
  cursor: wait;
  opacity: .9;
  filter: saturate(.92);
}

@keyframes dm-tool-spin {
  to { transform: rotate(360deg); }
}

body.dm-life-path-tool-page .entry-header,
body.dm-life-path-tool-page .page-header,
body.dm-life-path-tool-page .post-thumbnail,
body.dm-life-path-tool-page .comments-area {
  display: none !important;
}

body.dm-life-path-tool-page .site,
body.dm-life-path-tool-page .site-content,
body.dm-life-path-tool-page .content-area,
body.dm-life-path-tool-page #primary,
body.dm-life-path-tool-page #main,
body.dm-life-path-tool-page main.site-main,
body.dm-life-path-tool-page article,
body.dm-life-path-tool-page .entry-content,
body.dm-life-path-tool-page .wp-site-blocks,
body.dm-life-path-tool-page .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.dm-life-path-tool-page .entry-content > *,
body.dm-life-path-tool-page .wp-block-post-content > * {
  max-width: none !important;
}

.dm-life-tool {
  --lp-purple: #4b0082;
  --lp-deep: #160025;
  --lp-plum: #2a0048;
  --lp-violet: #6d4190;
  --lp-gold: #d7b740;
  --lp-gold-bright: #ffd85d;
  --lp-cream: #fff8ec;
  --lp-lav: #f6efff;
  --lp-ink: #190426;
  --lp-muted: #6f617b;
  --lp-border: rgba(75, 0, 130, 0.14);
  --lp-shadow: 0 26px 80px rgba(42, 0, 72, 0.18);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  color: var(--lp-ink);
  font-family: var(--dm-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 216, 93, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(109, 65, 144, 0.18), transparent 26rem),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 46%, #f7f0ff 100%);
}

.dm-life-tool *,
.dm-life-tool *::before,
.dm-life-tool *::after {
  box-sizing: border-box;
}

.dm-lp-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.dm-lp-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: clamp(64px, 7vw, 110px) 0 clamp(62px, 7vw, 100px);
  background:
    radial-gradient(circle at 15% 70%, rgba(255,216,93,.18), transparent 24rem),
    radial-gradient(circle at 88% 25%, rgba(215,183,64,.2), transparent 22rem),
    linear-gradient(135deg, #170024 0%, #3b006f 49%, #67139c 100%);
  color: #fff;
}

.dm-lp-stars,
.dm-lp-stars::before,
.dm-lp-stars::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.66) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(215,183,64,.55) 0 1px, transparent 1.5px);
  background-size: 82px 82px, 138px 138px;
  background-position: 0 0, 36px 22px;
  opacity: .38;
  z-index: -2;
}

.dm-lp-stars::before {
  transform: rotate(-9deg) scale(1.18);
  opacity: .24;
}

.dm-lp-orbit {
  position: absolute;
  border: 1px solid rgba(215, 183, 64, 0.28);
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.dm-lp-orbit--one {
  width: 440px;
  height: 440px;
  left: -120px;
  top: 110px;
  box-shadow: inset 0 0 70px rgba(215, 183, 64, 0.12);
}

.dm-lp-orbit--two {
  width: 310px;
  height: 310px;
  right: -90px;
  top: 80px;
  border-style: dashed;
  opacity: .65;
}

.dm-lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.dm-lp-kicker {
  margin: 0 0 14px;
  color: var(--lp-gold-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dm-lp-hero h1,
.dm-lp-section-head h2,
.dm-lp-results h2 {
  margin: 0;
  color: inherit;
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  letter-spacing: -.045em;
  line-height: .98;
}

.dm-lp-hero h1 {
  max-width: 790px;
  font-size: clamp(54px, 7vw, 108px);
  text-wrap: balance;
}

.dm-lp-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.55;
}

.dm-lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dm-lp-hero__actions a,
.dm-lp-reading-actions a,
.dm-lp-next-grid a {
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.dm-lp-hero__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff !important;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.dm-lp-hero__actions a:first-child {
  background: var(--lp-gold-bright);
  color: var(--lp-deep) !important;
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(255, 216, 93, .24);
}

.dm-lp-hero__actions a:hover,
.dm-lp-reading-actions a:hover,
.dm-lp-next-grid a:hover,
.dm-lp-secondary:hover,
.dm-lp-submit:hover {
  transform: translateY(-2px);
}

.dm-lp-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,248,236,.9)),
    radial-gradient(circle at 20% 0%, rgba(255,216,93,.34), transparent 16rem);
  color: var(--lp-ink);
  box-shadow: 0 34px 90px rgba(13, 0, 22, .28);
}

.dm-lp-card__halo {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,183,64,.32), transparent 68%);
  pointer-events: none;
}

.dm-lp-form {
  padding: clamp(24px, 3vw, 36px);
}

.dm-lp-form__head {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
  z-index: 1;
}

.dm-lp-form__head > span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: var(--lp-purple);
  background: linear-gradient(135deg, #fff, #fff2c9);
  border: 1px solid var(--lp-border);
  box-shadow: 0 14px 34px rgba(75,0,130,.12);
  font-size: 26px;
  font-weight: 950;
  flex: 0 0 auto;
}

.dm-lp-form h2 {
  margin: 0;
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}

.dm-lp-form__head p,
.dm-lp-note {
  margin: 8px 0 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dm-lp-field {
  position: relative;
  z-index: 1;
  display: block;
}

.dm-lp-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--lp-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dm-lp-field input {
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(75,0,130,.22);
  border-radius: 16px;
  background: #fff;
  color: var(--lp-ink);
  font: 900 17px/1.2 var(--dm-sans, Inter, system-ui, sans-serif);
  box-shadow: 0 10px 25px rgba(75,0,130,.07);
  outline: none;
}

.dm-lp-field input:focus,
.dm-lp-field input[aria-invalid="true"] {
  border-color: var(--lp-purple);
  box-shadow: 0 0 0 4px rgba(75,0,130,.12), 0 10px 25px rgba(75,0,130,.08);
}

.dm-lp-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dm-lp-preview div {
  min-height: 112px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,216,93,.22), transparent 9rem),
    linear-gradient(145deg, #fff, #f7f0ff);
  border: 1px solid rgba(75,0,130,.12);
}

.dm-lp-preview strong {
  display: block;
  color: var(--lp-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dm-lp-preview span {
  display: block;
  margin-top: 14px;
  color: var(--lp-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 950;
  line-height: 1;
}

.dm-lp-submit,
.dm-lp-secondary {
  border: 0;
  cursor: pointer;
  font-family: var(--dm-sans, Inter, system-ui, sans-serif);
}

.dm-lp-submit {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--lp-gold-bright), #f4be2a);
  color: var(--lp-deep);
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 20px 40px rgba(215,183,64,.26);
}

.dm-lp-note {
  position: relative;
  z-index: 1;
  text-align: center;
}

.dm-lp-results {
  padding: clamp(54px, 6vw, 92px) 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(215,183,64,.10), transparent 22rem),
    linear-gradient(180deg, #fffaf4, #fff);
}

.dm-lp-results__grid {
  display: grid;
  grid-template-columns: minmax(275px, .38fr) minmax(0, 1fr);
  gap: 24px;
}

.dm-lp-number-card,
.dm-lp-reading-card,
.dm-lp-next-grid a {
  border: 1px solid var(--lp-border);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--lp-shadow);
}

.dm-lp-number-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 32px 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,216,93,.24), transparent 15rem),
    linear-gradient(180deg, #fff, #f8f0ff);
  text-align: center;
}

.dm-lp-number-card .dm-lp-kicker,
.dm-lp-reading-card .dm-lp-kicker,
.dm-lp-section-head .dm-lp-kicker {
  color: #a67d00;
}

.dm-lp-number-orb {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  margin: 8px auto 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(#ffd85d 0 83%, rgba(75,0,130,.12) 0);
  color: var(--lp-purple);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 88px;
  font-weight: 950;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(75,0,130,.08), 0 20px 50px rgba(75,0,130,.13);
}

.dm-lp-number-card h2 {
  color: var(--lp-ink);
  font-size: clamp(32px, 3vw, 48px);
}

.dm-lp-number-card p:not(.dm-lp-kicker) {
  max-width: 300px;
  margin: 12px auto 0;
  color: var(--lp-muted);
  font-size: 16px;
  line-height: 1.55;
}

.dm-lp-mini-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dm-lp-mini-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff4cf;
  color: #6b5100;
  font-size: 12px;
  font-weight: 900;
}

.dm-lp-reading-card {
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 92% 0%, rgba(215,183,64,.18), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(75,0,130,.09), transparent 20rem),
    #fff;
}

.dm-lp-reading-card h2 {
  color: var(--lp-purple);
  font-size: clamp(42px, 5vw, 74px);
}

.dm-lp-result-summary {
  max-width: 900px;
  margin: 18px 0 0;
  color: #45334f;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.55;
}

.dm-lp-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.dm-lp-breakdown div {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(75,0,130,.11);
  background: linear-gradient(145deg, #fff, #faf6ff);
}

.dm-lp-breakdown span {
  display: block;
  color: #a67d00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dm-lp-breakdown strong {
  display: block;
  margin-top: 8px;
  color: var(--lp-purple);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1;
}

.dm-lp-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dm-lp-insight-grid > div {
  min-height: 225px;
  padding: 20px;
  border: 1px solid rgba(75,0,130,.11);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #faf6ff);
}

.dm-lp-insight-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff4cf;
  color: var(--lp-purple);
  font-size: 22px;
  font-weight: 900;
}

.dm-lp-insight-grid h3 {
  margin: 16px 0 8px;
  color: var(--lp-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 24px;
  line-height: 1.05;
}

.dm-lp-insight-grid p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 15px;
  line-height: 1.65;
}

.dm-lp-reading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.dm-lp-secondary,
.dm-lp-reading-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.dm-lp-secondary {
  background: var(--lp-purple);
  color: #fff;
  box-shadow: 0 16px 38px rgba(75,0,130,.18);
}

.dm-lp-reading-actions a {
  border: 1px solid rgba(75,0,130,.16);
  color: var(--lp-purple) !important;
  background: #fff;
}

.dm-lp-explore {
  padding: clamp(52px, 6vw, 84px) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(215,183,64,.12), transparent 24rem),
    linear-gradient(180deg, #f8f1ff, #fffaf3);
}

.dm-lp-section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.dm-lp-section-head h2 {
  color: var(--lp-purple);
  font-size: clamp(38px, 4vw, 64px);
}

.dm-lp-section-head p:not(.dm-lp-kicker) {
  margin: 12px 0 0;
  color: var(--lp-muted);
  font-size: 18px;
}

.dm-lp-next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.dm-lp-next-grid a {
  min-height: 230px;
  padding: 24px;
  color: inherit !important;
  background:
    linear-gradient(145deg, #fff, #fbf6ff),
    radial-gradient(circle at 90% 0%, rgba(215,183,64,.2), transparent 9rem);
}

.dm-lp-next-grid a:hover {
  box-shadow: 0 30px 80px rgba(42,0,72,.18);
}

.dm-lp-next-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 54px;
  padding: 0 12px;
  border-radius: 18px;
  background: #fff4cf;
  color: var(--lp-purple);
  font-size: 24px;
  font-weight: 950;
}

.dm-lp-next-grid strong {
  display: block;
  margin-top: 20px;
  color: var(--lp-ink);
  font-family: var(--dm-serif, Georgia, "Times New Roman", serif);
  font-size: 26px;
  line-height: 1.08;
}

.dm-lp-next-grid em {
  display: block;
  margin-top: 10px;
  color: var(--lp-muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1020px) {
  .dm-lp-hero__grid,
  .dm-lp-results__grid {
    grid-template-columns: 1fr;
  }

  .dm-lp-number-card {
    min-height: 0;
  }

  .dm-lp-insight-grid,
  .dm-lp-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dm-lp-wrap {
    width: min(100% - 28px, 620px);
  }

  .dm-lp-hero {
    min-height: auto;
    padding: 46px 0 56px;
  }

  .dm-lp-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .dm-lp-preview,
  .dm-lp-breakdown,
  .dm-lp-insight-grid,
  .dm-lp-next-grid {
    grid-template-columns: 1fr;
  }

  .dm-lp-card,
  .dm-lp-number-card,
  .dm-lp-reading-card,
  .dm-lp-next-grid a,
  .dm-zc-loading__box,
  .dm-lp-loading__box {
    border-radius: 24px;
  }

  .dm-zc-loading__box,
  .dm-lp-loading__box {
    align-items: flex-start;
  }
}

/* === v1.2.1 tool-page layout fixes: restore inner padding, remove ghost sidebar/gap, clean links === */
body.dm-zodiac-tool-page,
body.dm-life-path-tool-page {
  overflow-x: hidden !important;
}

body.dm-zodiac-tool-page #secondary,
body.dm-zodiac-tool-page .secondary,
body.dm-zodiac-tool-page .sidebar,
body.dm-zodiac-tool-page .widget-area,
body.dm-zodiac-tool-page aside:not(.dm-global-footer *),
body.dm-life-path-tool-page #secondary,
body.dm-life-path-tool-page .secondary,
body.dm-life-path-tool-page .sidebar,
body.dm-life-path-tool-page .widget-area,
body.dm-life-path-tool-page aside:not(.dm-global-footer *) {
  display: none !important;
}

body.dm-zodiac-tool-page .site-content,
body.dm-zodiac-tool-page .content-area,
body.dm-zodiac-tool-page .content-sidebar-wrap,
body.dm-zodiac-tool-page .site-inner,
body.dm-zodiac-tool-page .container,
body.dm-zodiac-tool-page .ast-container,
body.dm-zodiac-tool-page .wp-site-blocks,
body.dm-zodiac-tool-page main,
body.dm-life-path-tool-page .site-content,
body.dm-life-path-tool-page .content-area,
body.dm-life-path-tool-page .content-sidebar-wrap,
body.dm-life-path-tool-page .site-inner,
body.dm-life-path-tool-page .container,
body.dm-life-path-tool-page .ast-container,
body.dm-life-path-tool-page .wp-site-blocks,
body.dm-life-path-tool-page main {
  display: block !important;
  grid-template-columns: 1fr !important;
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.dm-zodiac-tool-page .dm-zodiac-tool,
body.dm-life-path-tool-page .dm-life-tool {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  overflow-x: clip !important;
}

/* The theme reset targets all article elements; these cards are also <article>, so restore their inner padding. */
body.dm-zodiac-tool-page .dm-zc-reading-card {
  padding: clamp(34px, 4vw, 58px) !important;
  margin: 0 !important;
  max-width: none !important;
}

body.dm-life-path-tool-page .dm-lp-reading-card {
  padding: clamp(34px, 4vw, 58px) !important;
  margin: 0 !important;
  max-width: none !important;
}

body.dm-zodiac-tool-page .dm-zc-insight-grid > div,
body.dm-life-path-tool-page .dm-lp-insight-grid > div,
body.dm-life-path-tool-page .dm-lp-breakdown div {
  padding: 22px !important;
}

body.dm-zodiac-tool-page .dm-zc-reading-actions,
body.dm-life-path-tool-page .dm-lp-reading-actions {
  padding: 0 !important;
}

body.dm-life-path-tool-page .dm-life-tool a,
body.dm-life-path-tool-page .dm-life-tool a:visited,
body.dm-life-path-tool-page .dm-life-tool a:hover,
body.dm-life-path-tool-page .dm-life-tool a:focus,
body.dm-zodiac-tool-page .dm-zodiac-tool a,
body.dm-zodiac-tool-page .dm-zodiac-tool a:visited,
body.dm-zodiac-tool-page .dm-zodiac-tool a:hover,
body.dm-zodiac-tool-page .dm-zodiac-tool a:focus {
  text-decoration: none !important;
}

@media (max-width: 680px) {
  body.dm-zodiac-tool-page .dm-zc-reading-card,
  body.dm-life-path-tool-page .dm-lp-reading-card {
    padding: 24px !important;
  }
}


/* === v1.2.3 Life Path ONLY full-width fix ===
   The Zodiac page is intentionally untouched here because it already renders correctly. */
body.dm-life-path-tool-page {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.dm-life-path-tool-page #secondary,
body.dm-life-path-tool-page .secondary,
body.dm-life-path-tool-page .sidebar,
body.dm-life-path-tool-page .widget-area,
body.dm-life-path-tool-page aside:not(.dm-global-footer *) {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.dm-life-path-tool-page #page,
body.dm-life-path-tool-page .site,
body.dm-life-path-tool-page .site-content,
body.dm-life-path-tool-page .content-area,
body.dm-life-path-tool-page .content-sidebar-wrap,
body.dm-life-path-tool-page .site-inner,
body.dm-life-path-tool-page .ast-container,
body.dm-life-path-tool-page .wp-site-blocks,
body.dm-life-path-tool-page #primary,
body.dm-life-path-tool-page #main,
body.dm-life-path-tool-page .site-main,
body.dm-life-path-tool-page main.site-main,
body.dm-life-path-tool-page article,
body.dm-life-path-tool-page .hentry,
body.dm-life-path-tool-page .inside-article,
body.dm-life-path-tool-page .entry-content,
body.dm-life-path-tool-page .wp-block-post-content,
body.dm-life-path-tool-page .wp-block-group,
body.dm-life-path-tool-page .wp-block-group__inner-container,
body.dm-life-path-tool-page .container,
body.dm-life-path-tool-page .grid-container,
body.dm-life-path-tool-page .site-container,
body.dm-life-path-tool-page .content-container,
body.dm-life-path-tool-page .content-wrap,
body.dm-life-path-tool-page .entry {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 100% !important;
  flex-basis: 100% !important;
  grid-column: 1 / -1 !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
  right: auto !important;
  box-sizing: border-box !important;
}

body.dm-life-path-tool-page .site-content,
body.dm-life-path-tool-page .content-sidebar-wrap,
body.dm-life-path-tool-page .ast-container,
body.dm-life-path-tool-page .wp-site-blocks,
body.dm-life-path-tool-page .grid-container {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

body.dm-life-path-tool-page .entry-content > *,
body.dm-life-path-tool-page .wp-block-post-content > *,
body.dm-life-path-tool-page .inside-article > * {
  max-width: none !important;
  width: 100% !important;
}

body.dm-life-path-tool-page .dm-life-tool {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: clip !important;
}

body.dm-life-path-tool-page .dm-life-tool a,
body.dm-life-path-tool-page .dm-life-tool a:visited,
body.dm-life-path-tool-page .dm-life-tool a:hover,
body.dm-life-path-tool-page .dm-life-tool a:focus {
  text-decoration: none !important;
}
