
/* Hub V398 — Premium Card Image Upgrade */
.hub393-card img[src*="/assets/images/v398/cards/"],
.hub398-icon-grid img{
  width:100%;
  height:142px !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:18px !important;
  background:#08111f !important;
  box-shadow:inset 0 0 0 1px rgba(125,211,252,.18), 0 14px 28px rgba(15,23,42,.12);
}
.hub393-card h3,
.hub393-card h2{
  color:#0f172a !important;
  text-shadow:none !important;
}
.hub393-card p{
  color:#475569 !important;
}
.hub393-section-head h2{
  color:#f8fafc;
}
body .hub393-section-head p{
  color:#94a3b8;
}
.hub393-section-head a{
  color:#38bdf8 !important;
}
.hub393-card{
  background:#ffffff !important;
}
.hub398-icon-library{
  max-width:1120px;
  margin:0 auto 18px;
  padding:0 18px 18px;
}
.hub398-icon-library-head{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border:1px solid #bfdbfe;
  border-radius:26px;
  padding:24px;
  box-shadow:0 18px 42px rgba(15,23,42,.06);
  margin-bottom:16px;
}
.hub398-icon-library-head h2{
  color:#0f172a;
  margin:10px 0 6px;
  font-size:clamp(1.6rem,3vw,2.35rem);
  letter-spacing:-.05em;
}
.hub398-icon-library-head p{
  color:#475569;
  margin:0;
  line-height:1.55;
}
.hub398-icon-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.hub398-icon-grid a{
  display:block;
  background:#fff;
  color:#0f172a;
  border:1px solid #dbeafe;
  border-radius:24px;
  padding:14px;
  text-decoration:none;
  box-shadow:0 16px 38px rgba(15,23,42,.07);
}
.hub398-icon-grid b{
  display:block;
  margin:12px 0 5px;
  font-size:1.05rem;
}
.hub398-icon-grid span{
  display:block;
  color:#475569;
  line-height:1.45;
  font-size:.9rem;
}
@media(max-width:860px){
  .hub398-icon-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .hub393-card img[src*="/assets/images/v398/cards/"]{
    height:118px !important;
  }
  .hub398-icon-library{
    padding:0 10px 14px;
  }
  .hub398-icon-library-head{
    padding:18px;
    border-radius:20px;
  }
  .hub398-icon-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .hub398-icon-grid img{
    height:128px !important;
  }
  .hub393-card h3,
  .hub393-card h2{
    color:#0f172a !important;
  }
  .hub393-card p{
    color:#475569 !important;
  }
}
