/*
Theme Name: Zodiac Signs A-Z Child
Theme URI: https://zodiacsignsaz.com/
Description: A calm, modern astrology experience for Zodiac Signs A-Z.
Author: Zodiac Signs A-Z
Version: 0.5.3
Requires at least: 6.5
Requires PHP: 7.4
Template: twentytwentyfive
Text Domain: zodiacsignsaz-child
*/

:root {
  --zsa-bg: #f7f4ed;
  --zsa-bg-soft: #fbfaf7;
  --zsa-surface: #fff;
  --zsa-ink: #132f3b;
  --zsa-ink-deep: #0a2531;
  --zsa-muted: #66747b;
  --zsa-primary: #174556;
  --zsa-primary-deep: #0b2f3d;
  --zsa-primary-soft: #e4f0ee;
  --zsa-gold: #c99a43;
  --zsa-gold-soft: #f5ead2;
  --zsa-coral: #d66e5c;
  --zsa-lavender: #eeeaf7;
  --zsa-border: #e3e3dc;
  --zsa-border-strong: #d2d8d6;
  --zsa-fire: #d76a51;
  --zsa-earth: #778a64;
  --zsa-air: #758ab5;
  --zsa-water: #4e8fa7;
  --zsa-radius-sm: 12px;
  --zsa-radius: 20px;
  --zsa-radius-lg: 30px;
  --zsa-shadow-sm: 0 10px 26px rgba(11, 47, 61, 0.07);
  --zsa-shadow: 0 24px 70px rgba(8, 35, 46, 0.12);
  --zsa-container: 1180px;
  --zsa-serif: Georgia, "Times New Roman", Times, serif;
  --zsa-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--zsa-bg-soft);
  color: var(--zsa-ink);
}

body.zsa-managed-page {
  overflow-x: clip;
}

body.zsa-managed-page .wp-site-blocks,
body.zsa-managed-page .wp-block-post-content,
body.zsa-managed-page .entry-content {
  max-width: none !important;
  margin-block-start: 0 !important;
  padding: 0 !important;
}

body.zsa-managed-page .wp-block-post-content > .zsa-page,
body.zsa-managed-page .entry-content > .zsa-page {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body .zsa-page {
  margin: 0;
  overflow: clip;
  color: var(--zsa-ink);
  background: var(--zsa-bg-soft);
  font-family: var(--zsa-sans);
  font-size: 16px;
  line-height: 1.65;
}

.zsa-page *,
.zsa-page *::before,
.zsa-page *::after {
  box-sizing: border-box;
}

.zsa-page a {
  color: inherit;
  text-decoration: none;
}

.zsa-page :where(h1, h2, h3, p, ul, dl) {
  margin-top: 0;
}

.zsa-page :where(h1, h2, h3) {
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.zsa-container {
  width: min(var(--zsa-container), calc(100% - 48px));
  margin-inline: auto;
}

.zsa-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff !important;
  background: var(--zsa-primary-deep);
  transform: translateY(-160%);
}

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

.zsa-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(19, 47, 59, 0.09);
  background: rgba(255, 253, 249, 0.91);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.admin-bar .zsa-topbar {
  top: 32px;
}

.zsa-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.zsa-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.zsa-brand img {
  width: 260px !important;
  max-width: none;
  height: auto !important;
  display: block;
}

.zsa-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border: 1px solid rgba(201, 154, 67, 0.38);
  border-radius: 50%;
  color: var(--zsa-gold);
  background: #fff;
}

.zsa-nav-panel {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.zsa-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zsa-nav-links a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #38505a;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease, background-color 160ms ease;
}

.zsa-nav-links a:hover,
.zsa-nav-links a:focus-visible,
.zsa-nav-links a.is-current {
  color: var(--zsa-primary-deep);
  background: var(--zsa-primary-soft);
  outline: none;
}

.zsa-nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--zsa-primary);
  border-radius: 999px;
  color: #fff !important;
  background: var(--zsa-primary);
  box-shadow: 0 10px 24px rgba(23, 69, 86, 0.16);
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.zsa-nav-cta:hover,
.zsa-nav-cta:focus-visible {
  background: var(--zsa-primary-deep);
  transform: translateY(-1px);
  outline: none;
}

.zsa-mobile-menu {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--zsa-border-strong);
  border-radius: 50%;
  color: var(--zsa-primary-deep);
  background: #fff;
  place-items: center;
  cursor: pointer;
}

.zsa-menu-icon {
  width: 18px;
  display: grid;
  gap: 4px;
}

.zsa-menu-icon i {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.zsa-topbar.is-menu-open .zsa-menu-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.zsa-topbar.is-menu-open .zsa-menu-icon i:nth-child(2) {
  opacity: 0;
}

.zsa-topbar.is-menu-open .zsa-menu-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.zsa-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 154, 67, 0.22), transparent 27%),
    radial-gradient(circle at 10% 96%, rgba(117, 138, 181, 0.24), transparent 34%),
    linear-gradient(132deg, #092b39 0%, #164555 58%, #3a3858 100%);
}

.zsa-hero::before,
.zsa-hero-stars {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.zsa-hero::before {
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 72%, rgba(255,255,255,.45) 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 15%, rgba(255,255,255,.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 72%, rgba(255,255,255,.55) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 240px 240px, 210px 210px, 280px 280px;
  opacity: 0.65;
}

.zsa-hero-stars::before {
  content: "☾";
  position: absolute;
  right: -40px;
  top: 22px;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--zsa-serif);
  font-size: 390px;
  line-height: 1;
}

.zsa-hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 76px 0 72px;
}

.zsa-hero-copy-block {
  position: relative;
  z-index: 2;
}

.zsa-eyebrow,
.zsa-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--zsa-gold);
  font-family: var(--zsa-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.zsa-eyebrow {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f0d49b;
  background: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.06em;
}

.zsa-hero h1 {
  max-width: 620px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(52px, 5.2vw, 76px);
  line-height: 0.98;
}

.zsa-hero-copy {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
}

.zsa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.zsa-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.zsa-button:hover,
.zsa-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.zsa-button-primary {
  color: var(--zsa-primary-deep) !important;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.zsa-button-primary:hover,
.zsa-button-primary:focus-visible {
  background: #f8f4e9;
}

.zsa-button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
}

.zsa-button-light {
  margin-top: 24px;
  color: var(--zsa-primary-deep) !important;
  background: #fff;
}

.zsa-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.zsa-note-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
}

.zsa-note-item strong {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #f2d49b;
  background: rgba(255,255,255,.08);
  font-family: var(--zsa-sans);
  font-size: 13px;
}

.zsa-hero-tool {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.zsa-section {
  padding: 86px 0;
}

.zsa-sign-section {
  background: var(--zsa-bg-soft);
}

.zsa-discover-section {
  border-block: 1px solid var(--zsa-border);
  background: #fff;
}

.zsa-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 34px;
}

.zsa-section-head > div {
  max-width: 680px;
}

.zsa-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.03;
}

.zsa-section-head > p {
  max-width: 410px;
  margin-bottom: 4px;
  color: var(--zsa-muted);
  font-size: 15px;
}

.zsa-section-head-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.zsa-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zsa-sign-card {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zsa-sign-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--zsa-gold);
}

.zsa-sign-card.zsa-element-fire::before { background: var(--zsa-fire); }
.zsa-sign-card.zsa-element-earth::before { background: var(--zsa-earth); }
.zsa-sign-card.zsa-element-air::before { background: var(--zsa-air); }
.zsa-sign-card.zsa-element-water::before { background: var(--zsa-water); }

.zsa-sign-card:hover,
.zsa-sign-card:focus-visible {
  z-index: 2;
  border-color: rgba(23, 69, 86, 0.28);
  box-shadow: var(--zsa-shadow-sm);
  transform: translateY(-4px);
  outline: none;
}

