/* Vedic Maths — SEO blocks, breadcrumbs, layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

/* Top breadcrumb */
.vedic-bc-top {
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff 0%, #f8f4ff 100%);
  border: 1px solid #e8dff5;
  box-shadow: 0 1px 4px rgba(61, 43, 120, 0.08);
}

.vedic-bc-top .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.vedic-bc-top .breadcrumb-item a {
  color: #5b3ea8;
  font-weight: 600;
  text-decoration: none;
}

.vedic-bc-top .breadcrumb-item a:hover {
  color: #3d2b78;
  text-decoration: underline;
}

.vedic-bc-top .breadcrumb-item.active {
  color: #64748b;
  font-weight: 600;
}

/* Hub SEO intro at top */
.vedic-seo-top {
  margin-bottom: 2rem;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9f0 0%, #f3e8ff 50%, #e8f4fc 100%);
  border: 1px solid #e2d4f7;
  box-shadow: 0 4px 14px rgba(61, 43, 120, 0.08);
}

.vedic-seo-top h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3d2b78;
  margin-bottom: 0.75rem;
}

.vedic-seo-top .seo-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 0;
}

.vedic-seo-top .vedic-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.vedic-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d4c4f0;
  color: #5b3ea8 !important;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none !important;
}

.vedic-link-pill:hover {
  background: #f3e8ff;
  border-color: #9b59b6;
}

/* Bottom SEO guide (week pages) */
.vedic-seo-guide {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #faf8ff 0%, #f5f0ff 100%);
  border: 1px solid #e2d4f7;
}

.vedic-seo-guide h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3d2b78;
  margin-bottom: 0.75rem;
}

.vedic-seo-guide p,
.vedic-seo-guide li {
  color: #475569;
  line-height: 1.7;
  font-size: 0.98rem;
}

.vedic-seo-guide details {
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2d4f7;
}

.vedic-seo-guide summary {
  font-weight: 600;
  color: #5b3ea8;
  cursor: pointer;
}

[data-bs-theme="dark"] .vedic-bc-top,
[data-bs-theme="dark"] .vedic-seo-top,
[data-bs-theme="dark"] .vedic-seo-guide {
  background: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
}

[data-bs-theme="dark"] .vedic-seo-top h2,
[data-bs-theme="dark"] .vedic-seo-guide h2 {
  color: #e9d5ff;
}

[data-bs-theme="dark"] .vedic-seo-top .seo-lead,
[data-bs-theme="dark"] .vedic-seo-guide p {
  color: #cbd5e1;
}

/* FAQ accordion at page end */
.vedic-faq {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2d4f7;
  box-shadow: 0 4px 12px rgba(61, 43, 120, 0.06);
}

.vedic-faq h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #3d2b78;
  margin-bottom: 1rem;
}

.vedic-faq .accordion-button {
  font-weight: 600;
  color: #3d2b78;
  background: #faf8ff;
}

.vedic-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #f3e8ff, #fff9f0);
  color: #2a1f5c;
  box-shadow: none;
}

.vedic-faq .accordion-body {
  color: #475569;
  line-height: 1.7;
  font-size: 0.98rem;
}

[data-bs-theme="dark"] .vedic-faq {
  background: #1e293b;
  border-color: #475569;
}

[data-bs-theme="dark"] .vedic-faq h2 {
  color: #e9d5ff;
}

[data-bs-theme="dark"] .vedic-faq .accordion-button {
  background: #0f172a;
  color: #e2e8f0;
}

[data-bs-theme="dark"] .vedic-faq .accordion-body {
  color: #cbd5e1;
}
