/**
 * 2PX Elementor Suite — Icon List Widget
 * BEM Methodology
 */

/* ── Container ──────────────────────────────────────────────────────────────── */
.twopx-iconlist {
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.twopx-iconlist * {
    box-sizing: border-box;
}

/* ── Item ───────────────────────────────────────────────────────────────────── */
.twopx-iconlist__item {
    display: flex;
    flex-direction: row;
    align-items: center;     /* default — overridden by Elementor control */
}

/* ── Icon wrapper (circle) ──────────────────────────────────────────────────── */
.twopx-iconlist__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(165, 40, 40, 0.08); /* fallback — overridden by Elementor control */
    margin-right: 20px;
}

/* ── Icon ───────────────────────────────────────────────────────────────────── */
.twopx-iconlist__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.twopx-iconlist__icon svg {
    width: 1em;
    height: 1em;
}

/* ── Text block ─────────────────────────────────────────────────────────────── */
.twopx-iconlist__text {
    flex: 1;
    min-width: 0;
}

/* ── Title ──────────────────────────────────────────────────────────────────── */
.twopx-iconlist__title {
    margin: 0 0 4px 0;
    font-weight: 700;
    line-height: 1.3;
    font-size: 1rem;
}

/* ── Description ────────────────────────────────────────────────────────────── */
.twopx-iconlist__desc {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9375rem;
}

/* ── Separator variant ──────────────────────────────────────────────────────── */
.twopx-iconlist--separated .twopx-iconlist__item:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 24px;
}
