/* ----------------------
/ File: home-trust-features.css
/ Theme: Artender
/ Developer: sepehrdarvishii
/ Section: Home Trust Features
/ -------------------- */


/* ----------------------
/ Wrapper
/ -------------------- */
.artender-home-trust-features {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto var(--artender-home-section-gap, 14px);
    padding: 0 12px;
    direction: rtl;
}

.artender-home-trust-features-inner {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--artender-home-trust-count, 4), minmax(0, 1fr));
    align-items: stretch;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.055);
    border-radius: 22px;
    box-shadow:
        0 9px 28px rgba(15, 23, 42, 0.06),
        0 2px 8px rgba(15, 23, 42, 0.025);
}


/* ----------------------
/ Item
/ -------------------- */
.artender-home-trust-feature-item {
    position: relative;
    min-width: 0;
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 24px;
    color: var(--artender-secondary-color, #111827);
    text-align: center;
    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}

.artender-home-trust-feature-item:not(:last-child) {
    border-left: 1px solid rgba(15, 23, 42, 0.09);
}

.artender-home-trust-feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--artender-secondary-color, #111827);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.artender-home-trust-feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.artender-home-trust-feature-title {
    min-width: 0;
    color: var(--artender-secondary-color, #111827);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* ----------------------
/ Theme Accent
/ -------------------- */
@media (hover: hover) and (pointer: fine) {
    .artender-home-trust-feature-item:hover {
        background: rgba(var(--artender-primary-rgb, 245, 0, 0), 0.026);
    }

    .artender-home-trust-feature-item:hover .artender-home-trust-feature-icon {
        color: var(--artender-primary-color, #f50000);
        transform: translateY(-1px);
    }
}


/* ----------------------
/ Tablet + Mobile
/ 4 آیتم در یک ردیف
/ -------------------- */
@media (max-width: 991px) {
    .artender-home-trust-features {
        padding: 0 8px;
    }

    .artender-home-trust-features-inner {
        grid-template-columns: repeat(var(--artender-home-trust-count, 4), minmax(0, 1fr));
        border-radius: 16px;
        box-shadow:
            0 6px 20px rgba(15, 23, 42, 0.05),
            0 1px 5px rgba(15, 23, 42, 0.02);
    }

    .artender-home-trust-feature-item {
        min-height: 70px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px 4px;
    }

    .artender-home-trust-feature-item:not(:last-child) {
        border-left: 1px solid rgba(15, 23, 42, 0.075);
    }

    .artender-home-trust-feature-icon {
        width: 27px;
        height: 27px;
        min-width: 27px;
    }

    .artender-home-trust-feature-title {
        width: 100%;
        font-size: 10.6px;
        font-weight: 900;
        line-height: 1.45;
        text-align: center;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }
}


/* ----------------------
/ Small Mobile
/ -------------------- */
@media (max-width: 420px) {
    .artender-home-trust-features {
        padding: 0 6px;
    }

    .artender-home-trust-features-inner {
        border-radius: 14px;
    }

    .artender-home-trust-feature-item {
        min-height: 66px;
        gap: 4px;
        padding: 7px 3px;
    }

    .artender-home-trust-feature-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .artender-home-trust-feature-title {
        font-size: 9.7px;
        line-height: 1.4;
    }
}


/* ----------------------
/ Very Small Mobile
/ -------------------- */
@media (max-width: 360px) {
    .artender-home-trust-feature-item {
        min-height: 62px;
        gap: 3px;
        padding: 6px 2px;
    }

    .artender-home-trust-feature-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .artender-home-trust-feature-title {
        font-size: 8.9px;
        line-height: 1.35;
    }
}
