/* KERNX medication-card CTA alignment */
.kx-card-qualify-btn-wrap {
  margin-top:auto;
  padding-top:28px;
  width:auto;
}
.kx-card-qualify-btn {
  display:flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:48px;
  padding:13px 28px;
  box-sizing:border-box;
  border-radius:999px;
  background:#2b8fd4;
  color:#ffffff !important;
  font-family:Arial, Helvetica, sans-serif;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  text-align:center;
  text-decoration:none !important;
  border:1px solid #2b8fd4;
  box-shadow:none;
  transition:transform .2s ease, box-shadow .2s ease;
}
.kx-card-qualify-btn:hover {
  transform:translateY(-1px);
  box-shadow:none;
}
/* Ensure both medicine boxes can pin the CTA to the same bottom line */
.kx-card-qualify-btn-wrap:where(*) { flex-shrink:0; }

@media (max-width:1080px){ }
@media (max-width:860px){ }

/* KX-CTA-CLICKABLE: soft halo, clear affordance, no pulsing */
.kx-dual-btn, .kx-med-tile-btn, .btn-blue, a.kx-fit-qualify-btn {
  box-shadow:none;
  transition:background .18s ease, box-shadow .18s ease, transform .18s ease;
  cursor:pointer;
}
.kx-dual-btn:hover, .kx-med-tile-btn:hover, .btn-blue:hover, a.kx-fit-qualify-btn:hover {
  box-shadow:none;
  transform:translateY(-2px);
}
.kx-dual-btn:active, .kx-med-tile-btn:active, .btn-blue:active, a.kx-fit-qualify-btn:active {
  transform:translateY(0);
  box-shadow:none;
}

/* KX-STRIP-CTA */
.kx-strip-btns { display:flex; gap:0.85rem; justify-content:center; flex-wrap:wrap; }
.kx-strip-btn { display:inline-flex; flex-direction:column; align-items:center; gap:2px;
  background:#2b8fd4; color:#ffffff !important; font-family:'Outfit',sans-serif;
  font-size:0.98rem; font-weight:700; text-decoration:none; padding:0.8rem 1.7rem; border-radius:100px;
  box-shadow:none;
  transition:background .18s ease, box-shadow .18s ease, transform .18s ease; cursor:pointer; }
.kx-strip-btn span { font-size:0.72rem; font-weight:500; letter-spacing:0.04em; opacity:0.92; }
.kx-strip-btn:hover { background:#2280be; transform:translateY(-2px);
  box-shadow:none; }
.kx-strip-btn:active { transform:translateY(0); box-shadow:none; }
@media (max-width:520px){ .kx-strip-btns { flex-direction:column; } .kx-strip-btn { width:100%; box-sizing:border-box; } }

/* KX-QUIZ-BTNS */
.kx-quiz-btns { display:flex; flex-direction:column; gap:0.6rem; max-width:320px; margin:0 auto; }
.kx-quiz-btn { display:block; text-align:center; text-decoration:none; border-radius:100px;
  padding:0.85rem 1.2rem; font-family:'Outfit',sans-serif; font-size:0.95rem; font-weight:600;
  transition:background .18s ease, box-shadow .18s ease, transform .18s ease; cursor:pointer; }
.kx-quiz-primary { background:#2b8fd4; color:#ffffff !important;
  box-shadow:none; }
.kx-quiz-primary:hover { background:#2280be; transform:translateY(-2px);
  box-shadow:none; }
.kx-quiz-secondary { background:#ffffff; color:#0f1923 !important; border:1.5px solid #2b8fd4; }
.kx-quiz-secondary:hover { background:#f4f9fd; transform:translateY(-2px);
  box-shadow:none; }
.kx-quiz-btn:active { transform:translateY(0); }

@media (max-width:760px){ }
.kx-vialrow { width:min(660px, 92vw); margin:0 auto; }
.kx-vialrow-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.kx-vial-tile { position:relative; background:#ffffff; border:1.5px solid #e2eaf2; border-radius:8px; overflow:hidden; aspect-ratio:13 / 20; box-shadow:0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04); }
.kx-vial-tile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; mix-blend-mode:multiply; }
.kx-vial-tile-btn { position:absolute; bottom:1rem; left:50%; transform:translateX(-50%); z-index:2; background:#2b8fd4; color:#ffffff; border:none; font-family:'Outfit', sans-serif; font-size:0.85rem; font-weight:700; padding:11px 20px; border-radius:100px; cursor:pointer; white-space:nowrap; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.kx-vial-tile-btn svg { flex:0 0 auto; transition:transform 0.18s ease; }
.kx-vial-tile-btn:hover { background:#2280be; }
.kx-vial-tile-btn:hover svg { transform:translateX(3px); }
@media (prefers-reduced-motion:reduce){ .kx-vial-tile-btn svg { transition:none; } .kx-vial-tile-btn:hover svg { transform:none; } }
.kx-vial-tile-btn:active { transform:translateX(-50%) scale(0.97); }
.kx-vialrow-note { text-align:center; font-size:0.82rem; line-height:1.6; color:#5a6878; margin:1.4rem auto 0; max-width:620px; }
@media (max-width:560px){ .kx-vialrow-grid { gap:0.7rem; } .kx-vial-tile-btn { font-size:0.78rem; padding:10px 14px; } }

/* KX-BTN-STATES: flat buttons, feedback comes from colour and lift only */
.kx-strip-btn, .kx-dual-btn, .kx-med-tile-btn, .btn-blue, .kx-quiz-btn, a.kx-fit-qualify-btn {
  box-shadow:none !important;
  transition:background .18s ease, transform .12s ease, border-color .18s ease;
  cursor:pointer;
}
.kx-strip-btn:hover, .kx-dual-btn:hover, .kx-med-tile-btn:hover, .btn-blue:hover, .kx-quiz-primary:hover {
  background:#2280be !important;
  transform:translateY(-2px);
}
.kx-quiz-secondary:hover { background:#f4f9fd !important; transform:translateY(-2px); }
.kx-strip-btn:active, .kx-dual-btn:active, .kx-med-tile-btn:active, .btn-blue:active, .kx-quiz-btn:active {
  transform:translateY(0);
  background:#1f6f9e !important;
}
.kx-quiz-secondary:active { background:#e8f2fb !important; }
