/* V4 palette shared by the homepage's community entry and public community pages. */
:root {
  --aizvee-white: #ffffff;
  --aizvee-ink: #14191f;
  --aizvee-nav-text: #273746;
  --aizvee-muted: #657180;
  --aizvee-border: #dfe5ec;
  --aizvee-silver: #f4f6f8;
  --aizvee-blue: #0071e3;
  --aizvee-link: #075fc0;
  --aizvee-cta: #111923;
  --aizvee-cta-hover: #27394c;
  --aizvee-entry-bg: #f4f8fc;
  --aizvee-entry-border: #dce7f3;
  --aizvee-entry-hover: #edf5fd;
  --aizvee-entry-hover-border: #9cb7d7;
}

/* Community navigation on the public V4 homepage. */
.v4-community-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding-inline: 12px;
  color: var(--aizvee-nav-text);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}

.v4-community-nav:hover,
.v4-community-card:hover strong {
  color: var(--aizvee-link);
}

.v4-community-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid var(--aizvee-entry-border);
  border-radius: 7px;
  background: var(--aizvee-entry-bg);
  color: #192735;
}

.v4-community-card:hover {
  border-color: var(--aizvee-entry-hover-border);
  background: var(--aizvee-entry-hover);
}

.v4-community-card strong,
.v4-community-description {
  display: block;
}

.v4-community-card strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.v4-community-description {
  margin-top: 3px;
  color: #4d6074;
  font-size: 12px;
  line-height: 1.5;
}

.v4-community-card .arrow {
  color: var(--aizvee-link);
}

.v4-community-card:focus-visible,
.v4-community-nav:focus-visible {
  outline: 2px solid var(--aizvee-blue);
  outline-offset: 3px;
}

.hero-stats {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .v4-community-nav {
    display: none;
  }
}
