/**
 * TW Lista
 */

.tw-list {
    display: flex;
    flex-direction: column;
}

.tw-list__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tw-list__marker {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tw-list__marker--icon i,
.tw-list__marker--icon svg {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.tw-list__marker--icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.tw-list__marker--number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.tw-list__marker--text {
    font-size: 28px;
}

.tw-list__body {
    flex: 1;
    min-width: 0;
}

.tw-list__title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

.tw-list__desc {
    font-size: 15px;
    opacity: 0.7;
    margin-top: 6px;
    line-height: 1.6;
}

.tw-list__separator {
    height: 1px;
    background-color: currentColor;
    opacity: 0.15;
}

/* Vertically center marker with title when no description */
.tw-list__item:not(:has(.tw-list__desc)) .tw-list__marker {
    align-self: center;
}

@media (max-width: 767px) {
    .tw-list__title {
        font-size: 16px;
    }

    .tw-list__desc {
        font-size: 14px;
    }
}
