/* Insights index — registry design */

.insights-hero {
  background: linear-gradient(180deg, var(--hp-bg), var(--hp-bg2));
  border-bottom: 1px solid var(--hp-border);
}

.insights-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 36px;
  box-sizing: border-box;
}

.insights-hero__eyebrow {
  font-family: var(--hp-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-accent);
  margin: 0 0 12px;
}

.insights-hero__title {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--hp-text);
}

.insights-hero__standfirst {
  margin: 0;
  max-width: 680px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
  color: var(--hp-muted);
}

.insights-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 56px;
  box-sizing: border-box;
  width: 100%;
}

.insights-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.insights-pill {
  font-family: var(--hp-font);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--hp-muted);
  background: var(--hp-card);
  border: 1px solid var(--hp-border2);
  border-radius: 99px;
  padding: 7px 12px;
  cursor: pointer;
  margin: 0;
  width: auto;
}

.insights-pill.is-active {
  background: var(--hp-text);
  color: var(--hp-card);
  border-color: var(--hp-text);
}

.insights-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--hp-card);
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.insights-featured:hover {
  border-color: #b9bcc9;
  box-shadow: 0 3px 12px rgba(22, 24, 29, 0.07);
  color: inherit !important;
}

.insights-featured__cover {
  min-height: 260px;
  background:
    repeating-linear-gradient(
      -45deg,
      #eceaf6,
      #eceaf6 10px,
      #f4f3fa 10px,
      #f4f3fa 20px
    );
  display: grid;
  place-items: center;
  position: relative;
}

.insights-featured__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.insights-featured__cover-label {
  font-family: var(--hp-mono);
  font-size: 11px;
  color: #8a8db8;
  position: relative;
  z-index: 1;
}

.insights-featured__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.insights-featured__badge {
  font-family: var(--hp-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--hp-accent-fg);
}

.insights-featured__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 29px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--hp-text);
}

.insights-featured__excerpt {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hp-muted);
}

.insights-featured__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-accent) !important;
  margin-top: 4px;
}

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

.insights-card {
  display: flex;
  flex-direction: column;
  background: var(--hp-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.insights-card:hover {
  border-color: #b9bcc9;
  box-shadow: 0 3px 12px rgba(22, 24, 29, 0.07);
  color: inherit !important;
}

.insights-card.is-hidden {
  display: none;
}

.insights-card__cover {
  height: 130px;
  background:
    repeating-linear-gradient(
      -45deg,
      #eceaf6,
      #eceaf6 10px,
      #f4f3fa 10px,
      #f4f3fa 20px
    );
  position: relative;
}

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

.insights-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.insights-card__date {
  font-family: var(--hp-mono);
  font-size: 11.5px;
  color: var(--hp-faint);
}

.insights-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--hp-text);
}

.insights-card__excerpt {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--hp-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insights-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.insights-card__tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--hp-muted2);
  background: var(--hp-surface2);
  border-radius: 99px;
  padding: 4px 9px;
}

.insights-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--hp-border2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: var(--hp-muted);
}

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

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

@media (max-width: 640px) {
  .insights-hero__inner,
  .insights-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

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