/* Blog Post Styles */
.blog-post {
  margin-top: 40px;
  padding: 40px 0;
  color: var(--light);
}

/* Post Header */
.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-category {
  background: var(--primary);
  color: var(--light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.post-title {
  font-size: 2.5rem;
  color: var(--light);
  margin-bottom: 20px;
  line-height: 1.3;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.post-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 1.1rem;
  color: var(--light);
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Featured Image */
.post-featured-image {
  margin-bottom: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Content */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.post-content h2 {
  font-size: 1.8rem;
  color: var(--light);
  margin: 40px 0 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  color: var(--light);
  margin: 30px 0 15px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.05);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* Post Tags */
.post-tags {
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: var(--light);
}

/* Share Buttons */
.post-share {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn.facebook {
  background: #3b5998;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.whatsapp {
  background: #25d366;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Related Posts */
.related-posts {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 60px;
}

.related-posts h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 40px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Newsletter Section */
.blog-newsletter {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 20px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content h2 {
    font-size: 1.5rem;
  }

  .post-content h3 {
    font-size: 1.2rem;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.4rem;
    word-break: break-word;
    line-height: 1.2;
  }

  .post-header {
    padding: 0 5px;
  }

  .post-author {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .post-author img {
    width: 40px;
    height: 40px;
  }

  .author-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    word-break: keep-all;
    white-space: nowrap;
  }

  .author-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .post-meta {
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    align-items: flex-start;
  }

  .post-content {
    font-size: 0.95rem;
    padding: 0 5px;
  }

  .post-content h2 {
    font-size: 1.1rem;
    margin: 25px 0 10px;
  }

  .post-content h3 {
    font-size: 1rem;
    margin: 15px 0 8px;
  }

  .post-tags, .post-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 0 5px;
  }

  .related-posts h2 {
    font-size: 1.2rem;
  }

  .newsletter-content h2 {
    font-size: 1.2rem;
  }

  .newsletter-content p {
    font-size: 0.95rem;
  }
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section for Purchasing */
.purchase-contact-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-contact-box p {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.whatsapp-button {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.whatsapp-button:hover {
  background: #1da851;
}

.whatsapp-button i {
  margin-right: 8px;
} 