/* pooja.css v1 — Pooja Guidance list + detail pages, matching the site's warm #fff7ed theme */

.pg-intro {
  max-width: 760px;
  color: #44403c;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.pg-card {
  display: block;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line, #fed7aa);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(154,52,18,0.08);
  transition: box-shadow .18s ease, transform .18s ease;
}
.pg-card:hover {
  box-shadow: 0 18px 44px rgba(154,52,18,0.16);
  transform: translateY(-2px);
}
.pg-card-icon { font-size: 30px; margin-bottom: 8px; display: block; }
.pg-card-title { font-size: 17px; font-weight: 700; color: var(--brand, #9a3412); margin: 0 0 6px; }
.pg-card-sub { font-size: 13px; color: #78716c; line-height: 1.5; margin: 0; }

/* ── Detail page ─────────────────────────────────────────────── */
.pd-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.pd-icon { font-size: 40px; }
.pd-title { font-size: 26px; color: var(--brand, #9a3412); margin: 0; }
.pd-sub { color: #78716c; font-size: 14px; margin: 4px 0 0; }

.pd-section {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line, #fed7aa);
  border-radius: 18px;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 10px 30px rgba(154,52,18,0.06);
}
.pd-section h2 {
  font-size: 17px;
  color: var(--brand, #9a3412);
  margin: 0 0 12px;
}
.pd-intro-text { font-size: 14px; line-height: 1.75; color: #44403c; }
.pd-intro-text-en { font-size: 12.5px; line-height: 1.6; color: #a8a29e; font-style: italic; margin-top: -8px; }

.pd-samagri-en { font-size: 12px; color: #a8a29e; font-style: italic; }

.pd-samagri-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 16px;
}
.pd-samagri-list li {
  font-size: 13.5px;
  color: #44403c;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.pd-samagri-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-2, #f97316);
  font-weight: 700;
}

.pd-step {
  border-left: 3px solid var(--line, #fed7aa);
  padding: 6px 0 6px 18px;
  margin-bottom: 18px;
}
.pd-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2, #f97316);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pd-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #292524;
  margin: 2px 0 6px;
}
.pd-step-desc {
  font-size: 14px;
  color: #44403c;
  line-height: 1.65;
  margin: 0 0 4px;
}
.pd-step-desc-en {
  font-size: 12.5px;
  color: #a8a29e;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 8px;
}
.pd-step-mantra {
  background: #fff7ed;
  border: 1px dashed var(--line, #fed7aa);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: #7c2d12;
  line-height: 1.8;
  /* Some steps (e.g. Ghatasthapana) carry two shlokas in one mantra field,
     separated by a literal \n in the Python data — preserve that as a real
     line break instead of collapsing it into one run-on line. */
  white-space: pre-line;
}

.pd-pdf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pd-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-2, #f97316);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .18s ease;
}
.pd-pdf-link:hover { background: var(--brand, #9a3412); }
.pd-pdf-desc { font-size: 12.5px; color: #78716c; margin: 6px 0 0; }

.pd-back {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand, #9a3412);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}
.pd-back:hover { text-decoration: underline; }

/* ── Navratri: related-links nav + 9-day grid ───────────────────── */
.pd-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.pd-related-link {
  display: inline-block;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line, #fed7aa);
  color: var(--brand, #9a3412);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .18s ease;
}
.pd-related-link:hover { background: #fff7ed; }

.pd-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.pd-day-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #fff7ed;
  border: 1px solid var(--line, #fed7aa);
  border-radius: 14px;
  padding: 14px 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
.pd-day-card:hover {
  box-shadow: 0 10px 24px rgba(154,52,18,0.14);
  transform: translateY(-2px);
}
.pd-day-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-2, #f97316);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pd-day-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand, #9a3412);
  line-height: 1.35;
}
