/* Jeddy Blog — shared styles (matches main site design) */
:root {
  --cream: #F3EADC;
  --bg-warm: #FBF6EE;
  --bg-warm2: #F6EEDF;
  --teal: #246B5B;
  --teal-dark: #1C5446;
  --orange: #FB6A35;
  --coral: #E6633E;
  --tan: #D7C3A7;
  --ink: #2D2723;
  --ink-soft: #7A6E62;
  --surface: #FFFFFF;
  --radius: 22px;
  --shadow-soft: 0 18px 40px -20px rgba(45, 39, 35, 0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Baloo 2", system-ui, -apple-system, sans-serif;
  background: var(--bg-warm);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 195, 167, 0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--teal); text-decoration: none; }
.brandmark { display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .link { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-right .link:hover { color: var(--ink); }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream); border: 1px solid rgba(215, 195, 167, 0.6);
  color: var(--teal); font-weight: 800; font-size: 13px; text-decoration: none;
}
.lang:hover { background: var(--tan); }

/* ---------- blog index ---------- */
.blog-hero { padding: 56px 0 34px; text-align: center; }
.blog-hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.blog-hero h1 { font-size: clamp(30px, 5.4vw, 44px); font-weight: 800; line-height: 1.15; }
.blog-hero p { color: var(--ink-soft); font-size: 17px; margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

.post-list { display: grid; gap: 22px; padding: 26px 0 70px; }
.post-card {
  display: block; background: var(--surface); border-radius: var(--radius);
  padding: 28px 30px; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(215, 195, 167, 0.4); box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -22px rgba(45, 39, 35, 0.45); }
.post-card .tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); background: rgba(36, 107, 91, 0.10);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.post-card h2 { font-size: 22px; font-weight: 800; line-height: 1.3; }
.post-card p { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }
.post-card .meta { color: var(--ink-soft); font-size: 13px; margin-top: 14px; font-weight: 600; }

/* ---------- article ---------- */
.article-head { padding: 52px 0 10px; }
.article-head .crumbs { font-size: 14px; margin-bottom: 18px; }
.article-head .crumbs a { color: var(--teal); text-decoration: none; font-weight: 700; }
.article-head .crumbs span { color: var(--ink-soft); }
.article-head h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; line-height: 1.18; }
.article-head .meta { color: var(--ink-soft); font-size: 14px; margin-top: 14px; font-weight: 600; }

.article { padding: 8px 0 30px; font-size: 17px; }
.article p { margin: 16px 0; }
.article h2 { font-size: 25px; font-weight: 800; margin: 38px 0 6px; line-height: 1.25; }
.article h3 { font-size: 19px; font-weight: 800; margin: 26px 0 4px; }
.article ul, .article ol { margin: 14px 0 14px 24px; }
.article li { margin: 7px 0; }
.article a { color: var(--teal); font-weight: 700; }
.article strong { font-weight: 800; }

.lead-answer {
  background: var(--surface); border: 1px solid rgba(215, 195, 167, 0.5);
  border-radius: 16px; padding: 20px 24px; margin: 24px 0;
  box-shadow: var(--shadow-soft); font-size: 17.5px;
}

.checklist {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(215, 195, 167, 0.45);
  padding: 24px 28px; margin: 26px 0; box-shadow: var(--shadow-soft);
}
.checklist h3 { margin: 0 0 12px; font-size: 18px; }
.checklist ul { list-style: none; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin: 9px 0; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.tipbox {
  background: rgba(251, 106, 53, 0.08); border: 1px solid rgba(251, 106, 53, 0.25);
  border-radius: 16px; padding: 18px 22px; margin: 22px 0; font-size: 16px;
}
.tipbox b { color: var(--coral); }

.faq { margin: 10px 0 8px; }
.faq details {
  background: var(--surface); border-radius: 16px; border: 1px solid rgba(215, 195, 167, 0.45);
  padding: 16px 22px; margin: 10px 0;
}
.faq summary { font-weight: 800; font-size: 16.5px; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--orange); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 15.5px; margin: 10px 0 4px; }

/* ---------- CTA ---------- */
.cta-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius); padding: 38px 34px; margin: 44px 0 20px;
  text-align: center; color: #fff; box-shadow: var(--shadow-soft);
}
.cta-card h2 { color: #fff; font-size: 25px; font-weight: 800; margin: 0 0 8px; }
.cta-card p { color: rgba(255, 255, 255, 0.85); font-size: 16px; margin: 0 auto 20px; max-width: 480px; }
.btn-orange {
  display: inline-block; background: var(--orange); color: #fff;
  font-family: inherit; font-weight: 800; font-size: 16.5px;
  padding: 15px 34px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.45);
  transition: transform .15s ease;
}
.btn-orange:hover { transform: translateY(-2px); }

/* ---------- read next ---------- */
.read-next { padding: 8px 0 60px; }
.read-next h2 { font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.read-next .post-card { padding: 20px 24px; }
.read-next .post-card h2 { font-size: 18px; margin: 0; }

/* ---------- footer ---------- */
.foot {
  background: var(--teal-dark); color: rgba(255, 255, 255, 0.85);
  padding: 34px 0; margin-top: 30px;
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot .brand { color: #fff; font-size: 19px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.foot-copy { width: 100%; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 640px) {
  .article { font-size: 16.5px; }
  .post-card { padding: 22px 22px; }
  .cta-card { padding: 30px 22px; }
  .nav-right .link.hide-m { display: none; }
}
