/* styles.css -- shared by both article and verse landing pages.
   Save at project root: kalam-web/styles.css */

:root {
  --gold: #FDB813;
  --gold-soft: #FFEBB0;
  --sky: #5FCBEA;
  --sky-soft: #C7ECF8;
  --indigo: #453A85;
  --indigo-deep: #32286E;
  --cream: #FFFBF2;
  --ink: #2B2440;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 48px;
}

.card {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(69, 58, 133, 0.12);
}

.card img.cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: linear-gradient(135deg, var(--sky-soft), var(--gold-soft));
  display: block;
}

.card-body {
  padding: 28px 26px 32px;
}

.lang-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.lang-toggle button {
  border: none;
  background: var(--sky-soft);
  color: var(--indigo-deep);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-toggle button.active {
  background: var(--indigo);
  color: white;
}

.lang-block { display: none; }
.lang-block.active { display: block; }
.lang-block[dir="rtl"] { text-align: right; }
.lang-block[dir="ltr"] { text-align: left; }

.meta-line {
  font-size: 13px;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--ink);
}

.summary {
  font-size: 15px;
  color: #6b6280;
  margin-bottom: 18px;
  line-height: 1.7;
}

.content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  white-space: pre-wrap;
  margin-bottom: 24px;
}

audio {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 999px;
}

a.button {
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--indigo-deep);
  padding: 15px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.brand {
  margin-top: 24px;
  font-size: 13px;
  color: #9b93ab;
  text-align: center;
}