.zsa-glyph {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--zsa-primary);
  background: var(--zsa-primary-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-variant-emoji: text;
}

.zsa-element-fire .zsa-glyph { color: var(--zsa-fire); background: #fbebe7; }
.zsa-element-earth .zsa-glyph { color: var(--zsa-earth); background: #edf1e9; }
.zsa-element-air .zsa-glyph { color: var(--zsa-air); background: #edf0f7; }
.zsa-element-water .zsa-glyph { color: var(--zsa-water); background: #e8f2f5; }

.zsa-sign-element {
  display: inline-flex;
  margin-bottom: 3px;
  color: var(--zsa-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.zsa-sign-card h3 {
  margin-bottom: 2px;
  font-family: var(--zsa-sans);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.zsa-sign-card p {
  margin-bottom: 0;
  color: var(--zsa-muted);
  font-size: 13px;
}

.zsa-card-arrow {
  color: var(--zsa-gold);
  font-family: var(--zsa-sans);
  font-size: 18px;
  transition: transform 180ms ease;
}

.zsa-sign-card:hover .zsa-card-arrow,
.zsa-link-card:hover .zsa-card-arrow {
  transform: translateX(4px);
}

.zsa-center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.zsa-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zsa-primary) !important;
  font-size: 14px;
  font-weight: 800;
}

.zsa-page-card-grid {
  display: grid;
  gap: 16px;
}

.zsa-page-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zsa-page-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zsa-content-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.zsa-content-card h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.zsa-content-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.15;
}

.zsa-content-card p,
.zsa-content-card li,
.zsa-content-card dd {
  color: var(--zsa-muted);
}

.zsa-content-card p:last-child {
  margin-bottom: 0;
}

.zsa-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 15px;
  color: var(--zsa-primary);
  background: var(--zsa-primary-soft);
  font-size: 21px;
}

.zsa-link-card {
  min-height: 230px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zsa-link-card:hover,
.zsa-link-card:focus-visible {
  border-color: rgba(23, 69, 86, 0.28);
  box-shadow: var(--zsa-shadow-sm);
  transform: translateY(-5px);
  outline: none;
}

.zsa-link-card .zsa-card-arrow {
  margin-top: 20px;
}

.zsa-card-meta {
  margin-bottom: 7px !important;
  color: var(--zsa-gold) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.zsa-journey-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(201,154,67,.17), transparent 28%),
    linear-gradient(130deg, #0a2d3b, #183f4e 58%, #34364d);
}

.zsa-journey-section::after {
  content: "✦";
  position: absolute;
  right: -25px;
  bottom: -100px;
  color: rgba(255,255,255,.035);
  font-size: 390px;
  line-height: 1;
}

.zsa-journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 88px;
  align-items: center;
}

.zsa-journey-grid h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.04;
}

.zsa-journey-grid > div > p {
  max-width: 560px;
  color: rgba(255,255,255,.73);
}

.zsa-journey-steps {
  display: grid;
  gap: 10px;
}

.zsa-journey-steps a {
  min-height: 92px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  transition: background-color 180ms ease, transform 180ms ease;
}

.zsa-journey-steps a:hover,
.zsa-journey-steps a:focus-visible {
  background: rgba(255,255,255,.12);
  transform: translateX(4px);
  outline: none;
}

.zsa-journey-steps a > span {
  color: #efd093;
  font-family: var(--zsa-serif);
  font-size: 24px;
}

.zsa-journey-steps strong,
.zsa-journey-steps small {
  display: block;
}

.zsa-journey-steps strong {
  color: #fff;
  font-size: 16px;
}

.zsa-journey-steps small {
  margin-top: 3px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.zsa-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 82px;
  border-bottom: 1px solid var(--zsa-border);
  background:
    radial-gradient(circle at 78% 12%, rgba(201,154,67,.18), transparent 28%),
    radial-gradient(circle at 12% 85%, rgba(117,138,181,.13), transparent 30%),
    linear-gradient(145deg, #f8f5ed, #f4f4f0 60%, #eeeaf7);
}

.zsa-page-hero-glow::before {
  content: "✦";
  position: absolute;
  right: 6%;
  top: 12px;
  color: rgba(23,69,86,.055);
  font-size: 180px;
  line-height: 1;
}

.zsa-page-hero .zsa-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.zsa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: var(--zsa-muted);
  font-size: 13px;
}

.zsa-breadcrumb a:hover,
.zsa-breadcrumb a:focus-visible {
  color: var(--zsa-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zsa-page-hero h1 {
  max-width: 820px;
  margin-bottom: 17px;
  font-size: clamp(45px, 6vw, 68px);
  line-height: .98;
}

.zsa-page-hero p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--zsa-muted);
  font-size: 18px;
}

.zsa-subpage-section {
  min-height: 45vh;
}

.zsa-subpage-section > .zsa-container > .zsa-page-card-grid + *,
.zsa-subpage-section .zsa-detail-grid + .zsa-page-card-grid,
.zsa-subpage-section .zsa-tool-page-grid + .zsa-page-card-grid,
.zsa-subpage-section .zsa-insight-grid + .zsa-page-card-grid,
.zsa-subpage-section .zsa-sign-grid + .zsa-page-card-grid {
  margin-top: 52px;
}

.zsa-detail-grid,
.zsa-tool-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
  gap: 18px;
  align-items: stretch;
}

.zsa-detail-main {
  padding: clamp(30px, 5vw, 54px);
  background:
    radial-gradient(circle at 94% 8%, rgba(201,154,67,.11), transparent 25%),
    #fff;
}

.zsa-detail-main .zsa-lead {
  color: var(--zsa-ink);
  font-family: var(--zsa-serif);
  font-size: 22px;
  line-height: 1.5;
}

.zsa-sign-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.zsa-detail-glyph {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 24px;
  font-size: 39px;
}

.zsa-sign-title h2 {
  margin-bottom: 0;
}

.zsa-fact-card {
  background: var(--zsa-primary-deep);
}

.zsa-fact-card h3,
.zsa-fact-card dt,
.zsa-fact-card dd {
  color: #fff;
}

.zsa-fact-card h3 {
  margin-bottom: 20px;
}

.zsa-fact-card dl {
  display: grid;
  gap: 0;
  margin-bottom: 0;
}

.zsa-fact-card dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.zsa-fact-card dt {
  color: #e9c987;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.zsa-fact-card dd {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.zsa-reading-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.zsa-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.zsa-insight-grid article {
  padding: 26px;
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: var(--zsa-gold-soft);
}

.zsa-insight-grid article:nth-child(2) {
  background: var(--zsa-primary-soft);
}

.zsa-insight-grid article:nth-child(3) {
  background: var(--zsa-lavender);
}

.zsa-insight-grid article > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--zsa-primary);
  font-size: 22px;
}

.zsa-insight-grid h3 {
  margin-bottom: 7px;
  font-family: var(--zsa-sans);
  font-size: 18px;
}

.zsa-insight-grid p {
  margin-bottom: 0;
  color: var(--zsa-muted);
  font-size: 14px;
}

.zsa-wide-tool {
  min-width: 0;
}

.zsa-footer {
  padding: 68px 0 22px;
  color: rgba(255,255,255,.72);
  background: #082733;
}

.zsa-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(120px, .5fr));
  gap: 58px;
  padding-bottom: 48px;
}

