/* =====================================================================
   .article-content: styles any raw HTML dropped into it (horoscope bodies,
   blog posts). Light gold / cream theme, no Tailwind variables needed.
   ===================================================================== */
.article-content { color: #4b5160; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }

/* Headings */
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
  color: #252a35; font-family: var(--font-display, Georgia, serif); line-height: 1.3;
}
.article-content h1 { margin: 2rem 0 1rem; font-size: 1.9rem; }
.article-content h2 { margin: 2rem 0 1rem; padding-left: .85rem; border-left: 4px solid #d9ae4a; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.article-content h3 { margin: 1.6rem 0 .7rem; color: #6b520d; font-size: 1.2rem; }
.article-content h4 { margin: 1.4rem 0 .6rem; font-family: var(--font-sans, sans-serif); font-size: 1.05rem; font-weight: 700; }
.article-content h5, .article-content h6 { margin: 1.2rem 0 .5rem; font-family: var(--font-sans, sans-serif); font-size: .95rem; font-weight: 700; }
.article-content > *:first-child { margin-top: 0; }

/* Text */
.article-content p { margin: 0 0 1.1rem; }
.article-content strong, .article-content b { color: #252a35; font-weight: 700; }
.article-content em, .article-content i { font-style: italic; }
.article-content u { text-decoration: underline; text-underline-offset: 2px; }
.article-content del, .article-content s { opacity: .6; text-decoration: line-through; }
.article-content mark { padding: .1em .3em; border-radius: 3px; color: #252a35; background: #fdeeba; }
.article-content small { font-size: .85em; }
.article-content sub { vertical-align: sub; font-size: .75em; }
.article-content sup { vertical-align: super; font-size: .75em; }

/* Links */
.article-content a { color: #8a6a12; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
.article-content a:hover { color: #5e470b; }

/* Lists with star bullets */
.article-content ul, .article-content ol { margin: 0 0 1.1rem; padding-left: 0; }
.article-content ul li, .article-content ol li { position: relative; margin-bottom: .5rem; padding-left: 1.6rem; list-style: none; }
.article-content ul li::before { content: "\2726"; position: absolute; left: 0; top: .1em; color: #c08a13; font-size: .85em; }
.article-content ol { counter-reset: article-ol; }
.article-content ol li { counter-increment: article-ol; }
.article-content ol li::before { content: counter(article-ol); position: absolute; left: 0; top: -.05em; color: #8a6a12; font-size: .85em; font-weight: 800; }
.article-content ul ul, .article-content ol ul, .article-content ul ol, .article-content ol ol { margin: .5rem 0 0; }

/* Blockquote */
.article-content blockquote {
  margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid #d9ae4a; border-radius: 0 12px 12px 0;
  color: #3b4351; font-style: italic; background: #fff8e7;
}
.article-content blockquote p:last-child { margin-bottom: 0; }

/* Tables */
.article-content .table-wrap { margin: 1.5rem 0; overflow-x: auto; border: 1px solid #e9e5db; border-radius: 12px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.article-content thead { background: #fff8e7; }
.article-content th { padding: .65rem .9rem; color: #6b520d; font-weight: 700; text-align: left; white-space: nowrap; }
.article-content td { padding: .65rem .9rem; border-top: 1px solid #efeade; }
.article-content tbody tr:nth-child(even) { background: #fffdf8; }

/* Misc */
.article-content hr { height: 1px; margin: 2rem 0; border: 0; background: linear-gradient(90deg, transparent, #e4d4aa, transparent); }
.article-content img { max-width: 100%; height: auto; margin: 1.25rem 0; border-radius: 12px; }
.article-content figure { margin: 1.5rem 0; }
.article-content figcaption { margin-top: .5rem; color: #6b7280; font-size: .85rem; text-align: center; }
.article-content code { padding: .15em .4em; border: 1px solid #e9e5db; border-radius: 4px; color: #6b520d; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .88em; background: #fffdf8; }
.article-content pre { margin: 1.5rem 0; padding: 1rem 1.25rem; overflow-x: auto; border: 1px solid #e9e5db; border-radius: 12px; background: #f8f6ef; }
.article-content pre code { padding: 0; border: 0; color: #252a35; background: none; }

/* Clean, high-contrast reading typography and short rounded heading accents */
.article-content {
  color: #343a47;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  position: relative;
  color: #202333;
  font-weight: 700;
  line-height: 1.3;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  padding-left: 18px;
  border-left: 0;
}

.article-content h2::before,
.article-content h3::before,
.article-content h4::before,
.article-content h5::before,
.article-content h6::before {
  content: "";
  position: absolute;
  top: .08em;
  left: 0;
  width: 5px;
  height: 1.15em;
  border-radius: 999px;
  background: #d7b45a;
}

.article-content h2 { font-weight: 700; }
.article-content h3 { color: #292e3c; font-weight: 800; }
.article-content p { color: #343a47; font-weight: 450 !important; }
.article-content strong,
.article-content b { color: #202333; font-weight: 750; }

/* Use Inter for article h2 and h3 headings */
.article-content h2,
.article-content h3 {
  font-family: var(--font-sans);
}

@media (min-width: 640px) {
  .article-content h2 {
    font-size: 22px;
  }
}
