.latest-guides-section {
  padding: 118px 0;
  background: #eef5fc;
}

.latest-guides-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid #aeb6c3;
}

.latest-guides-heading > div {
  max-width: 780px;
}

.latest-guides-heading span {
  display: block;
  margin-bottom: 8px;
  color: #2b6ab7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.latest-guides-heading h2 {
  margin: 0;
  color: #08164b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.latest-guides-heading p {
  margin: 12px 0 0;
  color: #626d80;
  font-size: 15px;
}

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

.latest-guide-card {
  overflow: hidden;
  border: 1px solid #c8d5e4;
  border-radius: 24px;
  background: #fff;
}

.latest-guide-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.latest-guide-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e7ecf3;
}

.latest-guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.latest-guide-card:hover img {
  transform: scale(1.03);
}

.latest-guide-content {
  display: flex;
  min-height: 320px;
  flex: 1;
  flex-direction: column;
  padding: 27px 28px 30px;
}

.latest-guide-content .editorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: #788193;
  font-size: 11px;
  font-weight: 600;
}

.latest-guide-content .editorial-kicker {
  color: #286bb7;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-guide-content h3 {
  margin: 0 0 14px;
  color: #08164b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.latest-guide-content p {
  margin: 0 0 24px;
  color: #636e80;
  font-size: 13px;
  line-height: 1.6;
}

.latest-guide-content > span {
  margin-top: auto;
  color: #173f83;
  font-size: 13px;
  font-weight: 800;
}

.latest-guides-mobile-link {
  display: none;
  margin-top: 25px;
  text-align: center;
}

.latest-guides-mobile-link a {
  color: #163e83;
  font-weight: 800;
  text-decoration: none;
}

@media screen and (max-width: 991px) {
  .latest-guides-grid {
    grid-template-columns: 1fr 1fr;
  }

  .latest-guide-card--primary {
    grid-column: 1 / -1;
  }

  .latest-guide-card--primary > a {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .latest-guide-card--primary .latest-guide-image {
    aspect-ratio: auto;
  }
}

@media screen and (max-width: 767px) {
  .latest-guides-section {
    padding: 82px 0;
  }

  .latest-guides-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-guides-heading h2 {
    font-size: 40px;
  }

  .latest-guides-heading > .btn-secondary {
    display: none;
  }

  .latest-guides-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .latest-guide-card--primary {
    grid-column: auto;
  }

  .latest-guide-card--primary > a {
    display: flex;
  }

  .latest-guide-card--primary .latest-guide-image {
    aspect-ratio: 16 / 9;
  }

  .latest-guide-content {
    min-height: 0;
    padding: 24px 22px 27px;
  }

  .latest-guides-mobile-link {
    display: block;
  }
}
