﻿/* Blog overview and long-form articles, sharing the solid ElectroArt palette. */
.blog-page { background: var(--hp-paper); color: var(--hp-ink); }
.blog-page .home-site-header, .blog-page .site-footer { color: var(--hp-text); }
.blog-page .brand img { width: auto; object-fit: contain; }
.blog-shell { width: min(1180px, calc(100% - 10vw)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10001; padding: 12px 20px; background: #fff; color: #281d34; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.blog-page :focus-visible { outline-color: #7540b8; }
.blog-page .home-site-header :focus-visible, .blog-page .blog-cta :focus-visible { outline-color: #d8c5ed; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 26px 0; font-size: .78rem; color: #6d5a7b; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.blog-page .eyebrow { color: #704099; }
.blog-overview-hero { background: var(--hp-bg); color: var(--hp-text); padding: 0 0 64px; }
.blog-overview-hero .breadcrumbs { color: var(--hp-muted); margin-bottom: 36px; }
.blog-overview-hero .eyebrow { color: var(--hp-lilac); }
.blog-page .blog-overview-hero h1 { max-width: 950px; font-size: clamp(2.65rem, 5.5vw, 4.7rem); }
.blog-overview-hero p:last-child { max-width: 620px; color: var(--hp-muted); font-size: 1.08rem; }
.blog-list { padding: 64px 0 80px; }
.blog-list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.blog-page .blog-list-heading h2 { font-size: 2rem; margin: 0; }
.blog-list-heading span { font-size: .8rem; color: #6d5a7b; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { background: #e9e0f0; border: 1px solid #ded0e8; border-radius: 8px; overflow: hidden; }
.blog-card-link { display: flex; flex-direction: column; height: 100%; }
.blog-card-link:focus-visible { outline-offset: -4px; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.blog-card-copy { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.blog-card-copy .eyebrow { font-size: .65rem; margin-bottom: 16px; }
.blog-page .blog-card h2 { font-size: 1.52rem; line-height: 1.2; letter-spacing: -.025em; }
.blog-card-copy > p:not(.eyebrow) { color: #66596e; font-size: .9rem; line-height: 1.7; }
.read-more { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; font-size: .85rem; font-weight: 700; color: #643192; }
.blog-card-link:hover .read-more { text-decoration: underline; text-underline-offset: 4px; }
.article-heading { max-width: 900px; margin: 24px auto 38px; }
.blog-page .article-heading h1 { font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
.article-heading .eyebrow { margin-bottom: 18px; }
.article-intro { color: #66596e; font-size: 1.12rem; line-height: 1.85; max-width: 800px; }
.article-meta { color: #6d5a7b; font-size: .8rem; margin: 24px 0; }
.blog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.blog-page .blog-actions .button { width: auto; padding: 14px 22px; min-height: 50px; }
.blog-page .article-heading .button.secondary { border-color: #8f79a0; color: #643192; }
.blog-page .article-heading .button.secondary:hover { background: #e9e0f0; }
.article-cover { width: 100%; height: auto; aspect-ratio: 2.5; object-fit: cover; border-radius: 8px; }
.article-layout { display: grid; grid-template-columns: 245px minmax(0, 720px); gap: 64px; justify-content: space-between; padding: 60px 0 80px; align-items: start; }
.article-toc { position: sticky; top: 120px; border-top: 3px solid var(--hp-purple); padding-top: 20px; }
.article-toc > p { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.article-toc ol { padding-left: 19px; margin-bottom: 24px; }
.article-toc li { padding: 0 0 12px 4px; font-size: .84rem; line-height: 1.5; color: #66596e; }
.article-toc a:hover { color: #643192; text-decoration: underline; text-underline-offset: 3px; }
.article-content { min-width: 0; font-size: 1rem; line-height: 1.85; }
.article-content > section { margin-bottom: 42px; }
.blog-page .article-content h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 20px; }
.article-content p, .article-content li { color: #584b62; }
.article-content ul { padding-left: 23px; }
.article-content li { margin-bottom: 8px; }
.article-content section a, .text-link { color: #643192; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.blog-cta { margin-top: 54px; background: #352245; color: #fcfaff; padding: 36px; border-radius: 8px; }
.blog-page .blog-cta h2 { color: #fcfaff; max-width: 650px; font-size: 2rem; }
.blog-page .blog-cta .eyebrow { color: var(--hp-lilac); }
.blog-page .blog-cta p { color: #d3c6dc; max-width: 660px; }
.blog-cta .text-link { display: inline-block; margin-top: 22px; color: #e5d2f5; font-size: .85rem; }
.related { border-top: 1px solid #cbb8d8; margin-top: 44px; padding-top: 30px; }
.related ul { list-style: none; padding: 0; }
.related li { border-bottom: 1px solid #ded0e8; padding: 12px 0; }
.related li a { display: flex; justify-content: space-between; gap: 20px; color: #643192; line-height: 1.6; }
.related .text-link { font-size: .85rem; }
.blog-page .cookie-modal-inner { color: var(--hp-text); }
@media (max-width: 1000px) {
  .blog-grid { gap: 16px; }
  .blog-card-copy { padding: 20px; }
  .article-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  .blog-shell { width: calc(100% - 44px); }
  .blog-overview-hero { padding-bottom: 40px; }
  .blog-overview-hero .breadcrumbs { margin-bottom: 18px; }
  .blog-list { padding: 40px 0 54px; }
  .blog-list-heading { display: block; }
  .blog-list-heading span { display: block; margin-top: 12px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-card-copy { padding: 24px; }
  .article-heading { margin-top: 12px; }
  .article-intro { font-size: 1rem; }
  .article-cover { aspect-ratio: 1.5; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 54px; }
  .article-toc { position: static; background: #e9e0f0; padding: 20px; }
  .article-toc ol { columns: 1; }
  .blog-page .blog-actions .button { flex: 1 1 200px; }
  .blog-cta { padding: 26px 22px; margin-top: 36px; }
  .blog-page .blog-cta h2 { font-size: 1.8rem; }
  .blog-page .site-footer { padding-bottom: 32px; }
  .blog-page h1 { overflow-wrap: break-word; }
}
