/* ==========================================================================
   Link cards (icon + text + arrow). Compact, whole card is one link.
   New file, own class names (.link-card), so org-cards.css is untouched.
   DBIM tokens only, so it follows data-theme / data-mode.
   ========================================================================== */

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  min-height: 100px;
  padding: 16px 72px 16px 24px;     /* right padding keeps text clear of the arrow */
  border: 1px solid var(--c2);
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.link-card:hover {
  border-color: var(--key);
  background: var(--c5);
}

/* Icon: either an <img> (your own SVG/PNG) or a Material Symbol */
.link-card__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--key);
}
.link-card__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.link-card__icon .material-symbols-outlined { font-size: 4rem; }

/* Text: wrap the key words in <strong> */
.link-card__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
}
.link-card__title strong { font-weight: 700; }

/* The title link stretches over the whole card, so the card is one tap target */
.link-card__link {
  color: inherit;
  text-decoration: none;
}
.link-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}
.link-card__link:focus-visible { outline: none; }
.link-card__link:focus-visible::after {
  outline: 2px solid var(--key);
  outline-offset: 2px;
}

/* Arrow button (decorative: the link itself is already announced) */
.link-card__go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--c4);
  color: var(--key);
  transition: background-color 0.15s ease;
}
.link-card:hover .link-card__go { background: var(--c3); }
.link-card__go .material-symbols-outlined { font-size: 2.4rem; }

@media (max-width: 575.5px) {
  .link-card { gap: 16px; padding: 12px 64px 12px 16px; }
  .link-card__icon { flex-basis: 44px; width: 44px; height: 44px; }
  .link-card__icon .material-symbols-outlined { font-size: 4rem; }
  .link-card__title { font-size: 1.6rem; }
}
