@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Mukta:wght@400;500;600;700&family=Noto+Sans+Gurmukhi:wght@400;500;600;700&family=Noto+Serif+Gurmukhi:wght@500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@500;600;700;800;900&display=swap');

:root {
  --contrast: #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f7f8f9;
  --base-3: #ffffff;
  --accent: #1e73be;
  --header-gold: #e09718;
  --header-gold-hover: #c9820f;
  --heading-dark: #2c3e50;
  --gold-ornament: #f39c12;
  --border-color: #e5e7eb;
  --font-main: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-gurmukhi: 'Noto Serif Gurmukhi', 'Noto Sans Gurmukhi', serif;
  --font-hindi: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;
  --font-gurbani: 'Noto Serif Devanagari', 'Noto Serif Gurmukhi', serif;
  --font-sacred-hindi: 'Noto Serif Devanagari', 'Noto Sans Devanagari', serif;
  --font-sacred-punjabi: 'Noto Serif Gurmukhi', 'Noto Sans Gurmukhi', serif;
  
  --page-bg: #fdfaf3;
  --page-border: #c8a45a;
  --page-ornament: #8b6914;
  --badge-bg: #f5ecd6;
  --badge-border: #b8942e;
  --verse-ink: #1c1810;

  --gurbani-size: 1.34rem;
  --gurbani-lh: 2.15;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: ltr;
}

body {
  background-color: var(--base-2);
  color: var(--contrast);
  font-family: var(--font-main);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  direction: ltr;
  text-align: left;
}

a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--contrast);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--header-gold);
  color: #222222;
  padding: 8px 16px;
  z-index: 10000;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 10px;
}

.site-header {
  background-color: var(--header-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.inside-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: var(--header-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
  line-height: 1;
}

.main-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0;
}

.main-title a {
  color: var(--contrast);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-title a:hover {
  color: #000000;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  color: var(--contrast);
  text-decoration: none;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav li:hover > a {
  color: var(--accent);
  background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-icon {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.main-nav li:hover .dropdown-icon,
.main-nav li.open .dropdown-icon {
  transform: rotate(180deg);
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--header-gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border-radius: 4px;
  list-style: none;
  margin: 0;
}

.sub-menu li {
  width: 100%;
}

.sub-menu li a {
  color: var(--contrast);
  padding: 9px 18px;
  font-size: 0.90rem;
  font-weight: 500;
  border-radius: 0;
  white-space: normal;
  line-height: 1.4;
  display: block;
}

.sub-menu li a:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--contrast);
  padding-left: 22px;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.open > .sub-menu {
  display: flex;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.25);
  color: var(--contrast);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.15rem;
}

.site {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  flex: 1;
  width: 100%;
}

.inside-article {
  background: var(--base-3);
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-radius: 4px;
}

.entry-content h1,
.entry-content h2, 
.entry-content h3, 
.entry-content h4,
.entry-header h1.entry-title {
  text-align: center;
  color: var(--heading-dark); 
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 25px;
  line-height: 1.35;
}

.entry-content h1, .entry-header h1.entry-title {
  font-size: 2.1rem;
}

.entry-content h2 {
  font-size: 1.7rem;
}

.entry-content h3 {
  font-size: 1.35rem;
}

.entry-content h1::before,
.entry-content h2::before, 
.entry-content h3::before, 
.entry-content h4::before,
.entry-header h1.entry-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold-ornament);
  background-color: #fff;
  z-index: 2;
}

.entry-content h1::after,
.entry-content h2::after, 
.entry-content h3::after, 
.entry-content h4::after,
.entry-header h1.entry-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background-color: var(--gold-ornament);
  z-index: 1;
}

p {
  margin-bottom: 1.4rem;
  color: #333333;
  text-align: left;
}

.lead-p {
  font-size: 1.15rem;
  line-height: 1.85;
  text-align: left;
}

.entry-content ul,
.entry-content ol {
  margin: 15px 0 24px 28px;
  padding-left: 10px;
  text-align: left;
}

.entry-content li {
  margin-bottom: 8px;
  color: #333333;
  text-align: left;
  line-height: 1.7;
}

.gb-button-wrap {
  text-align: center;
  margin: 25px 0 35px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--header-gold);
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(224, 151, 24, 0.35);
}

.gb-btn:hover {
  background-color: var(--header-gold-hover);
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(224, 151, 24, 0.45);
}

