/* Blog Post Specific Styles */

/* Header/Navigation for Blog Post */
header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: block;
}

.logo img {
  height: 3rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #4a1f4f;
}

/* Main Content */
main {
  background: linear-gradient(to bottom right, #f3e8ff, #fce7f3, #eff6ff);
  min-height: 100vh;
  padding: 2rem 0;
}

/* Blog Post Article */
.blog-post {
  max-width: 60vw;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4a5568;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.3s;
  font-size: 0.875rem;
}

.back-link:hover {
  color: #4a1f4f;
  transform: translateX(-4px);
}

.back-link svg {
  transition: transform 0.3s;
}

.back-link:hover svg {
  transform: translateX(-2px);
}

/* Post Header */
.post-header {
  padding: 3rem;
}

.post-category {
  display: inline-block;
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.post-title {
  font-family: Georgia, serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.post-date,
.post-read-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Featured Image */
.post-featured-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Illustrations */
.content-illustration {
  margin: 3rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.content-illustration.small {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.content-illustration.medium {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.illustration-caption {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 0.75rem;
}

/* Post Content */
.post-content {
  background: white;
  padding: 3rem;

  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 1.0625rem;
}

.post-content h2 {
  font-family: Georgia, serif;
  font-size: 1.875rem;
  color: #4a1f4f;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-content h2:first-child {
  margin-top: 0;
}

.post-content h3 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: #4a1f4f;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-content blockquote {
  background: linear-gradient(to right, #f3e8ff, #fce7f3);
  border-left: 4px solid #a855f7;
  padding: 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: #1f2937;
}

.post-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.post-content ul li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  color: #374151;
}

.post-content ul li::before {
  content: "•";
  position: absolute;
  left: 0.75rem;
  color: #a855f7;
  font-size: 1.25rem;
  line-height: 1.5;
}

/* Post Footer */
.post-footer {
  background: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.share-text {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-align: center
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.share-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
  transform: scale(1.05);
}

.share-btn.tiktok {
  background: linear-gradient(to bottom right, #22d3ee, #ec4899);
}

.share-btn.facebook {
  background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}

.share-btn.instagram {
  background: linear-gradient(to bottom right, #a855f7, #ec4899, #fb923c);
}

/* Footer */
footer {
  background: #4a1f4f;
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
      padding: 1rem;
  }

  .nav-menu {
      gap: 1rem;
  }

  .logo img {
      height: 2.5rem;
  }

  .post-content {
      padding: 2rem 1.5rem;
  }

  .post-footer {
      padding: 1.5rem;
  }

  .post-content h2 {
      font-size: 1.5rem;
      margin-top: 2rem;
  }

  .post-content h3 {
      font-size: 1.25rem;
      margin-top: 1.5rem;
  }

  .post-content p {
      font-size: 1rem;
  }

  .share-buttons {
      flex-direction: column;
  }

  .share-btn {
      text-align: center;
  }
}

@media (max-width: 480px) {
  .post-meta {
      flex-direction: column;
      gap: 0.75rem;
  }

  .post-content {
      padding: 1.5rem 1rem;
  }

  .post-content ul li {
      padding-left: 1.5rem;
  }

  .post-content ul li::before {
      left: 0.5rem;
  }
}
