/* ========================================
   BLOG POST SPECIFIC STYLES
   ======================================== */

/* ========================================
   Post Hero Section
   ======================================== */
.post-hero {
  background: linear-gradient(
    135deg,
    var(--extra-light-purple) 0%,
    var(--bg-white) 100%
  );
  padding: 6rem 0 3rem;
}

.post-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-breadcrumb a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: var(--transition);
}

.post-breadcrumb a:hover {
  color: var(--dark-purple);
  text-decoration: underline;
}

.post-hero-title {
  font-size: 2rem;
  color: var(--dark-purple);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-category-badge {
  background: var(--primary-purple);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   Featured Image
   ======================================== */
.post-featured-image {
  background: var(--bg-white);
  padding: 0 0 3rem;
}

.featured-image-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Post Content Section
   ======================================== */
.post-content-section {
  background: var(--bg-white);
  padding: 0 0 4rem;
}

.post-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  color: var(--dark-purple);
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-content h3 {
  color: var(--dark-purple);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
}

.post-content ul li {
  list-style-type: disc;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-purple);
  padding: 1.5rem;
  margin: 2rem 0;
  background: var(--extra-light-purple);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.post-content a {
  color: var(--primary-purple);
  text-decoration: underline;
  transition: var(--transition);
}

.post-content a:hover {
  color: var(--dark-purple);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

/* ========================================
   Author Box
   ======================================== */
.post-author-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    var(--extra-light-purple) 0%,
    var(--bg-white) 100%
  );
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.author-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  text-align: center;
}

.author-info h3 {
  color: var(--dark-purple);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-title {
  color: var(--primary-purple);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* ========================================
   Post CTA Section
   ======================================== */
.post-cta {
  background: var(--bg-white);
  padding: 4rem 0;
}

/* ========================================
   Related Posts Section
   ======================================== */
.related-posts {
  background: linear-gradient(
    135deg,
    var(--extra-light-purple) 0%,
    var(--bg-white) 100%
  );
  padding: 4rem 0;
}

.related-posts .blog-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ========================================
   Tablet Breakpoint (min-width: 481px)
   ======================================== */
@media (min-width: 481px) {
  .post-hero-title {
    font-size: 2.5rem;
  }

  .post-content {
    font-size: 1.1rem;
  }

  .post-content h2 {
    font-size: 2rem;
  }

  .post-content h3 {
    font-size: 1.5rem;
  }

  .post-author-box {
    flex-direction: row;
    text-align: left;
  }

  .author-image {
    margin: 0;
  }

  .author-info {
    text-align: left;
    flex: 1;
  }

  .related-posts .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Desktop Breakpoint (min-width: 769px)
   ======================================== */
@media (min-width: 769px) {
  .post-hero {
    padding: 8rem 0 4rem;
  }

  .post-hero-title {
    font-size: 3rem;
  }

  .post-content {
    font-size: 1.125rem;
  }

  .post-content h2 {
    font-size: 2.25rem;
    margin-top: 3rem;
  }

  .post-content h3 {
    font-size: 1.75rem;
  }

  .author-image {
    width: 150px;
    height: 150px;
  }

  .author-info h3 {
    font-size: 1.75rem;
  }

  .related-posts .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Large Desktop (min-width: 1200px)
   ======================================== */
@media (min-width: 1200px) {
  .post-content-wrapper {
    max-width: 900px;
  }
}
