.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(270px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.insights-slide {
  display: flex;
}

.insights-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.insights-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d1d8;
  cursor: pointer;
}

.insights-dots button.is-active {
  background: var(--orange);
}

.insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.insight-photo {
  width: 100%;
  height: 236px;
  background-color: #dbe5eb;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.insight-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px 18px 26px;
  background: var(--white);
}

.tag {
  display: block;
  color: var(--orange);
  font-weight: var(--font-bold);
  font-size: var(--font-caption);
  line-height: 1;
  text-transform: uppercase;
}

.insight-copy h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: #050b16;
  font-size: var(--font-title);
  line-height: var(--leading-title);
  font-weight: var(--font-bold);
  transition: color 180ms ease;
}

.insight-copy h3 span {
  color: var(--orange);
  font-size: var(--font-h3);
  line-height: 1;
  font-weight: var(--font-regular);
  transition: transform 180ms ease;
}

.insight-copy p {
  margin: 14px 0 0;
  color: #394653;
  font-size: var(--font-body);
  line-height: var(--leading-body);
  font-weight: var(--font-regular);
}

.author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
}

.author span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #dde5e9;
  color: var(--orange);
  font-weight: var(--font-bold);
  font-size: var(--font-micro);
  transition: border-color 180ms ease;
}

.author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.author small {
  color: #162232;
  font-size: var(--font-caption);
  line-height: 1;
  font-weight: var(--font-bold);
}

.insight-card:hover,
.insight-card:focus-within {
  border-color: var(--orange);
  box-shadow: none;
}

.insight-card:hover .insight-copy h3,
.insight-card:focus-within .insight-copy h3 {
  color: var(--orange);
}

.insight-card:hover .insight-copy h3 span,
.insight-card:focus-within .insight-copy h3 span {
  transform: translateX(4px);
}

.insight-card:hover .author span,
.insight-card:focus-within .author span {
  border-color: var(--orange);
}

.insights-cta {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .insights-slider {
    overflow: hidden;
  }

  .insights-grid {
    display: flex;
    gap: 0;
    align-items: stretch;
    transition: transform 520ms ease;
    will-change: transform;
  }

  .insights-slide {
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    padding: 0 1px;
  }

  .insight-card {
    max-width: 430px;
  }

  .insights-dots {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-grid {
    transition: none;
  }
}
