/* Docs Card Grid - Reusable card layout for documentation pages */

/* Hero Section */
.docs-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem 3rem 3rem;
}

.docs-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.docs-hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.docs-hero-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Sections */
.docs-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 3rem;
  background-color: #ffffff;
  margin-bottom: 2rem;
}

.docs-section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.docs-section-description {
  font-size: 1rem;
  color: #666;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

/* Grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Cards */
.docs-card {
  background-color: #fafaf8;
  border: 1px solid #e0ddd4;
  border-radius: 4px;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.docs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #007acc;
}

.docs-card--coming-soon {
  opacity: 0.6;
  cursor: default;
}

.docs-card--coming-soon:hover {
  transform: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-color: #e0ddd4;
}

/* Card header with type badge */
.docs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.docs-card-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card type colors */
.docs-card--howto .docs-card-type {
  background-color: #e3f2fd;
  color: #1976d2;
}

.docs-card--best-practice .docs-card-type {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.docs-card--concept .docs-card-type {
  background-color: #e8f5e9;
  color: #388e3c;
}

.docs-card--pattern .docs-card-type {
  background-color: #fff3e0;
  color: #f57c00;
}

.docs-card-status {
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
}

.docs-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.docs-card-description {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .docs-hero {
    padding: 3rem 2rem 2rem 2rem;
  }

  .docs-section {
    padding: 2rem 2rem;
  }

  .docs-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .docs-hero {
    padding: 2rem 1.5rem;
  }

  .docs-hero-title {
    font-size: 1.75rem;
  }

  .docs-hero-description {
    font-size: 1rem;
  }

  .docs-section {
    padding: 2rem 1.5rem;
  }

  .docs-section-title {
    font-size: 1.5rem;
  }

  .docs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .docs-card {
    padding: 1.25rem;
  }

  .docs-card-title {
    font-size: 1.1rem;
  }

  .docs-card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .docs-hero-title {
    font-size: 1.5rem;
  }

  .docs-section-title {
    font-size: 1.25rem;
  }
}
