/* Product features block – structure only (label, icon, value) */
.four-ever-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 1rem 0;
    width: 100%;
    justify-content: space-between;

    /* Card styling */
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px 24px;
}

.four-ever-features-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    /* Base flex; desktop override below ensures 4 in a row */
    flex: 1 1 0;
}

.four-ever-features-label {
    display: block;
    font-size: 0.875em;
    margin-bottom: 0.25rem;
}

.four-ever-features-icon {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.four-ever-features-icon-inner.dashicons,
.four-ever-features-icon-inner[class^="dashicons-"] {
    font-size: 1.25em;
    width: 1.25em;
    height: 1.25em;
}

.four-ever-features-icon-img {
    display: block;
    max-height: 1.5em;
    width: auto;
}

.four-ever-features-value {
    display: block;
    font-weight: 600;
    color: var(--wd-entities-title-color);
    font-size: 18px;
}

/* Desktop / large tablets: force 4 items on one line */
@media (min-width: 1024px) {
    .four-ever-features {
        flex-wrap: nowrap;
    }

    .four-ever-features .four-ever-features-item {
        flex: 1 1 0;
    }
}

/* Mobile layout: stack items, label + value on one line */
@media (max-width: 768px) {
    .four-ever-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    .four-ever-features-item {
        flex: none;
    }

    .four-ever-features-label {
        display: inline;
        font-weight: 600;
        margin-bottom: 0;
        margin-right: 0.25rem;
    }

    .four-ever-features-label::after {
        content: ' :';
    }

    .four-ever-features-icon {
        display: none;
    }

    .four-ever-features-value {
        display: inline;
        font-weight: 400;
    }
}
