/* blogs.css — isolated styles for the blogs fragment */

.blogs {
    background: #f5f7fa;           /* light band, like your screenshot */
    border-top: 1px solid #e7edf1;
    padding: 48px 0;
  }
  
  .blogs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
  }
  
  .blogs-title {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: .2px;
    color: var(--ink, #0e2431);
  }
  
  .blogs-sub {
    margin: 6px 0 0;
    font-size: .9rem;
    color: var(--muted, #6b7e8a);
  }
  
  .blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 22px;
  }
  
  /* Card */
  .blog-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
  }
  
  .blog-card figure { position: relative; margin: 0; }
  
  .blog-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    filter: brightness(.88);
    transition: transform .25s ease, filter .25s ease;
  }
  
  .blog-card:hover img { transform: scale(1.02); filter: brightness(.98); }
  
  .blog-card figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 65%, rgba(0,0,0,.85) 100%);
  }
  
  .blog-card h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .2px;
  }
  
  .blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: #e8eef3;
    opacity: .95;
  }
  
  .blog-meta .dot { opacity: .7; }
  
  /* Responsive */
  @media (max-width: 1100px) {
    .blogs-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
  }
  @media (max-width: 780px) {
    .blogs-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  }
  @media (max-width: 520px) {
    .blogs-grid { grid-template-columns: 1fr; }
  }
  