    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      background: linear-gradient(to right, #f7f7f7, #fdfaf3);
      color: #333;
    }
    
    .blog-hero p{
        color: var(--bg-light);
    }
    
    .blog-background {
      background-image: url('/assets/portfolio-background.webp'); /* adjust path */
      background-attachment: fixed;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      padding: 60px 20px;
      position: relative;
      z-index: 0;
      color: #fff;
    }
    .blog-wrapper {
      max-width: 1000px;
      margin: 60px auto;
      padding: 0 20px;
    }
    .blog-title {
      font-size: 2.5em;
      text-align: center;
      margin-bottom: 40px;
      border-bottom: 3px solid #d4af37;
      display: inline-block;
      background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }
    .blog-post-preview {
      display: flex;
      gap: 20px;
      border-left: 4px solid #d4af37;
      padding: 20px;
      background: var(--bg-dark);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
      border-radius: 10px;
      margin-bottom: 40px;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .blog-post-preview h2 {
      margin: 0 0 10px;
      font-size: 1.6em;
      background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }
    .blog-post-preview .date {
      color: #888;
      font-size: 0.9em;
      margin-bottom: 10px;
    }
    .blog-post-preview p {
      margin-bottom: 10px;
    }
    .blog-post-preview a {
      color: #d4af37;
      text-decoration: none;
    }
    .blog-post-preview a:hover {
      text-decoration: underline;
    }
    .blog-thumb {
      width: 250px;
      height: 160px;
      object-fit: cover;
      border-radius: 8px;
      flex-shrink: 0;
    }
    
    .blog-preview-text {
      flex: 1;
      min-width: 240px;
    }
        .blog-hero {
      background: var(--bg-dark);
      color: #d4af37;
      text-align: right;
      padding: 80px 20px;
      font-size: 1.2em;
      text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    }
    
    /*.blog-hero::before {*/
    /*  content: '';*/
    /*  position: absolute;*/
    /*  top: 0; left: 0;*/
    /*  width: 100%; height: 100%;*/
      /*background: rgba(20, 20, 20, 0.5);*/
    /*  z-index: 0;*/
    /*  margin-top:100px;*/
    /*  max-height: 242px;*/
    /*}*/
    .blog-hero h1,
    .blog-hero p {
      position: relative;
      z-index: 1; /* ensures text is above the overlay */
    }
    
    @media (max-width: 768px){
        .blog-hero{
            font-size: 1rem;
        }
         .blog-post-preview {
    flex-direction: column;
  }

  .blog-thumb {
    width: 100%;
    height: auto;
  }
    }