/* ========================================
   راهنمای انتخاب و نگهداری فرش
======================================== */

.rug-guides {
    margin: 64px 0;
    direction: rtl;
}

.rug-guides-heading {
    margin-bottom: 30px;
    text-align: center;
}

    .rug-guides-heading h2 {
        margin: 0 0 10px;
        color: var(--text-black);
        font-size: 28px;
        font-weight: 700;
        line-height: 1.7;
    }

    .rug-guides-heading p {
        margin: 0;
        color: #777777;
        font-size: 15px;
        line-height: 1.9;
    }

.rug-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rug-guide-card {
    min-width: 0;
    padding: 30px 26px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--white);
    text-align: right;
}

.rug-guide-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 12px;
    background-color: #EFF8F3;
    color: var(--green-dark);
}

    .rug-guide-icon svg {
        display: block;
        width: 30px;
        height: 30px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.rug-guide-card h3 {
    margin: 0 0 12px;
    color: var(--text-black);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
}

.rug-guide-card p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 2.2;
}

/* ========================================
   تبلت
======================================== */

@media (max-width: 991px) {

    .rug-guides-grid {
        gap: 16px;
    }

    .rug-guide-card {
        padding: 24px 20px;
    }

        .rug-guide-card h3 {
            font-size: 17px;
        }
}

/* ========================================
   راهنما در موبایل
======================================== */

@media (max-width: 767px) {

    .rug-guides {
        margin: 44px 0;
    }

    .rug-guides-heading {
        margin-bottom: 24px;
    }

        .rug-guides-heading h2 {
            font-size: 23px;
        }

        .rug-guides-heading p {
            font-size: 13px;
        }

    .rug-guides-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rug-guide-card {
        padding: 24px;
    }

    .rug-guide-icon {
        margin-bottom: 16px;
    }

    .rug-guide-card h3 {
        font-size: 18px;
    }
}
