.gs-related-links {
  background: rgba(var(--bg-a), 1);
  color: rgba(var(--cl-d), 1);
  padding: clamp(56px, 7vw, 96px) 0;
}

.gs-related-links__eyebrow {
  margin-bottom: 22px;
  color: rgba(var(--cl-f), 1);
  font: 700 16px/1.1 var(--font-family);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gs-related-links__heading {
  margin: 0 0 clamp(56px, 6vw, 80px);
  color: rgba(var(--cl-d), 1);
  font: 700 clamp(40px, 3.6vw, 52px)/1.1 var(--font-family2);
  letter-spacing: -.035em;
}

.gs-related-links__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.gs-related-links__column-title {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(var(--cl-d), .9);
  color: rgba(var(--cl-d), 1);
  font: 600 24px/1.2 var(--font-family);
}

.gs-related-links__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 20px;
  min-height: 104px;
  padding: 16px 0;
  border-bottom: 1px solid var(--br-a);
  color: inherit;
  text-decoration: none;
}

.gs-related-links__item:not(a) {
  grid-template-columns: 90px minmax(0, 1fr);
}

.gs-related-links__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 68px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(var(--bg-c), 1);
  color: rgba(var(--cl-f), 1);
}

.gs-related-links__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-related-links__visual svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

/* Line icons (drawn with fill="none") keep no fill; only solid icons take the text colour (2026-12-02). */
.gs-related-links__visual svg[fill="none"] {
  fill: none;
}

.gs-related-links__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gs-related-links__item-title {
  color: rgba(var(--cl-d), 1);
  font: 600 20px/1.25 var(--font-family);
}

.gs-related-links__subtitle {
  color: rgba(var(--cl-d), .78);
  font: 400 16px/1.35 var(--font-family);
}

.gs-related-links__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 9px;
  color: rgba(var(--cl-f), 1);
  transition: transform .2s ease;
}

.gs-related-links__arrow svg {
  display: block;
  width: 14px;
  height: 9px;
}

.gs-related-links__item:hover .gs-related-links__item-title,
.gs-related-links__item:focus-visible .gs-related-links__item-title {
  color: rgba(var(--cl-f), 1);
}

.gs-related-links__item:hover .gs-related-links__arrow,
.gs-related-links__item:focus-visible .gs-related-links__arrow {
  transform: translateX(4px);
}

/* One group: its title runs the full width, the links in rows of three. Two groups: two equal columns (2026-12-02). */
.gs-related-links--n1 .gs-related-links__columns {
  grid-template-columns: minmax(0, 1fr);
}

.gs-related-links--n1 .gs-related-links__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(32px, 4vw, 64px);
}

.gs-related-links--n2 .gs-related-links__columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .gs-related-links__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-related-links--n1 .gs-related-links__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gs-related-links {
    padding: 48px 0;
  }

  .gs-related-links__heading {
    margin-bottom: 42px;
    font-size: 40px;
  }

  .gs-related-links__columns,
  .gs-related-links--n2 .gs-related-links__columns,
  .gs-related-links--n1 .gs-related-links__items {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gs-related-links--n1 .gs-related-links__items {
    gap: 0;
  }

  .gs-related-links__column-title {
    font-size: 22px;
  }

  .gs-related-links__item {
    grid-template-columns: 76px minmax(0, 1fr) 16px;
    gap: 16px;
    min-height: 92px;
  }

  .gs-related-links__item:not(a) {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .gs-related-links__visual {
    width: 76px;
    height: 58px;
  }

  .gs-related-links__item-title {
    font-size: 18px;
  }
}
