/* Blog pages keep a light canvas independently of the homepage background. */
.blog-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper, #f4f5ef); }
.blog-page > main { flex: 1 0 auto; }
.blog-header nav .blog-nav-active { color: var(--amber, #ffc354); }
.blog-header nav .blog-nav-active::after { content: ""; display: block; height: 2px; margin-top: .25rem; border-radius: 1px; background: currentColor; }
.blog-header nav > a { white-space: nowrap; }
.branch-blog a:focus-visible, .blog-table:focus-visible { outline: 2px solid #34603d; outline-offset: 3px; }
.branch-blog { max-width: 53rem; min-height: 60vh; padding-block: clamp(2rem, 6vw, 4rem); overflow-wrap: anywhere; color: #1e3326; }
.branch-blog--list { max-width: 74rem; padding-block: clamp(2rem, 5vw, 4rem); }
.branch-blog h1 { margin-block: .25rem .7rem; line-height: 1.2; font-size: clamp(1.8rem, 6vw, 3rem); }
.blog-list-heading { margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.blog-list-kicker { color: #42694b; font-size: .86rem; font-weight: 800; }
.blog-list-regions { color: #4f6354; font-size: .97rem; }
.branch-blog .blog-breadcrumb, .branch-blog time { color: #4f6354; font-size: .92rem; }
.branch-blog header > p { margin-block: .6rem; }
.branch-blog article { margin-block: 2rem; line-height: 1.75; }
.branch-blog article > * { margin-block: .8rem; }
.branch-blog article h2, .branch-blog article h3 { margin-block: 1.7rem .6rem; line-height: 1.35; }
.branch-blog article figure { margin-inline: 0; }
.branch-blog article img { display: block; width: auto; max-width: 100%; height: auto; border-radius: .65rem; }
.branch-blog article figcaption { color: #4f6354; font-size: .93rem; margin-block: .3rem 1.2rem; }
.branch-blog article a, .branch-blog .blog-breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }
.blog-table { max-width: 100%; overflow-x: auto; }
.blog-table table { border-collapse: collapse; width: 100%; min-width: 20rem; }
.blog-table caption { text-align: left; font-weight: 700; }
.blog-table td, .blog-table th { padding: .4rem .55rem; border: 1px solid #aabfa9; text-align: left; }
.blog-table th { background: #e4eee2; }
.blog-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.65rem); list-style: none; margin: 0; padding: 0; }
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #d3ddd2;
  border-radius: .85rem; background: #fff; color: inherit; box-shadow: 0 .16rem .65rem #243d2c10; }
.blog-card:hover { border-color: #84a088; box-shadow: 0 .45rem 1.25rem #243d2c1a; }
.blog-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: #e3e8de; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-card-copy { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: clamp(1rem, 2.2vw, 1.5rem); }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: .4rem .65rem; align-items: baseline; font-size: .86rem; color: #526458; }
.blog-card-meta time { font-size: inherit; margin-inline-start: auto; }
.blog-card-location { display: inline-block; padding: .1rem .55rem; border-radius: .3rem; background: #e5eddf; color: #274a32; font-weight: 800; }
.blog-card-service { font-weight: 650; }
.blog-card h2 { font-size: clamp(1.15rem, 2vw, 1.47rem); font-weight: 800; line-height: 1.4; letter-spacing: -.027em; }
.blog-card-copy p { color: #47584b; font-size: .94rem; line-height: 1.65; }
.blog-card-action { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem;
  margin-top: auto; color: #285a35; font-weight: 800; font-size: .92rem; }
.blog-card-action span { font-size: 1.4rem; line-height: 1; }
.blog-empty { margin-top: 1.65rem; padding: clamp(1rem, 4vw, 1.65rem); border: 1px solid #cbd5c9; border-radius: .65rem; background: #fff; }
.blog-empty h2 { font-size: 1.2rem; }
.blog-empty p { margin-top: .3rem; color: #4f6354; }
.blog-contact { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #cbd5c9; }

@media (max-width: 640px) {
  .blog-header .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .65rem; padding-top: .7rem; }
  .blog-header .blog-brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .blog-header .blog-header-phone { grid-column: 2; grid-row: 1; }
  .blog-header .header-row nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: center;
    gap: clamp(.9rem, 5vw, 1.8rem); width: 100%; margin: .55rem 0 0; border-top: 1px solid #fff2; font-size: .86rem; }
  .blog-header nav > a { padding-block: .45rem; }
  .blog-header nav .blog-nav-active::after { margin-top: .12rem; }
  .blog-posts { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}
