:root { --accent: #A8482E; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #FBF8F1;
  color: #1E1B16;
  font-family: 'Amiri', 'Noto Naskh Arabic', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #7E3220; }
p { margin: 0 0 22px 0; font-size: 22px; line-height: 1.85; }
h2 { margin: 72px 0 28px 0; font-family: 'Amiri', serif; font-weight: 700; font-size: 34px; line-height: 1.35; }

.wrap {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  background: #FBF8F1;
}
.col { width: 100%; max-width: 680px; box-sizing: border-box; }

/* Hero */
.hero {
  padding: 48px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.like-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 2px;
  margin: 2px 0;
  font-family: inherit;
}
.like-count { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13px; color: #7A6F62; }
.hero h1 { margin: 4px 0 0 0; font-family: 'Amiri', serif; font-weight: 700; font-size: 52px; line-height: 1.2; color: #1E1B16; }

/* Author bar */
.author-bar {
  margin: 8px 0 32px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.author-bar img {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
}
.author-bar .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13.5px; color: #7A6F62; }
.author-bar .meta .name { color: #1E1B16; font-weight: 600; }

/* Intro / story sections */
.intro { padding: 40px 0 0 0; }
.why { padding: 24px 0 0 0; }
.tight { margin-bottom: 6px; }

/* Pre-CTA */
.pre-cta { padding: 56px 0 0 0; }
.divider { width: 100%; height: 1px; background: #1E1B16; margin-bottom: 40px; }

/* Footer */
.footer { padding: 80px 0 96px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.footer .name { font-family: 'Amiri', serif; font-size: 30px; font-weight: 700; }
.footer .tagline { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; color: #7A6F62; }
.footer .copy { margin-top: 40px; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13px; color: #A1968A; }

@media (max-width: 520px) {
  .hero h1 { font-size: 40px; }
  p { font-size: 19px; }
}

/* Story-part pages */
.topbar { padding: 28px 0 0 0; display: flex; flex-direction: row; align-items: center; justify-content: space-between; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 14px; }
.topbar a { color: #7A6F62; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar .brand { display: flex; align-items: center; gap: 10px; color: #1E1B16; font-weight: 600; }
.part-head { padding: 72px 0 8px 0; text-align: center; }
.part-label { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px; }
.part-head h1 { margin: 0; font-family: 'Amiri', serif; font-weight: 700; font-size: 44px; line-height: 1.3; }
.part-body { padding: 48px 0 0 0; }
.pager { margin-top: 72px; padding-top: 28px; border-top: 1px solid #E3DACB; display: flex; flex-direction: row; justify-content: space-between; gap: 16px; font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; }
.pager a { text-decoration: none; font-weight: 600; }
.pager .muted { color: #A1968A; }
.cta { padding: 56px 0 0 0; display: flex; justify-content: center; }
.tg-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; background: #229ED9; color: #fff; border-radius: 999px; font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; font-size: 18px; text-decoration: none; }
.tg-btn:hover { color: #fff; background: #1B88BC; }
@media (max-width: 520px) { .part-head { padding-top: 48px; } .part-head h1 { font-size: 34px; } }
