/* Blog Katha Style — Inspired by Ancient Granthas */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Devanagari:wght@400;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --saffron: #FF6B35;
  --deep-saffron: #E55A2B;
  --gold: #D4A017;
  --sacred-red: #C41E3A;
  --parchment: #FFF8F0;
  --aged-paper: #F5E6D3;
  --ink: #2C1810;
  --verse-bg: #FFF3E0;
  --border-ornate: #D4A017;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Merriweather', 'Noto Serif Devanagari', Georgia, serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.9;
  font-size: 18px;
}

/* Header */
.blog-header {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.blog-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
.blog-header .logo img { height: 40px; border-radius: 8px; }
.blog-header .logo span {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.blog-header .nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}
.blog-header .nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.blog-header .nav-links a:hover { color: white; }

.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Article Hero */
.article-hero {
  background: linear-gradient(180deg, var(--aged-paper) 0%, var(--parchment) 100%);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.article-hero::after {
  content: '॥';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--parchment);
  padding: 0 20px;
  font-size: 24px;
  color: var(--gold);
  font-weight: bold;
}
.article-hero .category {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--saffron);
  margin-bottom: 15px;
}
.article-hero h1 {
  font-size: 2.4em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 700;
}
.article-hero .subtitle {
  font-size: 1.15em;
  color: #6B5B4E;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* Sanskrit/Hindi Verse Blocks */
.shloka {
  background: var(--verse-bg);
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  padding: 25px 30px;
  margin: 35px 0;
  text-align: center;
  position: relative;
  border-radius: 4px;
}
.shloka::before, .shloka::after {
  content: '❀';
  color: var(--gold);
  font-size: 16px;
  position: absolute;
  top: -10px;
}
.shloka::before { left: 20px; }
.shloka::after { right: 20px; }
.shloka .verse {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.2em;
  color: var(--sacred-red);
  line-height: 1.8;
  margin-bottom: 10px;
}
.shloka .translation {
  font-size: 0.9em;
  color: #6B5B4E;
  font-style: italic;
}

/* Story sections */
.katha-section {
  padding: 40px 0;
}
.katha-section h2 {
  font-size: 1.7em;
  color: var(--deep-saffron);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.katha-section h3 {
  font-size: 1.3em;
  color: var(--sacred-red);
  margin: 30px 0 15px;
}
.katha-section p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Story opener — large first letter */
.story-opener::first-letter {
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  margin: 5px 10px 0 0;
  color: var(--saffron);
  font-weight: 700;
}

/* Moral/Teaching callout */
.teaching {
  background: linear-gradient(135deg, #FFF8E1, #FFF3E0);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 25px 30px;
  margin: 35px 0;
  position: relative;
}
.teaching::before {
  content: '💡';
  position: absolute;
  top: -15px;
  left: 25px;
  font-size: 24px;
  background: var(--parchment);
  padding: 0 8px;
}
.teaching h4 {
  color: var(--deep-saffron);
  font-size: 1.1em;
  margin-bottom: 10px;
}

/* Benefits list */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.benefits-list li {
  padding: 12px 15px 12px 45px;
  margin: 8px 0;
  background: white;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.benefits-list li::before {
  content: '🙏';
  position: absolute;
  left: 12px;
  top: 12px;
}

/* Samagri (materials) table */
.samagri-box {
  background: white;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  margin: 35px 0;
}
.samagri-box h3 {
  text-align: center;
  color: var(--deep-saffron);
  margin-bottom: 20px;
}
.samagri-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.samagri-item {
  padding: 8px 12px;
  background: var(--verse-bg);
  border-radius: 6px;
  font-size: 0.95em;
}

/* CTA Section */
.book-cta {
  background: linear-gradient(135deg, var(--saffron), var(--deep-saffron));
  color: white;
  padding: 50px 30px;
  border-radius: 16px;
  text-align: center;
  margin: 50px 0;
}
.book-cta h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: white;
  border: none;
}
.book-cta p {
  font-size: 1.1em;
  opacity: 0.9;
  margin-bottom: 25px;
  text-align: center;
}
.book-cta .cta-btn {
  display: inline-block;
  background: white;
  color: var(--deep-saffron);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.book-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Chapter separator */
.chapter-break {
  text-align: center;
  margin: 45px 0;
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 10px;
}

/* Footer */
.blog-footer {
  background: #2C1810;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}
.blog-footer a { color: var(--saffron); text-decoration: none; }
.blog-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  padding: 15px 0;
  color: #8B7B6E;
}
.breadcrumb a { color: var(--saffron); text-decoration: none; }

/* Related posts */
.related-posts {
  padding: 50px 0;
  border-top: 2px solid var(--gold);
}
.related-posts h2 {
  text-align: center;
  color: var(--deep-saffron);
  margin-bottom: 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.related-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s;
}
.related-card:hover { transform: translateY(-3px); }
.related-card h3 { font-size: 1.1em; color: var(--deep-saffron); margin-bottom: 10px; }
.related-card p { font-size: 0.9em; color: #6B5B4E; }

/* Responsive */
@media (max-width: 768px) {
  .article-hero h1 { font-size: 1.7em; }
  .samagri-grid { grid-template-columns: 1fr; }
  .blog-header .nav-links { display: none; }
  body { font-size: 16px; }
  .shloka { padding: 20px; }
}
