/* Shared styles for Ask Krishna Ji legal pages */
:root {
  --bg: #1A1A2E;
  --card: #232342;
  --gold: #F38B2A;
  --gold-light: #FFB85C;
  --text: #F5F5F5;
  --text-muted: #B8B8C8;
  --border: rgba(243, 139, 42, 0.2);
  --section-bg: rgba(243, 139, 42, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  padding: 24px 16px;
}

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

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.back-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(243, 139, 42, 0.08);
  transition: all 0.2s;
}
.back-link:hover {
  background: rgba(243, 139, 42, 0.18);
}

.brand {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* Document title block */
.doc-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.doc-header .badge {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.doc-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.doc-header .updated {
  color: var(--text-muted);
  font-size: 13px;
}

/* Section group heading */
.group-heading {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* Section card */
.section {
  background: var(--card);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.section-number {
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  min-width: 32px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.section p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 15px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
}

.section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.section ul li::before {
  content: "•";
  color: var(--gold);
  font-weight: 800;
  position: absolute;
  left: 4px;
  top: 0;
}

/* Footer */
footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 40px;
  padding: 24px;
  border-top: 1px solid var(--border);
}

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

footer a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 600px) {
  body {
    padding: 16px 12px;
  }
  .doc-header h1 {
    font-size: 22px;
  }
  .section {
    padding: 18px 16px;
  }
  .section-title {
    font-size: 15px;
  }
}
