/* Links section (office site only). It uses the colors, fonts, radius and
   shadow from styles.css, which is a copy of acitnapp.com's and kept identical. */

/* Groups sit side by side, one column each, and stack on narrow screens, like
   acitnapp.com's categories. auto-fill keeps a lone group at column width
   instead of stretching it across the page. */
.link-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px 20px;
  align-items: start;
}

/* Same heading as acitnapp.com's categories: a swatch in the group's color. */
.link-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.link-group h3::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
}

.link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.link-text { flex: 1; min-width: 0; }
.link-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}
.link-description {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.link-arrow {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 1.05rem;
  transition: transform 0.15s ease, color 0.15s ease;
}
.link:hover .link-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}
