/* Countries — same shell width as home feed (social-shell 560px) */

.countries-page .social-topbar {
  margin-bottom: 0;
}

.countries-lead {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.countries-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.countries-card .home-hero-banner {
  aspect-ratio: 1 / 1;
}

.countries-card.no-venues .home-hero-banner {
  filter: grayscale(1);
}

.countries-card.no-venues .home-hero-banner-empty {
  background: linear-gradient(145deg, #d9d7d1, #b8b5ad);
}

.countries-card.has-venues .home-hero-banner-empty {
  background: linear-gradient(145deg, #e8e4d8, #d4cfc3);
}

.countries-card .home-hero-card-foot {
  margin-top: 8px;
}

.countries-count {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.countries-card-skeleton .home-hero-banner {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  animation: menusm-skeleton-pulse 1.4s ease-in-out infinite alternate;
}

.countries-card-skeleton .home-hero-name,
.countries-card-skeleton .countries-count {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: var(--surface-2);
  animation: menusm-skeleton-pulse 1.4s ease-in-out infinite alternate;
}

.countries-card-skeleton .home-hero-name {
  width: 62%;
  height: 14px;
}

.countries-card-skeleton .countries-count {
  width: 42%;
  margin-top: 6px;
}

.countries-empty {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 380px) {
  .countries-grid {
    gap: 10px;
  }
}
