/* Blogi (2026-09-16) — listaus, kirjoitus, etusivun teaser */
.blog-page, .blog-post, .blog-more { max-width: 1100px; margin: 0 auto; padding: 0 16px 40px; }
.blog-header { margin: 8px 0 24px; }
.blog-header h1 { margin: 0 0 6px; }
.blog-lead { color: #555; max-width: 720px; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-grid-compact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.blog-card { background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; overflow: hidden; transition: box-shadow .15s; }
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.blog-card-link { display: block; color: inherit; text-decoration: none; }
.blog-card-img { aspect-ratio: 16/10; background: #f3f4f6; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#eef2f7,#dfe6ef); }
.blog-card-body { padding: 14px 16px 18px; }
.blog-date { font-size: .8rem; color: #6b7280; }
.blog-card-title { font-size: 1.15rem; margin: 6px 0 8px; line-height: 1.3; }
.blog-grid-compact .blog-card-title { font-size: 1rem; }
.blog-card-excerpt { color: #4b5563; font-size: .95rem; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-readmore { color: var(--accent, #1d4ed8); font-weight: 600; font-size: .9rem; }
.blog-empty { color: #6b7280; }
/* Kirjoitus */
.blog-post { max-width: 820px; }
.blog-post-header h1 { margin: 8px 0 8px; line-height: 1.2; }
.blog-meta { color: #6b7280; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.blog-meta-sep { opacity: .6; }
.blog-post-lead { font-size: 1.1rem; color: #374151; margin: 14px 0 0; }
.blog-hero { margin: 22px 0 26px; }
.blog-hero img { width: 100%; height: auto; border-radius: 10px; display: block; }
.blog-body { font-size: 1.05rem; line-height: 1.7; }
.blog-body h2 { margin-top: 1.6em; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-products { margin-top: 40px; }
.blog-products h2 { margin-bottom: 14px; }
.blog-more { margin-top: 40px; border-top: 1px solid var(--border, #e5e7eb); padding-top: 24px; }
.blog-preview-banner { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; padding: 10px 16px; border-radius: 8px; margin: 12px 16px; text-align: center; }
.blog-preview-banner a { color: #9a3412; font-weight: 600; margin-left: 8px; }
/* Etusivun teaser */
.home-blog .blog-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.home-blog .home-section-header { display: flex; justify-content: space-between; align-items: baseline; }
.home-blog .home-section-link { font-weight: 600; color: var(--accent, #1d4ed8); text-decoration: none; }
@media (max-width: 600px) { .blog-grid { gap: 16px; } .blog-body { font-size: 1rem; } }
