/* =========================================================
   First Due Hauling — Blog styles
   Extends styles.css. Drop this file at /blog-styles.css
   and link it from blog pages.
   ========================================================= */

/* Make post cards visible by default (the homepage uses a JS
   reveal animation; blog cards should be visible even without
   the animation running). */
.post-card.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------- Blog: shared layout ---------- */

.blog-hero {
  background: linear-gradient(180deg, #1a1a1a 0%, #232323 100%);
  color: #f5f5f5;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.blog-hero .eyebrow {
  color: #ffd1c2;
}

.blog-hero__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 1rem;
  color: #fff;
}

.blog-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0;
}

.blog-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.blog-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  background: #fafafa;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
}

.breadcrumbs__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  color: #666;
}

.breadcrumbs a {
  color: #b91c1c;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs__sep {
  margin: 0 0.5rem;
  color: #bbb;
}

/* ---------- Article body ---------- */

.article {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.article__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: "Inter", system-ui, sans-serif;
  color: #2b2b2b;
  font-size: 1.075rem;
  line-height: 1.75;
}

.article__inner > p {
  margin: 0 0 1.25rem;
}

.article__inner h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin: 2.75rem 0 1rem;
  color: #1a1a1a;
  letter-spacing: -0.005em;
}

.article__inner h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 2rem 0 0.5rem;
  color: #1a1a1a;
}

.article__inner ul,
.article__inner ol {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.article__inner li {
  margin-bottom: 0.5rem;
}

.article__inner a {
  color: #b91c1c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article__inner a:hover {
  color: #7f1d1d;
}

.article__inner strong {
  color: #1a1a1a;
}

.article__inner blockquote {
  border-left: 3px solid #b91c1c;
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: #444;
}

/* Pull-quote / callout box */
.callout {
  background: #fff7f5;
  border: 1px solid #fdd2c8;
  border-left: 4px solid #b91c1c;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-size: 1.025rem;
}

.callout p {
  margin: 0;
}

/* ---------- Article footer / CTA ---------- */

.article-cta {
  background: #1a1a1a;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.article-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.article-cta h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
  color: #fff;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.075rem;
  margin: 0 0 1.75rem;
}

.article-cta__ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Blog index (list) ---------- */

.post-list {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: #fff;
}

.post-list__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #d4d4d4;
}

.post-card__category {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #b91c1c;
  margin-bottom: 0.5rem;
}

.post-card__title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
}

.post-card__excerpt {
  font-family: "Inter", sans-serif;
  font-size: 0.975rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.post-card__meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.875rem;
  margin-top: auto;
}

.post-card__read {
  color: #b91c1c;
  font-weight: 600;
}

/* Empty state */
.post-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  color: #888;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 640px) {
  .article__inner {
    font-size: 1.025rem;
  }
  .article-cta__ctas {
    flex-direction: column;
    align-items: stretch;
  }
}
