/* Blog index and article layouts for the current HomePros design system.
   Load after /assets/site.css; the shared view owns the header and footer. */

.blog-hero {
  background: #fff;
  border-bottom: 1px solid var(--line, #dfe6ed);
  padding: 66px 28px 58px;
}

.blog-hero-inner,
.blog-hero + .page-section .page-inner,
.blog-post-inner {
  width: 100%;
  max-width: 1184px;
  margin-inline: auto;
}

.blog-hero .eyebrow,
.blog-hero .section-kicker {
  color: #5b7186;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.65px;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.blog-hero .section-kicker::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: var(--blue, #185bd5);
}

.blog-hero h1 {
  max-width: 880px;
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: clamp(36px, 4.12vw, 57px);
  font-weight: 600;
  letter-spacing: -2.6px;
  line-height: 1.13;
  overflow-wrap: anywhere;
}

.blog-hero h1 em {
  color: var(--blue, #185bd5);
  font-style: normal;
}

.blog-hero p:not(.eyebrow) {
  max-width: 735px;
  margin-top: 22px;
  color: var(--slate, #586b7e);
  font-size: 17px;
  line-height: 1.75;
}

.blog-hero + .page-section {
  padding: 38px 28px 82px;
  background: #fff;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.blog-filter-tag,
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid #d5e0eb;
  border-radius: 5px;
  background: #fff;
  color: var(--ink, #142d47);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.blog-filter-tag:hover,
.blog-page-btn:hover {
  border-color: var(--blue, #185bd5);
  background: #f2f6fd;
  color: var(--blue, #185bd5);
}

.blog-filter-tag.active {
  border-color: var(--blue, #185bd5);
  background: var(--blue, #185bd5);
  color: #fff;
}

.blog-grid,
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 286px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  background: #fff;
  color: var(--ink, #142d47);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.blog-card:hover {
  border-color: #b9cdeb;
  box-shadow: 0 8px 23px #193b5e0d;
  color: var(--ink, #142d47);
  transform: translateY(-2px);
}

.blog-grid > .blog-card.featured {
  grid-column: span 2;
  background: #f6f9ff;
  border-color: #d7e4f5;
}

.blog-card-icon,
.blog-card.featured .blog-card-icon,
.blog-related-grid .blog-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-height: 46px;
  margin-bottom: 19px;
  border: 1px solid #d9e5fa;
  border-radius: 6px;
  background: #eaf1ff !important;
  color: var(--blue, #185bd5) !important;
  font-size: 22px;
}

.blog-card-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 0;
}

.blog-card-meta,
.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #667b8f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.blog-card-cat {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #dce5ed;
  border-radius: 4px;
  background: #fff;
  color: #52667b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.3;
  text-transform: uppercase;
}

.blog-card-dot {
  display: inline-block;
  flex: 0 0 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9caebd;
}

.blog-card-diff {
  color: #61768a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.blog-card h2,
.blog-card.featured h2 {
  margin-top: 15px;
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.55px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.blog-grid > .blog-card.featured h2 {
  max-width: 680px;
  font-size: clamp(22px, 2.35vw, 29px);
  letter-spacing: -.9px;
  line-height: 1.3;
}

.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 10px;
  color: var(--slate, #586b7e);
  font-size: 14px;
  line-height: 1.7;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 21px;
  color: var(--blue, #185bd5);
  font-size: 13px;
  font-weight: 800;
}

.blog-card-link svg {
  width: 15px;
  height: 15px;
}

.blog-card:hover .blog-card-link,
.blog-card:hover h2 {
  color: var(--blue, #185bd5);
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 39px;
  padding-top: 27px;
  border-top: 1px solid var(--line, #dfe6ed);
}

.blog-page-info {
  color: var(--slate, #586b7e);
  font-size: 13px;
  font-weight: 600;
}

.blog-hero + .page-section .no-results {
  padding: 70px 24px;
  border: 1px solid var(--line, #dfe6ed);
  border-radius: 7px;
  text-align: center;
}

.no-results i,
.no-results svg { color: var(--blue, #185bd5); font-size: 27px; }
.no-results h3 { margin-top: 15px; }
.no-results p { margin-top: 8px; color: var(--slate, #586b7e); }

/* Article: keep the reading column measured, then let the utility blocks breathe. */
.blog-post {
  padding: 50px 28px 82px;
  background: #fff;
}

.blog-post .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  max-width: 860px;
  margin: 0 0 29px;
  color: #687e93;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1px;
  line-height: 1.7;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.blog-post .breadcrumb [aria-current="page"] { min-width: 0; }

.blog-post .breadcrumb a { color: #49617a; }
.blog-post .breadcrumb a:hover { color: var(--blue, #185bd5); }

.blog-post-header {
  max-width: 950px;
  margin-bottom: 42px;
}

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

.blog-post-header h1 {
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -2.35px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.blog-post-excerpt {
  max-width: 810px;
  margin-top: 23px;
  padding-left: 20px;
  border-left: 3px solid var(--blue, #185bd5);
  color: var(--slate, #586b7e);
  font-size: 18px;
  line-height: 1.75;
}

.blog-post-content,
.article-local-note {
  max-width: 790px;
}

.blog-post-content {
  color: #3c536a;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.blog-post-content > :first-child { margin-top: 0; }
.blog-post-content p { margin: 0 0 20px; }
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-weight: 600;
}

.blog-post-content h2 {
  margin: 47px 0 17px;
  padding-top: 28px;
  border-top: 1px solid var(--line, #dfe6ed);
  font-size: clamp(23px, 2.35vw, 27px);
  letter-spacing: -.75px;
  line-height: 1.35;
}

.blog-post-content h3 { margin: 32px 0 13px; font-size: 20px; line-height: 1.4; }
.blog-post-content h4 { margin: 26px 0 10px; font-size: 17px; line-height: 1.45; }
.blog-post-content ul,
.blog-post-content ol { margin: 0 0 21px; padding-left: 25px; }
.blog-post-content li { margin-bottom: 8px; padding-left: 3px; }
.blog-post-content li::marker { color: var(--blue, #185bd5); }
.blog-post-content strong { color: var(--ink, #142d47); font-weight: 800; }
.blog-post-content a { color: var(--blue, #185bd5); text-decoration: underline; text-underline-offset: 3px; }
.blog-post-content a:hover { color: #104cbe; }
.blog-post-content img,
.blog-post-content video,
.blog-post-content iframe { max-width: 100%; height: auto; }
.blog-post-content pre,
.blog-post-content table { max-width: 100%; overflow-x: auto; }

.blog-post-content blockquote,
.blog-post-content .pro-tip {
  margin: 27px 0;
  padding: 21px 24px;
  border-left: 3px solid var(--blue, #185bd5);
  border-radius: 0 6px 6px 0;
  background: #f2f6fd;
  color: #37536d;
}

.blog-post-content blockquote p:last-child,
.blog-post-content .pro-tip p:last-child { margin-bottom: 0; }
.blog-post-content .pro-tip strong { display: block; margin-bottom: 6px; color: #1854b8; }

.blog-post-content .warning-box {
  margin: 27px 0;
  padding: 21px 24px;
  border: 1px solid #f2cece;
  border-left: 3px solid #b94b4b;
  border-radius: 0 6px 6px 0;
  background: #fff7f7;
  color: #783838;
}

.blog-post-content .tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
  padding: 20px 22px;
  border: 1px solid var(--line, #dfe6ed);
  border-radius: 7px;
  background: #fff;
}

.blog-post-content .tool-card .tool-info { flex: 1; min-width: 0; }
.blog-post-content .tool-card .tool-name { color: var(--ink, #142d47); font-weight: 800; }
.blog-post-content .tool-card .tool-price { color: var(--slate, #586b7e); font-size: 13px; }
.blog-post-content .tool-card .tool-tier {
  padding: 4px 8px;
  border-radius: 4px;
  background: #eaf1ff;
  color: #2055ad;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.blog-post-content .tool-card .tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 8px 13px;
  border-radius: 5px;
  background: var(--blue, #185bd5);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.blog-post-content .tool-card .tool-link:hover { background: #104cbe; color: #fff; }

.blog-post-content table {
  display: block;
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.blog-post-content th,
.blog-post-content td { padding: 12px 14px; border-bottom: 1px solid var(--line, #dfe6ed); }
.blog-post-content th { background: #edf3fb; color: var(--ink, #142d47); font-weight: 800; }
.blog-post-content tr:nth-child(even) td { background: #f8fafd; }

.article-local-note {
  margin: 34px 0 39px;
  padding: 17px 20px;
  border-left: 3px solid var(--blue, #185bd5);
  border-radius: 0 6px 6px 0;
  background: #f3f7fc;
  color: var(--slate, #586b7e);
  font-size: 13px;
  line-height: 1.7;
}
.article-local-note strong { color: var(--ink, #142d47); }

/* The lead module prints a later <style> block. Higher specificity keeps its
   interaction and status styles while bringing its colors into this design. */
.blog-post .lead-capture {
  margin: 39px 0;
  padding: 27px 29px;
  border: 1px solid #dce4ed;
  border-top: 3px solid var(--blue, #185bd5);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 25px #24436709;
}
.blog-post .lead-capture h3 {
  margin: 0 0 7px;
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.blog-post .lead-capture .lead-sub {
  margin: 0 0 19px;
  color: var(--slate, #586b7e);
  font-size: 15px;
  line-height: 1.7;
}
.blog-post .lead-form .lead-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.blog-post .lead-form input,
.blog-post .lead-form textarea {
  min-width: 0;
  border: 1px solid #d5e0eb;
  border-radius: 5px;
  background: #fff;
  color: var(--ink, #142d47);
  font-family: Manrope, sans-serif;
  font-size: 14px;
}
.blog-post .lead-form input::placeholder,
.blog-post .lead-form textarea::placeholder { color: #788b9d; }
.blog-post .lead-form input:focus,
.blog-post .lead-form textarea:focus {
  outline: 3px solid #8db7ff;
  outline-offset: 2px;
  border-color: var(--blue, #185bd5);
  box-shadow: none;
}
.blog-post .lead-capture .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 15px;
  border-radius: 5px;
  background: var(--blue, #185bd5);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.blog-post .lead-capture .form-submit:hover { background: #104cbe; filter: none; }
.blog-post .lead-fineprint { display: block; margin: 8px 0 0; color: #687d8f; font-size: 12px; }

.blog-local-services {
  margin: 40px 0 0;
  padding: 27px 30px;
  border: 1px solid #dce7f4;
  border-left: 3px solid var(--blue, #185bd5);
  border-radius: 7px;
  background: #f4f8fd;
}
.blog-local-services h3 {
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.blog-local-services p { margin-top: 7px; color: var(--slate, #586b7e); font-size: 14px; line-height: 1.7; }
.blog-local-services .blog-local-primary { margin-top: 16px; }
.blog-local-services .blog-local-primary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue, #185bd5);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}
.blog-local-services .blog-local-primary a:hover { color: #104cbe; text-decoration: underline; }
.blog-local-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.blog-local-links a {
  display: inline-flex;
  align-items: center;
  min-height: 37px;
  padding: 7px 11px;
  border: 1px solid #d6e1ec;
  border-radius: 5px;
  background: #fff;
  color: var(--ink, #142d47);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.blog-local-links a:hover { border-color: var(--blue, #185bd5); color: var(--blue, #185bd5); }

.blog-related {
  margin-top: 55px;
  padding-top: 39px;
  border-top: 1px solid var(--line, #dfe6ed);
}
.blog-related > h3 {
  margin-bottom: 24px;
  color: var(--ink, #142d47);
  font-family: Sora, sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.8px;
}
.blog-related-grid .blog-card { min-height: 260px; }
.blog-related-grid .blog-card h2 { font-size: 17px; }
.blog-related-grid .blog-card p { -webkit-line-clamp: 2; }

.blog-hero a:focus-visible,
.blog-hero + .page-section a:focus-visible,
.blog-post a:focus-visible,
.blog-post button:focus-visible {
  outline: 3px solid #8db7ff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .blog-grid,
  .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid > .blog-card.featured { grid-column: span 2; }
}

@media (max-width: 650px) {
  .blog-hero { padding: 47px 20px 42px; }
  .blog-hero h1 { font-size: clamp(34px, 9vw, 44px); letter-spacing: -1.8px; }
  .blog-hero p:not(.eyebrow) { margin-top: 19px; font-size: 16px; line-height: 1.7; }
  .blog-hero + .page-section { padding: 24px 20px 60px !important; }
  .blog-filters {
    flex-wrap: nowrap;
    gap: 7px;
    margin-right: -20px;
    margin-bottom: 23px;
    padding: 0 20px 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .blog-filter-tag { flex: 0 0 auto; }
  .blog-grid,
  .blog-related-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .blog-grid > .blog-card.featured { grid-column: auto; }
  .blog-card,
  .blog-related-grid .blog-card { min-height: 0; padding: 20px; }
  .blog-card-icon,
  .blog-card.featured .blog-card-icon,
  .blog-related-grid .blog-card-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin-bottom: 15px;
  }
  .blog-card h2,
  .blog-card.featured h2,
  .blog-grid > .blog-card.featured h2 { font-size: 20px; letter-spacing: -.55px; }
  .blog-card p { -webkit-line-clamp: 3; }
  .blog-post { padding: 34px 20px 60px; }
  .blog-post .breadcrumb { margin-bottom: 25px; font-size: 10px; }
  .blog-post-header { margin-bottom: 35px; }
  .blog-post-header h1 { font-size: clamp(32px, 8.8vw, 40px); letter-spacing: -1.6px; }
  .blog-post-excerpt { margin-top: 19px; padding-left: 16px; font-size: 16px; }
  .blog-post-content h2 { margin-top: 38px; padding-top: 23px; font-size: 23px; }
  .blog-post-content h3 { font-size: 19px; }
  .blog-post-content .tool-card { flex-wrap: wrap; padding: 18px; }
  .blog-post-content .tool-card .tool-link { width: 100%; }
  .blog-post .lead-capture { padding: 21px 18px; }
  .blog-post .lead-form .lead-row { grid-template-columns: minmax(0, 1fr); }
  .blog-post .lead-capture h3 { font-size: 20px; }
  .blog-local-services { padding: 23px 19px; }
  .blog-local-services h3 { font-size: 18px; }
  .blog-local-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  .blog-local-links a { width: 100%; }
  .blog-related { margin-top: 43px; padding-top: 31px; }
  .blog-related > h3 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card { transition: none; }
  .blog-card:hover { transform: none; }
}

/* Byline, featured image, in-article callout, card thumbnails (2026-10-07) */
.blog-byline{display:flex;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #e3e9f0}
.blog-byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top}
.blog-byline strong{display:block;font-size:14px;color:#17385b}
.blog-byline-role,.blog-byline-dates{display:block;font-size:12.5px;color:#617b95;line-height:1.5}
.blog-post-hero{margin:0 0 34px}
.blog-post-hero img{display:block;width:100%;height:auto;border-radius:10px;border:1px solid #d9e1ea}
.blog-callout{margin:34px 0;padding:18px 22px;border-left:4px solid #1d4ed8;background:#edf3fd;border-radius:0 8px 8px 0}
.blog-callout p{margin:0;font-size:15.5px;line-height:1.6;color:#1f3550}
.blog-callout a{display:inline-flex;align-items:center;gap:6px;margin-left:6px;font-weight:700;color:#1d4ed8;text-decoration:none;white-space:nowrap}
.blog-callout a:hover{text-decoration:underline}
.blog-card-thumb{display:block;margin:-1px -1px 14px;border-radius:9px 9px 0 0;overflow:hidden;aspect-ratio:16/9;background:#e8eef5}
.blog-card-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.blog-card.featured .blog-card-thumb{aspect-ratio:2/1}

/* Index: seasonal panel, directory band (2026-10-07) */
.blog-hero.has-season .blog-hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:56px;align-items:center}
.blog-season{border:1px solid #d7e4f5;border-radius:10px;background:#f6f9ff;padding:22px 22px 14px}
.blog-season-month{display:block;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#1d4ed8}
.blog-season h2{font-size:21px;line-height:1.3;letter-spacing:-.5px;margin:6px 0 14px;color:#142d47}
.blog-season-list{list-style:none;margin:0;padding:0}
.blog-season-list li{border-top:1px solid #e1e9f3}
.blog-season-list a{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:11px 0;color:#142d47;text-decoration:none}
.blog-season-list img{display:block;width:96px;height:54px;object-fit:cover;border-radius:6px;border:1px solid #d9e1ea}
.blog-season-list strong{display:block;font-size:14.5px;line-height:1.4;font-weight:700}
.blog-season-list small{display:block;font-size:12px;color:#667b8f;margin-top:3px}
.blog-season-list a:hover strong{color:#1d4ed8}
.blog-band{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center;margin:8px 0;padding:30px 34px;border-radius:10px;background:#142d47;color:#fff}
.blog-band-kicker{font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#9fc0f0;margin:0 0 8px}
.blog-band h2{font-size:24px;line-height:1.3;letter-spacing:-.6px;margin:0 0 10px;color:#fff}
.blog-band>div>p:not(.blog-band-kicker){font-size:15px;line-height:1.65;color:#c9d7e8;margin:0}
.blog-band-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.blog-band-links a{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border:1px solid #3c5b82;border-radius:6px;color:#fff;font-size:14px;font-weight:600;text-decoration:none;background:#1b3a5f}
.blog-band-links a:hover{background:#245084;border-color:#5f84b4}
.blog-band-links .blog-band-all{background:#1d4ed8;border-color:#1d4ed8}
.blog-band-links .blog-band-all:hover{background:#1a44bd}
@media (max-width:900px){.blog-hero.has-season .blog-hero-inner{grid-template-columns:1fr;gap:28px}.blog-band{grid-template-columns:1fr;padding:24px}.blog-band-links{justify-content:flex-start}}
