  .section-head{
    display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px
  }
  .section-head p{max-width:560px;margin:0}

  .cat-grid{display:grid;gap:16px}

  .cat-card{
    display:block;
    padding:18px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    background:#fff;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
    transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration:none;
    color:inherit;
  }
  .cat-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15,23,42,.10);
    border-color: rgba(29,79,97,.25);
  }

  .cat-top{
    display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px
  }
  .cat-pill{
    display:inline-flex;align-items:center;gap:8px;
    padding:6px 10px;border-radius:999px;
    background:rgba(29,79,97,.08);color:#1D4F61;font-weight:800;font-size:12px
  }
  .cat-arrow{font-weight:900;color:#1D4F61}

  .cat-card h3{margin:0 0 6px}
  .cat-card p{margin:0 0 14px}

  /* IMAGE SLOT */
  .cat-media{
    height:170px;
    border-radius:14px;
    border:1px solid rgba(15,23,42,.10);
    overflow:hidden;
    position:relative;
    background:linear-gradient(180deg,#fff,rgba(29,79,97,.04));
  }
  .cat-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  /* Placeholder overlay shown by default, hidden when image loads */
  .cat-placeholder{
    position:absolute; inset:0;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:6px;
    border:1px dashed rgba(15,23,42,.18);
    border-radius:14px;
    color:rgba(15,23,42,.60);
    background:linear-gradient(180deg,#fff,rgba(29,79,97,.05));
    text-align:center;
    padding:14px;
  }
  .cat-media img + .cat-placeholder{ display:none; }

  /* If image fails, we keep placeholder visible */
  .cat-media.is-missing .cat-placeholder{ display:flex; }
  .ph-title{font-weight:900; letter-spacing:.2px}
  .ph-sub{font-size:12px; opacity:.8}

  .cat-cta{margin-top:12px;font-weight:900;color:#1D4F61}

  @media (min-width:900px){
    .cat-grid{grid-template-columns:repeat(3,1fr)}
    .cat-media{height:190px}
  }