/* ================================
   Hex Badge Widget - Estilos base
   ================================ */

.hbw-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    /* la alineación horizontal se controla desde el widget */
}

/* ---- Hexágono ---- */
.hbw-hex {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* por encima de la pill para el solape */
}

.hbw-hex svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hbw-hex .hbw-hex-fill {
    fill: #fff;
}

.hbw-hex .hbw-hex-stroke {
    stroke: #1F6FA8;
    stroke-width: 2;
}

.hbw-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F6FA8;
    line-height: 1;
}

.hbw-icon i,
.hbw-icon svg {
    display: block;
    max-width: 60%;
    max-height: 60%;
}

/* ---- Pill ---- */
.hbw-pill {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;          /* ocupa todo el espacio restante */
    min-width: 0;            /* evita overflow con textos largos */
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #1F6FA8;
    border-radius: 32px;
    padding: 14px 28px 14px 56px;
    min-height: 56px;
    box-sizing: border-box;
    max-width: 100%;
}

.hbw-pill-text {
    color: #1F6FA8;
    font-style: italic;
    line-height: 1.25;
    display: inline-block;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .hbw-pill {
        padding-left: 48px;
        padding-right: 18px;
    }
    .hbw-pill-text {
        font-size: 0.95em;
    }
}
