/* ------------------ BAR CONTAINER ------------------ */
html,body{margin:0;padding:0;overflow-x:hidden;}

#sfaCard {
  position:fixed; left:0; right:0; bottom:-160px;
  z-index:10000; opacity:0;
  transition: bottom .35s, opacity .35s;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:4px 0; height:130px;
  background: rgba(255,255,255,.80);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 0px 10px 0px rgba(0, 0, 0, .15);
}
#sfaCard.show { bottom:0; opacity:1; }

/* ------------------ CLOSE BUTTON ------------------ */
#sfaCard .close {
  position:absolute; top:4px; right:8px;
  width:30px; height:30px; min-width:30px;
  border:none; border-radius:50%;
  background:#0B1C2C; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; line-height:0; cursor:pointer;
  transition: background .2s;
}
@media(hover:hover){
  #sfaCard .close:hover { background:#FF7A26; }
}

/* ------------------ TITLE ------------------ */
#sfaCard .title {
  margin:0;
  font:700 18px/1.2 system-ui,Arial,sans-serif;
  text-align:center; pointer-events:none; color:#000;
}
.title-mob  { display:none; }
.title-desk { display:inline; }
@media (max-width:1060px){
  .title-desk{ display:none; }
  .title-mob { display:inline; }
}

/* ------------------ CARD STRIP ------------------ */
#sfaCard .card-wrap {
  display:flex; justify-content:center; gap:16px;
  width:100%; max-width:1360px; padding:0 12px; height:110px;
  overflow:visible;
}

/* -------- GLASS CARD -------- */
#sfaCard .sfa-Card {
  flex:0 1 375px; max-width:375px; min-height:72px;
  display:flex; align-items:center; overflow:hidden;
  border:1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius:8px;
  box-shadow:
    inset 0 0 2px rgba(255,255,255,0.1),
    0 6px 18px rgba(0,0,0,0.30);
  transition: transform .18s, box-shadow .18s;
}
@media(hover:hover){
  #sfaCard .sfa-Card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
      inset 0 0 2px rgba(255,255,255,0.15),
      0 8px 22px rgba(0,0,0,0.35);
  }
}

/* -------- LOGO -------- */
#sfaCard .logo {
  width:64px; height:64px; margin:0 8px;
  background:#e0e4e8; border-radius:4px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.06);
  flex:0 0 64px;
}

/* --- Fix 1px aliasing issue top of logo images --- */

#sfaCard .logo {
  background:white;
  padding-top: 2px;   /* hides that one-pixel artifact */
}
#sfaCard .logo img {
  display:block;
  margin-top:-2px;    /* pull the actual art back up */
}



/* -------- INFO COLUMN (JS‐clamped) -------- */
#sfaCard .info {
  flex:1; min-width:0; padding-right:8px;
}
/* single‐line ellipsis on <h4> */
#sfaCard .info h4 {
  margin:0 0 2px;
  font:700 13px/1.15 system-ui,Arial;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
/* allow JS to inject -webkit-line-clamp dynamically */
#sfaCard .info p {
  margin:0;
  font:700 15px/1.2 system-ui,Arial;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* accent + small styling */
#sfaCard .info p .accent { color:#FF5A00; }
#sfaCard .info small     { font-size:11px; opacity:.7; }

/* ------------------ ARROW DISK ------------------ */
#sfaCard .arrow {
  width:36px; height:36px; min-width:36px; margin:0 8px 0 auto;
  display:flex; align-items:center; justify-content:center;
  background:#FF5A00; border:none; border-radius:50%;
  cursor:pointer; transition: background .2s;
}
#sfaCard .arrow .glyph {
  font-size:24px; color:#fff;
  transform: translateY(-2px);
}
@media(hover:hover){
  #sfaCard .arrow:hover { background:#0B1C2C; }
}

/* ------------------ MOBILE ------------------ */
@media(max-width:1060px){
  #sfaCard .card-wrap .sfa-Card:nth-child(n+2) { display:none; }
  #sfaCard .card-wrap { justify-content:center; }
}

/* wrap entire card in <a> */
#sfaCard .sfa-Card-link {
  display:flex; width:100%; height:100%;
  text-decoration:none; color:inherit;
}
#sfaCard .sfa-Card-link .sfa-Card {
  width:100%; height:100%;
}
