/* ===== Blog Detail Page Styles ===== */

body {
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    color: #3a3a3a;
    line-height: 1.75;
    margin: 0;
  }
  
  .blog-detail-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
  }
  
  .blog-detail {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  }
  
  .blog-title {
    font-size: 2.2rem;
    color: #1e1e2d;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .blog-author-detail {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
  }
  
  .blog-banner-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 2rem;
  }
  
  .blog-content {
    font-size: 1rem;
    color: #3a3a3a;
    line-height: 1.8;
  }
  
  .blog-content h2,
  .blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1e1e2d;
  }
  
  .blog-content p {
    margin-bottom: 1.25rem;
  }
  
  .blog-content ul,
  .blog-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .blog-content blockquote {
    background-color: #f5f7fb;
    border-left: 4px solid #2ab3af;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
  }
  
  .blog-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 2rem 0;
    display: block;
  }
  
  /* Responsive Tweaks */
 /* =====================================================
   Blog Detail Page - Tablet Styles (Portrait & Smaller Landscape)
   Common Breakpoint: <= 991.98px
   ===================================================== */
@media (max-width: 991.98px) {
  .blog-detail-container {
    /* Reduce vertical spacing */
    margin: 3rem auto;
    /* Keep horizontal padding */
    padding: 0 1.5rem;
  }

  .blog-detail {
    /* Slightly reduce padding */
    padding: 2rem;
  }

  .blog-title {
    /* Reduce title size */
    font-size: 2rem;
    line-height: 1.3; /* Adjust line height for tighter spacing */
  }

  .blog-author-detail {
    /* Minor adjustment if needed */
    margin-bottom: 1.25rem;
  }

  .blog-banner-img {
    /* Optional: slightly reduce max height */
    max-height: 350px;
    margin-bottom: 1.75rem;
  }

  .blog-content h2 {
     font-size: 1.6rem;
  }
   .blog-content h3 {
      font-size: 1.3rem;
   }

  .blog-content blockquote {
    padding: 0.9rem 1.1rem;
    margin: 1.25rem 0;
  }

  .blog-content img {
    margin: 1.75rem 0;
  }
}

/* =====================================================
   Blog Detail Page - Phone Styles
   Common Breakpoint: <= 767.98px
   ===================================================== */
@media (max-width: 767.98px) {
  .blog-detail-container {
    /* Further reduce vertical spacing, adjust horizontal padding */
    margin: 1.5rem auto;
    padding: 0 1rem; /* Less horizontal padding */
  }

  .blog-detail {
    /* Use padding from original query */
    padding: 1.5rem;
    border-radius: 6px; /* Slightly smaller radius */
  }

  .blog-title {
    /* Use font size from original query */
    font-size: 1.75rem;
    line-height: 1.4; /* Adjust line height */
    margin-bottom: 0.5rem;
  }

  .blog-author-detail {
    font-size: 0.85rem; /* Smaller author text */
    margin-bottom: 1rem; /* Less space below author */
  }

  .blog-banner-img {
    max-height: 250px; /* Significantly reduce banner height */
    margin-bottom: 1.25rem; /* Less space below banner */
    border-radius: 4px;
  }

  .blog-content {
    font-size: 0.95rem; /* Slightly smaller body font */
    line-height: 1.7; /* Adjust line height */
  }

  .blog-content h2,
  .blog-content h3 {
    margin-top: 1.5rem; /* Less space above headings */
    margin-bottom: 0.75rem; /* Less space below headings */
    line-height: 1.4;
  }

  .blog-content h2 {
      font-size: 1.4rem; /* Smaller H2 */
  }
   .blog-content h3 {
      font-size: 1.15rem; /* Smaller H3 */
   }

  .blog-content p {
    margin-bottom: 1rem; /* Less space below paragraphs */
  }

  .blog-content ul,
  .blog-content ol {
    margin-left: 1.25rem; /* Slightly less indent */
    margin-bottom: 1rem;
  }

  .blog-content blockquote {
    padding: 0.75rem 1rem; /* Less padding */
    margin: 1rem 0; /* Less margin */
    font-size: 0.9rem; /* Slightly smaller blockquote text */
    border-left-width: 3px;
  }

  .blog-content img {
    margin: 1.25rem 0; /* Less margin around images */
    border-radius: 4px;
  }
}