.content-hero {
  display: grid;
  gap: 1.25rem;
}

.content-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
}

.content-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.45));
}

.content-toolbar-row {
  display: grid;
  gap: 0.75rem;
}

.content-toolbar-label {
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.content-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.content-filter-chip:hover {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.25);
  background: rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

.content-filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.22));
  border-color: rgba(147, 197, 253, 0.22);
}

.content-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.content-card {
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.content-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.22);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
}

.content-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.content-card-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.52) inset;
}

.content-card-body {
  padding: 1.5rem;
}

.content-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.content-card-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(168, 85, 247, 0.22));
}

.content-card-cover-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.content-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.content-badge {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  font-size: 0.84rem;
}

.content-badge.is-muted {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

.content-card-title {
  color: #f8fafc;
}

.content-card:hover .content-card-title {
  color: #93c5fd;
}

.content-summary {
  color: #cbd5e1;
  line-height: 1.8;
}

.content-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card-link .content-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: #94a3b8;
  font-size: 0.92rem;
}

.content-empty {
  padding: 2.5rem 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  text-align: center;
  color: #94a3b8;
}

.content-load-more {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.content-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.16));
  color: #eff6ff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.content-load-more-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 219, 254, 0.35);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  color: #fff;
}

.content-load-more-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.42);
}

.content-load-more-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.7;
}

.content-load-more-hint,
.content-load-more-done {
  color: #94a3b8;
  font-size: 0.92rem;
}

@media (max-width: 575.98px) {
  .content-card-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .content-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .content-card-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .content-card-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
