/* ==========================================================================
   Propcash Learn Category Pages
   ========================================================================== */

/* Category Hero */
.category-hero {
  background: linear-gradient(135deg, #6b4423 0%, #4a2f18 100%);
  padding: 60px 20px;
  text-align: center;
}

.category-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.category-hero .breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.category-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.category-hero .breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.category-hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
}

.category-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

/* Category Container */
.category-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

/* Post Card */
.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(107, 68, 35, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0ebe6;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(107, 68, 35, 0.15);
  border-color: #6b4423;
}

.post-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 16px;
  background: #faf8f5;
}

.post-card-content {
  padding: 0 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8B7355;
  margin-bottom: 12px;
}

.post-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.3;
}

.post-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #6b625a;
  line-height: 1.6;
  margin: 0 0 auto;
  flex: 1;
}

.post-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0ebe6;
}

/* Responsive */
@media (max-width: 768px) {
  .category-hero {
    padding: 48px 20px;
  }

  .category-hero h1 {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .category-hero h1 {
    font-size: 1.75rem;
  }

  .category-hero p {
    font-size: 1rem;
  }
}
