/* Link card — full-width pill, icon left, label optically centred, arrow right */

.link-group {
  margin-top: var(--space-7);
}
.link-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.link-card {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--surface-button);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.link-card__icon {
  width: 22px;
  height: 22px;
  justify-self: center;
}
.link-card__body {
  text-align: center;
}
.link-card__label {
  display: block;
  font-size: 1rem;
}
.link-card__external {
  width: 16px;
  height: 16px;
  justify-self: center;
}

/* Plain — no icon or arrow, the body takes the full width */
.link-card--plain {
  grid-template-columns: 1fr;
}

/* Featured — orange fill needs dark ink text; cream on this orange fails contrast */
.link-card--featured {
  min-height: 64px;
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(232, 112, 60, 0.35);
}

@media (hover: hover) {
  .link-card:hover {
    transform: translateY(-2px);
    background: var(--surface-button-hover);
  }
  .link-card--featured:hover {
    background: var(--orange-hover);
  }
}

.link-card:active {
  transform: translateY(0) scale(0.98);
}
.link-card--featured:active {
  box-shadow: 0 4px 12px rgba(232, 112, 60, 0.25);
}
