
    /* ---------- RESET & BASE ---------- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: #f5f7fb;
      font-family: 'Circular Std Book';
      line-height: 1.5;
      color: #1e293b;
      height: auto !important;
      padding: 200px 0px 0px 0px;
    }

    /* main container – max width & center */
    .blog-container {
      max-width: 1280px;
      margin: 0 auto;
      background: #ffffff;
      border-radius: 1.5rem;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
      overflow: hidden;
      margin-bottom: 150px;
    }

    /* --- GRID LAYOUT (mobile first: stacked) --- */
    .blog-grid {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding: 1.5rem;
    }

    /* main content area (blog post) */
    .blog-content {
      flex: 1;
      min-width: 0; /* prevents overflow */
    }

    /* sidebar area */
    .blog-sidebar {
      flex: 0 0 auto;
      width: 100%;
    }

    /* --- TYPOGRAPHY & BLOG POST STYLES --- */
    .post-category {
      display: inline-block;
      font-size: 1.2rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #00afc1;
      background: #eef2ff;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      margin-bottom: 1rem;
    }

    .post-title {
      font-size: 1.8rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 0.75rem;
      color: #0f172a;
    }

    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      font-size: 1.2rem;
      color: #475569;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 1rem;
      margin-bottom: 1.5rem;
    }

    .post-meta .date {
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .featured-image {
      margin: 1rem 0 1.8rem 0;
      border-radius: 1rem;
      overflow: hidden;
      background: #eef2ff;
    }

    .featured-image img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .post-body {
      font-size: 1.05rem;
      color: #1e293b;
    }
    
    .post-body p, .post-body li {
      font-size: 20px;
    }

    .post-body p {
      margin-bottom: 1.2rem;
    }

    .post-body h2 {
      font-size: 2.5rem;
      margin: 1.6rem 0 0.8rem 0;
      font-weight: 700;
      color: #0f172a;
    }

    .post-body h3 {
      font-size: 2rem;
      margin: 1.4rem 0 0.6rem 0;
      font-weight: 600;
      text-align: start;
    }

    .post-body ul, .post-body ol {
      margin: 1rem 0 1.2rem 1.5rem;
      list-style-type: unset !important;
      list-style: unset !important;
      font-size: 20px;
    }

    .post-body li {
      margin: 0.4rem 0;
      list-style-type: unset !important;
      list-style: unset !important;
    }

    /* --- SIDEBAR STYLES (cards / widgets) --- */
    .sidebar-widget {
      background: #f9fafc;
      border-radius: 1.25rem;
      padding: 1.5rem;
      margin-bottom: 1.8rem;
      border: 1px solid #eef2f6;
      transition: box-shadow 0.2s;
    }

    .sidebar-widget:last-child {
      margin-bottom: 0;
    }

    .widget-title {
      font-size: 2rem;
      font-weight: 700;
      border-left: 4px solid #00afc1;
      padding-left: 0.75rem;
      margin-bottom: 1rem;
      color: #0f172a;
    }

    /* recent posts list */
    .recent-list {
      list-style: none;
      margin-top: 30px;
    }
    .recent-list li {
      margin-bottom: 0.9rem;
      border-bottom: 1px dashed #e2e8f0;
      padding-bottom: 0.7rem;
    }
    .recent-list a {
      text-decoration: none;
      font-weight: 500;
      color: #1e293b;
      transition: color 0.2s;
      display: block;
      font-size: 1.5rem;
    }
    .recent-list a:hover {
      color: #145d9d;
    }
    .post-date-small {
      font-size: 1.2rem;
      color: #6c757d;
      display: block;
      margin-top: 0.2rem;
    }

    /* categories cloud */
    .category-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 30px;
    }
    .category-tag {
      background: #eef2ff;
      padding: 0.3rem 0.9rem;
      border-radius: 30px;
      font-size: 1.5rem;
      font-weight: 500;
      color: #145d9d;
      transition: all 0.2s;
      text-decoration: none;
    }
    .category-tag:hover {
      background: #145d9d;
      color: white;
    }

    /* divider */
    .hr-light {
      margin: 0.5rem 0 1rem;
      border: 0;
      height: 1px;
      background: linear-gradient(to right, #e2e8f0, transparent);
    }

    /* ---------- RESPONSIVE BREAKPOINTS (grid + sidebar) ---------- */
    /* Tablet and up (≥ 768px) -> switch to flex row (left content, right sidebar) */
    @media (min-width: 768px) {
      .blog-grid {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        padding: 2rem;
      }
      .blog-content {
        flex: 2.2;  /* main content takes more width */
        min-width: 0;
      }
      .blog-sidebar {
        flex: 1.2;  /* sidebar proportional width */
        max-width: 320px; /* keeps readability */
      }
      .post-title {
        font-size: 2.2rem;
      }
    }

    /* Desktop large (≥ 1024px) */
    @media (min-width: 1024px) {
      .blog-grid {
        gap: 3rem;
      }
      .blog-content {
        flex: 2.5;
      }
      .blog-sidebar {
        flex: 1.2;
        max-width: 360px;
        margin-top: 143px;
      }
      .post-title {
        font-size: 3rem;
      }
      .post-body {
        font-size: 1.1rem;
      }
    }

    /* small devices (below 480px) fine-tune padding */
    @media (max-width: 480px) {
      body {
        padding: 150px 10px 0px 10px;
      }
      .blog-grid {
        padding: 1rem;
        gap: 1.5rem;
      }
      .post-title {
        font-size: 2.5rem;
      }
      .sidebar-widget {
        padding: 1.2rem;
      }
      .post-body h2 {
        font-size: 2.2rem;
      }
      .blog-container {
        margin-bottom: 100px;
          
      }
    }

    /* optional hover effect on images */
    .featured-image img:hover {
      transform: scale(1.01);
    }

    /* readability */
    .post-body a {
      color: #145d9d;
      text-decoration: underline;
      text-underline-offset: 2px;
    }