/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:           #ffffff;
  --bg-surface:   #fef4f8;   /* tarot.com daily-nav / daily-links-vip bg */
  --bg-card:      #ffffff;
  --bg-nav:       #fef4f8;   /* pink nav bar — exact tarot.com value */
  --text:         #323232;
  --muted:        #767676;
  --line:         #dbdbdb;
  --purple:       #6c3082;   /* tarot.com primary brand purple */
  --purple-light: #e2d8ed;   /* tarot.com action-bar-item bg */
  --pink:         #da3287;   /* tarot.com article-menu accent */
  --pink-hover:   #c71585;
  --blue-link:    #005ed1;   /* tarot.com default link color */
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Merriweather', 'Droid Sans', 'Verdana', 'Geneva', 'Helvetica', sans-serif;
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.4em;
  background: var(--bg);
  color: var(--text);
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }

/* ─── Accessibility ──────────────────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--purple); color: #fff;
  padding: .5rem .75rem; z-index: 1000;
  font-weight: 700; border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 3px;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--text);
}
h1 { font-size: 42px; line-height: 50px; font-weight: 400; margin: 10px 0; }
h2 { font-size: 28px; }
h3 { font-size: 24px; line-height: 35px; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 25px; }
h6 { font-size: 12px; text-transform: uppercase; }

p { font-size: 17px; line-height: 28px; margin: 0 0 21px; }

/* tarot.com uses Baskerville italic for decorative/fancy headings */
.fancy-title {
  font-family: Baskerville, 'Times New Roman', serif;
  font-style: italic;
}

a { color: var(--blue-link); text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }

/* ─── Header (white top bar — matches tarot.com top-bar) ─────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.5rem 0;
  background: var(--bg-surface);
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ─── Author Card ────────────────────────────────────────────────────────── */
.author-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.author-card-image {
  width: 72px; height: 72px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--purple-light);
  border: 2px solid var(--purple);
}
.author-card-body p { margin: 0.35rem 0 0; color: var(--muted); }
.author-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.author-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  transition: transform 120ms ease, border-color 120ms ease, color 120ms ease;
}
.author-links a:hover,
.author-links a:focus-visible {
  color: var(--purple);
  border-color: var(--purple);
  transform: translateY(-1px);
  text-decoration: none;
}
.author-links svg { width: 1rem; height: 1rem; display: block; }
.social-icon-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Header Top ─────────────────────────────────────────────────────────── */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: inherit; }
.brand-logo { width: 52px; height: auto; flex: 0 0 auto; }
.brand-copy { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.brand-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--purple);
  letter-spacing: 0.04em;
}
.brand-tagline {
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Banner ─────────────────────────────────────────────────────────────── */
.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 728px;
  width: min(100%, 728px);
}
.top-banner img {
  width: 100%; max-width: 728px; height: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

/* ─── Mobile Nav Toggle ──────────────────────────────────────────────────── */
.category-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 3rem; height: 3rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
}
.category-nav-toggle-line { display: block; width: 1.2rem; height: 2px; background: currentColor; }

/* ─── Category Nav (pink bar — matches tarot.com daily-nav #fef4f8) ──────── */
.category-bar {
  background: var(--bg-nav);
  border-bottom: 1px solid #f0cde0;
  box-shadow: 0 2px 4px -3px rgba(0,0,0,0.2);
}
.category-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.category-nav {
  flex: 1 1 0;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.category-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.category-nav li { position: relative; flex: 0 0 auto; }
.category-nav a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.15s;
}
.category-nav a:hover,
.category-nav a:focus-visible {
  color: #000;
  text-decoration: underline;
}
.category-nav-parent { display: flex; align-items: stretch; }
.category-nav-parent > a { flex: 1 1 auto; }
.category-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  border: 0;
  border-left: 1px solid rgba(108,48,130,0.15);
  background: transparent;
  color: var(--purple);
  cursor: pointer;
}
.category-submenu-toggle span { font-size: 1rem; line-height: 1; }
.category-nav-item.has-children:hover .category-submenu,
.category-nav-item.has-children:focus-within .category-submenu { display: block; }
.category-nav-item.is-submenu-open .category-submenu { display: block; }
.category-nav .category-submenu {
  display: none;
  position: absolute;
  left: 0; top: 100%;
  min-width: 13rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--purple);
  z-index: 20;
  list-style: none;
  margin: 0; padding: 0;
  box-shadow: 0 3px 5px 3px #dbdbdb;
}
.category-submenu li { width: 100%; }
.category-submenu a { padding: 0.75rem 1rem; color: var(--text); }
.category-submenu a:hover { background: var(--bg-surface); color: var(--purple); text-decoration: none; }
.category-submenu--wide {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  min-width: 26rem;
}
.category-nav-item.has-children:hover .category-submenu--wide,
.category-nav-item.has-children:focus-within .category-submenu--wide,
.category-nav-item.is-submenu-open .category-submenu--wide { display: grid; }

