.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.material-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(0, 200, 210, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 200, 210, 0.3);
    background: rgba(255, 255, 255, 0.09);
}

.material-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.material-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-number {
    font-size: 16px;
    font-weight: 700;
    color: #00c8d2;
}

.material-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 200, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00c8d2;
}

.material-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 200, 210, 0.12);
    color: #00c8d2;
}

.material-card-body {
    flex: 1;
    margin-bottom: 16px;
}

.material-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #b0f0f5;
    margin-bottom: 6px;
}

.material-card-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    white-space: pre-line;
}

.material-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 8px;
    flex-wrap: wrap;
}



@media (max-width: 768px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .material-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn-download {
        justify-content: center;
    }
}