/* Practice Areas Layout Fix */

/* Ensure equal height cards */
.practice-section .inner-container .clearfix {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* Ensure all cards stretch to same height */
}

.practice-block {
    display: flex;
    flex-direction: column;
}

.practice-block .inner-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    min-height: 340px;
    /* Minimum height for consistency */
}

.practice-block .inner-box .text {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.5;
    /* Better readability */
}

/* Ensure proper spacing for title and content */
.practice-block .inner-box h5 {
    margin-bottom: 15px;
}

/* Ensure arrow stays at bottom */
.practice-block .inner-box .arrow {
    margin-top: auto;
    align-self: center;
}

/* Better alignment for content */
.practice-block .inner-box {
    align-items: center;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .practice-section .inner-container .clearfix {
        flex-direction: column;
    }

    .practice-block {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Fix for small screens where text might be too cramped */
@media (max-width: 575px) {
    .practice-block .inner-box {
        padding: 30px 15px;
    }
}