/* Shri Chalisa — lightweight, responsive styles */
:root {
  color-scheme: light;
  --page-bg: #fff8e7;
  --text: #4b2e2e;
  --muted: #765b4b;
  --accent: #d84b16;
  --card: #fff3df;
  --border: #e0d5ba;
  --soft: #fff3df;
  --content-width: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Noto Sans Devanagari", "Mangal", sans-serif;
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover, a:focus-visible { text-decoration: underline; }

.container {
  width: min(var(--content-width), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 248, 231, 0.96);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-name {
  color: var(--accent);
  font-size: 24px;
  font-weight: 750;
  white-space: nowrap;
}

.site-header nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 15px;
}

.site-header nav a { color: var(--text); }

.intro {
  padding: 34px 0 18px;
  text-align: center;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 6vw, 36px);
  line-height: 1.35;
}

.intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.lyrics-card {
  margin: 18px 0 26px;
  padding: clamp(20px, 5vw, 38px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
}

.verse-heading {
  margin: 8px 0 20px;
  color: var(--accent);
  font-size: 23px;
  line-height: 1.5;
}

.verse {
  margin: 0 auto 23px;
}

.verse p {
  margin: 0;
  font-size: 20px;
  line-height: 1.85;
}

.jai-shri-ram {
  margin: 25px 0;
  color: var(--accent);
  font-weight: 750;
}

.ending {
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--soft);
}

.related-card h2 {
  margin-bottom: 2px;
  font-size: 22px;
}

.related-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.text-link { font-weight: 700; white-space: nowrap; }

.content-section {
  margin: 30px 0;
}

.content-section h2 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.4;
}

.content-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-section details {
  margin: 10px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}

.faq-section summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.faq-section details p {
  padding-top: 9px;
  font-size: 16px;
}

.site-footer {
  margin-top: 44px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner > p {
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 750;
}

.site-footer nav {
  justify-content: center;
  margin-bottom: 12px;
}

.site-footer nav a { color: var(--muted); }

.site-footer small {
  color: var(--muted);
  font-size: 13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .header-inner {
    min-height: 62px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-block: 8px;
  }
  .site-name { font-size: 22px; }
  .site-header nav { gap: 14px; font-size: 14px; }
  .intro { padding-top: 26px; }
  .intro p { font-size: 16px; }
  .lyrics-card { padding: 20px 12px; }
  .verse p { font-size: 18px; line-height: 1.85; }
  .related-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .content-section h2 { font-size: 23px; }
}
/* Header navigation - larger, darker and bolder */
.site-header nav a {
    color: #4b2e2e;
    font-size: 18px;
    font-weight: 700;
}

.site-header nav a:hover {
    color: #d84b16;
}