.home-overview-card {
  border: 1px solid var(--theme-frontend-glass-border);
  background: var(--theme-frontend-glass-background);
  box-shadow: var(--theme-frontend-card-shadow);
  backdrop-filter: blur(18px);
}

.home-overview-item {
  border: 1px solid var(--theme-frontend-card-border);
  background: var(--theme-frontend-subpanel-background);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-overview-item:hover {
  border-color: var(--theme-frontend-card-border-hover);
  background: var(--theme-frontend-brand-action-background);
  text-decoration: none;
  transform: translateY(-0.125rem);
}

.home-latest-grid {
  display: grid;
  gap: 1rem;
}

.home-popular-tag-link {
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.home-popular-tag-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  text-align: left;
}

.home-popular-tag-heat {
  min-width: 4rem;
  flex: 0 0 auto;
  justify-content: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .home-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .home-overview-card {
    border-radius: 1.25rem;
    padding: 1.25rem;
  }

  .home-popular-tag-link {
    flex-direction: row;
    width: 100%;
  }
}
