/* A1 Roofing — blog (5 Oct 2026). Loaded only on /blog pages, on top of site.css. */
.post-hero h1 { text-transform: none; letter-spacing: .01em; font-weight: 700; max-width: 860px; }
.post-hero .crumbs { margin-bottom: 24px; }
.post-meta { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.post-meta time { color: var(--text); font-weight: 700; }

/* Article */
.post { min-width: 0; }
.post__hero { margin: 0 0 40px; }
.post__hero img { width: 100%; height: auto; max-height: 560px; object-fit: cover; display: block; }
.post__hero figcaption, .post__fig figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.post__fig { margin: 36px 0; }
.post__fig img { width: 100%; height: auto; display: block; }
.post__body { max-width: 70ch; }
.post__body > p, .post__body li { color: var(--text); }
.post__body p + p { margin-top: 16px; }
.post__body .lede { font-size: 1.15rem; line-height: 1.75; color: var(--ink, var(--heading)); }
.post__body h2, .post__faq h2, .post__services h2, .post__cta h2, .post-related__h {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); text-transform: none; letter-spacing: .01em; font-weight: 700;
  color: var(--heading); line-height: 1.3; margin: 48px 0 14px;
}
.post__body h3 { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin: 30px 0 8px; }
.post__body ul, .post__body ol { margin: 16px 0; padding-left: 1.3em; display: grid; gap: 8px; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li::marker { color: var(--blue); }
.post__body a, .post__services a, .post-grid__note a, .post__note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--blue-dark, var(--blue)); }
.post__note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* Cost table */
.post__table { overflow-x: auto; margin: 20px 0 6px; border: 1px solid var(--line); }
/* Bug sweep 13 Oct 2026: swipe cue. A soft edge shadow shows on whichever side still has
   columns to scroll to (scroll-shadow technique; it disappears when there is nothing more). */
.post__table {
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) 0 0,
    linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(9,30,50,.3), rgba(9,30,50,0)) 0 0,
    radial-gradient(farthest-side at 100% 50%, rgba(9,30,50,.3), rgba(9,30,50,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
.post__table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.post__table th, .post__table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post__table thead th { background: var(--bg-alt); color: var(--heading); font-family: var(--head); font-weight: 700; }
.post__table tbody tr:last-child td { border-bottom: 0; }

/* FAQ, services, closing CTA */
.post__faq { margin-top: 56px; max-width: 70ch; }
.post__faq .faq { margin: 0; max-width: none; }
.post__services { margin-top: 48px; max-width: 70ch; }
.post__services ul { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; list-style: none; }
.post__cta { margin-top: 48px; padding: 32px; background: var(--bg-alt); border-top: 3px solid var(--blue); max-width: 70ch; }
.post__cta h2 { margin-top: 0; }
.post__cta p { margin-bottom: 22px; }
.post__cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Index + related cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe5ec; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease, ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { margin: 0; font-size: .85rem; color: var(--muted); }
.post-card__title { margin: 8px 0 10px; font-size: 1.15rem; text-transform: none; letter-spacing: .01em; line-height: 1.35; font-weight: 700; }
.post-card__title a { color: var(--heading); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { margin: 0 0 18px; color: var(--text); font-size: .98rem; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-family: var(--head); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.post-card__more svg { width: 16px; height: 16px; }
.post-grid__note { margin-top: 36px; text-align: center; }
.post-related__h { margin-top: 0; margin-bottom: 28px; }

@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .post-grid, .post-grid--two { grid-template-columns: 1fr; gap: 24px; }
  .post__hero { margin-bottom: 28px; }
  .post__cta { padding: 24px 20px; }
  .post__cta .btn { width: 100%; }
}
/* Single column: the in-article CTA + closing band already carry the quote/call actions. */
@media (max-width: 1000px) { .post-section .svc__aside { display: none; } }

/* 13 Oct 2026: gutter post feature image focuses on fascia + gutter on mobile */
@media (max-width: 700px) {
  .post__hero img[src*="gutters-flashings"] { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 85%; }
}
