/* main__video_case_study_related — related stories & resources cards */

.gfc.main__video_case_study_related {
  padding: clamp(64px, 9vw, 128px) 0;
  background: #EFF0EF;
  position: relative;
}

.gfc.main__video_case_study_related .vcs-rel__container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

/* Section header — row layout with link on the right */
.gfc.main__video_case_study_related .vcs-rel__head {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}

.gfc.main__video_case_study_related .vcs-rel__eyebrow {
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 600;
  color: #00AFAA;
  margin: 0 0 14px;
  line-height: 1;
}

.gfc.main__video_case_study_related .vcs-rel__heading {
  font-family: "Gilroy", "Gilroy-Bold", "Manrope", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.022em;
  color: #343741;
  margin: 0;
  text-wrap: balance;
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}

.gfc.main__video_case_study_related .vcs-rel__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 110px;
  height: 9px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 11' fill='none'><path d='M2 7.2C18 3.4 42 2.2 65 4.5c22 2.3 44 4 63 1.5' stroke='%2300AFAA' stroke-width='3.2' stroke-linecap='round' fill='none'/></svg>") no-repeat;
  background-size: contain;
}

/* "All resources" link */
.gfc.main__video_case_study_related .vcs-rel__all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B31983;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 14px;
  transition: gap .2s ease;
}

.gfc.main__video_case_study_related .vcs-rel__all-link:hover { gap: 14px; }

/* Cards grid */
.gfc.main__video_case_study_related .vcs-rel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gfc.main__video_case_study_related .vcs-rel__card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #D9DAD9;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.gfc.main__video_case_study_related .vcs-rel__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -16px rgba(52,55,65,.18), 0 4px 12px -6px rgba(52,55,65,.08);
  border-color: transparent;
}

/* Thumbnail */
.gfc.main__video_case_study_related .vcs-rel__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.gfc.main__video_case_study_related .vcs-rel__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content type badge */
.gfc.main__video_case_study_related .vcs-rel__type {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: #343741;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
}

/* Card body */
.gfc.main__video_case_study_related .vcs-rel__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gfc.main__video_case_study_related .vcs-rel__title {
  font-family: "Gilroy", "Gilroy-Bold", "Manrope", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #343741;
}

.gfc.main__video_case_study_related .vcs-rel__excerpt {
  font-size: 14.5px;
  line-height: 1.55;
  color: #4A4E59;
  margin: 0 0 18px;
}

/* "Read more" CTA link — pushes to bottom of card */
.gfc.main__video_case_study_related .vcs-rel__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B31983;
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s ease;
}

.gfc.main__video_case_study_related .vcs-rel__cta:hover { gap: 14px; }

/* Responsive */
@media (max-width: 880px) {
  .gfc.main__video_case_study_related .vcs-rel__grid { grid-template-columns: 1fr; }
  .gfc.main__video_case_study_related .vcs-rel__head { flex-direction: column; align-items: flex-start; }
  .gfc.main__video_case_study_related .vcs-rel__all-link { padding-bottom: 0; }
}
