/* DL Home Card Styles - Ultra Premium Redesign */
.dl-home-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.dl-home-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(4, 120, 87, 0.15);
}

/* Category Accent Badge */
.dl-home-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dl-cat-icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.4s ease;
}

.dl-home-card:hover .dl-cat-icon-box {
    background: #047857;
    color: #ffffff;
    transform: rotate(-10deg);
}

.dl-home-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.dl-home-body {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.dl-home-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dl-home-list li {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.dl-home-list li:hover {
    background: #ffffff;
    border-color: #047857;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.05);
}

.dl-home-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
    gap: 0.75rem;
}

.dl-home-icon {
    font-size: 1.1rem;
    color: #047857;
    transition: transform 0.3s ease;
}

.dl-home-item:hover .dl-home-icon {
    transform: translateY(-2px);
}

.dl-home-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.dl-home-footer {
    margin-top: auto;
}

.dl-home-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.dl-home-more:hover {
    background: #047857;
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(4, 120, 87, 0.3);
}

/* Redefine grid for more spacious look */
.download-grid-4 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .download-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .download-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}