.gb-btn-secondary {
  background-color: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.gb-btn-secondary:hover {
  background-color: #e2e8f0;
  color: #0f172a !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.gb-btn-small {
  padding: 8px 20px;
  font-size: 0.92rem;
}

.btn-download-pdf {
  font-weight: 700;
}

.audio-player-card {
  background: linear-gradient(135deg, #fdf8f0 0%, #faebd7 100%);
  border: 1px solid #f3d19e;
  border-left: 4px solid var(--header-gold);
  border-radius: 8px;
  padding: 8px 16px;
  margin: 16px 0 24px 0;
  box-shadow: 0 2px 8px rgba(229, 137, 24, 0.06);
}

.audio-inner-compact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.audio-header-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.audio-icon-compact {
  font-size: 1.15rem;
}

.audio-title-compact {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
}

.audio-control-wrap {
  flex: 1;
  min-width: 250px;
}

.site-audio-player {
  width: 100%;
  height: 36px;
  outline: none;
}

.audio-player-wrapper {
  background: #fffbf5;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 24px;
  margin: 25px auto 35px;
  text-align: center;
  max-width: 700px;
}

.audio-player-wrapper audio {
  width: 100%;
  max-width: 600px;
  margin: 10px auto 0;
  display: block;
}

.wp-block-table {
  overflow-x: auto;
  margin: 25px 0 35px 0;
}

.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--border-color);
  text-align: left;
}

.wp-block-table th {
  background-color: var(--header-gold);
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #d48b11;
}

.wp-block-table td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  color: #333333;
  text-align: left;
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.wp-block-table tbody tr:hover {
  background-color: #fffbf2;
}

.prayer-lyrics-section {
  text-align: center;
  margin: 30px auto;
  max-width: 960px;
  width: 100%;
  box-sizing: border-box;
}

.sacred-manglacharan-banner {
  background: linear-gradient(180deg, #fffdf8 0%, #fff9ec 100%);
  border: 2px solid var(--page-border);
  border-radius: 12px;
  padding: 26px 20px 22px;
  margin: 0 auto 35px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(180, 115, 20, 0.08);
}

.sacred-ik-onkar {
  font-size: 3.2rem;
  font-family: 'Noto Sans Gurmukhi', var(--font-gurbani);
  color: var(--heading-dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.sacred-header-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading-dark);
  font-family: var(--font-gurbani);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.sacred-header-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #854d0e;
  font-family: var(--font-gurbani);
}

.ashtpadi-section {
  margin-bottom: 45px;
  padding-bottom: 35px;
  border-bottom: 2px dashed #fbd38d;
  text-align: center;
  transition: background-color 0.4s ease;
  scroll-margin-top: 80px;
}

.ashtpadi-section:last-child {
  border-bottom: none;
}

.ashtpadi-header-badge {
  background: linear-gradient(135deg, #fff3cd 0%, #fef3c7 100%);
  border: 1.5px solid #fde68a;
  color: #78350f;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 1.22rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px auto 24px;
  font-family: var(--font-gurbani);
  box-shadow: 0 2px 8px rgba(180, 115, 20, 0.1);
  letter-spacing: 0.4px;
}

.ashtpadi-header-badge .ornament-leaf {
  color: #d97706;
  font-size: 0.95rem;
}

.salok-block {
  background: #fffdf7;
  border: 1.5px solid #fce7b2;
  border-top: 3px solid var(--header-gold);
  border-bottom: 3px solid var(--header-gold);
  padding: 22px 24px;
  border-radius: 8px;
  margin: 16px auto 26px;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(224, 151, 24, 0.06);
  scroll-margin-top: 80px;
}

.salok-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #92400e;
  margin-bottom: 12px;
  text-align: center;
  font-family: var(--font-gurbani);
}

.salok-verse {
  text-align: center;
}

.rahao-wrapper {
  text-align: center;
  margin: 16px auto 26px;
}

.rahao-block {
  display: inline-block;
  background: #fef9ee;
  color: #78350f;
  border: 1.5px dashed #d97706;
  border-radius: 8px;
  padding: 10px 22px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.08);
}

.rahao-verse-line {
  font-family: var(--font-gurbani);
  font-size: calc(var(--gurbani-size) * 1.02);
  font-weight: 700;
  line-height: var(--gurbani-lh);
  color: #78350f;
  margin: 4px 0;
  text-align: center;
}

.pauris-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.pauri-container {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  text-align: center;
  scroll-margin-top: 80px;
  transition: all 0.25s ease;
}

.pauri-container:hover {
  border-color: #fde68a;
  box-shadow: 0 4px 12px rgba(224, 151, 24, 0.08);
}

.pauri-header {
  text-align: center;
  margin-bottom: 14px;
}

.pauri-title-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  padding: 4px 14px;
  border-radius: 16px;
  display: inline-block;
  border: 1px solid #e2e8f0;
  font-family: var(--font-gurbani);
}

.pauri-lines {
  text-align: center;
}

.verse-line {
  font-family: var(--font-gurbani);
  font-size: var(--gurbani-size);
  line-height: var(--gurbani-lh);
  color: var(--verse-ink);
  font-weight: 600;
  margin: 6px 0;
  text-align: center;
  letter-spacing: 0.3px;
}

