.insights-head {
  padding-bottom: clamp(26px, 4vw, 44px);
}

.insights-head .lede,
.article-head .lede {
  max-width: none;
}

.insights-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 26px;
}

.insights-search {
  flex: 1 1 440px;
  min-width: 220px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: 600 0.95rem var(--body);
}

.insights-search:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.insights-filters {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.insights-filter {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid var(--border);
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font: 600 0.86rem var(--body);
}

.insights-filter:last-child {
  border-right: 0;
}

.insights-filter[aria-pressed="true"] {
  color: #fff;
  background: var(--primary-deep);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 38px;
  padding-bottom: clamp(42px, 6vw, 76px);
}

.insight-item {
  border-top: 2px solid var(--primary-deep);
  padding-top: 16px;
}

.insight-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: #e8eef5;
}

.insight-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-item[hidden] {
  display: none;
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--primary);
  font: 600 0.68rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-item h2 {
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.insight-item h2 a {
  color: var(--ink);
  text-decoration: none;
}

.insight-item h2 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.insight-item p {
  max-width: none;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.insights-empty {
  display: none;
  padding: 34px 0 60px;
  color: var(--ink-soft);
}

.insights-empty.visible {
  display: block;
}

.article-head {
  padding: clamp(42px, 6vw, 80px) 0 clamp(30px, 4vw, 54px);
  border-bottom: 2px solid var(--primary-deep);
}

.article-head h1 {
  max-width: none;
  margin-top: 14px;
  font-size: clamp(2.05rem, 4.1vw, 4rem);
  line-height: 1.08;
}

.article-meta {
  margin-top: 18px;
  color: var(--ink-soft);
  font: 600 0.75rem var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-wrap {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 68px) clamp(20px, 4vw, 56px) clamp(54px, 7vw, 92px);
}

.article-body {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  max-width: none;
  margin: 0 0 1.25em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: 0;
}

.article-body h2 {
  margin: 1.8em 0 0.55em;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.article-body h3,
.article-body h4 {
  margin: 1.55em 0 0.45em;
  font-size: clamp(1.2rem, 1.7vw, 1.48rem);
  line-height: 1.3;
}

.article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  border-radius: 8px;
  box-shadow: var(--lift-sm);
}

.article-body figure {
  margin: 1.6em 0;
}

.article-body figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-align: center;
}

.article-body blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--primary);
  font-style: italic;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25em 1.45em;
}

.article-body li {
  margin: 0.35em 0;
}

.article-body pre {
  overflow-x: auto;
  margin: 1.4em 0;
  padding: 18px 20px;
  border-radius: 8px;
  color: #eef4ff;
  background: var(--primary-deep);
  font-size: 0.9rem;
}

.article-source {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font: 500 0.78rem var(--mono);
}

.article-back {
  display: inline-block;
  margin-top: 24px;
  font: 600 0.82rem var(--mono);
  text-decoration: none;
}

@media (max-width: 1080px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .insights-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .insights-search {
    flex-basis: auto;
    width: 100%;
  }

  .insights-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insights-filter {
    padding: 0 8px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .article-head h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}
