/* ==========================================================================
   CounterNaamJapa.com — Content, Article & Hub Page Styles
   Informational Sections, Guide Layouts, Cards Grid, FAQs & Devotional Notes
   ========================================================================== */

/* Main Content Area */
.content-section {
  padding: 44px 0 60px;
}

.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 12px 0 16px;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Rich Article Prose */
.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.prose p {
  margin-bottom: 22px;
}

.prose h2 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 44px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 28px 0 12px;
}

.prose ul, .prose ol {
  margin: 0 0 24px 24px;
}

.prose li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.prose strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Devotional Sanskrit Verse / Mantra Box */
.mantra-verse-box {
  background: var(--bg-accent-subtle);
  border: 1px solid rgba(249, 123, 20, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 28px 0;
  text-align: center;
  position: relative;
}

.mantra-verse-devanagari {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

[data-theme="dark"] .mantra-verse-devanagari {
  color: var(--primary-light);
}

.mantra-verse-transliteration {
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.mantra-verse-meaning {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Callout Alert Boxes */
.callout {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 26px 0;
  border-left: 4px solid;
}

.callout-devotional {
  background: var(--bg-accent-subtle);
  border-color: var(--primary);
  color: var(--text-main);
}

.callout-info {
  background: var(--bg-subtle);
  border-color: var(--gold);
  color: var(--text-main);
}

.callout-title {
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive Table */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.custom-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.custom-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: var(--bg-accent-subtle);
}

/* Sacred Cards Grid (Mantra Hubs & Guides) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0 44px;
}

.sacred-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.sacred-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.sacred-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.sacred-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sacred-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.sacred-card-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FAQ Accordion Section */
.faq-section {
  margin: 48px 0;
}

.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.faq-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: rgba(249, 123, 20, 0.4);
}

.faq-question-btn {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Trust, Author & Disclaimer Card */
.trust-banner-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.trust-icon {
  font-size: 2rem;
  line-height: 1;
}

.trust-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.trust-content p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