/* Right-align submenus for items near the right edge so they don't overflow the clip boundary */
.category-nav-item:nth-last-child(-n+3) .category-submenu {
  left: auto;
  right: 0;
}
/* Wide submenus always open left-to-right — right: 0 would pull them off the left edge */
.category-nav-item:nth-last-child(-n+3) .category-submenu--wide {
  left: 0;
  right: auto;
}

/* ─── Nav Search ─────────────────────────────────────────────────────────── */
.nav-search { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; padding: 0.55rem 0; }
.nav-search input[type="search"] {
  width: 14rem;
  padding: 5px 5px 5px 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%236c3082' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 6px center / 17px;
  color: var(--text);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  height: 30px;
}
.nav-search input[type="search"]:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(108,48,130,0.15);
}
.nav-search input[type="search"]::placeholder { color: #aaa; }
.nav-search button {
  padding: 0.45rem 0.9rem;
  border-radius: 13px;
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  font-family: Montserrat, sans-serif;
  transition: background 0.2s;
}
.nav-search button:hover { background: #5a2769; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 1.5rem 0 0.75rem; }
.hero.hero-compact { padding: 0.6rem 0 0.35rem; }
.hero.hero-compact h1 { margin: 0; }

/* ─── Section Headers ────────────────────────────────────────────────────── */
.home-section-header {
  margin: 0.35rem 0 0.6rem;
  padding: 0 0 0.5rem;
  border-bottom: 2px solid var(--purple);
}
.home-section-header h1 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ─── Featured Story Grid ────────────────────────────────────────────────── */
.featured-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 2rem;
  align-items: stretch;
}
.featured-stories { margin: 0 0 1.85rem; }
.featured-stories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.featured-stories-header h2 { margin: 0; font-size: 20px; }
.featured-stories-controls { display: inline-flex; align-items: center; gap: 0.35rem; }
.featured-stories-control {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.featured-stories-control:hover,
.featured-stories-control:focus-visible {
  border-color: var(--purple);
  background: var(--purple-light);
  outline: none;
}
.featured-stories-control:disabled { opacity: 0.35; cursor: default; }
.featured-stories-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, 14.25rem);
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.featured-stories-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  transition: box-shadow 0.2s;
}
.featured-stories-card:hover { box-shadow: 0 3px 5px 3px #dbdbdb; }
.featured-stories-card a { display: block; color: inherit; text-decoration: none; }
.featured-stories-card a:hover { text-decoration: none; }
.featured-stories-thumb { aspect-ratio: 1/1; background: var(--purple-light); }
.featured-stories-thumb img,
.featured-stories-thumb-fallback { width: 100%; height: 100%; }
.featured-stories-thumb img { object-fit: cover; }
.featured-stories-thumb-fallback { background: linear-gradient(135deg, #e2d8ed 0%, #fef4f8 100%); }
.featured-stories-body { padding: 0.75rem; }
.featured-stories-cats { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 0.45rem; }
.featured-stories-cats span {
  display: inline-flex; align-items: center;
  padding: 0.14rem 0.4rem;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-size: 11px; font-weight: 400;
  line-height: 14px;
}
.featured-stories-body h3 { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--text); }
.featured-stories-stat { margin: 0.45rem 0 0; color: var(--muted); font-size: 12px; }

/* ─── Home Videos ────────────────────────────────────────────────────────── */
.home-videos { margin: 1.75rem 0 2.25rem; }
.home-videos-header { display: flex; align-items: baseline; gap: 0.65rem; margin-bottom: 0.9rem; }
.home-videos-header h2 { margin: 0; font-size: 20px; }
.home-videos-header p { margin: 0; color: var(--muted); font-size: 14px; }
.home-videos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem; align-items: start;
}
.home-videos-featured {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.home-videos-featured-link { display: block; color: inherit; text-decoration: none; }
.home-videos-featured-link:hover { text-decoration: none; color: inherit; }
.home-videos-media { position: relative; aspect-ratio: 16/9; background: var(--purple-light); }
.home-videos-media img { width: 100%; height: 100%; object-fit: cover; }
.home-videos-play {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 7px;
  background: rgba(50,50,50,0.8);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.home-videos-copy { padding: 1rem; }
.home-videos-kicker {
  margin: 0 0 0.45rem;
  color: var(--pink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.home-videos-copy h3 { margin: 0; font-size: 20px; }
.home-videos-meta { margin: 0.6rem 0 0; color: var(--muted); font-size: 13px; }
.home-videos-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 2px solid var(--purple);
}
.home-videos-list li { border-bottom: 1px solid var(--line); }
.home-videos-list a {
  display: block; padding: 0.9rem 0;
  color: var(--text); text-decoration: none;
  transition: color 0.15s;
}
.home-videos-list a:hover { color: var(--purple); text-decoration: none; }
.home-videos-list-title { display: block; font-weight: 500; line-height: 1.3; }
.home-videos-list-meta { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 13px; }

/* ─── Featured Story Rail ────────────────────────────────────────────────── */
.featured-story-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: 31rem;
}
.featured-story-card {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  border-radius: 7px;
  background: var(--purple-light);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.featured-story-card:hover { box-shadow: 0 3px 5px 3px #dbdbdb; }
.featured-story-card-lead { min-height: 31rem; }
.featured-story-card-small { min-height: 0; height: 100%; }
.featured-story-link {
  display: block; position: relative;
  min-height: inherit; color: inherit; text-decoration: none;
}
.featured-story-link:hover { text-decoration: none; }
.featured-story-media { position: absolute; inset: 0; overflow: hidden; }
.featured-story-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-story-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e2d8ed 0%, #fef4f8 100%);
}
.featured-story-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.68) 100%);
}
.featured-story-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: inherit; padding: 1rem;
  color: #fff;
}
.featured-story-category {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-size: 11px; font-weight: 400; line-height: 14px;
}
.featured-story-card h2 { margin: 0; font-size: 20px; line-height: 1.25; color: #fff; font-weight: 500; }
.featured-story-card-lead h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.featured-story-card-small h2 { font-size: 15px; line-height: 1.25; }
.featured-story-meta { margin: 0.65rem 0 0; color: rgba(255,255,255,0.85); font-size: 13px; }
.featured-story-card-small .featured-story-meta { margin-top: 0.45rem; font-size: 12px; }
.featured-story-card-small .featured-story-content { padding: 0.8rem; }
.featured-story-card-small .featured-story-category { margin-bottom: 0.45rem; padding: 3px 6px; font-size: 10px; }

/* ─── All Posts Layout ───────────────────────────────────────────────────── */
.all-posts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem; align-items: start; margin: 0 0 2rem;
}
.all-posts-layout--no-rail { grid-template-columns: minmax(0, 1fr); }
.all-posts-section { margin: 0; }
.all-posts-rail { display: flex; flex-direction: column; gap: 1rem; align-self: stretch; min-height: 100%; }
.all-posts-sticky-slot { position: sticky; top: 1.25rem; align-self: start; }
.all-posts-header {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--purple);
}
.all-posts-header h2 { margin: 0; font-size: 20px; }
.all-posts-header p { margin: 0.25rem 0 0; color: var(--muted); font-size: 13px; }
.all-posts-controls { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--muted); font-size: 13px; }
.all-posts-controls select {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.all-posts-list { margin-top: 0.35rem; }
.post-list.all-posts-list li { padding: 1.15rem 0 1.35rem; }
.all-posts-card { display: grid; gap: 1rem; }
.all-posts-thumb { overflow: hidden; border-radius: 7px; background: var(--purple-light); }
.all-posts-thumb-link,
.all-posts-thumb-fallback { display: block; aspect-ratio: 2.56/1; }
.all-posts-thumb-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.all-posts-thumb-fallback { background: linear-gradient(135deg, #e2d8ed 0%, #fef4f8 100%); }
.all-posts-body { display: grid; gap: 0.65rem; }
.all-posts-cats { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.all-posts-cats span,
.all-posts-cat-link {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--pink);
  color: #fff;
  font-size: 11px; font-weight: 400; line-height: 14px;
  text-decoration: none;
}
.all-posts-cat-link:hover,
.all-posts-cat-link:focus-visible {
  background: var(--pink-hover);
  color: #fff;
  text-decoration: none;
}
.all-posts-body h3 { margin: 0; font-size: 24px; line-height: 35px; font-weight: 500; }
.all-posts-body h3 a { color: var(--text); text-decoration: none; }
.all-posts-body h3 a:hover { color: var(--purple); text-decoration: underline; }
.all-posts-excerpt { color: var(--text); }
.all-posts-excerpt p { margin: 0; font-size: 17px; line-height: 28px; }
.all-posts-meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.all-posts-author { font-weight: 600; }
.all-posts-author-link { color: var(--purple); text-decoration: none; }
.all-posts-author-link:hover,
.all-posts-author-link:focus-visible { color: #000; text-decoration: underline; }
.all-posts-tags {
  display: flex; flex-wrap: wrap; gap: 0.2rem;
  list-style: none; padding: 0; margin: 0.25rem 0 0;
}
.all-posts-tags li {
  display: inline-flex; align-items: center;
  background: var(--purple-light); border: 1px solid var(--purple-light); border-radius: 7px;
  font-size: 11px; color: var(--purple);
}
.all-posts-tags li[hidden] { display: none; }
.all-posts-tag-link {
  display: inline-flex; align-items: center;
  padding: 0.06rem 0.4rem;
  color: inherit; font-weight: 500; text-decoration: none;
}
.all-posts-tag-link:hover,
.all-posts-tag-link:focus-visible { color: var(--purple); text-decoration: none; }
.all-posts-tags-more-item { border-style: dashed; }
.all-posts-tags-toggle {
  display: inline-flex; align-items: center;
  padding: 0.06rem 0.4rem; border: 0;
  background: transparent; color: inherit; font: inherit; font-weight: 500; cursor: pointer;
}
.all-posts-tags-toggle:hover,
.all-posts-tags-toggle:focus-visible { color: var(--purple); }
.all-posts-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1rem;
}
.all-posts-footer > p { margin: 0; color: var(--muted); font-size: 13px; }
.all-posts-pagination { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.all-posts-page-numbers { display: inline-flex; align-items: center; gap: 0.4rem; }
.all-posts-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2rem; min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: var(--text);
  text-decoration: none; font-size: 13px;
  transition: border-color 0.15s, background 0.15s;
}
.all-posts-page-link:hover { border-color: var(--purple); color: var(--purple); text-decoration: none; }
.all-posts-page-link.is-current {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff; font-weight: 600;
}
.all-posts-page-link.is-disabled { opacity: 0.35; pointer-events: none; }

/* ─── Post List ──────────────────────────────────────────────────────────── */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 13px; }
.meta-category-links { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; vertical-align: middle; }
.meta-author-link { color: var(--purple); text-decoration: none; font-weight: 600; }
.meta-author-link:hover,
.meta-author-link:focus-visible { color: #000; text-decoration: underline; }
.meta-category-link {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 7px;
  background: var(--pink); color: #fff;
  text-decoration: none; font-size: 11px;
}
.meta-category-link:hover,
.meta-category-link:focus-visible { background: var(--pink-hover); color: #fff; text-decoration: none; }

/* ─── Tags ───────────────────────────────────────────────────────────────── */
.tag-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none; padding: 0; margin: 0.75rem 0 0;
}
.tag-list li {
  padding: 5px 10px;
  background: var(--purple-light); border: 1px solid var(--purple-light);
  border-radius: 7px;
  font-size: 13px; color: var(--purple);
}
.tag-list li:hover { border-color: var(--purple); }
.tag-list a { color: inherit; text-decoration: none; font-weight: 500; }
.tag-list a:hover,
.tag-list a:focus-visible { color: #5a2769; text-decoration: none; }

/* ─── Post ───────────────────────────────────────────────────────────────── */
.post { padding: 2rem 0; }
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2rem; align-items: start;
}
.post-sidebar-column { display: flex; flex-direction: column; gap: 1rem; align-self: stretch; min-height: 100%; }
.post-sidebar-stack { display: grid; gap: 1rem; }
.post-sidebar-sticky-slot { position: sticky; top: 1rem; align-self: start; }
.post-body { display: grid; gap: 1rem; }
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 { margin: 1.25rem 0 0; }
.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote { margin: 0; }
.post-body ul,
.post-body ol { padding-left: 1.5rem; }
.post-body ul li,
.post-body ol li { font-size: 17px; line-height: 28px; }
.post-body blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--pink);
  color: var(--muted);
  font-style: italic;
}
.post-body img { border-radius: 7px; }
.post-sidebar,
.post-sidebar-ad,
.post-sidebar-recent,
.post-sidebar-tall-ad { padding: 0; }

/* ─── YouTube Widget ─────────────────────────────────────────────────────── */
.youtube-widget {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 5px 3px #dbdbdb;
}
.youtube-widget-header,
.youtube-widget-body { padding: 1rem; }
.youtube-widget-kicker {
  margin: 0 0 0.25rem;
  color: var(--pink);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.youtube-widget h2,
.youtube-widget h3 { margin: 0; }
.youtube-widget-frame { aspect-ratio: 16/9; background: var(--purple-light); }
.youtube-widget-frame iframe { width: 100%; height: 100%; border: 0; }
.youtube-widget-body { display: grid; gap: 0.75rem; }
.youtube-widget-meta { margin: 0; color: var(--muted); font-size: 13px; }

/* ─── Sidebar Widgets ────────────────────────────────────────────────────── */
.sidebar-ad-widget {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-surface);
  box-shadow: 0 3px 5px 3px #dbdbdb;
  padding: 0.9rem;
}
.sidebar-ad-kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.sidebar-ad-link { display: block; border-radius: 7px; overflow: hidden; background: #fff; }
.sidebar-ad-link img { display: block; width: 100%; height: auto; }
.recent-posts-widget {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 5px 3px #dbdbdb;
  padding: 1rem;
}
.recent-posts-widget h2 { margin: 0 0 0.9rem; }
.recent-posts-widget ul { list-style: none; margin: 0; padding: 0; }
.recent-posts-widget li + li {
  border-top: 1px solid var(--line); margin-top: 0.85rem; padding-top: 0.85rem;
}
.recent-posts-widget li p { margin: 0.35rem 0 0; color: var(--muted); font-size: 13px; }
.sidebar-ad-widget-tall { padding: 0.9rem; }
.sidebar-ad-widget-tall .sidebar-ad-link { border-radius: 7px; }

/* ─── Post Pager ─────────────────────────────────────────────────────────── */
.post-pager {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.post-pager-item {
  display: grid; gap: 0.35rem; min-height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line); border-radius: 7px;
  background: #fff; color: inherit; text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.post-pager-item:hover {
  border-color: var(--purple);
  box-shadow: 0 3px 5px 3px #dbdbdb;
  text-decoration: none; color: inherit;
}
.post-pager-item strong { line-height: 1.35; font-size: 15px; }
.post-pager-item.is-empty { visibility: hidden; }
.post-pager-label {
  color: var(--purple);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.post-tags { margin-top: 1.5rem; }

/* ─── Ad Slot ────────────────────────────────────────────────────────────── */
.ad-slot {
  margin: 2rem 0; min-height: 280px;
  border: 1px dashed var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--bg-surface);
  border-radius: 7px;
}

/* ─── Misc ───────────────────────────────────────────────────────────────── */
img { max-width: 100%; height: auto; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* Shrink search at intermediate widths so nav items don't get clipped */
@media (max-width: 900px) and (min-width: 721px) {
  .nav-search input[type="search"] { width: 7rem; }
  .nav-search button { padding: 0.45rem 0.6rem; font-size: 12px; }
  .sign-grid-compact { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
  .all-posts-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .all-posts-sticky-slot { position: static; }
  .all-posts-header,
  .all-posts-footer { align-items: start; flex-direction: column; }
  .all-posts-controls,
  .all-posts-pagination,
  .all-posts-page-numbers { flex-wrap: wrap; }
  .all-posts-body h3 { font-size: 20px; line-height: 1.3; }
  .header-top { gap: 1rem; align-items: center; flex-wrap: wrap; }
  .category-nav-toggle { display: inline-flex; align-self: auto; margin-left: auto; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-logo { width: 44px; }
  .brand-tagline { font-size: 0.68rem; }
  .top-banner { width: 100%; flex: 1 0 100%; order: 3; }
  .category-bar { display: none; width: 100%; }
  .site-header.is-menu-open .category-bar { display: block; }
  .category-nav > ul { display: block; }
  .category-bar .container { display: block; }
  .category-nav li { width: 100%; }
  .category-nav a { padding: 0.9rem 1rem; }
  .category-nav-parent { width: 100%; }
  .category-submenu-toggle { display: inline-flex; }
  .category-nav-item.has-children:hover .category-submenu,
  .category-nav-item.has-children:focus-within .category-submenu { display: none; }
  .category-nav-item.is-submenu-open .category-submenu { display: block !important; }
  .category-nav .category-submenu {
    position: static; min-width: 0; border: 0;
    border-top: 1px solid #f0cde0;
    background: #fff3f9;
  }
  .category-submenu a { padding-left: 2rem; }
  .nav-search { width: 100%; padding: 0.85rem 1rem 1rem; }
  .nav-search input[type="search"] { width: 100%; }
  .featured-story-grid { grid-template-columns: 1fr; }
  .featured-stories-track { grid-auto-columns: minmax(11.5rem, 78%); }
  .home-videos-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-sidebar-column { min-height: auto; }
  .post-sidebar-sticky-slot { position: static; top: auto; }
  .post-sidebar-tall-ad { display: none; }
  .post-pager { grid-template-columns: 1fr; }
  .featured-story-card-lead { min-height: 23rem; }
  .featured-story-rail { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .featured-story-card-small { min-height: 12rem; }
  /* collapsed into main responsive block below */
  .sign-grid { grid-template-columns: repeat(auto-fill, minmax(162px, 1fr)); }
  .sign-grid-full { grid-template-columns: repeat(2, 1fr); }
  .sign-grid-compact { grid-template-columns: repeat(4, 1fr); }
  .sign-card-lg { flex-direction: row; gap: 0.75rem; }
  .sign-name { font-size: 20px; }
  .sign-dates { font-size: 14px; }
  .sign-element { font-size: 14px; }
  .horoscope-periods { grid-template-columns: 1fr; }
  .horoscope-sign-header { flex-direction: column; gap: 0.5rem; }
  .horoscope-sign-img { width: 72px; height: 72px; }
}

/* ─── Home Horoscope Layout (zodiac grids + rail ad) ────────────────────── */
.home-horoscope-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 1.5rem 0;
}
.home-horoscope-content { flex: 1 1 0; min-width: 0; }
.home-horoscope-rail { flex: 0 0 300px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; align-self: stretch; }
.home-horoscope-rail .post-sidebar-tall-ad { display: block; }
.home-horoscope-rail img { max-width: 100%; height: auto; display: block; }
@media (max-width: 960px) {
  .home-horoscope-layout { display: block; }
  .home-horoscope-rail { display: none; }
  .home-horoscope-content { min-width: 0; }
}

/* ─── Zodiac Section (home page) ─────────────────────────────────────────── */
.zodiac-section {
  margin: 2rem 0;
}
.zodiac-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.zodiac-section-header h2 {
  margin: 0;
  font-size: 22px;
  color: var(--purple);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--purple);
}
.zodiac-section-all {
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.zodiac-section-all:hover { text-decoration: underline; color: var(--pink); }

/* ─── Sign Grid ───────────────────────────────────────────────────────────── */
.sign-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(198px, 1fr));
  gap: 0.6rem;
}
.sign-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.sign-grid-compact {
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
.sign-grid-compact .sign-img { width: 48px; height: 48px; }
.sign-grid-compact .sign-card { padding: 0.5rem 0.25rem; }
.sign-grid-compact .sign-name { font-size: 11px; }

/* ─── Sign Card ───────────────────────────────────────────────────────────── */
.sign-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.5rem 1.1rem;
  border-radius: 7px;
  background: var(--bg-surface);
  border: 1px solid #f0cde0;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  text-align: center;
}
.sign-card:hover {
  background: var(--purple-light);
  border-color: var(--purple);
  color: var(--purple);
  text-decoration: none;
  transform: translateY(-2px);
}
.sign-img {
  display: block;
  width: 144px;
  height: 144px;
  object-fit: cover;
}
.sign-name {
  font-size: 27px;
  font-weight: 600;
  display: block;
  color: var(--purple);
}
.sign-dates {
  font-size: 23px;
  color: var(--muted);
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}
.sign-element {
  font-size: 23px;
  color: var(--muted);
  display: block;
}

/* sign-card-lg variant (horoscopes hub page) */
.sign-card-lg {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
}
.sign-card-lg .sign-img { width: 72px; height: 72px; flex-shrink: 0; }
.sign-card-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.sign-card-lg .sign-name { font-size: 15px; }
.sign-card-lg .sign-dates { font-size: 12px; white-space: normal; }
.sign-card-lg .sign-element { font-size: 12px; }

/* ─── Horoscope Page ─────────────────────────────────────────────────────── */
.horoscope-page { padding: 1rem 0 2rem; }

.horoscope-sign-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--purple-light);
}
.horoscope-sign-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
.horoscope-sign-header h1 { margin: 0 0 0.25rem; }
.horoscope-sign-meta {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.horoscope-period-switch {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}
.horoscope-period-switch:hover { text-decoration: underline; color: var(--pink); }

.horoscope-periods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.horoscope-period-section {
  background: var(--bg-surface);
  border: 1px solid #f0cde0;
  border-radius: 7px;
  padding: 1.5rem;
}
.horoscope-period-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--purple-light);
}

