/* Blog styles — matches the main ignition-repair.com design system */

.blog-wrap {
  /* top padding clears the fixed-height horizontal header below */
  padding: 150px 0 70px 0;
}

/* Content pages (blog + legal) load this file; the homepage does NOT.
   Turn the homepage's tall vertical nav column into a clean horizontal
   top bar so long breadcrumbs/titles never run under the menu. Desktop only —
   the mobile full-screen overlay menu (<=991px) is left untouched. */
@media (min-width: 992px) {
  .header {
    padding: 26px 0;
  }
  .header__body {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .header-menu {
    padding-top: 0;
  }
  .header-menu__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
  }
  .header-menu__list li {
    margin-bottom: 0;
  }
  .header-menu__list li a {
    padding: 9px 15px;
    font-size: 15px;
  }
  .header-logo {
    margin-top: 0;
  }
}

.blog-hero {
  text-align: center;
  padding: 30px 0 10px 0;
}
.blog-hero__title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  color: #141414;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.blog-hero__subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #3a3a3a;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 15px;
  color: #68727A;
  margin-bottom: 22px;
}
.breadcrumb a { color: #68727A; text-decoration: none; }
.breadcrumb a:hover { color: #141414; }
.breadcrumb span { color: #141414; }

/* Category filter row */
.blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 40px 0;
}
.blog-cats__item {
  font-size: 15px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 24px;
  background: #fff;
  color: #141414;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(23, 25, 28, 0.05);
  transition: all 0.2s ease;
}
.blog-cats__item:hover,
.blog-cats__item.is-active {
  background: #F2C94C;
}

/* Card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #141414;
  box-shadow: 0 6px 18px rgba(23, 25, 28, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(23, 25, 28, 0.10);
}
.blog-card__body {
  padding: 26px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card__tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #E3F4FF;
  color: #141414;
  margin-bottom: 16px;
}
.blog-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}
.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3a;
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #68727A;
}
.blog-card__read {
  font-weight: 700;
  color: #141414;
}

/* Section label between groups */
.blog-section-label {
  font-size: 30px;
  font-weight: 700;
  color: #141414;
  margin: 55px 0 26px 0;
  letter-spacing: -0.5px;
}
.blog-section-label:first-of-type { margin-top: 10px; }

/* ---------- Article page ---------- */
.post {
  max-width: 840px;
  margin: 0 auto;
}
.post__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #F2C94C;
  color: #141414;
  margin-bottom: 20px;
}
.post__title {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  color: #141414;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.post__meta {
  font-size: 15px;
  color: #68727A;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid #D9D9D9;
}
.post__card {
  background: #fff;
  border-radius: 28px;
  padding: 46px 52px;
  box-shadow: 0 6px 22px rgba(23, 25, 28, 0.05);
}
.post__card p {
  font-size: 17px;
  line-height: 1.72;
  color: #2a2f34;
  margin-bottom: 20px;
}
.post__h2 {
  font-size: 30px;
  font-weight: 700;
  color: #141414;
  letter-spacing: -0.5px;
  margin: 38px 0 16px 0;
  line-height: 1.2;
}
.post__h3 {
  font-size: 22px;
  font-weight: 600;
  color: #141414;
  margin: 28px 0 12px 0;
  line-height: 1.25;
}
.post__list {
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
}
.post__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.65;
  color: #2a2f34;
}
.post__list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F2C94C;
}
.post__quote {
  margin: 28px 0;
  padding: 22px 28px;
  background: #E3F4FF;
  border-left: 4px solid #F2C94C;
  border-radius: 0 16px 16px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #141414;
  font-weight: 500;
}
.post__card a { color: #1c7ac2; text-decoration: underline; }
.post__card a:hover { color: #141414; }

/* Inline CTA box */
.post-cta {
  margin: 40px auto 0 auto;
  max-width: 840px;
  background: #141414;
  color: #fff;
  border-radius: 28px;
  padding: 40px 46px;
  text-align: center;
}
.post-cta__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.post-cta__text {
  font-size: 17px;
  line-height: 1.6;
  color: #cfd6dc;
  margin-bottom: 26px;
}
.post-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F2C94C;
  color: #141414;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(242, 201, 76, 0.3);
}
.post-cta__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(242, 201, 76, 0.4);
}

/* Article FAQ reuses .faq-item from style.css */
.post-faq {
  max-width: 840px;
  margin: 46px auto 0 auto;
}
.post-faq__title {
  font-size: 30px;
  font-weight: 700;
  color: #141414;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* Related posts */
.post-related {
  max-width: 840px;
  margin: 50px auto 0 auto;
}
.post-related__title {
  font-size: 24px;
  font-weight: 700;
  color: #141414;
  margin-bottom: 20px;
}
.post-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.post-related__item {
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  text-decoration: none;
  color: #141414;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(23, 25, 28, 0.05);
  transition: all 0.2s ease;
}
.post-related__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(23, 25, 28, 0.10);
  border-left: 3px solid #F2C94C;
}

/* Responsive */
@media (max-width: 992px) {
  .blog-wrap { padding-top: 130px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero__title { font-size: 48px; }
  .post__title { font-size: 38px; }
  .post__card { padding: 36px 30px; }
  .breadcrumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero__title { font-size: 38px; }
  .post__title { font-size: 30px; }
  .post__card { padding: 28px 22px; }
  .post__card p, .post__list li { font-size: 16px; }
  .post__h2 { font-size: 25px; }
  .post-related__list { grid-template-columns: 1fr; }
  .post-cta { padding: 32px 24px; }
}
