/*
  joes-blog.css
  Styles for blog post pages under /blog/
  Loaded after joes-enhanced.css, joes-inner.css, joes-support.css
*/

/* Blog banner background handled by ::before/::after in joes-inner.css */

.blog-post-kicker {
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f15a24;
  margin-bottom: 10px;
}

/* ================================================================
   BLOG LAYOUT
================================================================ */
.blog-layout {
  padding-top: 44px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
}

/* ================================================================
   ARTICLE BODY
================================================================ */
.blog-post-body {
  font-size: 1.07em;
  line-height: 1.82;
  color: #333;
}

.blog-lead {
  font-size: 1.12em;
  line-height: 1.75;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f15a24;
}

.blog-post-body h2 {
  font-size: 1.3em;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 36px;
  margin-bottom: 14px;
}

.blog-post-body p {
  margin-bottom: 18px;
}

.blog-post-body a {
  color: #f15a24;
  text-decoration: none;
}

.blog-post-body a:hover { text-decoration: underline; }

.blog-post-body strong { color: #1a1a1a; }

/* Quick facts box */
.blog-quick-facts {
  background-color: #f9f6f2;
  border: 1px solid #e8e0d6;
  border-left: 4px solid #f15a24;
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 0 0 28px;
  font-size: 0.97em;
  color: #333;
}

.blog-quick-facts ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.blog-quick-facts li {
  margin-bottom: 5px;
  line-height: 1.55;
}

/* Callout box */
.blog-callout {
  background-color: #f9f6f2;
  border-left: 4px solid #f15a24;
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin: 28px 0;
}

.blog-callout p {
  margin: 0;
  font-size: 0.97em;
  color: #444;
}

/* ================================================================
   IN-ARTICLE CTA STRIP
================================================================ */
.blog-cta-strip {
  background-color: var(--dark-bg);
  color: #fff;
  border-radius: 6px;
  padding: 36px 24px;
  margin: 40px 0;
}

.blog-cta-strip p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05em;
  margin-bottom: 18px;
}

.blog-cta-strip .btn-primary-cta,
.blog-cta-strip .btn-secondary-cta {
  margin: 6px 8px;
}

/* ================================================================
   BLOG FAQ SECTION
================================================================ */
.blog-faq-section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 2px solid #e8e0d6;
}

.blog-faq-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 3px solid #f15a24;
}

.blog-faq-item {
  margin-bottom: 28px;
}

.blog-faq-q {
  font-size: 1.1em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.blog-faq-a {
  color: #444;
  font-size: 1.0em;
  line-height: 1.75;
  margin: 0;
}

.blog-faq-a a { color: #f15a24; }

/* ================================================================
   RELATED LINKS SIDEBAR
================================================================ */
.blog-related {
  position: sticky;
  top: 90px;
  background-color: #f9f6f2;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 24px 22px;
}

.blog-related-title {
  font-size: 1.0em;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f15a24;
}

.blog-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-related-list li {
  border-bottom: 1px solid #e8e0d6;
  padding: 9px 0;
  font-size: 0.97em;
}

.blog-related-list li:last-child { border-bottom: none; }

.blog-related-list a {
  color: #333;
  text-decoration: none;
  line-height: 1.4;
}

.blog-related-list a:hover { color: #f15a24; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .blog-related {
    position: static;
  }

  .blog-related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .blog-related-list li {
    padding: 8px 10px 8px 0;
  }
}

@media (max-width: 767px) {
  .blog-post-body { font-size: 0.98em; }
  .blog-lead { font-size: 1.04em; }

  .blog-related-list {
    grid-template-columns: 1fr;
  }
}
