/* استایل‌های صفحه چهره‌ها */

.figures-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.figures-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 3px solid var(--accent-green);
}

.figures-header h1 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin: 0 0 15px 0;
  font-weight: 700;
}

.figures-subtitle {
  font-size: 1.15rem;
  color: #666;
  margin: 0;
  line-height: 1.8;
}

/* فیلترها */
.figures-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.figures-filter-btn {
  padding: 10px 22px;
  background-color: white;
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.figures-filter-btn:hover,
.figures-filter-btn.active {
  background-color: var(--accent-green);
  color: white;
}

/* لیست چهره‌ها */
.figures-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* کارت گفت‌وگو */
.figure-interview {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.figure-interview:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.figure-interview-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.figure-interview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-interview-content {
  padding: 25px;
}

.figure-interview-type {
  display: inline-block;
  background-color: var(--accent-green);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.figure-interview-title {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.figure-interview-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.figure-interview-title a:hover {
  color: var(--accent-green);
}

.figure-interview-person {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.figure-interview-excerpt {
  color: #555;
  line-height: 1.8;
  margin: 0 0 20px 0;
  font-size: 0.95rem;
}

.figure-interview-link {
  display: inline-block;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.figure-interview-link:hover {
  color: var(--primary-green);
}

/* کارت تجربه زیسته */
.figure-experience {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-right: 4px solid var(--accent-green);
  transition: transform 0.3s, box-shadow 0.3s;
}

.figure-experience:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.figure-experience-type {
  display: inline-block;
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.figure-experience-title {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.figure-experience-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.figure-experience-title a:hover {
  color: var(--accent-green);
}

.figure-experience-author {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.figure-experience-excerpt {
  color: #555;
  line-height: 1.9;
  margin: 0;
  font-size: 1rem;
}

/* کارت نسل‌ها */
.figure-generation {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
  color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.figure-generation:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.figure-generation-type {
  display: inline-block;
  background-color: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.figure-generation-title {
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.figure-generation-description {
  line-height: 1.8;
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}

.loading {
  text-align: center;
  padding: 60px;
  color: #666;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  grid-column: 1 / -1;
}

.empty-state h3 {
  color: var(--primary-green);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.empty-state p {
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .figures-list {
    grid-template-columns: 1fr;
  }
  
  .figures-header h1 {
    font-size: 2rem;
  }
  
  .figures-filters {
    flex-direction: column;
  }
  
  .figures-filter-btn {
    width: 100%;
    text-align: center;
  }
}