.horoscope-entry h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  border-bottom: 2px solid var(--purple);
  padding-bottom: 0.35rem;
  margin: 0 0 1rem;
}
.horoscope-date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem !important;
}
.horoscope-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 15px;
  margin: 0;
}
.horoscope-date-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.horoscope-date-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}
.horoscope-date-nav a:hover { text-decoration: underline; }
.horoscope-nav-disabled {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: default;
}

/* ─── Sign Nav (other signs on sign page) ────────────────────────────────── */
.sign-nav { margin-top: 2.5rem; }
.sign-nav h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--purple);
  margin: 0 0 0.75rem;
}

/* ─── Simple Page (about / policy) ──────────────────────────────────────── */
.simple-page-content {
  max-width: 720px;
  margin: 2rem 0 3rem;
}
.simple-page-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--purple);
  margin: 1.75rem 0 0.5rem;
}
.simple-page-content p { font-size: 16px; }

/* ─── Footer links ───────────────────────────────────────────────────────── */
.footer-links {
  font-size: 13px;
  color: var(--muted);
  margin: 0.25rem 0 0;
  text-align: center;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--purple); text-decoration: underline; }

/* ─── Articles Page ──────────────────────────────────────────────────────── */
.articles-page { padding-bottom: 2rem; }

.articles-section {
  margin: 2.5rem 0;
}
.articles-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--purple);
  margin-bottom: 1.25rem;
}
.articles-section-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--purple);
}
.articles-section-all {
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.articles-section-all:hover { color: var(--pink); text-decoration: underline; }
.articles-section-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 15px;
  margin: 0;
}
.articles-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0.25rem 0 0;
}