.highlight-pulse {
  animation: pulseGold 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pulseGold {
  0% {
    background-color: rgba(254, 240, 138, 0.8);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.4);
    border-radius: 8px;
  }
  70% {
    background-color: rgba(254, 240, 138, 0.3);
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .sacred-manglacharan-banner {
    padding: 18px 12px;
    margin-bottom: 24px;
  }
  .sacred-ik-onkar {
    font-size: 2.6rem;
  }
  .sacred-header-title {
    font-size: 1.35rem;
  }
  .sacred-header-subtitle {
    font-size: 1.05rem;
  }
  .ashtpadi-header-badge {
    font-size: 1.05rem;
    padding: 8px 16px;
    margin-bottom: 18px;
  }
  .salok-block, .pauri-container {
    padding: 16px 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .verse-line {
    margin: 5px 0;
    line-height: 1.9;
  }
  .rahao-block {
    padding: 8px 14px;
    width: 100%;
    box-sizing: border-box;
  }
}

.language-section-grid,
.category-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.language-card,
.category-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 24px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.language-card:hover,
.category-article-card:hover {
  transform: translateY(-2px);
  border-color: var(--header-gold);
  box-shadow: 0 4px 12px rgba(224, 151, 24, 0.15);
}

.language-card h3,
.category-article-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.18rem;
  color: var(--heading-dark);
  text-align: left;
}
.language-card h3::before, .language-card h3::after,
.category-article-card h3::before, .category-article-card h3::after {
  display: none !important;
}

.language-card p,
.category-article-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 16px;
  flex-grow: 1;
  text-align: left;
}

.concluding-salutation {
  text-align: left;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading-dark);
  font-family: var(--font-gurbani);
  margin: 40px 0 20px 0;
  line-height: 1.6;
}

.faq-section {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  border-color: #f3d19e;
  background: #fffdf9;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-dark);
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: left;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--header-gold);
  background: rgba(224, 151, 24, 0.04);
}

.faq-toggle-icon {
  font-size: 0.85rem;
  color: #888888;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 12px;
  flex-shrink: 0;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--header-gold);
}

.faq-answer {
  padding: 0 20px 18px 20px;
  border-top: 1px dashed #f1f5f9;
  padding-top: 14px;
}

.faq-answer p {
  color: #475569;
  line-height: 1.7;
  text-align: left !important;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.faq-list-block {
  margin: 30px 0;
  max-width: 900px;
}

.faq-list-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
  text-align: left;
}

.faq-list-item:last-child {
  border-bottom: none;
}

.faq-list-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 8px;
  text-align: left !important;
  padding-bottom: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.faq-list-question::before, .faq-list-question::after {
  display: none !important;
}

.faq-list-answer {
  color: #475569;
  line-height: 1.7;
  text-align: left;
  padding: 6px 0;
}

.faq-list-answer p {
  margin-bottom: 0;
  text-align: left;
}

.site-footer {
  background-color: var(--base-3);
  border-top: 1px solid #e5e7eb;
  color: var(--contrast-2);
  margin-top: 50px;
}

.inside-site-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.footer-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.menu-footer {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu-footer a {
  color: var(--contrast-2);
  text-decoration: none;
  font-size: 0.95rem;
}

.menu-footer a:hover {
  color: var(--header-gold);
  text-decoration: underline;
}

.copyright-bar {
  text-align: center;
  font-size: 0.9rem;
  color: var(--contrast-2);
}

.copyright-bar a {
  color: var(--contrast-2);
}

.generate-back-to-top {
  font-size: 18px;
  border-radius: 3px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  line-height: 40px;
  width: 40px;
  height: 40px;
  text-align: center;
  z-index: 100;
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.generate-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.generate-back-to-top:hover {
  background-color: rgba(0,0,0,0.8);
  color: #ffffff;
}

.language-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 25px 0 35px;
}

.language-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--header-gold);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.language-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.entry-content .language-card h3 {
  font-size: 1.18rem !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
  position: static;
  text-align: left;
}

.entry-content .language-card h3::before,
.entry-content .language-card h3::after {
  display: none !important;
  content: none !important;
}

