/* Commercial Roofing Inc. — landing/service/city page additions (loaded only on generated pages).
   Uses the tokens from styles.css. */
.hero--page { --hero-h: clamp(560px, 46vw, 660px); }
.hero--page .hero__title { font-size: clamp(32px, 2.4vw + 16px, 52px); max-width: 20em; }
.hero--page .hero__lede { max-width: 640px; }
.proof-strip { list-style: none; margin: 34px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 15px; font-weight: 500; }
.proof-strip li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.95); }
.proof-strip svg { width: 18px; height: 18px; color: var(--accent-on-dark); flex: none; }
.crumbs { padding-top: 26px; padding-bottom: 0; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; padding: 0 10px; color: #9a9ca1; }
.crumbs a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.page-sec { padding: 84px 0; }
.page-sec.section--grey, .page-sec.section--dark { padding: 112px 0; }
.page-sec .section__title { margin-bottom: 22px; }
.prose--narrow { max-width: calc(880px + var(--gutter) * 2); }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose p, .prose li { max-width: 46em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.25em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a, .property a, .faq__panel a, .data-table a, .county a { color: var(--accent-hover); font-weight: 600; text-underline-offset: 3px; }
.section--dark .prose a { color: var(--accent-on-dark); }
.property h3 a { color: inherit; }
.property h3 a::after { content: " \2192"; color: var(--accent); }
.split--page { align-items: start; grid-template-columns: minmax(0, 620fr) minmax(0, 560fr); }
.split--page .split__media img { aspect-ratio: auto; }
.page-sec .properties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section--grey .property { background: var(--white); }
.table-wrap { overflow-x: auto; margin: 10px 0 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: var(--radius-card); overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.data-table thead th a { color: var(--white); text-decoration: underline; }
.data-table tbody th { font-weight: 600; }
.county-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }
.page-sec .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .page-sec .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .split--page { grid-template-columns: 1fr; }
  .page-sec .properties, .county-list--3 { grid-template-columns: 1fr 1fr; }
  .page-sec, .page-sec.section--grey, .page-sec.section--dark { padding: 72px 0; }
}
@media (max-width: 600px) {
  .page-sec .properties, .county-list--3, .page-sec .steps { grid-template-columns: 1fr; }
  .proof-strip { flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
  .data-table th, .data-table td { padding: 12px 12px; font-size: 15px; }
  .hero--page .hero__content { padding-bottom: 80px; }
}

/* Links inside the hero lede (county hubs) */
.hero__lede a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 3px; }
.hero__lede a:hover { color: var(--accent-on-dark); }

/* 03b: long hero/CTA labels wrap inside the pill on small screens instead of clipping */
@media (max-width: 700px) {
  .btn--hero, .btn { white-space: normal; text-align: left; line-height: 1.3; }
  .btn--hero { width: min(100%, 340px); padding-top: 10px; padding-bottom: 10px; }
}

/* blog (added blog batch 01): article column, mid-article CTA, sources, index cards */
.post h2 { font-size: clamp(25px, 1.2vw + 17px, 32px); line-height: 1.2; margin: 52px 0 16px; scroll-margin-top: 110px; }
.post__meta { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.post__cta { margin: 36px 0; padding: 26px 28px; border-radius: var(--radius-card); background: var(--grey); }
.post__cta p { margin: 0 0 16px; font-weight: 600; max-width: none; }
.post__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.post .post__cta a.btn--black { color: var(--white); }
.post .post__cta a.btn--blue { color: var(--white); }
.post__sources { font-size: 15px; color: var(--muted); }
.post__sources a { overflow-wrap: anywhere; }
.post__back { margin-top: 32px; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.post-card .post__meta { margin: 0; font-size: 14px; }
.post-card h2 { font-size: 22px; line-height: 1.25; margin: 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { margin: 0; }
@media (max-width: 800px) { .post-list { grid-template-columns: 1fr; } .post__cta { padding: 22px 20px; } }
