/* v2 Company News blog — clean components on the theme's design system (Ginto fonts + brand
   tokens from theme-shell), NO captured migration-recon.css. Tuned close to production
   (Ginto + brand green, 17.5px body, ~660px column), leaning modern (slightly looser line
   height + block spacing). post_body (editor rich text) is styled via .blog-prose. */

:root { --blog-green: rgb(3, 104, 90); }

.blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 32px;
  color: var(--blog-green);
}
.blog-title {
  font-family: "ABC Ginto Plus Variable", "ABC Ginto Normal Variable", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 456;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 1.5rem;
}
.blog-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin: 0 0 3rem;
}

/* the editor-authored rich text */
.blog-prose {
  font-family: "ABC Ginto Normal Variable", system-ui, sans-serif;
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.4;
}
.blog-prose > * + * { margin-top: 1.25rem; }
.blog-prose h2, .blog-prose h3, .blog-prose h4 {
  font-family: "ABC Ginto Plus Variable", system-ui, sans-serif;
  font-weight: 456;
  line-height: 1.15;
  margin: 2.5rem 0 0;
}
.blog-prose h2 { font-size: 30px; }
.blog-prose h3 { font-size: 24px; }
.blog-prose h4 { font-size: 20px; }
.blog-prose p { margin: 0; }
.blog-prose ul { list-style: disc; padding-left: 1.6rem; }
.blog-prose ol { list-style: decimal; padding-left: 1.6rem; }
.blog-prose li { margin: 0.35rem 0; }
.blog-prose li > ul, .blog-prose li > ol { margin-top: 0.35rem; }
.blog-prose a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.blog-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-prose blockquote { border-left: 3px solid currentColor; padding-left: 1rem; font-style: italic; opacity: 0.9; }
.blog-prose strong, .blog-prose b { font-weight: 600; }
.blog-prose hr { border: 0; border-top: 1px solid currentColor; opacity: 0.2; }

/* related posts */
.blog-related { max-width: 1120px; margin: 4rem auto 0; padding: 0 24px; color: var(--blog-green); }
.blog-related-heading {
  font-family: "ABC Ginto Plus Variable", system-ui, sans-serif;
  font-size: 22px; font-weight: 456; text-align: center; margin: 0 0 2.25rem;
}
.blog-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.blog-related-card a { text-decoration: none; color: var(--blog-green); display: block; }
.blog-related-card img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 1rem; aspect-ratio: 16/10; object-fit: cover; }
.blog-related-card .tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.blog-related-card h3 { font-family: "ABC Ginto Plus Variable", system-ui, sans-serif; font-size: 18px; font-weight: 456; margin: 0.25rem 0 0; }
.blog-seeall { text-align: center; margin: 3.5rem 0 1rem; }
.blog-seeall a {
  display: inline-block; border: 1px solid currentColor; border-radius: 999px;
  padding: 12px 32px; color: var(--blog-green); text-decoration: none; font-size: 15px;
}

/* ---- listing (blog index) ---- */
.blog-list { max-width: 1200px; margin: 0 auto; padding: 72px 24px; color: var(--blog-green); }
.blog-list-hero { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.blog-list-hero h1 {
  font-family: "ABC Ginto Plus Variable", system-ui, sans-serif;
  font-size: 40px; font-weight: 456; line-height: 1.1; margin: 0 0 1rem;
}
.blog-list-hero p { font-size: 18px; line-height: 1.5; opacity: 0.85; margin: 0; }
.blog-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 16px; padding: 1.75rem; text-decoration: none; color: var(--blog-green);
  background: #fff; border: 1px solid rgba(3, 104, 90, 0.12);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { box-shadow: 0 14px 34px rgba(3, 104, 90, 0.13); transform: translateY(-2px); }
.blog-card .tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; }
.blog-card h3 {
  font-family: "ABC Ginto Plus Variable", system-ui, sans-serif;
  font-size: 22px; font-weight: 456; line-height: 1.2; margin: 0.5rem 0 0.75rem;
}
.blog-card .summary { font-size: 15px; line-height: 1.5; opacity: 0.85; flex: 1 1 auto; }
.blog-card .date { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; margin-top: 1.5rem; }
/* tag-tinted cards (Company News topics; other blogs fall back to the neutral card) */
.blog-card.bg-press-release { background: #e9f1fb; border-color: transparent; }
.blog-card.bg-media { background: #e7f4ed; border-color: transparent; }
.blog-card.bg-crisis-education { background: #f1ecf8; border-color: transparent; }
/* pagination (@hubspot/pagination) */
.blog-pagination, .blog-list .pagination { display: flex; justify-content: center; gap: 0.5rem; margin: 3.5rem 0 0; list-style: none; padding: 0; }
.blog-list .pagination a, .blog-list .pagination span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid rgba(3, 104, 90, 0.2); color: var(--blog-green);
  text-decoration: none; font-size: 14px;
}
.blog-list .pagination .active a, .blog-list .pagination a[aria-current] { background: var(--blog-green); color: #fff; border-color: var(--blog-green); }
