/* GEP — From the blog: up to three CMS-linked posts; manual fields optional overrides. */

.c-gep-blog {
  padding: clamp(40px, 8vw, 80px) 0;
  background: #fff;
}

.c-gep-blog__header {
  text-align: center;
  margin: 0 auto clamp(24px, 6vw, 40px);
  max-width: 720px;
}

@media (min-width: 1020px) {
  .c-gep-blog__header {
    margin-bottom: clamp(24px, 6vw, 48px);
  }
}

.c-gep-blog__eyebrow {
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 115%;
  letter-spacing: -0.08px;
  text-transform: uppercase;
  color: #3ed9cc;
}

.c-gep-blog__title {
  margin: 0;
  font-family: "Spoof", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 6vw, 36px);
  line-height: 125%;
  color: #17293c;
}

.c-gep-blog__grid {
  display: grid;
  gap: clamp(12px, 6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .c-gep-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 6vw, 24px);
  }
}

@media (min-width: 1020px) {
  .c-gep-blog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

.c-gep-blog__cell {
  margin: 0;
  padding: 0;
}

.c-gep-blog__card {
  margin: 0;
  height: 100%;
}

.c-gep-blog__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background: #f0f2f4;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .c-gep-blog__card-link {
    padding: 24px;
  }
}

html.no-touchevents .c-gep-blog__card-link:hover {
  box-shadow: 0 16px 40px rgba(23, 41, 60, 0.12);
}

.c-gep-blog__card-link:focus-visible {
  outline: 2px solid #3ed9cc;
  outline-offset: 3px;
}

.c-gep-blog__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 18px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.6);
}

.c-gep-blog__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@supports not (aspect-ratio: 1 / 1) {
  .c-gep-blog__media {
    aspect-ratio: auto;
    padding-bottom: 62.5%;
    height: 0;
  }

  .c-gep-blog__img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
  }
}

.c-gep-blog__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.c-gep-blog__cat {
  margin: 0 0 10px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 115%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.c-gep-blog__cat--purple {
  color: #8b74e8;
}

.c-gep-blog__cat--yellow {
  color: #d4a20c;
}

.c-gep-blog__cat--coral {
  color: #e85d6f;
}

.c-gep-blog__card-title {
  margin: 0 0 16px;
  font-family: "Spoof", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 125%;
  color: #17293c;
  flex: 0 1 auto;
}

.c-gep-blog__excerpt {
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 145%;
  color: rgba(23, 41, 60, 0.76);
}

@media (min-width: 768px) {
  .c-gep-blog__card-title {
    font-size: 22px;
  }
}

.c-gep-blog__read {
  margin-top: auto;
  font-family: "Spoof", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 135%;
  color: #415F7D;
}

html.no-touchevents .c-gep-blog__card-link:hover .c-gep-blog__read {
  color: #3ed9cc;
}