.language-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-gold);
    padding: 12px 0;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  }

  .main-navigation .main-nav.active {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    padding: 10px 20px;
  }

  .main-nav .sub-menu {
    position: static;
    display: none !important;
    background-color: rgba(0, 0, 0, 0.08);
    box-shadow: none;
    padding-left: 15px;
  }

  .main-nav li.open > .sub-menu {
    display: flex !important;
  }

  .inside-article {
    padding: 24px 18px;
  }

  .entry-content h1, .entry-header h1.entry-title {
    font-size: 1.6rem;
  }

  .entry-content h2 {
    font-size: 1.35rem;
  }

  .audio-player-card {
    padding: 12px 14px;
    margin: 16px 0 20px 0;
  }

  .audio-inner-compact {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .audio-control-wrap {
    width: 100%;
    min-width: 0;
  }

  .site-audio-player {
    height: 40px;
  }

  .gb-button-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px !important;
  }

  .gb-btn, .btn-download-pdf {
    width: auto;
    max-width: 90%;
    text-align: center;
    margin: 0 auto !important;
    padding: 8px 22px;
    font-size: 0.95rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .gb-btn-small {
    padding: 6px 18px;
    font-size: 0.88rem;
    min-height: 34px;
    width: auto;
    align-self: center;
  }
}

.blog-intro-hero {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 10px 0 30px;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 30px;
  justify-content: center;
}

.blog-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.90rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.blog-filter-btn:hover {
  border-color: #b45309;
  color: #b45309;
  background: #fffaf0;
  transform: translateY(-1px);
}

.blog-filter-btn.active {
  background: #b45309;
  color: #ffffff;
  border-color: #b45309;
  box-shadow: 0 3px 8px rgba(180, 83, 9, 0.25);
}

.blog-search-wrap {
  max-width: 550px;
  margin: 0 auto 30px;
}

.blog-search-input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-search-input:focus {
  border-color: #b45309;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--header-gold);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-top-color: #b45309;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.blog-card h3 {
  font-size: 1.22rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.4 !important;
}

.blog-card h3 a {
  color: #1e293b;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: #b45309;
}

.blog-card h3::before,
.blog-card h3::after {
  display: none !important;
  content: none !important;
}

.blog-card-excerpt {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 8px;
}

.blog-card-time {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #b45309;
  text-decoration: none;
  transition: color 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-link:hover {
  color: #78350f;
  transform: translateX(3px);
  text-decoration: underline;
}

.category-group-header {
  margin: 45px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fed7aa;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-group-header h2 {
  font-size: 1.45rem !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: #b45309 !important;
}

.category-group-header h2::before,
.category-group-header h2::after {
  display: none !important;
}

.concluding-salutation {
  text-align: center !important;
  font-weight: 700 !important;
  color: #b45309 !important;
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  margin: 35px auto 25px !important;
}

body {
  padding-bottom: 60px;
}

.generate-back-to-top {
  bottom: 72px;
}

.sticky-audio-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0c1da6;
  color: #ffffff;
  z-index: 1050;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.22);
  padding: 8px 18px;
  transition: transform 0.25s ease;
}

.sticky-audio-bar.collapsed {
  transform: translateY(100%);
  pointer-events: none;
}

.sticky-audio-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sticky-audio-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sa-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 4px;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.sa-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.sa-play-btn {
  font-size: 1.2rem;
  min-width: 30px;
}

.sticky-audio-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sa-vol-slider {
  width: 68px;
  height: 4px;
  accent-color: #ffffff;
  cursor: pointer;
}

.sticky-audio-progress-wrap {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sticky-audio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  line-height: 1.1;
}

.sa-title {
  font-weight: 500;
  color: #ffffff;
}

.sa-time {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.9);
}

.sa-progress {
  width: 100%;
  height: 4px;
  accent-color: #ffffff;
  cursor: pointer;
  margin: 0;
}

.sa-collapse-btn {
  font-size: 1.35rem;
  padding: 2px 8px 6px;
  flex-shrink: 0;
}

.sticky-audio-restore {
  position: fixed;
  bottom: 14px;
  left: 16px;
  background: #0c1da6;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 1050;
  display: none;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.sticky-audio-restore.visible {
  display: inline-flex;
}

@media (max-width: 640px) {
  .sticky-audio-bar {
    padding: 8px 10px;
  }
  .sticky-audio-inner {
    gap: 8px;
  }
  .sa-vol-slider {
    display: none;
  }
}

.prayer-lyrics-section:has(.simple-scripture) {
  max-width: 100%;
}

.simple-scripture {
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
  color: #1e293b;
}

.simple-manglacharan {
  font-size: 1.25rem;
  font-weight: 400;
  color: #1e293b;
  margin: 6px 0 8px;
}

.simple-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 24px;
}

.simple-ashtpadi {
  margin-bottom: 32px;
}

.simple-scripture .simple-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #78350f;
  text-align: center;
  margin: 22px 0 10px;
}

.simple-salok-block {
  margin: 0 0 16px;
}

.simple-pauri-block {
  margin: 0 0 22px;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.simple-line {
  font-size: 1.18rem;
  line-height: 1.95;
  margin: 0;
}

.simple-salok-line {
  font-size: 1.18rem;
  font-weight: 400;
}

.contact-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: inherit;
  color: #1e293b;
  background: #ffffff;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.contact-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 500;
}
