/* Shared badge for inline Lucide icons. See /licenses/lucide-ISC.txt. */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #0B4F5C;
  color: #FFD23F;
  vertical-align: middle;
  margin-right: 12px;
}
.icon-badge svg {
  display: block;
  width: 26px;
  height: 26px;
}
.icon-badge.on-dark {
  background: #FFD23F;
  color: #0B4F5C;
}
/* Centered cards (homepage feature grid): badge sits centered above the title. */
.icon-badge.icon-badge-block {
  display: flex;
  margin: 0 auto 18px;
}
/* Card titles: badge stacks above the title and follows the card's own text alignment. */
h3 > .icon-badge:first-child {
  display: flex;
  margin: 0 0 16px;
}
/* Callout paragraphs: badge hangs to the left of the text block, top-aligned. */
p.has-icon {
  position: relative;
  padding-left: 66px;
  min-height: 52px;
}
p.has-icon > .icon-badge:first-child {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}
@media (max-width: 640px) {
  .icon-badge { width: 48px; height: 48px; min-width: 48px; }
  .icon-badge svg { width: 24px; height: 24px; }
  p.has-icon { padding-left: 60px; min-height: 48px; }
}
