/* ============== بخش «مسئله حقوقی شما چیست» ============== */

.practice-issues-section {
    background: #ffffff;
    padding-block: 3.5rem;
}

.section-heading {
    margin-bottom: 3rem;
}

    .section-heading h2 {
        display: inline-block;
        position: relative;
        font-weight: 800;
        font-size: 1.4rem;
        color: #101f33;
        margin-bottom: .5rem;
       
    }

.title-around {
    width: 8rem;
}

.section-subheading {
    color: #6c757d;
    font-size: .95rem;
    max-width: 480px;
    margin-inline: auto;
}

/* گرید کارت‌ها: اگر عرض کافی نباشد به سطر بعد می‌روند */
.practice-issues-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

.practice-issue-card {
    flex: 0 0 auto;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid lightgray;
    padding: 5px;
    transition: transform .3s ease;
}

.practice-issue-thumb {
    width: 100%;
    
    
}

    .practice-issue-thumb img {
        width: 100%;
        max-width: 70px;
        display: block;
        margin: auto;
    }

.practice-issue-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa5b1;
    font-size: 2rem;
}

.practice-issue-card:hover {
    transform: translateY(-4px);
    border-color: #c9a463;
    box-shadow: 0 .75rem 1rem rgba(16, 31, 51, .16);
}

.practice-issue-card:hover {
    transform: scale(1.06);
}

.practice-issue-label {
    margin-top: .75rem;
    font-size: .85rem;
    font-weight: 600;
    color: #101f33;
    text-align: center;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.practice-issue-card:hover .practice-issue-label {
    color: #b1791f;
}

.btn-outline-warning-custom {
    border: 1.5px solid #c9a463;
    color: #8a6a2f;
    background: transparent;
    padding: .55rem 1.75rem;
    border-radius: .5rem;
    font-weight: 600;
    font-size: .9rem;
    transition: background-color .15s ease, color .15s ease;
}

.btn-outline-warning-custom:hover {
    background: #c9a463;
    color: #101f33;
}

@media (max-width: 767.98px) {
    .practice-issue-card {
        width: 120px;
    }

    .title-around {
        width: 2rem;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
    .title-around {
        width: 6rem;
    }
}