.zsa-footer-brand img {
  width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.zsa-footer-brand p {
  max-width: 350px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.zsa-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.zsa-footer-column :is(h2, h4) {
  margin-bottom: 8px;
  color: #e7c37c;
  font-family: var(--zsa-sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zsa-footer-column a {
  width: fit-content;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.zsa-footer-column a:hover,
.zsa-footer-column a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.zsa-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.zsa-footer-bottom p {
  margin-bottom: 0;
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .zsa-nav-links {
    gap: 2px;
  }

  .zsa-nav-links a {
    padding-inline: 10px;
  }

  .zsa-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
    gap: 38px;
  }

  .zsa-sign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zsa-page-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-bar .zsa-topbar {
    top: 32px;
  }

  .zsa-mobile-menu {
    display: grid;
  }

  .zsa-nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 24px;
    right: 24px;
    display: none;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--zsa-border);
    border-radius: 20px;
    background: rgba(255,253,249,.98);
    box-shadow: var(--zsa-shadow);
  }

  .zsa-navigation-ready .zsa-nav-panel[data-open="true"] {
    display: grid;
    gap: 14px;
  }

  .zsa-nav-links {
    display: grid;
    gap: 3px;
  }

  .zsa-nav-links a {
    min-height: 46px;
    padding-inline: 14px;
    border-radius: 12px;
  }

  .zsa-nav-cta {
    width: 100%;
  }

  .zsa-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0;
  }

  .zsa-hero-copy-block {
    max-width: 700px;
  }

  .zsa-hero h1 {
    max-width: 720px;
  }

  .zsa-page-card-grid-3,
  .zsa-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zsa-detail-grid,
  .zsa-tool-page-grid,
  .zsa-journey-grid {
    grid-template-columns: 1fr;
  }

  .zsa-journey-grid {
    gap: 48px;
  }

  .zsa-footer-grid {
    grid-template-columns: 1.3fr repeat(3, .7fr);
    gap: 30px;
  }
}

@media (max-width: 782px) {
  .admin-bar .zsa-topbar {
    top: 46px;
  }

  .zsa-container {
    width: min(var(--zsa-container), calc(100% - 32px));
  }

  .zsa-section {
    padding: 68px 0;
  }

  .zsa-section-head {
    display: grid;
    align-items: start;
    gap: 14px;
  }

  .zsa-section-head > p {
    max-width: 620px;
  }

  .zsa-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zsa-sign-card {
    grid-template-columns: 50px minmax(0,1fr);
    padding: 18px;
  }

  .zsa-sign-card .zsa-card-arrow {
    display: none;
  }

  .zsa-glyph {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 27px;
  }

  .zsa-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zsa-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  .zsa-brand img {
    width: 225px !important;
  }
}

@media (max-width: 600px) {
  .zsa-nav {
    min-height: 72px;
  }

  .zsa-brand img {
    width: 205px !important;
  }

  .zsa-nav-panel {
    left: 12px;
    right: 12px;
  }

  .zsa-hero-grid {
    padding: 52px 0 46px;
  }

  .zsa-hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .zsa-hero-copy {
    font-size: 16px;
  }

  .zsa-actions {
    display: grid;
  }

  .zsa-button {
    width: 100%;
  }

  .zsa-hero-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .zsa-section-head h2,
  .zsa-journey-grid h2 {
    font-size: 38px;
  }

  .zsa-sign-grid,
  .zsa-page-card-grid-3,
  .zsa-page-card-grid-4,
  .zsa-insight-grid {
    grid-template-columns: 1fr;
  }

  .zsa-sign-card {
    min-height: 112px;
  }

  .zsa-link-card {
    min-height: 210px;
  }

  .zsa-page-hero {
    padding: 50px 0 58px;
  }

  .zsa-page-hero h1 {
    font-size: 45px;
  }

  .zsa-page-hero p {
    font-size: 16px;
  }

  .zsa-content-card,
  .zsa-detail-main {
    padding: 24px;
  }

  .zsa-sign-title {
    align-items: flex-start;
  }

  .zsa-detail-glyph {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    font-size: 32px;
  }

  .zsa-fact-card dl > div {
    grid-template-columns: 78px minmax(0,1fr);
  }

  .zsa-footer {
    padding-top: 54px;
  }

  .zsa-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .zsa-footer-bottom {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .zsa-page *,
  .zsa-page *::before,
  .zsa-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* v0.3.1 UX and layout refinements */
.zsa-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.92fr);
  gap: clamp(36px, 4vw, 60px);
}

.zsa-hero h1,
.zsa-page-hero h1 {
  max-width: none;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.zsa-hero h1 {
  font-size: clamp(46px, 4.9vw, 72px);
}

.zsa-page-hero .zsa-container {
  max-width: 1100px;
}

.zsa-page-hero h1 {
  font-size: clamp(40px, 4.4vw, 62px);
}

@media (min-width: 981px) {
  .zsa-hero h1,
  .zsa-page-hero h1 {
    white-space: nowrap;
  }
}

.zsa-breadcrumb,
.zsa-breadcrumb a,
.zsa-breadcrumb [aria-current="page"] {
  font-weight: 800;
}

.zsa-breadcrumb {
  color: var(--zsa-ink);
}

.zsa-breadcrumb a {
  color: var(--zsa-primary);
}

.zsa-section-head {
  display: grid;
  gap: 12px;
  align-items: start;
}

.zsa-section-head h2 {
  margin-bottom: 0;
}

.zsa-sign-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zsa-sign-card,
.zsa-content-card,
.zsa-tool-card,
.zsa-detail-main {
  min-width: 0;
}

.zsa-page-card-grid,
.zsa-sign-grid,
.zsa-detail-grid,
.zsa-tool-page-grid,
.zsa-insight-grid {
  align-items: stretch;
}

.zsa-hero-tool {
  min-width: 0;
}

.zsa-editor-section {
  padding-top: 0;
}

.zsa-editor-content {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: #fff;
  box-shadow: var(--zsa-shadow-sm);
}

.zsa-editor-content > *:first-child {
  margin-top: 0;
}

.zsa-editor-content > *:last-child {
  margin-bottom: 0;
}

.zsa-editor-content h2,
.zsa-editor-content h3,
.zsa-editor-content h4 {
  color: var(--zsa-ink);
}

.zsa-editor-content p,
.zsa-editor-content li,
.zsa-editor-content blockquote,
.zsa-editor-content figcaption,
.zsa-editor-content td,
.zsa-editor-content th {
  color: var(--zsa-muted);
}

.zsa-editor-content a {
  color: var(--zsa-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zsa-editor-content ul,
.zsa-editor-content ol {
  padding-left: 1.2rem;
}

.zsa-editor-content table {
  width: 100%;
  border-collapse: collapse;
}

.zsa-editor-content th,
.zsa-editor-content td {
  padding: 12px 14px;
  border: 1px solid var(--zsa-border);
}

.zsa-editor-content img {
  height: auto;
  border-radius: 16px;
}

.zsa-editor-content .wp-block-image,
.zsa-editor-content .wp-block-table,
.zsa-editor-content .wp-block-columns {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1180px) {
  .zsa-hero h1,
  .zsa-page-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 1100px) {
  .zsa-sign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .zsa-hero-grid {
    grid-template-columns: 1fr;
  }

  .zsa-hero h1,
  .zsa-page-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 782px) {
  .zsa-sign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .zsa-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .zsa-page-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .zsa-sign-grid,
  .zsa-page-card-grid-3,
  .zsa-page-card-grid-4,
  .zsa-insight-grid {
    grid-template-columns: 1fr;
  }

  .zsa-editor-content {
    padding: 22px;
  }
}

/* v0.3.2 final responsive refinements */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  z-index: 100000;
}

.zsa-hero h1,
.zsa-page-hero h1 {
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
}

.zsa-hero h1 {
  font-size: clamp(28px, 5vw, 68px);
}

.zsa-page-hero h1 {
  font-size: clamp(24px, 4.5vw, 62px);
}

.zsa-sign-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.zsa-sign-navigation a {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--zsa-border);
  border-radius: 16px;
  color: var(--zsa-ink);
  background: #fff;
  box-shadow: var(--zsa-shadow-sm);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.zsa-sign-navigation a:nth-child(2) {
  grid-template-columns: 1fr;
  text-align: center;
}

.zsa-sign-navigation a:last-child {
  text-align: right;
}

.zsa-sign-navigation a:hover,
.zsa-sign-navigation a:focus-visible {
  border-color: var(--zsa-gold);
  box-shadow: var(--zsa-shadow);
  transform: translateY(-2px);
  outline: none;
}

.zsa-sign-navigation small,
.zsa-sign-navigation strong {
  display: block;
  min-width: 0;
}

.zsa-sign-navigation small {
  margin-bottom: 3px;
  color: var(--zsa-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.zsa-sign-navigation strong {
  font-family: var(--zsa-serif);
  font-size: 18px;
}

@media (max-width: 980px) {
  .zsa-hero h1 {
    font-size: clamp(28px, 7.4vw, 60px);
  }

  .zsa-page-hero h1 {
    font-size: clamp(24px, 6.2vw, 52px);
  }
}

@media (max-width: 600px) {
  .zsa-hero h1 {
    font-size: clamp(27px, 8.2vw, 44px);
  }

  .zsa-page-hero h1 {
    font-size: clamp(23px, 7.2vw, 40px);
  }

  .zsa-sign-navigation {
    grid-template-columns: 1fr;
  }

  .zsa-sign-navigation a,
  .zsa-sign-navigation a:last-child {
    text-align: left;
  }

  .zsa-sign-navigation a:nth-child(2) {
    text-align: left;
  }
}


/* v0.3.3 hero headline clipping fix */
.zsa-hero .zsa-container {
  width: min(1260px, calc(100% - 48px));
}

.zsa-hero-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(430px, 0.84fr);
  gap: clamp(28px, 3vw, 44px);
}

.zsa-hero-copy-block {
  min-width: 0;
}

.zsa-hero h1 {
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

@media (min-width: 1280px) {
  .zsa-hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1279px) {
  .zsa-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .zsa-hero .zsa-container {
    width: min(1260px, calc(100% - 32px));
  }

  .zsa-hero-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.3.4 finder anchor */
#zodiac-sign-finder {
  scroll-margin-top: 96px;
}


/* v0.3.7 homepage Moon Signs section */
.zsa-moon-sign-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 154, 67, 0.14), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(117, 138, 181, 0.16), transparent 32%),
    linear-gradient(145deg, #f2f0f8 0%, #f8f6f0 56%, #edf3f2 100%);
}

.zsa-moon-sign-section::before {
  content: "☾";
  position: absolute;
  right: -40px;
  top: -52px;
  color: rgba(23, 69, 86, 0.045);
  font-family: var(--zsa-serif);
  font-size: 330px;
  line-height: 1;
  pointer-events: none;
}

.zsa-moon-sign-section .zsa-container {
  position: relative;
  z-index: 1;
}

.zsa-moon-sign-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

.zsa-moon-card-glyph {
  position: relative;
}

.zsa-moon-card-glyph small {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--zsa-primary-deep);
  background: var(--zsa-gold-soft);
  font-family: var(--zsa-serif);
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(11, 47, 61, 0.14);
}

.zsa-moon-sign-card .zsa-sign-element {
  letter-spacing: 0.06em;
}

.zsa-moon-sign-card p {
  line-height: 1.45;
}

.zsa-button-moon {
  margin-top: 32px;
  color: #fff !important;
  background: var(--zsa-primary);
  box-shadow: 0 14px 30px rgba(23, 69, 86, 0.16);
}

.zsa-button-moon:hover,
.zsa-button-moon:focus-visible {
  color: #fff !important;
  background: var(--zsa-primary-deep);
}

#moon-sign-calculator {
  scroll-margin-top: 112px;
}

@media (max-width: 600px) {
  .zsa-moon-sign-section::before {
    right: -72px;
    top: -10px;
    font-size: 230px;
  }

  .zsa-button-moon {
    width: 100%;
  }
}


/* v0.4.0 WordPress-managed header, navigation and footer */
.zsa-site-main {
  margin-block-start: 0;
}

.zsa-topbar.wp-block-group,
.zsa-footer.wp-block-group {
  margin-block-start: 0;
}

.zsa-topbar .zsa-nav {
  width: min(var(--zsa-container), calc(100% - 48px));
  margin-inline: auto;
}

.zsa-brand.wp-block-group {
  margin: 0;
  gap: 10px;
}

.zsa-brand .wp-block-site-logo,
.zsa-brand .wp-block-site-title,
.zsa-footer-brand .wp-block-site-logo,
.zsa-footer-brand .wp-block-site-title {
  margin: 0;
}

.zsa-brand .wp-block-site-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.zsa-site-title {
  font-family: var(--zsa-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.zsa-site-title a,
.zsa-footer-title a {
  color: inherit;
  text-decoration: none;
}

.zsa-wp-navigation {
  margin-left: auto;
  font-family: var(--zsa-sans);
}

.zsa-topbar .wp-block-navigation__container {
  gap: 6px;
}

.zsa-topbar .wp-block-navigation-item__content {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #38505a;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.zsa-topbar .wp-block-navigation-item__content:hover,
.zsa-topbar .wp-block-navigation-item__content:focus-visible,
.zsa-topbar .current-menu-item > .wp-block-navigation-item__content,
.zsa-topbar .current-menu-ancestor > .wp-block-navigation-item__content {
  color: var(--zsa-primary-deep);
  background: var(--zsa-primary-soft);
  outline: none;
}

.zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content,
.zsa-topbar .wp-block-navigation-item.zsa-nav-cta > a {
  min-height: 44px;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--zsa-primary);
  color: #fff !important;
  background: var(--zsa-primary);
  box-shadow: 0 10px 24px rgba(23, 69, 86, 0.16);
  font-weight: 800;
}

.zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content:hover,
.zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content:focus-visible {
  color: #fff;
  background: var(--zsa-primary-deep);
  transform: translateY(-1px);
}

.zsa-topbar .wp-block-navigation__responsive-container-open,
.zsa-topbar .wp-block-navigation__responsive-container-close {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zsa-border-strong);
  border-radius: 50%;
  color: var(--zsa-primary-deep);
  background: #fff;
}

.zsa-topbar .wp-block-navigation__responsive-container-open svg,
.zsa-topbar .wp-block-navigation__responsive-container-close svg {
  width: 22px;
  height: 22px;
}

.zsa-footer {
  width: 100%;
}

.zsa-footer-shell {
  width: min(var(--zsa-container), calc(100% - 48px));
  margin-inline: auto;
}

.zsa-footer-brand .wp-block-site-logo img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
}

.zsa-footer-title {
  margin-top: 14px !important;
  color: #fff;
  font-family: var(--zsa-serif);
  font-size: 25px;
  line-height: 1.1;
}

.zsa-footer-column .wp-block-navigation,
.zsa-footer-column .wp-block-navigation__container {
  width: 100%;
  align-items: flex-start;
  gap: 10px;
}

.zsa-footer-column .wp-block-navigation-item__content {
  padding: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  text-decoration: none;
}

.zsa-footer-column .wp-block-navigation-item__content:hover,
.zsa-footer-column .wp-block-navigation-item__content:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

@media (max-width: 1100px) {
  .zsa-topbar .wp-block-navigation-item__content {
    padding-inline: 10px;
  }
}

@media (max-width: 980px) {
  .zsa-topbar .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .zsa-topbar .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .zsa-topbar .wp-block-navigation__responsive-container.is-menu-open {
    padding: 28px;
    color: var(--zsa-ink);
    background: #fffdf9 !important;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-close {
    right: 24px;
    top: 20px;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-content {
    padding-top: 76px !important;
  }

  .zsa-topbar .wp-block-navigation__container {
    width: 100%;
    align-items: stretch !important;
    gap: 6px;
  }

  .zsa-topbar .wp-block-navigation-item,
  .zsa-topbar .wp-block-navigation-item__content {
    width: 100%;
  }

  .zsa-topbar .wp-block-navigation-item__content {
    min-height: 48px;
    justify-content: flex-start;
    padding-inline: 16px;
    border-radius: 12px;
  }

  .zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content {
    justify-content: center;
    margin-top: 8px;
  }
}

@media (min-width: 981px) {
  .zsa-topbar .wp-block-navigation__responsive-container-open {
    display: none;
  }

  .zsa-topbar .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: block;
    position: relative;
    width: auto;
    background: transparent !important;
  }
}

@media (max-width: 782px) {
  .zsa-topbar .zsa-nav,
  .zsa-footer-shell {
    width: min(var(--zsa-container), calc(100% - 32px));
  }
}

@media (max-width: 600px) {
  .zsa-site-title {
    font-size: 20px;
  }

  .zsa-brand .wp-block-site-logo img {
    width: 38px;
    height: 38px;
  }

  .zsa-topbar .wp-block-navigation__responsive-container.is-menu-open {
    padding: 20px;
  }
}

.zsa-topbar .wp-block-navigation__responsive-container,
.zsa-topbar .wp-block-navigation__responsive-close,
.zsa-topbar .wp-block-navigation__responsive-dialog,
.zsa-topbar .wp-block-navigation__responsive-container-content {
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .zsa-topbar .wp-block-navigation__responsive-container.is-menu-open {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* v0.4.1 professional author archive */
body.zsa-author-archive {
  overflow-x: clip;
  background: var(--zsa-bg-soft);
}

.zsa-author-main {
  margin: 0;
  padding: clamp(44px, 6vw, 84px) 0 clamp(68px, 8vw, 112px);
  color: var(--zsa-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(228, 240, 238, .9), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f4ed 100%);
  font-family: var(--zsa-sans);
}

.zsa-author-shell {
  width: min(var(--zsa-container), calc(100% - 48px));
  max-width: none !important;
  margin-inline: auto !important;
}

.zsa-author-profile,
.zsa-author-profile * {
  box-sizing: border-box;
}

.zsa-author-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--zsa-muted);
  font-size: 13px;
  font-weight: 650;
}

.zsa-author-breadcrumb a {
  color: var(--zsa-primary);
  text-decoration: none;
}

.zsa-author-breadcrumb a:hover,
.zsa-author-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zsa-author-hero {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(250px, 310px);
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(19, 47, 59, .09);
  border-radius: var(--zsa-radius-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--zsa-shadow);
}

.zsa-author-photo-wrap {
  position: relative;
  aspect-ratio: 1;
}

.zsa-author-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 154, 67, .42);
  border-radius: 50%;
}

