/* Compact layout only for the homepage purchase/deposit feeds. */
.recent-activity-section .home-heading {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 0 !important;
    border-radius: 13px;
}
.recent-activity-section .home-heading h3,
.recent-activity-section .home-heading h3:not(.no-bg) {
    color: #fff !important;
    margin: 0;
    min-height: 48px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .65px;
    gap: 8px;
}
.recent-activity-section .home-heading h3 i {
    color: #fff !important;
    margin: 0 !important;
    font-size: 15px !important;
}
.recent-activity-section .recent-activity-list {
    max-height: 280px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 4px;
}
.recent-activity-section .feature-card {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 0 8px !important;
    padding: 10px 12px;
    border-radius: 10px !important;
    box-shadow: none;
}
.recent-activity-section .feature-card:last-child {
    margin-bottom: 0;
}
.recent-activity-section .feature-content {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.5;
}
.recent-activity-section .feature-content > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 6px 12px;
    margin: 0;
}
.recent-activity-section .feature-content > .row > [class*="col-"] {
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0;
    overflow-wrap: anywhere;
}
.recent-activity-section .feature-content > .row > :first-child,
.recent-activity-section .feature-content > .row > :first-child * {
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.recent-activity-section .feature-content p {
    margin: 0;
}
.recent-activity-section .feature-content .badge {
    display: inline-block;
    max-width: 100%;
    padding: 5px 7px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
}
@media (max-width: 575px) {
    .recent-activity-section .feature-content > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }
    .recent-activity-section .feature-content > .row > :last-child {
        justify-self: start;
    }
}
