/* =================================================================
   GEMSTONE IN ASTROLOGY — page-specific styles (gia- prefix)
   File: /articles/css/gemstone-in-astrology.css
   ================================================================= */

/* Space for the fixed scroll indicator so it never overlaps the header */
body.gia-page {
  padding-top: 4px;
}

/* SCROLL PROGRESS INDICATOR */
.gia-scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 2000;
}

.gia-scroll-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c8940c, #e6b93a);
  transition: width 0.1s ease;
}

/* READING TIME BADGE — sits between the H1 badge and the TOC */
.gia-meta-row {
  text-align: center;
  margin: 2px 0 14px;
}

.gia-reading-time {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #7a6f8c;
  letter-spacing: 0.03em;
}

/* NON-STICKY TOC — same pill design as the sticky version, just not pinned
   while scrolling, since it takes up too much vertical space on mobile */
.gia-toc-static {
  position: static !important;
  top: auto !important;
}

/* Quoted client question in the intro — subtle italic emphasis */
.gia-dialogue {
  font-style: italic;
  font-weight: 600;
  color: #4d0079;
}

/* MISTAKE BOXES — thin gold left accent so the three mistakes read as a
   connected set, distinct from the blue "Simple Example" case box */
.gia-mistake-box {
  border-left: 4px solid #c8940c;
}

/* FAQ block spacing inside the article column */
.gia-faq-section {
  margin-top: 12px;
}

.gia-faq-list {
  margin-top: 10px;
}

/* =================================================================
   TOC PILL STYLES — fallback copy, since /articles/css/article.css
   (linked by this page) predates the TOC feature and does not yet
   include these rules. astrology-basics.css already has them for
   the Dasha Bhukti pages; once article.css is updated site-wide,
   this block can be safely removed from here.
   ================================================================= */

.art-toc {
  position: static;
  z-index: 20;
  background: #faf7ff;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(77, 0, 121, 0.14);
  margin: 4px 0 6px;
}

.art-toc-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a6f8c;
  padding: 0 18px 6px;
}

.art-toc-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 18px 6px;
  scrollbar-width: none;
}

.art-toc-scroll::-webkit-scrollbar {
  display: none;
}

.art-toc-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #c8940c;
  background: #ffffff;
  color: #4d0079;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.art-toc-pill:hover {
  background: #fbf3e0;
}

.art-toc-pill.active {
  background: linear-gradient(90deg, #c8940c, #e6b93a);
  border-color: #c8940c;
  color: #2d0a52;
}

/* =================================================================
   PLANET–DEITY REFERENCE TABLE (pd- prefix)
   Used on which-god-to-worship.html only — harmless if unused
   elsewhere since these classes don't appear on other pages.
   ================================================================= */

.pd-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(77, 0, 121, 0.14);
  margin: 18px 0;
}

.pd-row {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(77, 0, 121, 0.10);
  gap: 14px;
}

.pd-row:last-child {
  border-bottom: none;
}

.pd-row:nth-child(even) {
  background: #faf7ff;
}

.pd-row-head {
  background: linear-gradient(90deg, #c8940c, #e6b93a) !important;
}

.pd-row-head .pd-planet,
.pd-row-head .pd-deity {
  color: #2d0a52;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.pd-planet {
  flex: 0 0 100px;
  font-weight: 700;
  color: #4d0079;
  font-size: 14.5px;
}

.pd-deity {
  flex: 1;
  color: #2c2540;
  font-size: 14.5px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .pd-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .pd-row-head {
    display: none;
  }
  .pd-planet {
    flex: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c8940c;
    font-weight: 800;
  }
  .pd-deity {
    font-size: 15px;
  }
}
