/* =========================================================
   HASHED SYSTEM — Blog / Insights
   Visual corrections that sit on top of the shared Tailwind
   utilities. Scoped to avoid touching any existing page.
   ========================================================= */

.hs-blog-page,
.hs-blog-page * {
  box-sizing: border-box;
}

.hs-blog-page {
  overflow-x: clip;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hs-blog-page h1,
.hs-blog-page h2,
.hs-blog-page h3,
.hs-blog-page h4,
.hs-blog-page h5,
.hs-blog-page h6 {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hs-blog-page img {
  display: block;
}

.hs-blog-page .line-clamp-3,
.hs-blog-page .line-clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hs-blog-page .line-clamp-3 {
  -webkit-line-clamp: 3;
}

.hs-blog-page .line-clamp-4 {
  -webkit-line-clamp: 4;
}

/* WordPress pagination: turn the generated anchors into the terminal-style
   32px controls from the supplied screen. */
.hs-blog-page .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin-left: .25rem;
  padding: 0 .5rem;
  border: 1px solid #e2e8f0;
  border-radius: .25rem;
  background: #fff;
  color: #334155;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hs-blog-page .page-numbers.current {
  border-color: #0f172a;
  background: #0f172a;
  color: #4cd7f6;
}

.hs-blog-page .page-numbers:hover,
.hs-blog-page .page-numbers:focus-visible {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #0f172a;
}

.hs-blog-page .page-numbers.next {
  gap: .3rem;
}

.hs-blog-page .page-numbers.dots {
  min-width: auto;
  border-color: transparent;
  background: transparent;
}

@media (max-width: 1023px) {
  .hs-blog-page section.sticky {
    top: 5rem;
  }
}

@media (max-width: 767px) {
  .hs-blog-page .hs-blog-featured h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .hs-blog-page .hs-blog-featured .p-6 {
    padding: 1.25rem;
  }

  .hs-blog-page .page-numbers {
    margin-left: .15rem;
  }
}

/* Exact six-card editorial grid from the supplied Blogs design.
   The secondary/latest-posts area is always 3 columns on desktop,
   2 on tablet and 1 on mobile. */
.hs-blog-page .hs-blog-secondary-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hs-blog-page .hs-blog-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .hs-blog-page .hs-blog-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.hs-blog-page .hs-blog-secondary-grid > article {
  min-width: 0;
  height: 100%;
}

.hs-blog-page .hs-blog-secondary-grid article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Mobile: featured report button */
@media (max-width:640px){
div:has(> .hs-featured-report-btn){flex-wrap:wrap}
.hs-featured-report-btn{flex:1 1 100%;width:100%}
}
