.blog-shell, .blog-index, .latest-posts { padding-block: clamp(28px, 4vw, 64px) clamp(48px, 6vw, 96px); }
.blog-shell { max-width: 1180px; }
.blog-shell > .breadcrumbs { margin: 0 0 clamp(24px, 3vw, 44px); }
.blog-columns { display: grid; grid-template-columns: minmax(190px, 248px) minmax(0, 820px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.blog-rail { position: sticky; top: 24px; padding: 18px 16px 6px 0; border-top: 3px solid var(--red); }
.blog-rail strong { font-size: 1.1rem; }
.blog-rail ol, .mobile-contents ol { padding: 0; margin: 12px 0; list-style: none; }
.blog-rail li + li, .mobile-contents li + li { border-top: 1px solid var(--line); }
.blog-rail a, .mobile-contents li a { display: block; padding: 10px 0; color: var(--ink); line-height: 1.45; text-decoration: none; }
.blog-rail a:hover, .mobile-contents a:hover { color: var(--red); text-decoration: underline; }
.blog-category, .blog-card-copy small { color: #39604d; font-weight: 700; }
.blog-post h1, .blog-index h1 { font-size: clamp(2rem, 4.25vw, 3.65rem); line-height: 1.08; letter-spacing: -.035em; margin: .24em 0 .52em; }
.blog-post figure { margin: 26px 0; }
.blog-post img { width: 100%; height: auto; border-radius: 14px; }
.blog-post figcaption { color: #55544f; font-size: .85rem; line-height: 1.5; padding-top: 7px; }
.copy.blog-body { padding: 0; border: 0; max-width: 76ch; font-size: clamp(1rem, 1.3vw, 1.12rem); }
.blog-body h2 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); scroll-margin-top: 28px; }
.mobile-contents { display: none; }
.feed-heading { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.feed-heading h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.feed-heading a { white-space: nowrap; }
.blog-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.blog-story { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; background: #faf8f3; }
.blog-story img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; min-height: 0; }
.blog-card-copy { display: grid; gap: 10px; align-content: center; padding: clamp(20px, 3vw, 42px); }
.blog-card-copy strong { font-size: clamp(1.35rem, 2.6vw, 2.45rem); line-height: 1.14; letter-spacing: -.025em; }
.blog-story:hover strong { text-decoration: underline; text-decoration-thickness: 1px; }
.blog-story:only-child { display: grid; grid-template-columns: 1.1fr 1fr; }
.roof-calc { background: #edf4ef; padding: clamp(1rem, 3vw, 2rem); border-radius: 16px; margin: 1.8rem 0; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.calc-fields label { display: grid; align-content: end; gap: .4rem; font-size: .94rem; }
.calc-fields input { background: white; border: 1px solid #788b81; border-radius: 5px; padding: .6rem; font: inherit; width: 100%; }
.roof-calc output { display: block; font-weight: 700; margin-top: 1rem; }
@media(max-width: 840px) {
  .blog-columns { display: block; }
  .blog-rail { display: none; }
  .mobile-contents { display: block; padding: 12px 16px; margin: 20px 0; border: 1px solid var(--line); border-radius: 9px; background: #faf8f3; }
  .mobile-contents summary { cursor: pointer; font-weight: 700; }
}
@media(max-width: 650px) {
  .blog-story:only-child, .calc-fields { grid-template-columns: minmax(0, 1fr); }
  .blog-shell > .breadcrumbs { margin-bottom: 22px; }
}