.zsa-author-photo {
  width: 100%;
  height: 100%;
  display: block;
  border: 7px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(11, 47, 61, .18);
}

.zsa-author-kicker {
  margin: 0 0 10px;
  color: var(--zsa-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.zsa-author-identity h1 {
  margin: 0;
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.zsa-author-role {
  margin: 13px 0 0;
  color: var(--zsa-primary);
  font-size: 17px;
  font-weight: 800;
}

.zsa-author-intro {
  max-width: 640px;
  margin: 18px 0 0;
  color: #52646c;
  font-size: 17px;
  line-height: 1.7;
}

.zsa-author-meta,
.zsa-author-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 750;
}

.zsa-author-meta {
  color: var(--zsa-muted);
}

.zsa-author-meta a,
.zsa-author-links a {
  color: var(--zsa-primary);
  text-decoration: none;
}

.zsa-author-meta a:hover,
.zsa-author-links a:hover,
.zsa-author-meta a:focus-visible,
.zsa-author-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zsa-author-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--zsa-border-strong);
  border-radius: 999px;
  background: #fff;
}

.zsa-author-summary {
  align-self: stretch;
  padding: 24px;
  border: 1px solid rgba(23, 69, 86, .11);
  border-radius: 20px;
  background: linear-gradient(145deg, #edf5f3, #f8f3e8);
}

.zsa-author-summary-label {
  margin: 0 0 15px;
  color: var(--zsa-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zsa-author-summary dl {
  margin: 0;
}

.zsa-author-summary dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(19, 47, 59, .09);
}

.zsa-author-summary dt {
  color: var(--zsa-muted);
  font-size: 12px;
  font-weight: 750;
}

.zsa-author-summary dd {
  margin: 0;
  color: var(--zsa-ink-deep);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.zsa-author-focus {
  margin-top: 22px;
}

.zsa-author-focus h2 {
  margin: 0 0 12px;
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-size: 19px;
}

.zsa-author-focus ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsa-author-focus li {
  padding: 7px 10px;
  border: 1px solid rgba(23, 69, 86, .12);
  border-radius: 999px;
  color: var(--zsa-primary-deep);
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 750;
}

.zsa-author-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.zsa-author-detail-card {
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: #fff;
  box-shadow: var(--zsa-shadow-sm);
}

.zsa-author-detail-card h2 {
  margin: 0 0 15px;
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.025em;
}

.zsa-author-detail-card p {
  margin: 0;
  color: #52646c;
  font-size: 16px;
  line-height: 1.75;
}

.zsa-author-detail-card p + p {
  margin-top: 16px;
}

.zsa-author-articles {
  margin-top: clamp(54px, 7vw, 88px);
}

.zsa-author-section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.zsa-author-section-heading h2 {
  margin: 0;
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.zsa-author-section-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--zsa-muted);
  font-size: 16px;
}

.zsa-author-query,
.zsa-author-post-grid {
  max-width: none !important;
}

.zsa-author-post-grid {
  gap: 22px;
}

.zsa-author-post-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  background: #fff;
  box-shadow: var(--zsa-shadow-sm);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.zsa-author-post-card:hover {
  border-color: rgba(201, 154, 67, .55);
  box-shadow: var(--zsa-shadow);
  transform: translateY(-4px);
}

.zsa-author-post-image {
  margin: -20px -20px 19px !important;
  overflow: hidden;
  border-radius: var(--zsa-radius) var(--zsa-radius) 14px 14px;
}

.zsa-author-post-image img {
  width: 100%;
  object-fit: cover;
}

.zsa-author-post-terms {
  margin: 0 0 10px;
  color: var(--zsa-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.zsa-author-post-terms a {
  color: inherit;
  text-decoration: none;
}

.zsa-author-post-card .wp-block-post-title {
  margin: 0;
  color: var(--zsa-ink-deep);
  font-family: var(--zsa-serif);
  font-size: clamp(25px, 2.4vw, 31px) !important;
  line-height: 1.15;
}

.zsa-author-post-card .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.zsa-author-post-card .wp-block-post-title a:hover,
.zsa-author-post-card .wp-block-post-title a:focus-visible {
  color: var(--zsa-primary);
}

.zsa-author-post-card .wp-block-post-excerpt {
  margin-top: 14px;
  color: var(--zsa-muted);
  font-size: 15px;
  line-height: 1.65;
}

.zsa-author-post-card .wp-block-post-excerpt__more-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--zsa-primary);
  font-weight: 800;
  text-decoration: none;
}

.zsa-author-post-date {
  margin-top: auto !important;
  padding-top: 18px;
  color: var(--zsa-muted);
  font-size: 12px;
  font-weight: 700;
}

.zsa-author-post-date a {
  color: inherit;
  text-decoration: none;
}

.zsa-author-pagination {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--zsa-border);
}

.zsa-author-pagination a,
.zsa-author-pagination .page-numbers {
  color: var(--zsa-primary);
  font-weight: 800;
  text-decoration: none;
}

.zsa-author-no-results {
  padding: 28px;
  border: 1px solid var(--zsa-border);
  border-radius: var(--zsa-radius);
  color: var(--zsa-muted);
  background: #fff;
}

@media (max-width: 1000px) {
  .zsa-author-hero {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .zsa-author-summary {
    grid-column: 1 / -1;
  }

  .zsa-author-summary dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .zsa-author-summary dl > div {
    display: block;
    padding: 0;
    border: 0;
  }

  .zsa-author-summary dd {
    margin-top: 5px;
  }
}

@media (max-width: 782px) {
  .zsa-author-shell {
    width: min(var(--zsa-container), calc(100% - 32px));
  }

  .zsa-author-hero {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    padding: 28px;
  }

  .zsa-author-identity h1 {
    font-size: clamp(38px, 8vw, 52px);
  }

  .zsa-author-details {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .zsa-author-main {
    padding-top: 32px;
  }

  .zsa-author-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .zsa-author-photo-wrap {
    width: 132px;
  }

  .zsa-author-summary {
    grid-column: auto;
  }

  .zsa-author-summary dl {
    grid-template-columns: 1fr;
  }

  .zsa-author-post-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v0.4.2 article author box */
.zsa-article-author-box,
.zsa-article-author-box * {
  box-sizing: border-box;
}

.zsa-article-author-box {
  clear: both;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid rgba(19, 47, 59, .11);
  border-radius: 22px;
  color: var(--zsa-ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 154, 67, .13), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 18px 48px rgba(11, 47, 61, .09);
  font-family: var(--zsa-sans);
}

.zsa-article-author-photo-link {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  text-decoration: none;
}

.zsa-article-author-photo-link::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(201, 154, 67, .5);
  border-radius: inherit;
  pointer-events: none;
}

.zsa-article-author-photo {
  width: 100%;
  height: 100%;
  display: block;
  border: 5px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(11, 47, 61, .16);
}

.zsa-article-author-content {
  min-width: 0;
}

.zsa-article-author-kicker {
  margin: 0 0 5px !important;
  color: var(--zsa-gold);
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.zsa-article-author-box :is(h2, h4) {
  margin: 0 !important;
  font-family: var(--zsa-serif);
  font-size: clamp(25px, 3vw, 32px) !important;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.zsa-article-author-box :is(h2, h4) a {
  color: var(--zsa-ink-deep);
  text-decoration: none;
}

.zsa-article-author-box :is(h2, h4) a:hover,
.zsa-article-author-box :is(h2, h4) a:focus-visible {
  color: var(--zsa-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.zsa-article-author-role {
  margin: 5px 0 0 !important;
  color: var(--zsa-primary);
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.45;
}

.zsa-article-author-intro {
  max-width: 760px;
  margin: 14px 0 0 !important;
  color: var(--zsa-muted);
  font-size: 15px !important;
  line-height: 1.7;
}

.zsa-article-author-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.zsa-article-author-focus li {
  margin: 0 !important;
  padding: 6px 10px;
  border: 1px solid rgba(23, 69, 86, .12);
  border-radius: 999px;
  color: var(--zsa-primary-deep);
  background: rgba(228, 240, 238, .7);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.zsa-article-author-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--zsa-primary) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.zsa-article-author-profile-link:hover,
.zsa-article-author-profile-link:focus-visible {
  color: var(--zsa-primary-deep) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .zsa-article-author-box {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
  }

  .zsa-article-author-photo-link {
    width: 78px;
    height: 78px;
  }

  .zsa-article-author-photo {
    border-width: 4px;
  }

  .zsa-article-author-box :is(h2, h4) {
    font-size: 25px !important;
  }

  .zsa-article-author-intro,
  .zsa-article-author-focus,
  .zsa-article-author-profile-link {
    grid-column: 1 / -1;
  }

  .zsa-article-author-intro {
    margin-top: 18px !important;
  }
}


/* v0.4.3 author box on plugin-managed pages */
.zsa-managed-author-section {
  padding-top: 0;
  padding-bottom: clamp(64px, 8vw, 104px);
  background: var(--zsa-bg-soft);
}

.zsa-managed-author-section .zsa-article-author-box {
  margin-top: clamp(36px, 5vw, 58px);
}

.zsa-managed-author-section + * {
  margin-top: 0;
}

@media (max-width: 600px) {
  .zsa-managed-author-section {
    padding-bottom: 58px;
  }
}

/* v0.4.7 navigation alignment and mobile drawer repair */
.zsa-topbar.wp-block-group {
  padding-inline: 0 !important;
}

.zsa-topbar .zsa-nav {
  min-height: 94px;
  gap: 0;
}

.zsa-brand {
  min-width: 0;
}

.zsa-brand img,
.zsa-brand .wp-block-image img,
.zsa-topbar .zsa-brand img {
  width: 340px !important;
  max-width: 100%;
  height: auto !important;
}

.zsa-wp-navigation {
  min-width: 0;
  flex: 1 1 auto;
  margin-left: clamp(24px, 3vw, 48px);
  --navigation-layout-justification-setting: flex-start;
  --navigation-layout-justify: flex-start;
  --navigation-layout-align: center;
}

.zsa-topbar .wp-block-navigation__responsive-container:not(.is-menu-open),
.zsa-topbar .wp-block-navigation__responsive-close,
.zsa-topbar .wp-block-navigation__responsive-dialog,
.zsa-topbar .wp-block-navigation__responsive-container-content {
  width: 100%;
}

.zsa-topbar .wp-block-navigation__container {
  width: 100%;
  justify-content: flex-start !important;
}

/* Reset the legacy CTA styles on the Navigation list item itself. */
.zsa-topbar .wp-block-navigation-item.zsa-nav-cta {
  min-height: 0;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

@media (max-width: 1180px) and (min-width: 1121px) {
  .zsa-brand img,
  .zsa-brand .wp-block-image img,
  .zsa-topbar .zsa-brand img {
    width: 315px !important;
  }

  .zsa-wp-navigation {
    margin-left: 20px;
  }

  .zsa-topbar .wp-block-navigation-item__content {
    padding-inline: 9px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .zsa-topbar .zsa-nav {
    min-height: 86px;
    gap: 12px;
  }

  .zsa-brand img,
  .zsa-brand .wp-block-image img,
  .zsa-topbar .zsa-brand img {
    width: 295px !important;
  }

  .zsa-wp-navigation {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-open {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin-left: auto;
  }

  .zsa-topbar .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .zsa-topbar .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 100000;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    color: var(--zsa-ink);
    background: rgba(10, 37, 49, .46) !important;
    backdrop-filter: blur(3px);
  }

  .zsa-topbar .wp-block-navigation__responsive-close {
    flex: 0 0 min(88vw, 390px) !important;
    align-self: stretch;
    width: min(88vw, 390px) !important;
    max-width: min(88vw, 390px) !important;
    height: 100dvh;
    margin: 0 !important;
    padding: 0;
    color: var(--zsa-ink);
    background: #fffdf9;
    box-shadow: 18px 0 54px rgba(8, 35, 46, .24);
    animation: zsa-mobile-drawer-in 220ms ease-out both;
  }

  .zsa-topbar .wp-block-navigation__responsive-dialog {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fffdf9;
  }

  .zsa-topbar .wp-block-navigation__responsive-dialog::before {
    content: "";
    flex: 0 0 auto;
    width: min(250px, calc(100% - 88px));
    height: 64px;
    margin: 18px 64px 8px 20px;
    background: url("/wp-content/themes/zodiacsignsaz-child/assets/brand/zodiac-signs-logo-transparent.svg") left center / contain no-repeat;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-close {
    right: 18px;
    top: 20px;
    width: 44px;
    height: 44px;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-content {
    flex: 1 1 auto;
    min-height: 0;
    display: block !important;
    padding: 10px 18px max(24px, env(safe-area-inset-bottom)) !important;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }

  .zsa-topbar .wp-block-navigation__container,
  .zsa-topbar .wp-block-page-list {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
  }

  .zsa-topbar .wp-block-navigation-item,
  .zsa-topbar .wp-block-navigation-item__content {
    width: 100%;
    margin: 0 !important;
  }

  .zsa-topbar .wp-block-navigation-item {
    min-height: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .zsa-topbar .wp-block-navigation-item__content {
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 12px;
    color: var(--zsa-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    line-height: 1.25;
    box-sizing: border-box;
  }

  .zsa-topbar .wp-block-navigation-item__content:hover,
  .zsa-topbar .wp-block-navigation-item__content:focus,
  .zsa-topbar .wp-block-navigation-item__content:focus-visible,
  .zsa-topbar .current-menu-item > .wp-block-navigation-item__content,
  .zsa-topbar .current-menu-ancestor > .wp-block-navigation-item__content {
    color: var(--zsa-primary-deep) !important;
    background: var(--zsa-primary-soft) !important;
    outline: 0 !important;
    box-shadow: inset 4px 0 0 var(--zsa-gold) !important;
  }

  .zsa-topbar .wp-block-navigation-item.zsa-nav-cta {
    width: 100%;
    margin: 16px 0 0 !important;
  }

  .zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content,
  .zsa-topbar .wp-block-navigation-item.zsa-nav-cta > a {
    min-height: 52px;
    justify-content: center;
    margin: 0;
    padding: 0 18px !important;
    border: 1px solid var(--zsa-primary) !important;
    border-radius: 999px;
    color: #fff !important;
    background: var(--zsa-primary) !important;
    box-shadow: 0 12px 28px rgba(23, 69, 86, .18) !important;
  }

  .zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content:hover,
  .zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content:focus,
  .zsa-topbar .zsa-nav-cta > .wp-block-navigation-item__content:focus-visible {
    color: #fff !important;
    background: var(--zsa-primary-deep) !important;
    outline: 2px solid var(--zsa-gold) !important;
    outline-offset: 3px;
    box-shadow: 0 12px 28px rgba(23, 69, 86, .22) !important;
  }
}

@media (min-width: 1121px) {
  .zsa-topbar .wp-block-navigation__responsive-container-open {
    display: none;
  }

  .zsa-topbar .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: block;
    position: relative;
    width: 100%;
    background: transparent !important;
  }
}

@media (max-width: 782px) {
  .zsa-brand img,
  .zsa-brand .wp-block-image img,
  .zsa-topbar .zsa-brand img {
    width: 270px !important;
  }
}

@media (max-width: 600px) {
  .zsa-topbar .zsa-nav {
    min-height: 82px;
    gap: 10px;
  }

  .zsa-brand img,
  .zsa-brand .wp-block-image img,
  .zsa-topbar .zsa-brand img {
    width: clamp(220px, 64vw, 250px) !important;
  }

  .zsa-topbar .wp-block-navigation__responsive-close {
    flex-basis: min(90vw, 370px) !important;
    width: min(90vw, 370px) !important;
    max-width: min(90vw, 370px) !important;
  }

  .zsa-topbar .wp-block-navigation__responsive-dialog::before {
    width: min(230px, calc(100% - 82px));
    height: 58px;
    margin: 16px 60px 6px 18px;
  }

  .zsa-topbar .wp-block-navigation__responsive-container-content {
    padding: 8px 16px max(22px, env(safe-area-inset-bottom)) !important;
  }
}

@keyframes zsa-mobile-drawer-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .zsa-topbar .wp-block-navigation__responsive-close {
    animation: none;
  }
}


/* v0.4.8 compact homepage sections and cards */
.zsa-homepage .zsa-section {
  padding: 68px 0;
}

.zsa-homepage .zsa-section-head {
  gap: 8px;
  margin-bottom: 24px;
}

.zsa-homepage .zsa-section-head > p {
  margin-bottom: 0;
}

.zsa-homepage .zsa-sign-grid {
  gap: 12px;
}

.zsa-homepage .zsa-sign-card {
  min-height: 118px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 17px 18px;
}

.zsa-homepage .zsa-glyph {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 28px;
}

.zsa-homepage .zsa-sign-card h3 {
  margin-bottom: 1px;
}

.zsa-homepage .zsa-center-action {
  margin-top: 22px;
}

.zsa-homepage .zsa-editor-content {
  padding: clamp(24px, 3vw, 34px);
}

@media (max-width: 782px) {
  .zsa-homepage .zsa-section {
    padding: 54px 0;
  }

  .zsa-homepage .zsa-section-head {
    margin-bottom: 20px;
  }

  .zsa-homepage .zsa-sign-card {
    min-height: 102px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 15px 16px;
  }

  .zsa-homepage .zsa-glyph {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  .zsa-homepage .zsa-section {
    padding: 44px 0;
  }

  .zsa-homepage .zsa-section-head {
    gap: 7px;
    margin-bottom: 18px;
  }

  .zsa-homepage .zsa-section-head h2 {
    font-size: 34px;
  }

  .zsa-homepage .zsa-sign-grid {
    gap: 10px;
  }

  .zsa-homepage .zsa-sign-card {
    min-height: 0;
    padding: 14px 15px;
  }

  .zsa-homepage .zsa-center-action {
    margin-top: 18px;
  }

  .zsa-homepage .zsa-editor-content {
    padding: 22px 18px;
  }
}


/* v0.4.9 neutral sign cards inspired by the author box */
.zsa-sign-card {
  border: 1px solid rgba(19, 47, 59, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 154, 67, 0.09), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fbfaf7 100%);
  box-shadow: 0 12px 34px rgba(11, 47, 61, 0.065);
}

.zsa-sign-card::before {
  display: none;
}

.zsa-sign-card:hover,
.zsa-sign-card:focus-visible {
  border-color: rgba(19, 47, 59, 0.18);
  box-shadow: 0 18px 46px rgba(11, 47, 61, 0.11);
  transform: translateY(-3px);
}

.zsa-moon-sign-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 154, 67, 0.09), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fbfaf7 100%);
  backdrop-filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .zsa-sign-card:hover,
  .zsa-sign-card:focus-visible {
    transform: none;
  }
}


/* v0.5.0 compact spacing across plugin-managed pages */
.zsa-page > .zsa-section {
  padding-top: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

.zsa-page > .zsa-section + .zsa-section {
  padding-top: clamp(16px, 1.8vw, 24px);
}

.zsa-page .zsa-section-head {
  margin-bottom: clamp(18px, 2vw, 24px);
}

.zsa-page .zsa-subpage-section > .zsa-container > .zsa-page-card-grid + *,
.zsa-page .zsa-subpage-section .zsa-detail-grid + .zsa-page-card-grid,
.zsa-page .zsa-subpage-section .zsa-tool-page-grid + .zsa-page-card-grid,
.zsa-page .zsa-subpage-section .zsa-insight-grid + .zsa-page-card-grid,
.zsa-page .zsa-subpage-section .zsa-sign-grid + .zsa-page-card-grid {
  margin-top: clamp(22px, 3vw, 30px);
}

.zsa-page > .zsa-editor-section {
  padding-top: clamp(16px, 1.8vw, 24px);
  padding-bottom: 16px;
}

.zsa-page > .zsa-managed-author-section {
  padding-top: 0;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.zsa-page > .zsa-managed-author-section .zsa-article-author-box {
  margin-top: 0;
}

.zsa-page > .zsa-editor-section + .zsa-managed-author-section {
  padding-top: 0;
}

.zsa-homepage .zsa-section,
.zsa-homepage > .zsa-section {
  padding-top: clamp(28px, 3vw, 38px);
  padding-bottom: clamp(28px, 3vw, 38px);
}

.zsa-homepage > .zsa-section + .zsa-section {
  padding-top: clamp(14px, 1.5vw, 20px);
}

.zsa-homepage > .zsa-editor-section {
  padding-top: clamp(14px, 1.5vw, 20px);
  padding-bottom: 14px;
}

.zsa-homepage > .zsa-managed-author-section {
  padding-top: 0;
  padding-bottom: clamp(30px, 3.5vw, 44px);
}

@media (max-width: 600px) {
  .zsa-page > .zsa-section,
  .zsa-homepage .zsa-section,
  .zsa-homepage > .zsa-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .zsa-page > .zsa-section + .zsa-section,
  .zsa-homepage > .zsa-section + .zsa-section {
    padding-top: 12px;
  }

  .zsa-page > .zsa-editor-section,
  .zsa-homepage > .zsa-editor-section {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .zsa-page > .zsa-managed-author-section,
  .zsa-homepage > .zsa-managed-author-section {
    padding-top: 0;
    padding-bottom: 30px;
  }
}

/* v0.5.0 compact handoff to the author box and footer */
.single-post .zsa-article-author-box {
  margin-top: clamp(28px, 4vw, 42px);
}

.zsa-footer {
  padding-top: clamp(38px, 4vw, 50px);
}

.zsa-footer-grid {
  padding-bottom: clamp(30px, 3vw, 40px);
}

@media (max-width: 600px) {
  .single-post .zsa-article-author-box {
    margin-top: 26px;
  }

  .zsa-footer {
    padding-top: 34px;
  }

  .zsa-footer-grid {
    padding-bottom: 28px;
  }
}

/* v0.5.0 final compact section rhythm */
.zsa-page > .zsa-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.zsa-page > .zsa-section + .zsa-section {
  padding-top: 18px;
}

.zsa-homepage > .zsa-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.zsa-homepage > .zsa-section + .zsa-section {
  padding-top: 12px;
}

.zsa-page > .zsa-editor-section,
.zsa-homepage > .zsa-editor-section {
  padding-top: 12px;
  padding-bottom: 12px;
}

.zsa-page > .zsa-editor-section + .zsa-managed-author-section,
.zsa-homepage > .zsa-editor-section + .zsa-managed-author-section {
  padding-top: 0;
}

.zsa-page > .zsa-managed-author-section,
.zsa-homepage > .zsa-managed-author-section {
  padding-bottom: 36px;
}

.wp-site-blocks > footer.wp-block-template-part {
  margin-block-start: 0;
}

.zsa-footer {
  padding-top: 38px;
}

@media (max-width: 600px) {
  .zsa-page > .zsa-section,
  .zsa-homepage > .zsa-section {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .zsa-page > .zsa-section + .zsa-section,
  .zsa-homepage > .zsa-section + .zsa-section {
    padding-top: 10px;
  }

  .zsa-page > .zsa-editor-section,
  .zsa-homepage > .zsa-editor-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .zsa-page > .zsa-editor-section + .zsa-managed-author-section,
  .zsa-homepage > .zsa-editor-section + .zsa-managed-author-section {
    padding-top: 0;
  }

  .zsa-page > .zsa-managed-author-section,
  .zsa-homepage > .zsa-managed-author-section {
    padding-bottom: 26px;
  }

  .zsa-footer {
    padding-top: 30px;
  }
}

/* v0.5.2 editorial and legal footer */
.zsa-footer {
  padding: 44px 0 18px;
}

.zsa-footer-brand-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 34px;
  row-gap: 7px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.zsa-footer-logo {
  grid-row: 1 / 3;
  margin: 0;
}

.zsa-footer-logo img {
  display: block;
  width: 220px !important;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .97;
}

.zsa-footer-description,
.zsa-footer-author-line {
  max-width: 680px;
  margin: 0 !important;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.6;
}

.zsa-footer-author-line {
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.zsa-footer-author-line a {
  color: #e7c37c;
  font-weight: 700;
  text-decoration: none;
}

.zsa-footer-author-line a:hover,
.zsa-footer-author-line a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

.zsa-footer-link-grid {
  display: grid;
  grid-template-columns: 1.05fr .8fr 1.35fr .85fr;
  gap: clamp(28px, 4vw, 64px);
  padding: 30px 0 34px;
}

.zsa-footer-link-grid .zsa-footer-column {
  min-width: 0;
  align-content: start;
  gap: 0;
}

.zsa-footer-link-grid .zsa-footer-column h4 {
  margin: 0 0 13px;
  color: #e7c37c;
  font-family: var(--zsa-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.zsa-footer-link-grid .zsa-footer-navigation,
.zsa-footer-link-grid .zsa-footer-navigation .wp-block-navigation__container {
  width: 100%;
  align-items: flex-start;
  gap: 8px;
}

.zsa-footer-link-grid .wp-block-navigation-item,
.zsa-footer-link-grid .wp-block-navigation-item__content {
  width: fit-content;
  max-width: 100%;
}

.zsa-footer-link-grid .wp-block-navigation-item__content {
  padding: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.zsa-footer-link-grid .wp-block-navigation-item__content:hover,
.zsa-footer-link-grid .wp-block-navigation-item__content:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #e7c37c;
  text-underline-offset: 4px;
  outline: none;
}

.zsa-footer-bottom {
  gap: 18px 32px;
  padding-top: 17px;
}

.zsa-footer-bottom p {
  line-height: 1.5;
}

.zsa-footer-bottom p:last-child {
  max-width: 620px;
  text-align: right;
}

@media (max-width: 900px) {
  .zsa-footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 44px;
  }
}

@media (max-width: 600px) {
  .zsa-footer {
    padding-top: 30px;
  }

  .zsa-footer-brand-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
    padding-bottom: 24px;
  }

  .zsa-footer-logo {
    grid-row: auto;
  }

  .zsa-footer-logo img {
    width: min(220px, 72vw) !important;
  }

  .zsa-footer-description {
    margin-top: 3px !important;
  }

  .zsa-footer-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(16px, 5vw, 24px);
    row-gap: 28px;
    padding: 25px 0 28px;
  }

  .zsa-footer-link-grid .zsa-footer-column {
    min-width: 0;
  }

  .zsa-footer-link-grid .zsa-footer-column h4 {
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }

  .zsa-footer-link-grid .wp-block-navigation-item__content {
    overflow-wrap: anywhere;
  }

  .zsa-footer-link-grid .zsa-footer-navigation,
  .zsa-footer-link-grid .zsa-footer-navigation .wp-block-navigation__container {
    gap: 7px;
  }

  .zsa-footer-bottom {
    display: grid;
    gap: 7px;
    padding-top: 15px;
  }

  .zsa-footer-bottom p:last-child {
    max-width: none;
    text-align: left;
  }
}

/* Ensure footer link groups remain vertical even when Site Editor layout classes vary. */
.zsa-footer-link-grid .zsa-footer-navigation .wp-block-navigation__container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
}


/* v0.5.3: keep the footer navigation compact in two columns on small screens. */
@media (max-width: 600px) {
  .zsa-footer-link-grid {
    align-items: start;
  }

  .zsa-footer-link-grid .zsa-footer-column:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .zsa-footer-link-grid .zsa-footer-column:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .zsa-footer-link-grid .zsa-footer-column:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .zsa-footer-link-grid .zsa-footer-column:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
}
