/* All Posts page specific styles */

/* Header adjustments for post pages */
.header .logo a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Post Hero Section */
  .post-hero {
    background: var(--gradient-dark);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0 3rem;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  
  .breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .breadcrumb a:hover {
    color: var(--primary);
  }
  
  .separator {
    color: var(--text-muted);
  }
  
  .current {
    color: var(--text-primary);
  }
  
  .post-header {
    max-width: 800px;
  }
  
  .post-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
  }
  
  .post-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .post-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
  }
  
  /* Post title links */
  .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .post-title a:hover {
    color: var(--primary);
  }

  /* Search Container */
  .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem auto;
  }

  .search-input {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  }

  .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
    pointer-events: none;
  }
  
  .posts-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  
  .filter-controls {
    display: flex;
    gap: 1rem;
  }
  
  .filter-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    min-width: 150px;
  }
  
  .filter-select:focus {
    outline: none;
    border-color: var(--primary);
  }
  
  .posts-count {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .no-posts {
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .no-posts-content {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  
  .no-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
  }
  
  .no-posts p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
  }
  
  .clear-filters-btn {
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .clear-filters-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
  }
  
  /* Clear filters button styling */
.clear-filters {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-filters:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.clear-filters:active {
  transform: translateY(0);
}

/* Also style the other clear filters button in no-posts section */
.clear-filters-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.clear-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Posts meta section styling */
.posts-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#posts-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .posts-meta {
      flex-direction: column;
      align-items: stretch;
      gap: 0.5rem;
  }
  
  .clear-filters,
  .clear-filters-btn {
      width: 100%;
      text-align: center;
  }
}

  @media (max-width: 768px) {
    .post-title {
      font-size: 2rem;
    }
  
    .post-subtitle {
      font-size: 1.25rem;
    }

    .search-container {
      margin: 0 1rem 2rem 1rem;
    }

    .search-input {
      padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }

    .search-icon {
      left: 0.875rem;
      font-size: 1rem;
    }
  
    .posts-filter {
      flex-direction: column;
      gap: 1rem;
      align-items: stretch;
    }
  
    .filter-controls {
      flex-direction: column;
      gap: 0.75rem;
    }

    .filter-select {
      min-width: unset;
    }
  
    .posts-count {
      text-align: center;
    }
  }
