/* ── SVG Icon Box Widget ─────────────────────────────────── */

.sib-wrapper {
    display: flex;
    align-items: center;
}

.sib-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

/* No-box mode: strip background, padding, border */
.sib-icon-box.sib-no-box {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Icon wrapper */
.sib-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Font-icon (library) sizing is handled via Elementor selectors.
   Ensure font icons respect the colour variable too. */
.sib-icon-wrap i {
    line-height: 1;
}

/* Inline SVG: fill driven by Elementor color control via CSS custom property */
.sib-icon-wrap svg {
    display: block;
    fill: var(--sib-icon-color, currentColor);
}

/* Uploaded SVG displayed as <img>: tint via CSS filter (editor preview only) */
.sib-icon-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}