/* BLOG SECTION */

.latest-posts {
    padding: 140px 6%;
  
    background:
      linear-gradient(rgba(5,7,20,0.88),
      rgba(5,7,20,0.92)),
      url("star-background.png");
  
    background-size: cover;
    background-position: center;
  }
  
  .posts-header {
    text-align: center;
  
    margin-bottom: 60px;
  }
  
  .posts-eyebrow {
    color: #9b7cff;
  
    text-transform: uppercase;
  
    letter-spacing: 3px;
  
    margin-bottom: 10px;
  }
  
  .posts-header h2 {
    font-size: clamp(3rem, 7vw, 6rem);
  
    background:
      linear-gradient(to right,
      #ffffff,
      #9b7cff);
  
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* GRID */
  
  #blog-posts {
    display: grid;
  
    grid-template-columns:
      repeat(auto-fit,
      minmax(350px, 1fr));
  
    gap: 35px;
  }
  
  /* CARD */
  
  .blog-card {
    background:
      rgba(10,12,35,0.88);
  
    border-radius: 28px;
  
    overflow: hidden;
  
    border:
      1px solid rgba(155,124,255,0.2);
  
    transition: 0.4s ease;
  
    backdrop-filter: blur(12px);
  
    box-shadow:
      0 15px 45px rgba(0,0,0,0.35);
  }
  
  .blog-card:hover {
    transform: translateY(-10px);
  
    box-shadow:
      0 25px 60px rgba(125,92,255,0.28);
  }
  
  /* IMAGE */
  
  .blog-card img {
    width: 100%;
    height: 240px;
  
    object-fit: cover;
  
    display: block;
  }
  
  /* CONTENT */
  
  .blog-content {
    padding: 30px;
  }
  
  .blog-category {
    color: #9b7cff;
  
    text-transform: uppercase;
  
    letter-spacing: 2px;
  
    font-size: 0.8rem;
  
    margin-bottom: 15px;
  }
  
  .blog-content h3 {
    font-size: 2rem;
  
    line-height: 1.2;
  
    margin-bottom: 20px;
  }
  
  .blog-excerpt {
    color: #d4d4e7;
  
    line-height: 1.8;
  
    margin-bottom: 30px;
  }
  
  /* LINK */
  
  .blog-link {
    display: inline-flex;
  
    align-items: center;
  
    gap: 10px;
  
    color: #cbbdff;
  
    text-decoration: none;
  
    font-weight: 600;
  
    transition: 0.3s ease;
  }
  
  .blog-link:hover {
    color: white;
  
    gap: 14px;
  }