.grh-ecosystem-links {
  width: 100%;
  padding: 28px 18px 34px;
  background: #f7f7f7;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
}

.grh-ecosystem-links *,
.grh-ecosystem-links *::before,
.grh-ecosystem-links *::after {
  box-sizing: border-box;
}

.grh-ecosystem-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 22px;
  background: #fff;
  border: 3px solid #b5121b;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
}

.grh-ecosystem-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e5e5e5;
}

.grh-ecosystem-kicker {
  margin: 0 0 5px;
  color: #b5121b;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.grh-ecosystem-heading h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 900;
}

.grh-ecosystem-heading p:not(.grh-ecosystem-kicker) {
  max-width: 720px;
  margin: 7px 0 0;
  color: #5c5c5c;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.grh-ecosystem-home {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #b5121b;
  border: 1px solid #d9b2b5;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-decoration: none;
}

.grh-ecosystem-home:hover,
.grh-ecosystem-home:focus-visible {
  color: #8e0e15;
  border-color: #b5121b;
  background: #fff5f5;
  text-decoration: none;
}

.grh-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.grh-ecosystem-card {
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 15px;
  color: #222;
  background: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.grh-ecosystem-card:hover,
.grh-ecosystem-card:focus-visible {
  color: #222;
  background: #fff;
  border-color: #b5121b;
  box-shadow: 0 5px 14px rgba(181, 18, 27, .10);
  transform: translateY(-2px);
  text-decoration: none;
}

.grh-ecosystem-badge {
  min-width: 48px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #fff;
  background: #b5121b;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
}

.grh-ecosystem-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.grh-ecosystem-copy strong {
  color: #1c1c1c;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.grh-ecosystem-copy > span {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.grh-ecosystem-arrow {
  color: #b5121b;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.grh-ecosystem-youtube {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding: 12px 14px;
  color: #59440e;
  background: #fff8e8;
  border: 1px solid #ead49c;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.grh-ecosystem-youtube a {
  color: #8d0f16;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grh-ecosystem-youtube a:hover,
.grh-ecosystem-youtube a:focus-visible {
  color: #b5121b;
}

@media (max-width: 900px) {
  .grh-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grh-ecosystem-links {
    padding: 20px 10px 26px;
  }

  .grh-ecosystem-shell {
    padding: 16px;
    border-width: 2px;
    border-radius: 11px;
  }

  .grh-ecosystem-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .grh-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .grh-ecosystem-card {
    min-height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .grh-ecosystem-card {
    transition: none;
  }

  .grh-ecosystem-card:hover,
  .grh-ecosystem-card:focus-visible {
    transform: none;
  }
}
