/*
 * Shared styles for /blog/ pages. The rest of the site keeps its inline
 * styles; blog pages share this one sheet so every post stays consistent
 * without repeating the whole design in each file.
 */

body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #f9fbfd 0%, #ecf2f6 62%, #e5edf1 100%);
  background-attachment: fixed;
  font-family: Manrope, -apple-system, system-ui, sans-serif;
  color: #5f686f;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header / nav (mirrors index.html) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(249, 251, 253, 0.72);
  border-bottom: 1px solid rgba(80, 100, 120, 0.08);
}
.nav-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-orb {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fdfeff 0%, #eef5fd 30%, #a3c6f2 72%, #7caee8 100%);
  box-shadow: 0 3px 9px rgba(120, 170, 232, 0.35);
  display: block;
}
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 20px; color: #3a434a; letter-spacing: .2px;
}
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 400; letter-spacing: .2px; }
.navlink { color: #76828a; text-decoration: none; transition: color .2s ease; }
.navlink:hover { color: #5d97cf; }
.navlink.active { color: #5d97cf; font-weight: 500; }

/* ---------- page shells ---------- */

.blog-wrap { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ---------- blog index ---------- */

.blog-hero { padding: 96px 0 30px; text-align: center; }
.blog-hero .kicker {
  font-size: 12.5px; letter-spacing: 2.6px; text-transform: uppercase;
  color: #9ab4c7; font-weight: 500; margin-bottom: 22px;
}
.blog-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-size: clamp(34px, 5.4vw, 52px); line-height: 1.1;
  color: #343d43; margin: 0 0 20px; letter-spacing: -0.3px;
}
.blog-hero p {
  max-width: 560px; margin: 0 auto; font-size: 17px; line-height: 1.75;
  font-weight: 300; color: #5f686f;
}

.post-list { padding: 40px 0 90px; display: flex; flex-direction: column; gap: 22px; }
.post-card {
  display: block; text-decoration: none;
  border: 1px solid rgba(80, 100, 120, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  padding: 30px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(120, 160, 232, 0.14);
  border-color: rgba(124, 174, 232, 0.4);
}
.post-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 26px; line-height: 1.25;
  color: #343d43; margin: 0 0 10px;
}
.post-card p { font-size: 15px; line-height: 1.7; font-weight: 300; color: #6a737a; margin: 0 0 14px; }
.post-card .card-meta { font-size: 12.5px; letter-spacing: .4px; color: #9ab4c7; font-weight: 400; }

/* ---------- article pages ---------- */

article.post { padding: 84px 0 30px; }
.post-kicker {
  font-size: 12.5px; letter-spacing: 2.6px; text-transform: uppercase;
  color: #9ab4c7; font-weight: 500; margin-bottom: 20px;
}
.post-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-size: clamp(32px, 5.2vw, 46px); line-height: 1.14;
  color: #343d43; margin: 0 0 16px; letter-spacing: -0.3px;
}
.post-meta { font-size: 13px; color: #92a0a8; font-weight: 300; letter-spacing: .3px; margin-bottom: 40px; }

article.post h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 28px; line-height: 1.3;
  color: #343d43; margin: 46px 0 14px; letter-spacing: -0.1px;
}
article.post h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 21px; line-height: 1.35;
  color: #343d43; margin: 32px 0 8px;
}
article.post p { font-size: 16.5px; line-height: 1.85; font-weight: 300; margin: 0 0 20px; }
article.post ul, article.post ol { padding-left: 24px; margin: 0 0 20px; }
article.post li { font-size: 16.5px; line-height: 1.8; font-weight: 300; margin-bottom: 10px; }
article.post a { color: #5d97cf; text-decoration: none; border-bottom: 1px solid rgba(93, 151, 207, 0.35); }
article.post a:hover { border-bottom-color: rgba(93, 151, 207, 0.8); }
article.post strong { font-weight: 500; color: #49525a; }

/* scripture pull-quotes */
blockquote.verse {
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid rgba(124, 174, 232, 0.55);
}
blockquote.verse p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: 20px; line-height: 1.6; color: #49525a;
  margin: 0 0 6px;
}
blockquote.verse cite {
  font-family: Manrope, sans-serif; font-style: normal;
  font-size: 13px; letter-spacing: .6px; color: #9ab4c7; font-weight: 400;
}

/* soft app CTA */
.cta-box {
  margin: 56px 0 20px;
  padding: 38px 34px;
  border: 1px solid rgba(124, 174, 232, 0.3);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(214, 231, 250, 0.55), rgba(255, 255, 255, 0.5) 70%);
  text-align: center;
}
/* scoped under article.post so these outrank the generic article h2/p rules */
article.post .cta-box h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-size: 28px; color: #343d43; margin: 0 0 12px;
}
article.post .cta-box p {
  max-width: 460px; margin: 0 auto 24px; font-size: 15.5px;
  line-height: 1.7; font-weight: 300; color: #6a737a;
}
.store-btn { display: inline-block; transition: opacity .2s ease, transform .2s ease; }
.store-btn:hover { opacity: .82; transform: translateY(-1px); }
.store-btn img { display: block; height: 54px; width: auto; }

/* related posts */
.related { padding: 30px 0 20px; border-top: 1px solid rgba(80, 100, 120, 0.09); margin-top: 44px; }
.related h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 22px; color: #343d43; margin: 0 0 16px;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin-bottom: 10px; font-size: 15px; font-weight: 300; }
.related a { color: #5d97cf; text-decoration: none; border-bottom: 1px solid rgba(93, 151, 207, 0.35); }

/* ---------- footer (mirrors index.html) ---------- */

.site-footer { margin-top: 72px; border-top: 1px solid rgba(80, 100, 120, 0.1); }
.footer-inner {
  max-width: 880px; margin: 0 auto; padding: 46px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-orb {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #fdfeff 0%, #eef5fd 30%, #a3c6f2 72%, #7caee8 100%);
  display: block;
}
.footer-name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 18px; color: #343d43; }
.footer-links { display: flex; gap: 22px; font-size: 13px; color: #92a0a8; }
.footlink { color: #92a0a8; text-decoration: none; transition: color .2s ease; }
.footlink:hover { color: #5d97cf; }
.footer-copy { font-size: 12.5px; color: #a6b3bb; font-weight: 300; width: 100%; text-align: center; padding-top: 8px; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .nav-wrap { gap: 14px; row-gap: 6px; flex-wrap: wrap; justify-content: center; }
  .site-nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .post-card { padding: 24px 22px; }
  article.post { padding-top: 60px; }
}
