/* =========
   Blog Base
   ========= */
   * { box-sizing: border-box; }
   body {
     font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
     background: #ffffff;
     color: #374151; /* slate-700 */
     line-height: 1.6;
   }
   a { text-decoration: none; color: inherit; }
   
   /* Main content wrapper used on blog pages */
   .main-container,
   .post-wrap {
     max-width: 1200px;
     margin: 0 auto;
     padding: 40px 20px;
   }
   
   /* ========
      Breadcrumb
      ======== */
   .breadcrumb {
     margin-bottom: 30px;
     font-size: 14px;
     color: #6b7280; /* slate-500 */
   }
   .breadcrumb a { color: #469ef7; }
   .breadcrumb a:hover { text-decoration: underline; }
   
   /* =============
      Post Header
      ============= */
   .post-header { margin-bottom: 40px; }
   .post-meta {
     display: flex;
     align-items: center;
     gap: 20px;
     margin-bottom: 20px;
     font-size: 14px;
     color: #6b7280;
   }
   .post-date { display: flex; align-items: center; gap: 5px; }
   .post-category {
     background: #469ef7;
     color: #fff;
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 500;
   }
   .post-title {
     font-size: clamp(2rem, 3.5vw, 2.5rem);
     font-weight: 700;
     color: #111827; /* gray-900 */
     margin-bottom: 20px;
     line-height: 1.2;
   }
   .post-subtitle {
     font-size: 1.2rem;
     color: #6b7280;
     margin-bottom: 30px;
     line-height: 1.6;
   }
   .post-featured-image {
     width: 100%;
     height: 400px;
     object-fit: cover;
     border-radius: 12px;
     margin-bottom: 40px;
   }
   
   /* ==========
      Post Body
      ========== */
   .post-content {
     font-size: 1.1rem;
     line-height: 1.8;
     color: #374151;
   }
   .post-content h2 {
     font-size: 1.8rem;
     font-weight: 600;
     color: #111827;
     margin: 40px 0 20px;
   }
   .post-content h3 {
     font-size: 1.4rem;
     font-weight: 600;
     color: #111827;
     margin: 30px 0 15px;
   }
   .post-content p { margin-bottom: 20px; }
   .post-content ul,
   .post-content ol {
     margin: 20px 0;
     padding-left: 30px;
   }
   .post-content li { margin-bottom: 10px; }
   .post-content blockquote {
     border-left: 4px solid #469ef7;
     padding-left: 20px;
     margin: 30px 0;
     font-style: italic;
     color: #6b7280;
     background: #f8fafc;
     padding: 20px;
     border-radius: 0 8px 8px 0;
   }
   .post-content img {
     width: 100%;
     height: auto;
     border-radius: 8px;
     margin: 30px 0;
   }
   .post-content code {
     background: #f1f5f9;
     padding: 2px 6px;
     border-radius: 4px;
     font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
     font-size: 0.9em;
   }
   .post-content pre {
     background: #1e293b; /* slate-800 */
     color: #e2e8f0;      /* slate-200 */
     padding: 20px;
     border-radius: 8px;
     overflow-x: auto;
     margin: 20px 0;
   }
   
   /* ===============
      Author Section
      =============== */
   .author-section {
     margin: 60px 0 40px;
     padding: 30px;
     background: #f8fafc;
     border-radius: 12px;
     border-left: 4px solid #469ef7;
   }
   .author-info {
     display: flex;
     align-items: center;
     gap: 15px;
   }
   .author-avatar {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background: #469ef7;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-weight: 600;
     font-size: 1.2rem;
   }
   .author-details h4 {
     font-size: 1.1rem;
     font-weight: 600;
     color: #111827;
     margin-bottom: 5px;
   }
   .author-details p {
     color: #6b7280;
     font-size: 0.9rem;
     margin: 0;
   }
   
   /* ===============
      Related Posts
      =============== */
   .related-posts {
     margin-top: 60px;
     padding-top: 40px;
     border-top: 1px solid #e5e7eb;
   }
   .related-posts h3 {
     font-size: 1.5rem;
     font-weight: 600;
     color: #111827;
     margin-bottom: 30px;
   }
   .related-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
   }
   .related-post {
     background: #fff;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     transition: transform .2s ease;
   }
   .related-post:hover { transform: translateY(-2px); }
   .related-post img {
     width: 100%;
     height: 150px;
     object-fit: cover;
   }
   .related-post-content { padding: 20px; }
   .related-post h4 {
     font-size: 1.1rem;
     font-weight: 600;
     color: #111827;
     margin-bottom: 10px;
   }
   .related-post p {
     font-size: 0.9rem;
     color: #6b7280;
     margin-bottom: 15px;
   }
   .read-more { color: #469ef7; font-weight: 500; font-size: 0.9rem; }
   .read-more:hover { text-decoration: underline; }
   
   /* =========
      Footer
      ========= */
   .site-footer {
     background: #f8fafc;
     padding: 40px 20px;
     margin-top: 80px;
     text-align: center;
   }
   .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   .footer-left { display: flex; align-items: center; gap: 20px; }
   .footer-logo { height: 30px; }
   .footer-links { display: flex; gap: 20px; }
   .footer-links a { color: #6b7280; font-size: 14px; }
   .footer-links a:hover { color: #469ef7; }
   
   /* =========
      Responsive
      ========= */
   @media (max-width: 768px) {
     .post-title { font-size: 2rem; }
     .post-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
     .author-info { flex-direction: column; text-align: center; }
     .related-grid { grid-template-columns: 1fr; }
     .footer-container { flex-direction: column; gap: 20px; }
   }
   