/* Directory Manager Public Stylesheet */
.dm-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: system-ui, -apple-system, sans-serif;
}

.dm-archive-header {
  margin-bottom: 24px;
}

.dm-archive-header h1 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.dm-filter-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.dm-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.dm-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dm-card-featured {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b;
}

.dm-card-media {
  position: relative;
  height: 180px;
  background: #cbd5e1;
}

.dm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dm-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.dm-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
}

.dm-badge-verified {
  background: #0284c7;
}

.dm-badge-featured {
  background: #d97706;
}

.dm-card-body {
  padding: 16px;
}

.dm-card-sub {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.dm-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.dm-card-title a {
  text-decoration: none;
  color: inherit;
}

.dm-button {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.dm-breadcrumbs {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 16px;
}

.dm-breadcrumbs a {
  color: #2563eb;
  text-decoration: none;
}
