/* Article-specific styles */
.page-header {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.articles-section {
  padding: 4rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.article-category {
  background-color: #c44569;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.article-date {
  font-weight: 500;
}

.article-read-time {
  font-style: italic;
}

/* Individual Article Styles */
.article {
  background-color: #fff;
}

.article-header {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  padding: 3rem 0 2rem;
  text-align: center;
}

.article-header .article-meta {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.article-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-subtitle {
  font-size: 1.3rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

.article-content {
  padding: 2rem 0;
}

.article-body {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-intro {
  font-size: 1.3rem;
  font-weight: 300;
  color: #4a4a4a;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  border-left: 4px solid #c44569;
  padding-left: 1.5rem;
}

.article-body h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
}

.article-body h3 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #2c2c2c;
}

.article-body p {
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.article-quote {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  border-left: 4px solid #c44569;
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-quote p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  color: #2c2c2c;
  font-weight: 400;
}

/* Related Articles */
.related-articles {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  padding: 4rem 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-content {
  padding: 1.5rem;
}

.related-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.related-content h3 a {
  color: #2c2c2c;
  transition: color 0.3s ease;
}

.related-content h3 a:hover {
  color: #c44569;
}

.related-content p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Resources Page Styles */
.resources-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 0;
}

.resource-section {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.resource-section h2 {
  color: #c44569;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #fdf2f8;
  padding-bottom: 0.5rem;
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid #c44569;
}

.resource-card h3 {
  color: #2c2c2c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.resource-card h4 {
  color: #c44569;
  font-size: 1.1rem;
  margin: 1.5rem 0 1rem 0;
}

.resource-card p {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.resource-card ul,
.resource-card ol {
  color: #4a4a4a;
  line-height: 1.6;
  margin-left: 1.5rem;
}

.resource-card li {
  margin-bottom: 0.5rem;
}

.checklist strong,
.template strong,
.exercise strong {
  color: #c44569;
}

/* About Page Styles */
.about-content {
  padding: 2rem 0;
}

.about-section {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-section h2 {
  color: #c44569;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #fdf2f8;
  padding-bottom: 0.5rem;
}

.about-section p {
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid #c44569;
}

.value-card h3 {
  color: #2c2c2c;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

.about-list {
  color: #4a4a4a;
  line-height: 1.7;
  margin-left: 1.5rem;
}

.about-list li {
  margin-bottom: 0.5rem;
}

.approach-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.feature h4 {
  color: #c44569;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature p {
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.team-values {
  background: linear-gradient(135deg, #c44569 0%, #8b2635 100%);
  color: white;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.team-values p {
  color: inherit;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-values ul {
  color: inherit;
  line-height: 1.7;
  margin-left: 1.5rem;
}

.team-values li {
  margin-bottom: 0.5rem;
}

.community-invitation {
  background: linear-gradient(135deg, #c44569 0%, #8b2635 100%);
  color: white;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  margin-top: 2rem;
}

.community-invitation h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.community-invitation p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: white;
  color: #c44569;
}

.btn-primary:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: #c44569;
  transform: translateY(-2px);
}

/* Category Filter Styles */
.category-filter {
  background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.filter-btn:hover {
  background: #f8fafc;
  border-color: #c44569;
  color: #c44569;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #c44569;
  color: white;
  border-color: #c44569;
  box-shadow: 0 4px 12px rgba(196, 69, 105, 0.3);
}

.filter-btn.active:hover {
  background: #8b2635;
  border-color: #8b2635;
  transform: translateY(-2px);
}

/* Category-specific article card animations */
.article-card {
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.article-card.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.article-card.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* Category-specific colors */
.article-card[data-category="family-bonds"] .article-category {
  background-color: #059669;
}

.article-card[data-category="romantic-love"] .article-category {
  background-color: #dc2626;
}

.article-card[data-category="friendship"] .article-category {
  background-color: #7c3aed;
}

.article-card[data-category="self-love"] .article-category {
  background-color: #ea580c;
}

.article-card[data-category="psychology"] .article-category {
  background-color: #0891b2;
}

.article-card[data-category="modern-love"] .article-category {
  background-color: #be185d;
}

.article-card[data-category="cultural-perspectives"] .article-category {
  background-color: #7c2d12;
}

.article-card[data-category="daily-practice"] .article-category {
  background-color: #4338ca;
}

/* Print styles for articles */
@media print {
  .header,
  .footer,
  .related-articles,
  .nav-toggle {
    display: none;
  }

  .article-content {
    padding: 0;
  }

  .article-body {
    max-width: none;
    font-size: 12pt;
    line-height: 1.5;
  }

  .article-title {
    font-size: 24pt;
    margin-bottom: 1rem;
  }

  .article-subtitle {
    font-size: 14pt;
    margin-bottom: 1.5rem;
  }

  .article-hero-image {
    margin-bottom: 1rem;
  }

  .article-quote {
    background: #f5f5f5;
    border: 1px solid #ddd;
  }
}

/* Responsive Design for Articles */
@media (max-width: 768px) {
  .page-title,
  .article-title {
    font-size: 2rem;
  }

  .page-subtitle,
  .article-subtitle {
    font-size: 1.1rem;
  }

  .article-intro {
    font-size: 1.2rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.5rem;
  }

  .article-body h3 {
    font-size: 1.2rem;
  }

  .article-quote {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .article-quote p {
    font-size: 1.1rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-cards,
  .values-grid,
  .approach-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-section,
  .about-section {
    padding: 2rem;
  }

  .community-invitation {
    padding: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .filter-buttons {
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .team-values {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .page-header,
  .article-header {
    padding: 2rem 0 1.5rem;
  }

  .article-title {
    font-size: 1.8rem;
  }

  .article-subtitle {
    font-size: 1rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .article-header .article-meta {
    align-items: center;
  }

  .article-intro {
    font-size: 1.1rem;
    padding-left: 1rem;
  }

  .article-quote {
    padding: 1rem;
  }

  .resource-section,
  .about-section {
    padding: 1rem;
  }

  .resource-card,
  .value-card {
    padding: 1.5rem;
  }

  .community-invitation {
    padding: 1.5rem;
  }

  .community-invitation h3 {
    font-size: 1.3rem;
  }

  .community-invitation p {
    font-size: 1rem;
  }

  .category-filter {
    padding: 1.5rem 0;
  }

  .filter-buttons {
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
